/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

:root {
  --cream: #0b0f1a;
  --cream-deep: #131a2c;
  --surface: #141b2e;
  --ink: #eef1f8;
  --ink-soft: #99a2ba;
  --accent: #2f6bff;
  --accent-deep: #1d4fd6;
  --accent-bright: #6ea1ff;
  --secondary: #7c5cff;
  --warm: #e0973c;
  --coral: #ff5d7a;
  --accent-soft: rgba(47, 107, 255, 0.15);
  --secondary-soft: rgba(124, 92, 255, 0.15);
  --warm-soft: rgba(224, 151, 60, 0.15);
  --coral-soft: rgba(255, 93, 122, 0.15);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 40px -20px rgba(29, 79, 214, 0.5);
  --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back-out: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-circ-out: cubic-bezier(0, 0.55, 0.45, 1);
  --ease-sine-in-out: cubic-bezier(0.37, 0, 0.63, 1);
  --serif: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

em {
  font-style: normal;
  color: var(--accent-bright);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 0.75rem;
}

/* ---------- Intro ---------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
}

.intro.is-hidden {
  display: none;
}

.intro__backdrop {
  position: fixed;
  inset: 0;
  background: var(--cream);
  opacity: 1;
  transition: opacity 0.7s var(--ease-expo-out);
}

.intro.is-exiting .intro__backdrop {
  opacity: 0;
}

.intro__rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250vmax;
  height: 250vmax;
  margin: -125vmax 0 0 -125vmax;
  background: conic-gradient(from 0deg,
      transparent 0deg,
      rgba(47, 107, 255, 0.08) 8deg,
      transparent 20deg,
      transparent 160deg,
      rgba(110, 161, 255, 0.1) 172deg,
      transparent 184deg,
      transparent 360deg);
  animation: introSpin 16s linear infinite, introRaysPulse 4s var(--ease-sine-in-out) infinite;
}

@keyframes introSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes introRaysPulse {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

.intro__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transform: scale(0.6);
  animation: introBlobIn 1.4s var(--ease-back-out) forwards;
}

.intro__blob--a {
  width: 50vmax;
  height: 50vmax;
  top: 50%;
  left: 50%;
  margin: -25vmax 0 0 -40vmax;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.32), transparent 70%);
  animation-name: introBlobIn, introBlobDriftA;
  animation-duration: 1.4s, 10s;
  animation-timing-function: var(--ease-back-out), var(--ease-sine-in-out);
  animation-delay: 0s, 1.4s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.intro__blob--b {
  width: 38vmax;
  height: 38vmax;
  top: 50%;
  left: 50%;
  margin: -19vmax 0 0 2vmax;
  background: radial-gradient(circle, rgba(110, 161, 255, 0.3), transparent 70%);
  animation-name: introBlobIn, introBlobDriftB;
  animation-duration: 1.4s, 13s;
  animation-timing-function: var(--ease-back-out), var(--ease-sine-in-out);
  animation-delay: 0.2s, 1.6s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.intro__blob--c {
  width: 30vmax;
  height: 30vmax;
  top: 50%;
  left: 50%;
  margin: -8vmax 0 0 -12vmax;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.28), transparent 70%);
  animation-name: introBlobIn, introBlobDriftC;
  animation-duration: 1.4s, 8s;
  animation-timing-function: var(--ease-back-out), var(--ease-sine-in-out);
  animation-delay: 0.4s, 1.8s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

@keyframes introBlobIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introBlobDriftA {

  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }

  50% {
    translate: 4vmax -3vmax;
    scale: 1.1;
  }
}

@keyframes introBlobDriftB {

  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }

  50% {
    translate: -3vmax 4vmax;
    scale: 0.92;
  }
}

@keyframes introBlobDriftC {

  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }

  50% {
    translate: 3vmax 3vmax;
    scale: 1.15;
  }
}

.intro__half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  /* slight overlap avoids a hairline gap at the seam */
  overflow: hidden;
  display: flex;
  justify-content: center;
  transition: transform 0.9s var(--ease-expo-out);
}

.intro__half--top {
  top: 0;
  align-items: flex-end;
}

.intro__half--bottom {
  bottom: 0;
  align-items: flex-start;
}

.intro.is-exiting .intro__half--top {
  transform: translateY(-100%);
}

.intro.is-exiting .intro__half--bottom {
  transform: translateY(100%);
}

.intro__mask {
  overflow: hidden;
  padding: 0 20px;
  display: flex;
}

.intro.is-exiting .intro__mask {
  overflow: visible;
}

.intro__half--top .intro__mask {
  align-items: flex-end;
  padding-bottom: 0.08em;
}

.intro__half--bottom .intro__mask {
  align-items: flex-start;
  padding-top: 0.08em;
}

.intro__word {
  display: inline-flex;
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--ink);
  transform-origin: center;
  animation: introWordPop 0.55s var(--ease-back-out) 1s;
}

@keyframes introWordPop {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

.intro.is-exiting .intro__word {
  animation: introZoom 1s var(--ease-circ-out) forwards;
}

.intro__word--accent {
  color: var(--accent-bright);
  text-shadow: 0 0 24px rgba(47, 107, 255, 0.45);
}

.intro__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) scale(0.6) rotate(10deg);
  filter: blur(6px);
  animation: introLetterIn 0.75s var(--ease-back-out) forwards;
  animation-delay: calc(var(--i) * 45ms + 120ms);
}

@keyframes introLetterIn {
  60% {
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes introZoom {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: scale(2.4) rotate(-6deg);
    opacity: 0;
    filter: blur(18px);
  }
}

.intro__bar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(220px, 60vw);
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: introFadeIn 0.5s ease 0.7s forwards;
}

.intro.is-exiting .intro__bar {
  animation: introFadeOut 0.3s ease forwards;
}

@keyframes introFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
  }
}

.intro__bar-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-bright));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(47, 107, 255, 0.7);
  transition: width 1.1s var(--ease-expo-out);
  animation: introBarShimmer 1.2s var(--ease-sine-in-out) infinite;
}

@keyframes introBarShimmer {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(47, 107, 255, 0.5);
  }

  50% {
    box-shadow: 0 0 16px rgba(110, 161, 255, 0.9);
  }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(10px);
  border-color: var(--line);
}

.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav__links a:not(.btn):hover {
  color: var(--accent-bright);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--small {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ---------- Specular button ---------- */

.specular-button {
  --sb-radius: 18px;
  --sb-tint: #ffffff;
  --sb-tint-opacity: 0;
  --sb-blur: 0px;
  --sb-text-color: #f5f5f5;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  margin: 0;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  color: var(--sb-text-color);
  background: color-mix(in srgb, var(--sb-tint) calc(var(--sb-tint-opacity) * 100%), transparent);
  border-radius: var(--sb-radius);
  backdrop-filter: blur(var(--sb-blur));
  -webkit-backdrop-filter: blur(var(--sb-blur));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  outline: none;
  transition: transform 0.15s ease;
}

.specular-button:active {
  transform: scale(0.97);
}

.specular-button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--sb-text-color) 60%, transparent);
  outline-offset: 3px;
}

.specular-button:disabled {
  opacity: 0.55;
  cursor: default;
}

.specular-button:disabled:active {
  transform: none;
}

.specular-button--sm {
  font-size: 0.85rem;
  padding: 10px 22px;
}

.specular-button--md {
  font-size: 1rem;
  padding: 14px 30px;
}

.specular-button--lg {
  font-size: 1.15rem;
  padding: 18px 40px;
}

.specular-button--brand {
  --sb-radius: 999px;
  --sb-tint: #ffffff;
  --sb-tint-opacity: 0.06;
  --sb-blur: 6px;
  --sb-text-color: #f5f7fa;
}

/* Canvas extends past the button so the rim glow can bleed outside the edge */
.specular-button__fx {
  position: absolute;
  inset: -20px;
  pointer-events: none;
  z-index: 1;
}

.specular-button__fx canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.specular-button__label {
  position: relative;
  z-index: 2;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero__beams {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.hero__beams canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
}

.hero__lede {
  max-width: 560px;
  margin: 0 auto 2.25rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  to {
    top: 100%;
  }
}

/* ---------- Reveal on scroll ----------
   Visual state is driven entirely by GSAP ScrollTrigger (js/scroll-reveal.js),
   scrubbed to scroll position for the same "heavy" feel as the hero transition.
   No CSS here by design — elements stay visible if JS never runs. */

/* ---------- Trust strip ---------- */

.strip {
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip__label {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.strip__row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink-soft);
  opacity: 0.75;
}

/* ---------- Section head ---------- */

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

/* ---------- Services ---------- */

.services {
  padding: 6rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  --card-accent: var(--accent);
  --card-accent-soft: var(--accent-soft);
  --card-gradient: linear-gradient(180deg, var(--accent-bright), var(--accent), var(--accent-deep));
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card--ads {
  --card-accent: var(--secondary);
  --card-accent-soft: var(--secondary-soft);
  --card-gradient: linear-gradient(180deg, #a78bfa, var(--secondary), #4d33b3);
}

.card--photo {
  --card-accent: var(--warm);
  --card-accent-soft: var(--warm-soft);
  --card-gradient: linear-gradient(180deg, #f5c07f, var(--warm), #a8701f);
}

.card--video {
  --card-accent: var(--coral);
  --card-accent-soft: var(--coral-soft);
  --card-gradient: linear-gradient(180deg, #ff9fb2, var(--coral), #c22f4d);
}

/* Glow variant — gradient edge lit bar + soft hover glow, for visual variety */

.card--glow {
  isolation: isolate;
  padding-left: 2.75rem;
}

.card--glow::before {
  top: 0.9rem;
  bottom: 0.9rem;
  left: 0.6rem;
  right: auto;
  width: 0.2rem;
  height: auto;
  border-radius: 999px;
  background: var(--card-gradient);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card--glow:hover::before {
  transform: translateX(0.15rem);
  box-shadow: 0 0 12px var(--card-accent);
}

.card--glow::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -4rem;
  left: -2rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--card-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card--glow:hover::after {
  opacity: 0.16;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card-accent-soft, var(--accent-soft));
  color: var(--card-accent);
  margin-bottom: 1.1rem;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__num {
  display: inline-block;
  font-family: var(--serif);
  color: var(--card-accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card__price {
  display: inline-block;
  font-family: var(--serif);
  color: var(--card-accent);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Ad Pricing ---------- */

.pricing {
  padding: 6rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.pricing__lede {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

/* ---------- Process ---------- */

.process {
  padding: 6rem 1.5rem;
  background: var(--cream-deep);
}

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
}

.timeline__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 2.75rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__connector {
  position: absolute;
  top: 44px;
  bottom: -2.75rem;
  left: 21px;
  width: 2px;
  background: var(--line);
  transform: scaleY(0);
  transform-origin: top;
}

.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.step__icon svg {
  width: 22px;
  height: 22px;
}

.timeline__icon {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--cream-deep);
}

.timeline__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--cream-deep);
  z-index: -1;
}

.timeline__body {
  padding-top: 0.35rem;
}

.step__num {
  display: block;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.timeline__body h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 600;
}

.timeline__body p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- YouTube ---------- */

.youtube {
  padding: 6rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.youtube__lede {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.youtube__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.youtube__status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
}

.youtube__status a {
  color: var(--accent-bright);
}

.youtube__card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.youtube__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070c;
  overflow: hidden;
}

.youtube__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube__title {
  margin: 0;
  padding: 1rem 1.1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}

.youtube__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  text-align: center;
  padding: 7rem 1.5rem;
  overflow: hidden;
}

.cta__blob {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.18), transparent 70%);
  z-index: 0;
}

.cta h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.cta p {
  position: relative;
  z-index: 1;
  margin: 0 0 2rem;
  color: var(--ink-soft);
}

.cta .btn {
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .nav__links {
    gap: 1rem;
  }

  .nav__links a:not(.btn) {
    display: none;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

