/* ============================================================
   ARTFAIR — encapsulated single page
   Ported from the live WordPress theme (Server-theme/assets/css/styles.css,
   v1.0.6). Rules for the sections that stayed are copied verbatim; the
   roster, sandbox, artist page, gallery, lightbox and modal rules are gone.
   New: case-study player, inline demo form, motion toggle, a11y helpers.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Bria ArtFair palette */
  --fair-black: #000000;
  --fair-pink: #F238A7;        /* primary brand */
  --fair-pink-bright: #FF3399; /* hover/text accent */
  --fair-white: #FFFFFF;

  --fair-blue: #7182CB;
  --fair-orange: #FF6716;

  --pink-20: rgba(242,56,167,.2);
  --pink-50: rgba(242,56,167,.5);
  --pink-08: rgba(242,56,167,.08);

  --white-70: rgba(255,255,255,.7);
  --white-50: rgba(255,255,255,.5);
  --white-30: rgba(255,255,255,.3);
  --white-15: rgba(255,255,255,.15);
  --white-08: rgba(255,255,255,.08);
  --white-04: rgba(255,255,255,.04);

  --font-display: 'Space Grotesk', 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Sora', 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font: var(--font-body);
  --transition: .4s cubic-bezier(.4,0,.2,1);
  --transition-fast: .2s cubic-bezier(.4,0,.2,1);

  --content-max: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 82px;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--fair-black);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font);
  background: var(--fair-black);
  color: var(--fair-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  font-weight: 400;
  letter-spacing: -0.005em;
}

::selection { background: var(--fair-pink); color: var(--fair-black); }
::-moz-selection { background: var(--fair-pink); color: var(--fair-black); }

img { display: block; max-width: 100%; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Anything that ships with the hidden attribute stays hidden, even when a
   component rule sets display:flex/grid on it. */
[hidden] { display: none !important; }
.hidden { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--fair-pink);
  color: var(--fair-black);
  font-size: 14px;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform var(--transition-fast);
}
.skip-link:focus { transform: translateY(0); }

/* ============================================================
   TOP NAV
   ============================================================ */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  background: linear-gradient(to bottom, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 70%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.topnav .brand {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  color: inherit;
}
.topnav .brand-lockup {
  height: 42px;
  width: auto;
  display: block;
}
@media (max-width: 700px) {
  .topnav .brand-lockup { height: 32px; }
}
.topnav .nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  display: inline-block;
  background: transparent;
  border: none;
  color: var(--white-70);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 10px 14px;
  transition: color var(--transition-fast);
}
.nav-link:hover { color: var(--fair-white); }

.nav-cta {
  height: 36px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fair-black);
  background: var(--fair-pink);
  border: 1px solid var(--fair-pink);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition-fast);
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--fair-white);
  border-color: var(--fair-white);
}
/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 102;
}
.nav-toggle-bar {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--fair-white);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), top var(--transition-fast);
}
.nav-toggle-bar:nth-child(1) { top: 13px; }
.nav-toggle-bar:nth-child(2) { top: 19px; }
.nav-toggle-bar:nth-child(3) { top: 25px; }
.topnav.menu-open .nav-toggle-bar:nth-child(1) { top: 19px; transform: rotate(45deg); }
.topnav.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.topnav.menu-open .nav-toggle-bar:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  z-index: 99;
}
.nav-scrim.open {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open { overflow: hidden; }

@media (max-width: 700px) {
  :root { --header-h: 60px; }
  .topnav { padding: 14px var(--gutter); }
  .nav-toggle { display: block; }
  .topnav .nav-right {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 80px 22px 28px;
    background: rgba(8, 8, 10, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    /* Closed panel is off-screen: keep it out of the tab order too. */
    visibility: hidden;
    z-index: 101;
  }
  .topnav.menu-open .nav-right {
    transform: translateX(0);
    visibility: visible;
  }
  /* Transitions only once the menu has been used (JS adds .nav-anim): WebKit
     resolves the desktop layout first and would otherwise animate the drawer
     sliding out on page load, and on every resize across this breakpoint. */
  .topnav.nav-anim .nav-right {
    transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 260ms;
  }
  .topnav.nav-anim.menu-open .nav-right {
    transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0s;
  }
  .nav-link {
    width: 100%;
    text-align: left;
    padding: 14px 12px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-cta {
    height: 44px;
    margin: 16px 0 0;
    width: 100%;
    justify-content: center;
    font-size: 14px;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.btn-primary {
  background: var(--fair-pink);
  color: var(--fair-black);
  border-color: var(--fair-pink);
}
.btn-primary:hover {
  background: var(--fair-white);
  border-color: var(--fair-white);
}
.btn-ghost {
  background: transparent;
  color: var(--fair-white);
  border-color: var(--white-15);
}
.btn-ghost:hover {
  border-color: var(--white-50);
  background: var(--white-04);
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-arrow {
  font-size: 14px;
  transition: transform var(--transition-fast);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fair-pink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--fair-pink);
}
/* Pill badge variant — pink-tinted rectangle, no dash prefix */
.eyebrow-badge {
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid var(--pink-50);
  background: var(--pink-08);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  gap: 0;
}
.eyebrow-badge::before {
  display: none;
}
.display {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.body-lg {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--white-70);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--white-70);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.caption {
  font-size: 12px;
  line-height: 1.5;
  color: var(--white-50);
  font-weight: 400;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 100px) var(--gutter);
}
.section-divider {
  height: 1px;
  background: var(--white-08);
  max-width: var(--content-max);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(28px, 3.5vw, 44px);
}
.section-head .eyebrow { margin-bottom: 18px; justify-content: center; }

/* ============================================================
   1. HERO
   ============================================================ */
.hero-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--white-08);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  /* The film's own first frame, so the hand-off to video is invisible. */
  background: var(--fair-black) url(../video/hero/hero-poster.jpg) center / cover no-repeat;
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.4,0,.2,1);
}
.hero-bg video.is-playing { opacity: 1; }
@media (max-width: 700px) and (orientation: portrait) {
  .hero-bg { background-image: url(../video/hero/hero-poster-portrait.jpg); }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.2) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.85) 100%),
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.7) 100%);
}
.hero {
  position: relative;
  padding: 180px var(--gutter) 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: var(--content-max);
  margin: 0 auto;
  z-index: 1;
}
.hero-eyebrow { margin-bottom: 28px; }
.hero-display {
  max-width: 1100px;
  margin-bottom: 28px;
}
.hero-display em {
  font-style: normal;
  color: var(--fair-pink);
}
.hero-sub {
  max-width: 720px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 760px) {
  .hero-display br { display: none; }
}
@media (max-width: 700px) {
  .hero { padding: 110px var(--gutter) 76px; } /* room for the motion toggle under the CTAs */
  .hero-eyebrow { margin-bottom: 20px; }
  .hero-display { margin-bottom: 22px; }
  .hero-sub { margin-bottom: 28px; }
}
/* The two CTAs no longer fit one row: stack them at one width, not ragged. */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
}

/* Pause/play for every looping film + the logo marquee (WCAG 2.2.2). */
.motion-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.5);
  border: 1px solid var(--white-15);
  color: var(--fair-white);
  opacity: .6;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.motion-toggle:hover,
.motion-toggle:focus-visible { opacity: 1; border-color: var(--pink-50); }
.motion-toggle svg { width: 12px; height: 12px; display: block; fill: currentColor; }
.motion-toggle .ico-play { display: none; }
.motion-toggle[aria-pressed="true"] .ico-play { display: block; }
.motion-toggle[aria-pressed="true"] .ico-pause { display: none; }
.hero-motion-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 20px;
  z-index: 2;
}
html.is-motion-paused .logo-track { animation-play-state: paused; }

/* ============================================================
   2. CASE STUDY (new) — poster + click to play with sound
   ============================================================ */
.case-study { padding-bottom: clamp(48px, 6vw, 88px); }
.cs-player {
  position: relative;
  /* Width capped by viewport height too, so the whole player fits under the
     header on short laptop screens (1366x657 etc.). */
  max-width: min(1200px, calc((100vh - var(--header-h) - 32px) * 16 / 9));
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow: clip;
  background: var(--fair-black);
  border: 1px solid var(--white-08);
  box-shadow:
    0 30px 70px -20px rgba(242,56,167,.4),
    0 8px 24px -8px rgba(0,0,0,.7);
}
.cs-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--fair-black);
}
/* The overlay is an enhancement: without JS the native player (poster +
   controls) is what shows. */
.cs-cover { display: none; }
.js .cs-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  border: 0;
  padding: 0;
  background: var(--fair-black);
  color: var(--fair-white);
  font-family: var(--font-display);
  cursor: pointer;
  transition: opacity .45s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
}
.cs-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .55s cubic-bezier(.4,0,.2,1);
  filter: saturate(.92) brightness(.82);
}
.cs-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.6) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}
.cs-play-icon,
.cs-play-label { position: relative; z-index: 1; }
.cs-play-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fair-pink);
  color: var(--fair-black);
  box-shadow:
    0 0 0 10px rgba(242,56,167,.18),
    0 24px 60px -16px rgba(242,56,167,.7);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition);
}
.cs-play-icon svg { width: 30px; height: 30px; display: block; margin-left: 5px; fill: currentColor; }
.cs-play-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.cs-duration {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,.55);
  border: 1px solid var(--white-15);
  text-shadow: none;
}
@media (hover: hover) {
  .js .cs-cover:hover .cs-play-icon {
    transform: scale(1.06);
    background: var(--fair-white);
    box-shadow:
      0 0 0 12px rgba(255,255,255,.14),
      0 24px 60px -16px rgba(242,56,167,.7);
  }
  .js .cs-cover:hover .cs-cover-img { transform: scale(1.03); filter: saturate(1.05) brightness(.9); }
}
.js .cs-cover:focus-visible { outline-offset: -6px; border-radius: var(--radius-lg); }
.cs-player.is-started .cs-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s cubic-bezier(.4,0,.2,1), visibility 0s linear .45s;
}
@media (max-width: 700px) {
  .cs-player { border-radius: var(--radius-md); }
  .cs-play-icon { width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(242,56,167,.18), 0 18px 40px -14px rgba(242,56,167,.7); }
  .cs-play-icon svg { width: 22px; height: 22px; margin-left: 4px; }
  .js .cs-cover { gap: 14px; }
  .cs-play-label { font-size: 14px; }
}

/* ============================================================
   3. EXPLAINER
   ============================================================ */
.explainer {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .explainer { grid-template-columns: 1fr; gap: 32px; }
}
/* One heading, two lines (was two sibling h2s in the theme). */
.explainer-title-line { display: block; }
.explainer-title-line + .explainer-title-line {
  color: var(--fair-pink);
  margin-top: 8px;
}
.explainer-body p {
  margin-bottom: 20px;
}
.explainer-body p:last-child {
  margin-bottom: 0;
}
.explainer-emphasis {
  color: var(--fair-pink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* ============================================================
   4. PILLARS
   ============================================================ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
  margin-top: 48px;
}
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 36px; }
}
.pillar-icon {
  width: 56px;
  height: 56px;
  display: block;
  margin-bottom: 22px;
}
.pillar-title {
  color: var(--fair-pink);
  margin-bottom: 14px;
}
.pillars-footer {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--white-08);
  font-style: italic;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   5. MADE WITH ARTFAIR — video carousel
   ============================================================ */
.videos {
  padding: clamp(48px, 7vw, 100px) 0;
  position: relative;
  max-width: 100%;
}
.videos-header {
  text-align: center;
  margin-bottom: 44px;
  padding: 0 var(--gutter);
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.videos-stage {
  position: relative;
}
.videos-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding: 8px calc(50vw - min(40vw, 400px)) 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}
.videos-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) {
  .videos-track { scroll-behavior: auto; }
}
.video-card {
  flex: 0 0 min(80vw, 800px);
  aspect-ratio: 16 / 9;
  position: relative;
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white-04);
  cursor: pointer;
  transform: scale(0.92);
  opacity: 0.45;
  transition:
    transform .55s cubic-bezier(.4,0,.2,1),
    opacity .55s cubic-bezier(.4,0,.2,1),
    box-shadow .55s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 20px 50px -22px rgba(0,0,0,.65);
}
.video-card.active {
  transform: scale(1);
  opacity: 1;
  cursor: default;
  box-shadow:
    0 30px 70px -20px rgba(242,56,167,.4),
    0 8px 24px -8px rgba(0,0,0,.7);
}
.video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--fair-black);
}
.video-card-title {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  background: var(--fair-pink);
  color: var(--fair-black);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .4s cubic-bezier(.4,0,.2,1), transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.6);
  max-width: calc(100% - 36px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-card.active .video-card-title {
  opacity: 1;
  transform: translateY(0);
}
.video-card-scrubber {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.12);
  z-index: 3;
  opacity: 0;
  transition: opacity .35s cubic-bezier(.4,0,.2,1), height .2s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.video-card.active .video-card-scrubber {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}
.video-card.active .video-card-scrubber:hover {
  height: 6px;
}
.video-card-scrubber-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--fair-pink);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(242,56,167,.6);
}
.videos-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  border: 1px solid var(--white-15);
  color: var(--fair-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.videos-arrow:hover {
  background: var(--fair-pink);
  border-color: var(--fair-pink);
  color: var(--fair-black);
  transform: translateY(-50%) scale(1.06);
}
.videos-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.videos-prev { left: 20px; }
.videos-next { right: 20px; }
@media (hover: none) {
  .videos-arrow { display: none; }
}
.videos-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 0 var(--gutter);
  min-height: 36px;
}
/* 16px gap + a 24x24 hit area per dot: targets meet WCAG 2.5.8 and never overlap. */
.videos-dots {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.videos-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white-15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, width .25s, border-radius .25s;
  position: relative;
}
.videos-dot::before {
  content: '';
  position: absolute;
  inset: -8px;
}
.videos-dot:hover { background: var(--white-30); }
.videos-dot.active {
  background: var(--fair-pink);
  width: 28px;
  border-radius: var(--radius-pill);
}
.videos-motion-toggle {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 600px) {
  .videos-header { margin-bottom: 32px; }
  .video-card { flex: 0 0 88vw; }
  .video-card-title {
    left: 14px;
    top: 14px;
    font-size: 12px;
    padding: 5px 11px;
    max-width: calc(100% - 28px);
  }
  .videos-track {
    padding: 8px calc(50vw - 44vw) 24px;
    gap: 12px;
  }
}

/* ============================================================
   6. TRUSTED BY (logo marquee)
   ============================================================ */
.trusted {
  text-align: center;
}
.trusted-header {
  max-width: 720px;
  margin: 0 auto 56px;
}
.trusted-header .h2 {
  margin-bottom: 16px;
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}
/* Two identical sets; each carries its trailing gap as padding, so
   translateX(-50%) lands exactly on the seam (no jump at the loop). */
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 38s linear infinite;
}
.logo-set {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding-right: clamp(40px, 6vw, 80px);
  flex-shrink: 0;
}
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}
.logo-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: clamp(64px, 6.5vw, 96px);
}
.logo-mark img {
  height: 100%;
  width: auto;
  max-width: clamp(220px, 22vw, 320px);
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}
.logo-mark:hover img { opacity: 1; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; width: auto; justify-content: center; }
  .logo-set { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); row-gap: 24px; }
  .logo-set[aria-hidden="true"] { display: none; }
  .logo-marquee { mask-image: none; -webkit-mask-image: none; }
}

/* ============================================================
   7. BOOK A DEMO (new) — inline form, posts to Basin
   ============================================================ */
/* Same container + width as the For Artists card below it, and the same
   section rhythm the theme used between Trusted-by and that card. */
.demo-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) var(--gutter) 0;
}
.demo-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(242,56,167,.06) 0%, rgba(0,0,0,.7) 100%), var(--fair-black);
  border: 1px solid var(--pink-50);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(242,56,167,.08),
    0 36px 90px -48px rgba(242,56,167,.32),
    0 24px 48px -28px rgba(0,0,0,.7);
}
.demo-intro .eyebrow { margin-bottom: 18px; }
.demo-intro .h2 { margin-bottom: 16px; }
.demo-intro .body-lg { margin-bottom: 20px; }
.demo-email a { color: var(--fair-white); border-bottom: 1px solid var(--pink-50); transition: color var(--transition-fast), border-color var(--transition-fast); }
.demo-email a:hover { color: var(--fair-pink); border-color: var(--fair-pink); }
@media (max-width: 900px) {
  .demo-card { grid-template-columns: 1fr; gap: 28px; }
}

/* Form widgets (from the theme's contact modal) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  margin-bottom: 14px;
}
.form-grid-full { grid-column: 1 / -1; }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 12px;
  letter-spacing: -0.005em;
  color: var(--white-50);
  font-weight: 500;
}
.form-optional { color: var(--white-50); font-weight: 400; }
.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--white-15);
  border-radius: 0;
  color: var(--fair-white);
  font-family: var(--font);
  font-size: 15px;
  padding: 8px 0;
  outline: none;
  transition: border-color var(--transition-fast);
}
.form-input:focus,
.form-textarea:focus { border-color: var(--fair-pink); }
.form-input:focus-visible,
.form-textarea:focus-visible { outline: none; }
.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] { border-color: var(--fair-orange); }
.form-textarea { resize: none; min-height: 60px; }
.form-submit {
  margin-top: 16px;
  width: 100%;
}
.form-submit:disabled { opacity: 0.6; cursor: wait; pointer-events: none; }
.form-error {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--fair-orange);
  text-align: center;
}
.form-error a { color: var(--fair-white); text-decoration: underline; }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  /* 16px keeps iOS from zooming the page when a field takes focus. */
  .form-input, .form-textarea { font-size: 16px; }
}

.thanks-state {
  text-align: center;
  padding: clamp(24px, 4vw, 48px) clamp(8px, 2vw, 24px);
  animation: revealIn .6s cubic-bezier(.4,0,.2,1);
}
.thanks-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--fair-pink);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fair-pink);
  font-size: 24px;
}
.thanks-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.thanks-title:focus { outline: none; }
.thanks-msg {
  color: var(--white-70);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 420px;
}
.thanks-calendar {
  border-top: 1px solid var(--white-08);
  padding-top: 24px;
}
.thanks-calendar p {
  color: var(--white-50);
  font-size: 13px;
  margin-bottom: 14px;
}
@keyframes revealIn {
  0%   { opacity: 0; transform: scale(1.03); filter: blur(8px); }
  100% { opacity: 1; transform: scale(1);    filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .thanks-state { animation: none; }
}

/* ============================================================
   8. ARTIST CALL
   ============================================================ */
.artist-call-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(48px, 7vw, 100px);
}
.artist-call {
  position: relative;
  border: 1px solid var(--pink-20);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(242, 56, 167, .14) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(242, 56, 167, .1) 0%, transparent 55%),
    var(--white-04);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px);
  text-align: center;
  overflow: hidden;
}
.artist-call .eyebrow {
  margin-bottom: 22px;
  justify-content: center;
}
.artist-call .h2 {
  margin-bottom: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.artist-call .body-lg {
  max-width: 620px;
  margin: 0 auto 28px;
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.footer {
  padding: 64px var(--gutter) 48px;
  border-top: 1px solid var(--white-08);
  margin-top: 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.footer-brand { max-width: 280px; }
.footer-brand a { display: inline-block; }
.footer-brand-lockup {
  height: 36px;
  width: auto;
  margin-bottom: 18px;
}
.footer-heading {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--white-50);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--fair-white);
  text-decoration: none;
  padding: 6px 0;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--fair-pink); }
.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--white-08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--white-50);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a {
  color: var(--white-50);
  transition: color var(--transition-fast);
  /* Bigger tap target without moving anything: pad out, pull back. */
  display: inline-block;
  padding: 6px 4px;
  margin: -6px -4px;
}
.footer-bottom a:hover { color: var(--fair-white); }
@media (max-width: 800px) {
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.ico-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.ico-arrow svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Reveal-on-scroll only hides things once JS is known to be running. The
   section's CHILDREN move, not the section: several sections are anchor
   targets, and a translated target makes #links land 16px off. */
.js .reveal > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.js .reveal.in > * {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal > * { opacity: 1; transform: none; transition: none; }
}

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