/* ReelzPro umbrella site. Self-hosted fonts: no requests to third parties. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-500-800.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/AtkinsonHyperlegible-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/AtkinsonHyperlegible-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #f6f5fb;
  --ink: #1b1530;
  --ink-soft: #4a4463;
  --violet: #6d28d9;
  --violet-deep: #4c1d95;
  --rec: #e0245e;
  --karaoke: #fde047;
  --rule: #dcd8ea;
  --screen: #120f1f;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  color-scheme: only light;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ───────────────────────────────────────────── */

.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 22px/1 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--violet);
  color: #fff;
  font-size: 19px;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  font-weight: 700;
  font-size: 15px;
}

.site-nav a {
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--violet);
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 88px;
}

.hero h1 {
  font: 800 clamp(44px, 6.4vw, 84px) / 0.98 var(--display);
  letter-spacing: -0.035em;
  max-width: 12ch;
}

.hero-lede {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 19px;
  color: var(--ink-soft);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font: 700 16px/1.2 var(--body);
  text-decoration: none;
  border: 2px solid var(--ink);
}

.btn-solid {
  background: var(--ink);
  color: #fff;
}

.btn-solid:hover {
  background: var(--violet);
  border-color: var(--violet);
}

.btn-line:hover {
  border-color: var(--violet);
  color: var(--violet);
}

/* Two 9:16 phone screens: the format both products make. Decorative only. */

.screens {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.screen {
  position: relative;
  width: min(42%, 230px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  background: var(--screen);
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(27, 21, 48, 0.55);
  color: #fff;
}

.screen:nth-child(2) {
  margin-top: 56px;
}

.screen-scene {
  position: absolute;
  inset: 0;
}

.screen-dubzi .screen-scene {
  background:
    radial-gradient(ellipse 60% 40% at 50% 38%, #3b3270 0%, transparent 70%),
    linear-gradient(180deg, #221c3d 0%, #120f1f 100%);
}

.screen-captions .screen-scene {
  background:
    radial-gradient(ellipse 70% 45% at 40% 35%, #6b2245 0%, transparent 70%),
    linear-gradient(180deg, #2a1424 0%, #120f1f 100%);
}

/* A silhouette, so the screens read as a scene rather than a blank card. */
.screen-scene::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 62%;
  height: 52%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.14) 0 18%, transparent 18.5%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255, 255, 255, 0.1) 0 98%, transparent 100%);
}

.screen-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font: 700 12px/1.2 var(--body);
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rec);
}

/* Dub-zi: a rythmo band, the script scrolling past a playhead. */
.band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  height: 40px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  overflow: hidden;
}

.band-text {
  position: absolute;
  top: 50%;
  left: 38%;
  transform: translateY(-50%);
  white-space: nowrap;
  font: 800 19px/1 var(--display);
  /* The script slides past the playhead, as it does in Dub-zi, then starts over. */
  animation: band-scroll 6.5s linear infinite;
}

@keyframes band-scroll {
  from {
    transform: translate(0, -50%);
  }
  to {
    transform: translate(-100%, -50%);
  }
}

.band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 36%;
  width: 3px;
  background: var(--rec);
}

/* Captions: karaoke words lighting up one by one. */
.caption {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 16%;
  text-align: center;
  font: 800 21px/1.15 var(--display);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.caption span {
  transition: color 0.12s;
}

.caption span.on {
  color: var(--karaoke);
}

.caption-lang {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: 700 12px/1.2 var(--body);
}

/* ── Products ─────────────────────────────────────────── */

.products {
  border-top: 2px solid var(--ink);
}

.section-title {
  padding-top: 40px;
  font: 800 30px/1.1 var(--display);
  letter-spacing: -0.02em;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  padding: 40px 0 48px;
}

.product + .product {
  border-top: 1px solid var(--rule);
}

.product-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font: 800 clamp(34px, 4.4vw, 52px) / 1 var(--display);
  letter-spacing: -0.03em;
}

.product-mark {
  width: 0.9em;
  height: 0.9em;
  margin-right: -4px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font: 700 13px/1.2 var(--body);
  letter-spacing: 0;
}

.status-live {
  background: #dcfce7;
  color: #14532d;
}

.status-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.status-soon {
  background: #ede9fe;
  color: var(--violet-deep);
}

.product-pitch {
  margin-top: 14px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 34ch;
}

.product-cta {
  margin-top: 24px;
}

.product-cta small {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

.facts {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
}

.facts li {
  display: grid;
  grid-template-columns: 11ch minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.facts li:first-child {
  border-top: 1px solid var(--rule);
}

.facts strong {
  font-weight: 700;
}

.facts span {
  color: var(--ink-soft);
}

/* ── About ────────────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 72px;
  border-top: 2px solid var(--ink);
}

.about .section-title {
  padding-top: 0;
}

.about p {
  max-width: 60ch;
  color: var(--ink-soft);
}

.about p + p {
  margin-top: 14px;
}

.about p a {
  color: var(--violet);
  font-weight: 700;
  text-underline-offset: 2px;
}

/* ── About me page ────────────────────────────────────── */

.site-nav a[aria-current="page"] {
  color: var(--violet);
}

.me-hero {
  padding-top: 48px;
  padding-bottom: 72px;
}

.eyebrow {
  font-weight: 700;
  font-size: 15px;
  color: var(--violet);
}

.me-hero h1 {
  margin-top: 10px;
  font: 800 clamp(44px, 6.4vw, 84px) / 0.98 var(--display);
  letter-spacing: -0.035em;
}

.me-hero .hero-lede {
  max-width: 58ch;
}

.stats {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.stats li {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}

.stats strong {
  font: 800 clamp(26px, 3.2vw, 38px) / 1 var(--display);
  letter-spacing: -0.02em;
}

.stats span {
  font-size: 15px;
  color: var(--ink-soft);
}

.experience {
  padding-bottom: 56px;
  border-top: 2px solid var(--ink);
}

.job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  padding: 32px 0;
}

.job + .job {
  border-top: 1px solid var(--rule);
}

.job-head h3 {
  font: 800 24px/1.15 var(--display);
  letter-spacing: -0.015em;
}

.job-org {
  margin-top: 6px;
  font-weight: 700;
}

.job-when {
  margin-top: 2px;
  font-size: 15px;
  color: var(--ink-soft);
}

.job-points {
  padding-left: 20px;
  color: var(--ink-soft);
}

.job-points li + li {
  margin-top: 8px;
}

.tags {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--violet-deep);
}

.toolbox {
  margin-top: 28px;
}

.case-name {
  margin-top: 8px;
  font: 800 clamp(28px, 3.4vw, 38px) / 1.05 var(--display);
  letter-spacing: -0.025em;
}

.product-pitch a {
  color: var(--violet);
  font-weight: 700;
}

/* ── Footer ───────────────────────────────────────────── */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-soft);
}

.site-footer nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.site-footer a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.site-footer a:hover {
  color: var(--violet);
}

/* ── Legal pages ──────────────────────────────────────── */

.legal {
  max-width: 68ch;
  padding-top: 32px;
  padding-bottom: 80px;
}

.legal h1 {
  font: 800 clamp(36px, 5vw, 52px) / 1.05 var(--display);
  letter-spacing: -0.03em;
}

.legal h2 {
  margin-top: 40px;
  font: 800 23px/1.2 var(--display);
}

.legal p,
.legal ul,
.legal address {
  margin-top: 12px;
  font-style: normal;
}

.legal ul {
  padding-left: 22px;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--violet);
  font-weight: 700;
  text-underline-offset: 2px;
}

.legal .updated {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ── Small screens ────────────────────────────────────── */

@media (max-width: 860px) {
  .hero,
  .product,
  .about,
  .job {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 64px;
  }

  .job {
    gap: 14px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-nav a:first-child {
    display: none;
  }

  .screen {
    border-radius: 16px;
  }

  .band {
    height: 30px;
  }

  .band-text {
    font-size: 15px;
  }

  .caption {
    font-size: 16px;
  }

  .facts li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .site-footer nav {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .caption span {
    transition: none;
  }

  .band-text {
    animation: none;
  }
}
