/* ===========================================================================
   Rockstarr & Moon — Brand System
   Brand: dark-mode primary, Bebas Neue headlines, Manrope body,
   Blue→Teal gradient as signature visual element.
   =========================================================================== */

:root {
  /* Brand colors */
  --blue: #0069AA;
  --teal: #04E6F7;
  --black: #000000;
  --ink: #0a0a0a;          /* slightly off-black for surfaces over pure black */
  --ink-2: #141414;        /* card surface */
  --ink-3: #1f1f1f;        /* hover/border */
  --white: #ffffff;
  --mute: #a3a3a3;         /* secondary text on dark */
  --mute-2: #6b6b6b;       /* tertiary text */

  /* The signature gradient */
  --gradient: linear-gradient(90deg, var(--blue) 0%, var(--teal) 100%);
  --gradient-diag: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);

  /* Type */
  --font-display: 'Bebas Neue', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Scale */
  --step--1: clamp(0.875rem, 0.83rem + 0.22vw, 1rem);
  --step-0:  clamp(1rem, 0.95rem + 0.26vw, 1.125rem);
  --step-1:  clamp(1.25rem, 1.16rem + 0.43vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.36rem + 0.7vw, 2rem);
  --step-3:  clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --step-4:  clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  --step-5:  clamp(3rem, 2rem + 5vw, 7rem);
  --step-6:  clamp(4rem, 2.5rem + 7.5vw, 10rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --section-py: clamp(4rem, 2.5rem + 6vw, 8rem);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--teal); color: var(--black); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0;
}
h1, .h1 { font-size: var(--step-5); }
h2, .h2 { font-size: var(--step-4); }
h3, .h3 { font-size: var(--step-3); }
h4, .h4 { font-size: var(--step-2); }

p { margin: 0 0 1em; max-width: 65ch; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--mute); }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--step-0);
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 1rem;
  display: inline-block;
}

/* Gradient text — for accent words */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-py);
}
.section-tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 0;
  background: var(--gradient);
  color: var(--white);
  transition: transform 0.15s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s var(--ease);
  box-shadow: 0 8px 30px -10px rgba(4, 230, 247, 0.45);
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 12px 40px -10px rgba(4, 230, 247, 0.7);
}
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--ink-3);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--teal);
  background: rgba(4, 230, 247, 0.06);
  filter: none;
}

.btn-arrow::after { content: '→'; margin-left: 0.25rem; transition: transform 0.2s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-2);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.brand-logo-footer img { height: 36px; }
@media (max-width: 560px) { .brand-logo img { height: 26px; } }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--mute);
  transition: color 0.15s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav .btn { padding: 0.55rem 1.1rem; font-size: var(--step--1); }
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
}

/* ---------- Hero (Section 1) ---------- */
.hero {
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 3rem + 4vw, 7rem);
}
.hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(4, 230, 247, 0.12), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 105, 170, 0.15), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  /* Match the .eyebrow treatment used on the rest of the homepage */
  font-family: var(--font-display);
  font-size: var(--step-0);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 1;
  margin: 0 auto 1.5rem;
  font-weight: 400;
}
.hero .hero-ai-line {
  font-family: var(--font-display);
  font-size: clamp(4rem, 2.5rem + 9vw, 10rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.88;
  color: var(--white);
  margin: 0 auto;
  max-width: none;
  font-weight: 400;
}
.hero .hero-ai-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--mute);
  max-width: 38ch;
  margin: 0 auto;
}
.hero .typed-line {
  display: inline-block;
  min-height: 1em;
}
.hero .typed-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  background: var(--teal);
  vertical-align: text-bottom;
  margin-left: 0.05em;
  animation: blink 1s steps(2) infinite;
  transform: translateY(-0.05em);
}
@keyframes blink { 50% { opacity: 0; } }
.hero .cta-block {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.hero .cta-fineprint {
  font-size: var(--step--1);
  color: var(--white);
}
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--mute-2);
  font-size: var(--step--1);
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- Section: Positioning ---------- */
.positioning {
  text-align: center;
  background: var(--ink);
}
.positioning .container { max-width: 900px; }
.positioning p {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--mute);
  max-width: 65ch;
  margin-inline: auto;
}

/* ---------- Section: Proof ---------- */
.proof { text-align: center; }
.proof .big-number {
  font-family: var(--font-display);
  font-size: var(--step-6);
  line-height: 0.9;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  letter-spacing: -0.01em;
}
.proof .big-number-sub {
  font-size: var(--step-1);
  color: var(--mute);
  margin-top: 1rem;
  margin-bottom: 4rem;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  text-align: left;
}
.proof-card {
  background: var(--ink-2);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--ink-3);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(4, 230, 247, 0.35);
}
.proof-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}
.proof-card .client {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--step-2);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.proof-card .result { color: var(--mute); font-size: var(--step-0); margin: 0; }
.proof .all-wins-link {
  display: inline-block;
  margin-top: 3rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.proof .all-wins-link:hover { text-decoration: underline; }

/* ---------- Section: Who We Work With ---------- */
.who { background: var(--ink); }
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}
@media (max-width: 820px) { .who-grid { grid-template-columns: 1fr; } }
.who h2 { font-size: var(--step-4); max-width: 12ch; }
.who ul { list-style: none; margin: 0; padding: 0; }
.who li {
  font-size: var(--step-1);
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ink-3);
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.who li::before {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 2px;
  background: var(--gradient);
  flex-shrink: 0;
  position: relative;
  top: -0.35em;
}
.who li:last-child { border-bottom: 0; }
.who .cta { margin-top: 2.5rem; }

/* ---------- Section: What We Do (Two Cards) ---------- */
.what h2 { text-align: center; margin-bottom: 3rem; }
.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.what-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.what-card:hover { transform: translateY(-4px); border-color: rgba(4, 230, 247, 0.4); }
.what-card.featured {
  background:
    linear-gradient(180deg, rgba(0, 105, 170, 0.1) 0%, transparent 60%),
    var(--ink-2);
  border-color: var(--blue);
}
.what-card .badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--teal);
  color: var(--teal);
  border-radius: 999px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}
.what-card h3 {
  font-size: var(--step-3);
  margin-bottom: 1rem;
}
.what-card .what-meta {
  color: var(--teal);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: var(--step-0);
  margin-bottom: 1.25rem;
}
.what-card p { color: var(--mute); flex: 1; }
.what-card .btn { margin-top: 1.5rem; align-self: flex-start; }

/* ---------- Section: How It Works (5 steps) ---------- */
.how { background: var(--ink); }
.how .head { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.how .head p { margin-inline: auto; color: var(--mute); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 1.75rem 1.5rem;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 4px;
  position: relative;
  transition: border-color 0.2s var(--ease);
}
.step:hover { border-color: rgba(4, 230, 247, 0.35); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--step-3);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}
.step h4 {
  font-size: var(--step-2);
  margin-bottom: 0.5rem;
}
.step p { color: var(--mute); font-size: var(--step--1); margin: 0; }
.how .cta { text-align: center; margin-top: 3rem; }

/* ---------- Section: Founder Story ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 820px) { .founder-grid { grid-template-columns: 1fr; } }
.founder-photo {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  border: 1px solid var(--ink-3);
  overflow: hidden;
  position: relative;
  background: var(--ink-2);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founder-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35) 100%);
}
.founder p { color: var(--mute); font-size: var(--step-1); line-height: 1.55; }
.founder .sig {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--white);
}
.founder .sig small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mute);
  margin-top: 0.25rem;
}

/* ---------- Section: Final CTA ---------- */
.final-cta {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(4, 230, 247, 0.15), transparent 60%),
    var(--ink);
  border-block: 1px solid var(--ink-2);
}
.final-cta h2 { font-size: var(--step-5); max-width: 16ch; margin-inline: auto; }
.final-cta p { color: var(--mute); font-size: var(--step-1); margin: 1.5rem auto 2.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  padding: 4rem 0 2rem;
  font-size: var(--step--1);
  color: var(--mute);
  border-top: 1px solid var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 {
  font-family: var(--font-display);
  font-size: var(--step-0);
  letter-spacing: 0.1em;
  color: var(--white);
  margin: 0 0 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--ink-2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--mute-2);
}
.footer-bottom .tagline {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  color: var(--teal);
}
.social {
  display: flex;
  gap: 1rem;
}
.social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink-3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.social a:hover { border-color: var(--teal); color: var(--teal); }

/* ===========================================================================
   Shared page-hero + form-embed block (used on contact, book-call,
   ask-us-anything, fractional-cmo, etc.)
   =========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(5rem, 4rem + 5vw, 9rem) 0 clamp(3rem, 2rem + 3vw, 5rem);
  overflow: hidden;
  text-align: center;
  background: var(--black);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 50% at 20% 100%, rgba(0, 105, 170, 0.45), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(4, 230, 247, 0.22), transparent 65%);
}
.page-hero .container { max-width: 760px; }
.page-hero .eyebrow { display: inline-block; }
.page-hero h1 {
  font-size: clamp(2.75rem, 1.8rem + 5vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 1.5rem;
}
.page-hero .lead {
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem);
  color: var(--mute);
  max-width: 50ch;
  margin: 0 auto 0;
  line-height: 1.5;
}

/* Embed wrapper */
.embed-section { padding: clamp(2rem, 1rem + 2vw, 4rem) 0 clamp(4rem, 2rem + 5vw, 7rem); }
.embed-section .container { max-width: 760px; }
.embed-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 8px;
  padding: clamp(1.5rem, 1rem + 1vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.embed-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
}
.embed-card iframe {
  display: block;
  width: 100%;
  border: 0;
  background: var(--white);
  border-radius: 4px;
}
.embed-card .embed-heading {
  font-family: var(--font-display);
  font-size: var(--step-2);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}
.embed-card .embed-subhead {
  color: var(--mute);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

/* Alt-action divider ("Or grab a time directly →") */
.page-divider {
  text-align: center;
  margin: 3rem auto;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute-2);
  position: relative;
}
.page-divider::before,
.page-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 3rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-3), transparent);
}
.page-divider::before { left: 0; }
.page-divider::after { right: 0; }

/* ===========================================================================
   Client logo strip — auto-scrolling marquee, pause on hover.
   Used on homepage and /client-success/. Reads from /assets/data/clients.json
   via clients-strip.js.
   =========================================================================== */
.logo-strip-section {
  padding: clamp(3rem, 2rem + 2vw, 4.5rem) 0;
  background: var(--ink);
  border-block: 1px solid var(--ink-2);
}
.logo-strip-section .head {
  text-align: center;
  margin-bottom: 2rem;
}
.logo-strip-section .head .eyebrow { color: var(--teal); }

.logo-strip {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
}
.logo-strip-track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  width: max-content;
  animation: logo-scroll 60s linear infinite;
  will-change: transform;
}
.logo-strip:hover .logo-strip-track { animation-play-state: paused; }
.logo-strip img {
  height: clamp(36px, 32px + 0.6vw, 52px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.65;
  filter: saturate(0.85);
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
  flex-shrink: 0;
}
.logo-strip img:hover { opacity: 1; filter: none; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-strip-track { animation: none; }
  .logo-strip { overflow-x: auto; }
}

/* ===========================================================================
   Homepage sliders (testimonials, blog posts) — shared .hp-slider component
   =========================================================================== */
.hp-section {
  padding: clamp(4rem, 3rem + 3vw, 6rem) 0;
  background: var(--ink);
  border-block: 1px solid var(--ink-2);
}
.hp-section .head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  padding-inline: var(--gutter);
}
.hp-section h2 { margin-bottom: 1rem; }
.hp-section .head p { color: var(--mute); margin: 0; }
.hp-section .head .lead { font-size: var(--step-1); line-height: 1.5; }

.hp-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}
.hp-slider-viewport {
  overflow: hidden;
  position: relative;
}
.hp-slider-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.hp-slider-loading {
  width: 100%;
  text-align: center;
  color: var(--mute-2);
  padding: 4rem 0;
}

/* Card sizing driven by data-per-view */
.hp-slider[data-per-view="2"] > .hp-slider-viewport > .hp-slider-track > * {
  flex: 0 0 calc((100% - 1.25rem) / 2);
}
.hp-slider[data-per-view="3"] > .hp-slider-viewport > .hp-slider-track > * {
  flex: 0 0 calc((100% - 2.5rem) / 3);
}
.hp-slider[data-per-view="1"] > .hp-slider-viewport > .hp-slider-track > * {
  flex: 0 0 100%;
}

/* Arrows + progress bar — reuse the .cs-arrow / .cs-progressbar
   look from client-success.css, redeclared here so homepage doesn't
   need to load that file. */
.hp-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease);
  flex-shrink: 0;
}
.hp-arrow:hover:not(:disabled) {
  border-color: var(--teal);
  background: rgba(4, 230, 247, 0.08);
  transform: scale(1.05);
}
.hp-arrow:active { transform: scale(0.95); }
.hp-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.hp-arrow:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.hp-progressbar {
  width: min(360px, 80%);
  height: 3px;
  margin: 2rem auto 0;
  background: var(--ink-3);
  border-radius: 999px;
  overflow: hidden;
}
.hp-progressbar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.45s var(--ease);
}

/* "See all" link below the slider */
.hp-see-all {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--teal);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.hp-see-all:hover { text-decoration: underline; }

/* ---------- Testimonial card (inline copy of .cs-card) ---------- */
.hp-tcard {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.hp-tcard::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0.6;
  transition: opacity 0.2s var(--ease);
}
.hp-tcard:hover { border-color: rgba(4, 230, 247, 0.4); transform: translateY(-3px); }
.hp-tcard:hover::before { opacity: 1; }
.hp-tcard .stars { color: var(--teal); letter-spacing: 0.1em; font-size: 0.95rem; margin-bottom: 1rem; }
.hp-tcard blockquote {
  margin: 0 0 1.5rem;
  padding-left: 1rem;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--white);
  flex: 1;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--blue) 0%, var(--teal) 100%) 1;
}
.hp-tcard-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--ink-3);
  padding-top: 1.25rem;
}
.hp-tcard-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink-3);
  flex-shrink: 0;
  border: 1px solid var(--ink-3);
}
.hp-tcard-author .fallback {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-diag);
  display: grid; place-items: center;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hp-tcard-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 0.25rem;
}
.hp-tcard-role {
  font-size: 0.85rem;
  color: var(--mute);
  margin: 0;
  line-height: 1.3;
}

/* ---------- Post card (inline copy of .ins-card, text-only) ---------- */
.hp-pcard {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}
.hp-pcard::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.hp-pcard:hover { transform: translateY(-4px); border-color: transparent; }
.hp-pcard:hover::after { transform: scaleX(1); }
.hp-pcard-body {
  padding: 1.75rem 1.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}
.hp-pcard-cat {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.hp-pcard-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--white);
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-pcard-excerpt {
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.hp-pcard-arrow {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--teal);
  align-self: flex-start;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.hp-pcard:hover .hp-pcard-arrow { transform: translateX(6px); color: var(--white); }

@media (max-width: 600px) {
  .hp-slider { grid-template-columns: 1fr; gap: 1rem; grid-template-areas: "viewport viewport" "prev next"; }
  .hp-slider-viewport { grid-area: viewport; }
  .hp-arrow-prev { grid-area: prev; justify-self: end; }
  .hp-arrow-next { grid-area: next; justify-self: start; }
  .hp-arrow { width: 44px; height: 44px; font-size: 1.4rem; }
}

/* ===========================================================================
   Pricing cards (used on /fractional-cmo/, can be reused elsewhere)
   =========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 8px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--ink-3);
}
.pricing-card.pricing-featured {
  border-color: var(--blue);
  background:
    linear-gradient(180deg, rgba(0, 105, 170, 0.1) 0%, transparent 60%),
    var(--ink-2);
}
.pricing-card.pricing-featured::before { background: var(--gradient); height: 3px; }
.pricing-card:hover { border-color: rgba(4, 230, 247, 0.4); transform: translateY(-3px); }
.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  background: var(--gradient);
  color: var(--black);
  border-radius: 999px;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.pricing-price {
  font-family: var(--font-display);
  margin: 0 0 0.25rem;
  line-height: 0.95;
}
.pricing-num {
  font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.25rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pricing-per {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--mute);
  margin-left: 0.25rem;
  font-weight: 400;
}
.pricing-hours {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.25rem;
}
.pricing-best, .pricing-fit {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}
.pricing-best strong, .pricing-fit strong { color: var(--white); }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
  border-top: 1px solid var(--ink-3);
  padding-top: 1.25rem;
}
.pricing-features li {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}
.pricing-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0.4rem;
  color: var(--teal);
  font-family: var(--font-display);
}
.pricing-cta { margin-top: auto; align-self: flex-start; }

/* ===========================================================================
   FAQ accordion (uses native <details><summary>)
   =========================================================================== */
.faq {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--step-1);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  position: relative;
  padding-right: 3rem;
  line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal);
  transition: transform 0.2s var(--ease);
  line-height: 1;
}
.faq[open] summary::after { content: '−'; }
.faq[open] { border-color: rgba(4, 230, 247, 0.4); }
.faq p {
  padding: 0 1.5rem 1.5rem;
  color: var(--mute);
  font-size: var(--step-0);
  line-height: 1.65;
  margin: 0;
  max-width: 70ch;
}

/* Smooth-scroll for anchor links (already on html, but reinforce) */
html { scroll-behavior: smooth; }

/* ===========================================================================
   Legal pages (terms, privacy) — long-form prose
   =========================================================================== */
.legal-content {
  padding: clamp(2rem, 1rem + 2vw, 4rem) 0 clamp(4rem, 2rem + 5vw, 7rem);
}
.legal-content .container { max-width: 760px; }
.legal-content h2 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-3);
  position: relative;
}
.legal-content h2::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 50px;
  height: 1px;
  background: var(--gradient);
}
.legal-content h2:first-of-type {
  margin-top: 1rem;
  padding-top: 0;
  border-top: 0;
}
.legal-content h2:first-of-type::before { display: none; }
.legal-content h3 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin: 2rem 0 0.75rem;
  text-transform: uppercase;
}
.legal-content p {
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--mute);
  margin: 0 0 1.25rem;
  max-width: 65ch;
}
.legal-content strong, .legal-content b { color: var(--white); font-weight: 600; }
.legal-content a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--white); }
.legal-content ul, .legal-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
  color: var(--mute);
  font-size: var(--step-0);
  line-height: 1.7;
}
.legal-content li { margin-bottom: 0.5rem; max-width: 63ch; }
.legal-content ul li::marker { color: var(--teal); }

/* Termageddon-rendered policy content lives inside #policy on /privacy-policy/.
   Force its inherited dark-mode styling. */
.legal-content #policy {
  color: var(--mute);
}
.legal-content #policy h2,
.legal-content #policy h3 { color: var(--white); }
.legal-content #policy a { color: var(--teal); }

/* ---------- Motion: prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .cursor { animation: none; opacity: 1; }
}
