/* Base styles that Squarespace used to provide. Page sections bring their own styles. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #0b0f14; color: #fff; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; }

/* Home hero */
.cb-hero-video { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.cb-hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cb-hero-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35) 40%, rgba(0,0,0,.75)); }
.cb-hero-inner { position: relative; z-index: 1; max-width: 900px; padding: 140px 20px 60px; }
.cb-hero-inner h1 { margin: 0 0 14px; font-size: clamp(30px, 5.4vw, 58px); line-height: 1.05; text-transform: uppercase; letter-spacing: .5px; font-weight: 800; }
.cb-hero-inner p { margin: 0 0 28px; font-size: clamp(16px, 2vw, 20px); font-weight: 700; opacity: .92; }
.cb-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cb-hero-btn { display: inline-block; padding: 14px 22px; border-radius: 6px; border: 2px solid #fff; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; transition: background .2s, color .2s, border-color .2s; }
.cb-hero-btn.primary { background: #EFE500; border-color: #EFE500; color: #111; }
.cb-hero-btn:hover, .cb-hero-btn:focus-visible { background: #fff; color: #111; border-color: #fff; }

/* Fixed header clearance.
   Hero pages are designed to sit under the transparent header; on phones they need a little extra room.
   Plain pages (no hero) opt in to a full offset with <!-- below-header -->, see build.py. */
@media (max-width: 780px) { main:not(:has(.cb-hero-video)) { padding-top: 20px; } }
main#main.below-header { padding-top: 96px; }
@media (max-width: 780px) { main#main.below-header { padding-top: 80px; } }

/* Form helpers: honeypot field stays invisible; status line under forms posting to /api/form */
.cb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cb-form-status { margin: 10px 0 0; font-weight: 700; font-size: .95rem; }
.cb-form-status.ok { color: #2e9e44; }
.cb-form-status.err { color: #d33; }
