:root {
  color-scheme: dark;
  --ink: #eef3ff;
  --muted: #a8b3cd;
  --accent: #ff5874;
  --accent-warm: #ffd36f;
  --panel: rgba(18, 22, 42, 0.68);
  --panel-border: rgba(255, 255, 255, 0.12);
  --night-a: #070b22;
  --night-b: #11152f;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--night-a);
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 24% 18%, rgba(71, 84, 138, 0.24), transparent 28%),
    radial-gradient(circle at 72% 78%, rgba(141, 56, 88, 0.16), transparent 34%),
    linear-gradient(135deg, var(--night-a), var(--night-b) 58%, #07091a);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.shorts-page {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
}

.shorts-hero {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(24px, 4vw, 64px);
  isolation: isolate;
}

.shorts-hero--bg {
  background: url('/assets/short_videos_hero_bg.jpg') center right / cover no-repeat;
}

.shorts-hero::after {
  position: absolute;
  right: -10vw;
  bottom: -22vh;
  z-index: -1;
  width: min(68vw, 820px);
  height: min(68vw, 820px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 88, 116, 0.18), transparent 62%);
  content: "";
}

.hero-copy {
  position: absolute;
  z-index: 3;
  top: clamp(104px, 12vh, 140px);
  left: clamp(20px, 4vw, 64px);
  max-width: min(370px, 29vw);
  text-shadow: 0 3px 22px rgba(4, 6, 18, 0.72);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 10ch;
  margin: 0;
  color: rgba(238, 243, 255, 0.86);
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 40rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: #f3f7ff;
  color: #0e1426;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.primary-action:focus-visible {
  outline: 2px solid rgba(255, 88, 116, 0.74);
  outline-offset: 3px;
}

.format-tags {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: clamp(42px, 8vh, 84px);
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: none;
  padding: 0;
  margin: 0;
  list-style: none;
  color: rgba(238, 243, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.format-tags li {
  min-height: 32px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(10, 15, 32, 0.42);
}

/* ── Content sections below hero ── */

.content-section {
  scroll-margin-top: 152px;
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  padding: 92px 0;
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  align-items: end;
  gap: 64px;
  max-width: none;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: rgba(238, 243, 255, 0.9);
  font-size: clamp(2.1rem, 3.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(460px, 0.65fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 120px;
}

.final-cta h2 {
  margin: 0;
  color: rgba(238, 243, 255, 0.9);
  font-size: clamp(2.1rem, 3.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.final-cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.final-cta small {
  display: block;
  max-width: 560px;
  margin-top: 18px;
  color: rgba(238, 243, 255, 0.58);
  line-height: 1.5;
}

.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.brief-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(12, 18, 38, 0.62);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.brief-form label { display: grid; gap: 8px; }

.brief-form span {
  color: rgba(238, 243, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.brief-form input,
.brief-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(6, 10, 24, 0.72);
  color: var(--ink);
  font: inherit;
}

.brief-form input { min-height: 42px; padding: 0 12px; }
.brief-form textarea { resize: vertical; min-height: 104px; padding: 12px; }

.brief-form input:focus,
.brief-form textarea:focus {
  border-color: rgba(255, 88, 116, 0.62);
  outline: 2px solid rgba(255, 88, 116, 0.18);
}

.brief-form button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #f3f7ff;
  color: #0e1426;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

@media (max-width: 920px) {
  .shorts-hero {
    display: grid;
    align-content: start;
    min-height: 100vh;
    overflow: hidden;
    padding: 72px 12px 28px;
  }

  .shorts-hero--bg {
    background: url('/assets/short_videos_hero_bg.jpg') 72% bottom / auto 140% no-repeat;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.82rem, 14vw, 4.8rem);
  }

  .format-tags {
    position: relative;
    right: auto;
    bottom: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 100%;
    margin-top: 20px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .content-section {
    width: calc(100% - 48px);
  }

  .final-cta {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-action {
    width: 100%;
  }

  .format-tags {
    gap: 8px;
  }

  .format-tags li {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
