/* ============================================================
   TOKENS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* colour */
  --ink: #14121F;
  --ink-soft: #3A3752;
  --paper: #FBF7F1;
  --paper-dim: #F1EBE0;
  --hero: #372AA8;
  --hero-deep: #241A6E;
  --yellow: #FFD23F;
  --pink: #FF3FA4;
  --mint: #2FE6B0;
  --coral: #FF7A3D;
  --fog: #E7E2D9;
  --white: #FFFFFF;

  /* type */
  --font-display: 'Bricolage Grotesque', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* layout */
  --content-w: 1180px;
  --edge: clamp(24px, 5vw, 64px);
  --radius: 28px;
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */

body {
  --sb-size: 0px;
}

body::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 20px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 20px;
  
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; }
button{ font: inherit; }
ul{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4{ margin: 0; }

.content{
  max-width: var(--content-w);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.heading-font{
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

h1, h2, h3, .eyebrow{ font-family: var(--font-display); font-weight: 800; font-stretch: 75%; }

h1{
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
h2{
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
h3{
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.15;
  text-transform: uppercase;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  font-stretch: 75%;
}

p{ margin: 0; }
.lede{ font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; }

/* On-air pulse dot used in eyebrows */
.dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(255,63,164,0.55); }
  70%{ box-shadow: 0 0 0 8px rgba(255,63,164,0); }
  100%{ box-shadow: 0 0 0 0 rgba(255,63,164,0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 18px 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn svg{ transition: transform .18s ease; }
.btn:hover svg{ transform: translateX(4px); }

.btn--primary{ background: var(--yellow); color: var(--ink); }
.btn--primary:hover{ box-shadow: 0 0 0 7px rgba(255,210,63,0.35); }

.btn--outline{ background: transparent; color: var(--paper); border-color: rgba(251,247,241,0.4); }
.btn--outline:hover{ box-shadow: 0 0 0 7px rgba(251,247,241,0.12); border-color: var(--paper); }

.btn--dark{ background: var(--ink); color: var(--paper); }
.btn--dark:hover{ box-shadow: 0 0 0 7px rgba(20,18,31,0.18); }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 21px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--paper);
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.nav.scrolled{
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(20,18,31,0.6);
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.nav__logo{
  width: 300px;
}

.nav__links{
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a{
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  position: relative;
  line-height: 1;
}

/* .nav__links a::after{
  content: '';
  position: absolute; left: 0; bottom: -4px;
  height: 2px; width: 0;
  background: var(--yellow);
  transition: width .18s ease;
} */
.nav__links a:hover::after{ width: 100%; }
.nav__cta{
  padding: 12px 22px;
  font-size: 13.5px;
  line-height: 1;
}
.nav__toggle{
  display: none;
  position: relative;
  z-index: 101;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  background: rgba(20,18,31,0.35);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px 9px;
}
.nav__toggle span{
  width: 22px; height: 2px; background: var(--paper); display: block; transition: all .2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--hero);
  background-image:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(255,63,164,0.25), transparent 60%),
    radial-gradient(ellipse 700px 500px at -5% 90%, rgba(47,230,176,0.18), transparent 60%);
  color: var(--paper);
  padding-top: 168px;
  padding-bottom: 150px;
}
.hero__inner{
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.hero__copy{ max-width: 700px; }
.hero__eyebrow{ color: var(--mint); margin-bottom: 22px; }
.hero__copy h1{ margin-bottom: 26px; }
.hero__copy h1 em{
  font-style: normal;
  color: var(--yellow);
}
.hero__lede{
  max-width: 520px;
  color: rgba(251,247,241,0.82);
}
.hero__actions{ display: flex; flex-wrap: wrap; gap: 16px; }

/* wavy bottom edge — sits above the squiggles, filled with the colour
   of the section that follows, so the hero appears to end on a wiggle
   rather than a straight line */
.hero__wave{
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  display: block;
  pointer-events: none;
}
.hero__wave-path{ fill: var(--paper); }

/* squiggle draw-in */
.squiggle-path{
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
}
.squiggle-path.active{
  animation: draw 1.4s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes draw{ to{ stroke-dashoffset: 0; } }

.hero__squiggle-bg{
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.hero__squiggle-bg--1{ top: -60px; right: -60px; width: 480px; opacity: 0.9; }
.hero__squiggle-bg--2{ bottom: -80px; left: -100px; width: 380px; opacity: 0.55; }
.contact__squiggle{ top: -40px; right: -60px; width: 320px; opacity: 0.35; }

@media (max-width: 780px){
  .decor-squiggle{ display: none; }

  /* keep the pink squiggle visible on mobile, nudged further right so it
     ducks away from the hero copy instead of overlapping it */
  .hero__squiggle-bg--1{
    display: block;
    top: -40px;
    right: -90px;
    width: 260px;
    opacity: 0.85;
  }
}

/* ============================================================
   DEMO REEL PLAYER — compact, sits inline in the hero, no card
   background, just a top rule to keep it visibly separate from
   the copy above and below it
   ============================================================ */
.hero-player{
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  padding-top: 18px;
  margin-bottom: 30px;
}
 
.hero-player__play{
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-player__play:hover{ transform: scale(1.06); box-shadow: 0 0 0 7px rgba(255,210,63,0.25); }
.hero-player__play .icon-play{ margin-left: 2px; }
.hero-player__play .icon-pause{ display: none; }
.hero-player__play.is-playing .icon-play{ display: none; }
.hero-player__play.is-playing .icon-pause{ display: block; }
 
.hero-player__wave{
  flex: 1;
  min-width: 0;
  height: 42px;
  cursor: pointer;
  border-radius: 10px;
}
.hero-player__wave canvas{
  width: 100%;
  height: 100%;
  display: block;
}
.hero-player__wave:focus-visible{
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}
 
.hero-player__time{
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(251,247,241,0.55);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
 
@media (max-width: 640px){
  .hero-player{ gap: 12px; padding-top: 14px; margin-bottom: 24px; }
  .hero-player__play{ width: 40px; height: 40px; }
  .hero-player__wave{ height: 36px; }
  .hero-player__time{ font-size: 11.5px; }
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
section{ position: relative; }
.section{ padding: 110px 0; }
.section--tight{ padding: 90px 0; }
.section__head{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}
.section__head .eyebrow{ color: var(--pink); margin-bottom: 16px; }
.section__head h2{ max-width: 640px; }
.section__head p{ max-width: 380px; color: var(--ink-soft); }

/* reveal-on-scroll */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.active{ opacity: 1; transform: translateY(0); }


/* ============================================================
   ON AIR / OFF AIR
   ============================================================ */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.panel{
  border-radius: var(--radius);
  padding: 44px 40px;
}
.panel--on{ background: var(--mint); color: var(--ink); }
.panel--off{ background: var(--fog); color: var(--ink); }
.panel__head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.panel__head .dot{ background: var(--ink); }
.panel--on .dot{ animation: pulse-ink 2s infinite; }
.dot--static{ animation: none; box-shadow: none; }
@keyframes pulse-ink{
  0%{ box-shadow: 0 0 0 0 rgba(20,18,31,0.4); }
  70%{ box-shadow: 0 0 0 8px rgba(20,18,31,0); }
  100%{ box-shadow: 0 0 0 0 rgba(20,18,31,0); }
}
.panel__head h3{ font-size: clamp(20px, 2vw, 24px); }
.panel ul{ display: flex; flex-direction: column; gap: 16px; }
.panel li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.55;
}
.panel li strong{ font-weight: 700; }
.panel li .mark{
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 800;
  margin-top: 1px;
}
.panel--on .mark{ background: var(--ink); color: var(--mint); }
.panel--off .mark{ background: rgba(20,18,31,0.12); color: var(--ink); }

@media (max-width: 780px){
  .split{ grid-template-columns: 1fr; }
}

/* ============================================================
   WORK GRID
   ============================================================ */
.work-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tile{
  border-radius: var(--radius);
  padding: 36px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.tile:hover{ transform: translateY(-6px); }
.tile__num{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.6;
}
.tile__title{ font-size: clamp(20px, 2.2vw, 25px); margin-top: auto; }
.tile__desc{ font-size: 14.5px; margin-top: 10px; max-width: 32ch; opacity: 0.75; }
.tile__arrow{
  position: absolute;
  top: 32px; right: 32px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(20,18,31,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease;
}
.tile:hover .tile__arrow{ transform: translate(4px,-4px); }

.tile--yellow{ background: var(--yellow); }
.tile--pink{ background: var(--pink); color: var(--paper); }
.tile--pink .tile__arrow{ background: rgba(251,247,241,0.18); }
.tile--mint{ background: var(--mint); }
.tile--ink{ background: var(--ink); color: var(--paper); }
.tile--ink .tile__arrow{ background: rgba(251,247,241,0.12); }

@media (max-width: 780px){
  .work-grid{ grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__figure{
  position: relative;
  background: var(--ink);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__figure svg{ width: 65%; }
.about__stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 34px;
}
.stat b{
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(30px, 3vw, 40px);
  color: var(--hero);
  line-height: 1;
  margin-bottom: 6px;
}
.stat span{ font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 900px){
  .about{ grid-template-columns: 1fr; }
  .about__figure{ aspect-ratio: 16/10; }
}

/* ============================================================
   CONTACT / FOOTER
   ============================================================ */
.contact{
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  margin: 0 var(--edge);
  padding: clamp(48px, 7vw, 90px) clamp(28px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact h2{ margin-bottom: 18px; }
.contact h2 em{ font-style: normal; color: var(--coral); }
.contact p{ color: rgba(251,247,241,0.7); max-width: 480px; margin: 0 auto 34px; }
.contact__actions{ display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

footer{
  padding: 48px var(--edge) 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
footer .nav__logo{ color: var(--ink); font-size: 16px; }
footer .nav__logo span{ color: var(--hero); }
.footer__socials{ display: flex; gap: 20px; }
.footer__socials a{ text-decoration: none; font-weight: 600; }
.footer__socials a:hover{ color: var(--hero); }

/* ============================================================
   T&Cs PAGE
   ============================================================ */
.nav--static{
  position: fixed;
  background: rgba(20,18,31,0.6);
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.nav--static .nav__logo{ width: 300px; }

.legal{
  padding-top: 168px;
  padding-bottom: 110px;
  max-width: 780px;
}
.legal .eyebrow{ color: var(--pink); margin-bottom: 18px; }
.legal h1{
  font-size: clamp(34px, 5.5vw, 56px);
  margin-bottom: 18px;
}
.legal > p.lede{ color: var(--ink-soft); margin-bottom: 12px; }
.legal__updated{
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 56px;
}
.legal section{
  margin-bottom: 44px;
}
.legal h2{
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 16px;
}
.legal h2 span{ color: var(--hero); margin-right: 10px; }
.legal p{
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: 15.5px;
}
.legal ul{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 14px;
}
.legal li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.legal li .mark{
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}
.legal a{ color: var(--hero); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px){
  .legal{ padding-top: 130px; padding-bottom: 74px; }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 860px){
  .nav{ justify-content: center; }
  .nav__links{ display: none; }
  .nav__toggle{ display: none; }
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 640px){
  .hero{ padding-top: 130px; padding-bottom: 100px; }
  .hero__inner{ flex-direction: column; align-items: flex-start; }
  .hero__copy h1{ font-size: clamp(52px, 13vw, 64px); line-height: 0.98; }
  .hero__wave{ height: 46px; }
  .section{ padding: 74px 0; }
  .contact{ margin: 0 16px; }
  .contact__actions{ flex-direction: column; align-items: stretch; }
  .contact__actions .btn{ justify-content: center; text-align: center; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .squiggle-path{ stroke-dashoffset: 0; }
}
