/* RJM v2 premium homepage visual system */

:root {
  --rjm-home-ink: #1b1026;
  --rjm-home-muted: #6e6676;
  --rjm-home-purple: #6429a3;
  --rjm-home-purple-deep: #1a0828;
  --rjm-home-orange: #ff6b2c;
  --rjm-home-orange-soft: #ffb28b;
  --rjm-home-surface: #f8f5fb;
  --rjm-home-line: rgba(84, 45, 111, 0.12);
  --rjm-shadow-sm: 0 12px 34px rgba(29, 12, 45, 0.08);
  --rjm-shadow-lg: 0 28px 80px rgba(29, 12, 45, 0.14);
  --rjm-shadow-xl: 0 42px 120px rgba(22, 7, 36, 0.24);
  --rjm-section-space: clamp(5.5rem, 9vw, 9rem);
  --rjm-card-radius: 1.55rem;
}

.home-section {
  position: relative;
  isolation: isolate;
}

.home-section .site-container {
  position: relative;
  z-index: 2;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--rjm-home-orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2,
.home-trust h2,
.home-faq__intro h2 {
  max-width: 820px;
  margin: 0;
  color: var(--rjm-home-ink);
  font-size: clamp(2.35rem, 4.6vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-heading__copy {
  max-width: 520px;
  margin: 0;
  color: var(--rjm-home-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.section-heading--light h2 {
  color: #fff;
}

.section-heading--light .section-heading__copy {
  color: rgba(255, 255, 255, 0.68);
}

/* Hero */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: min(820px, calc(100vh - 76px));
  padding: clamp(6.5rem, 10vw, 9.5rem) 0 clamp(6rem, 9vw, 8rem);
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 107, 44, 0.35), transparent 24%),
    radial-gradient(circle at 20% 22%, rgba(123, 61, 190, 0.38), transparent 30%),
    radial-gradient(circle at 52% 110%, rgba(104, 45, 165, 0.28), transparent 36%),
    linear-gradient(132deg, #160820 0%, #271039 48%, #120719 100%);
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-hero::before {
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.7) 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.7) 65%, transparent 100%);
}

.home-hero::after {
  width: 560px;
  height: 560px;
  right: -250px;
  bottom: -250px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
}

.home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.home-hero__content {
  position: relative;
  max-width: 760px;
}

.home-hero__content::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: -1.25rem;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 107, 44, 0.28);
  border-right: 0;
  border-bottom: 0;
  border-radius: 1rem 0 0 0;
  opacity: 0.9;
}

.home-hero .section-kicker {
  color: #ff9a66;
}

.home-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.65rem, 7.4vw, 7rem);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: 0 14px 50px rgba(0,0,0,.18);
}

.home-hero__lead {
  max-width: 690px;
  margin: 1.75rem 0 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.75;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.3rem;
}

.home-hero__actions .button {
  min-height: 54px;
  padding-inline: 1.45rem;
}

.home-hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.55rem 0 0;
  color: rgba(255,255,255,.58);
  font-size: 0.86rem;
}

.browser-showcase {
  position: relative;
  width: min(100%, 590px);
  margin-inline: auto;
  aspect-ratio: 1.08;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 1.65rem;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.05));
  box-shadow: var(--rjm-shadow-xl), inset 0 1px 0 rgba(255,255,255,.08);
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
  backdrop-filter: blur(18px);
}

.browser-showcase::before {
  content: "";
  position: absolute;
  inset: 14% -8% -9% 12%;
  z-index: -1;
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(100,41,163,.42), rgba(255,107,44,.2));
  filter: blur(34px);
}

.browser-showcase__chrome {
  display: flex;
  gap: 0.45rem;
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.browser-showcase__chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
}

.browser-showcase__chrome i:first-child {
  background: var(--rjm-home-orange);
}

.browser-showcase__body {
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.browser-showcase__nav {
  width: 38%;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
}

.browser-showcase__headline {
  width: 80%;
  height: clamp(58px, 8vw, 82px);
  margin-top: 2.2rem;
  border-radius: 0.8rem;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,.4));
  box-shadow: 0 18px 50px rgba(255,255,255,.05);
}

.browser-showcase__copy {
  width: 62%;
  height: 12px;
  margin-top: 1.05rem;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  box-shadow: 0 22px 0 rgba(255,255,255,.12);
}

.browser-showcase__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 4.4rem;
}

.browser-showcase__cards span {
  aspect-ratio: 1.25;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0.95rem;
  background: linear-gradient(145deg, rgba(111,49,169,.78), rgba(255,255,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.browser-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: #fff;
  background: rgba(18,7,25,.88);
  box-shadow: 0 16px 38px rgba(0,0,0,.3);
  font-size: 0.75rem;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.browser-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rjm-home-orange);
  box-shadow: 0 0 0 4px rgba(255,107,44,.12);
}

.browser-badge--speed { right: -1.4rem; top: 24%; }
.browser-badge--seo { left: -1.5rem; bottom: 14%; color: #ffd8c5; }

/* Trust */
.home-trust {
  padding: clamp(4.2rem, 7vw, 6.7rem) 0;
  background: #fff;
}

.home-trust::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(92%, 1200px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rjm-home-line), transparent);
  transform: translateX(-50%);
}

.home-trust__inner { text-align: center; }
.home-trust h2 { max-width: 860px; margin-inline: auto; font-size: clamp(2.2rem, 4.2vw, 4rem); }
.home-trust__copy { max-width: 780px; margin: 1.35rem auto 0; color: var(--rjm-home-muted); font-size: 1.05rem; line-height: 1.8; }
.home-trust__signals { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 2.35rem; }
.home-trust__signals span { padding: 0.68rem 0.95rem; color: #51465a; border: 1px solid rgba(95,42,138,.12); border-radius: 999px; background: linear-gradient(180deg, #fff, #faf8fc); box-shadow: 0 8px 24px rgba(31,13,47,.04); font-size: 0.8rem; font-weight: 760; }

/* Services */
.home-services {
  overflow: hidden;
  padding: var(--rjm-section-space) 0;
  background: radial-gradient(circle at 92% 6%, rgba(100,41,163,.11), transparent 28%), radial-gradient(circle at 8% 92%, rgba(255,107,44,.08), transparent 25%), var(--rjm-home-surface);
}

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.service-card { position: relative; min-height: 310px; padding: 1.9rem; overflow: hidden; border: 1px solid var(--rjm-home-line); border-radius: var(--rjm-card-radius); background: rgba(255,255,255,.94); box-shadow: var(--rjm-shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -90px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(100,41,163,.12), transparent 68%); pointer-events: none; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(100,41,163,.2); box-shadow: 0 28px 75px rgba(29,12,45,.12); }
.service-card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 2.15rem; border: 1px solid rgba(100,41,163,.1); border-radius: 0.9rem; color: var(--rjm-home-purple); background: linear-gradient(145deg, rgba(100,41,163,.12), rgba(255,255,255,.7)); font-size: 0.72rem; font-weight: 900; }
.service-card__eyebrow { margin: -0.85rem 0 0.75rem; color: #ffb08b; font-size: 0.68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.service-card h3 { margin: 0; color: var(--rjm-home-ink); font-size: 1.4rem; line-height: 1.22; letter-spacing: -0.025em; }
.service-card p { margin: 1rem 0 0; color: var(--rjm-home-muted); line-height: 1.72; }
.service-card a { display: inline-flex; gap: 0.45rem; margin-top: 1.55rem; color: #fff; font-size: 0.86rem; font-weight: 850; text-decoration: none; }
.service-card--featured { grid-column: span 2; min-height: 330px; color: #fff; border-color: rgba(255,255,255,.1); background: radial-gradient(circle at 82% 18%, rgba(255,107,44,.32), transparent 30%), radial-gradient(circle at 10% 90%, rgba(113,48,177,.3), transparent 34%), linear-gradient(135deg, #2c1044, #170821); box-shadow: 0 32px 85px rgba(29,12,45,.22); }
.service-card--featured::after { width: 260px; height: 260px; right: -90px; bottom: -120px; border: 1px solid rgba(255,255,255,.08); background: transparent; box-shadow: 0 0 0 46px rgba(255,255,255,.025), 0 0 0 92px rgba(255,255,255,.018); }
.service-card--featured h3 { max-width: 620px; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.service-card--featured p { max-width: 650px; color: rgba(255,255,255,.72); }
.service-card--featured .service-card__icon { color: #fff; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.09); }

/* Benefits */
.home-benefits { overflow: hidden; padding: var(--rjm-section-space) 0; background: #fff; }
.home-benefits::before { content: ""; position: absolute; width: 500px; height: 500px; top: 14%; left: -330px; border-radius: 50%; background: radial-gradient(circle, rgba(100,41,163,.08), transparent 70%); pointer-events: none; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.benefit-card { position: relative; min-height: 275px; padding: 2rem; overflow: hidden; border: 1px solid var(--rjm-home-line); border-radius: var(--rjm-card-radius); background: linear-gradient(180deg, #fff 0%, #fbf9fd 100%); box-shadow: 0 15px 44px rgba(29,12,45,.045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.benefit-card::after { content: ""; position: absolute; right: -35px; top: -35px; width: 110px; height: 110px; border: 1px solid rgba(100,41,163,.1); border-radius: 50%; }
.benefit-card:hover { transform: translateY(-5px); border-color: rgba(100,41,163,.22); box-shadow: var(--rjm-shadow-lg); }
.benefit-card__number { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 30px; margin-bottom: 2.3rem; padding: 0 0.7rem; border-radius: 999px; color: var(--rjm-home-orange); background: rgba(255,107,44,.08); font-size: 0.7rem; font-weight: 900; letter-spacing: .11em; }
.benefit-card h3 { max-width: 300px; margin: 0; color: var(--rjm-home-ink); font-size: 1.3rem; line-height: 1.26; letter-spacing: -0.02em; }
.benefit-card p { margin: 1rem 0 0; color: var(--rjm-home-muted); line-height: 1.72; }

/* Work */
.home-work { overflow: hidden; padding: var(--rjm-section-space) 0; background: radial-gradient(circle at 8% 100%, rgba(255,107,44,.09), transparent 28%), linear-gradient(180deg, #faf8fc, #f6f2f9); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.work-card { overflow: hidden; border: 1px solid var(--rjm-home-line); border-radius: var(--rjm-card-radius); background: #fff; box-shadow: var(--rjm-shadow-sm); }
.work-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #eee8f2; }
.work-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.work-card:hover .work-card__image { transform: scale(1.025); }
.work-card__content { padding: 1.65rem; }
.work-card__eyebrow, .work-empty__eyebrow { margin: 0 0 .7rem; color: var(--rjm-home-orange); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.work-card h3 { margin: 0; color: var(--rjm-home-ink); font-size: 1.4rem; letter-spacing: -0.025em; }
.work-card h3 a, .work-card__link { text-decoration: none; }
.work-card p { color: var(--rjm-home-muted); line-height: 1.72; }
.work-card__link { color: var(--rjm-home-purple); font-size: .86rem; font-weight: 850; }
.work-empty { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); padding: clamp(2.2rem, 5vw, 4.5rem); overflow: hidden; border: 1px solid var(--rjm-home-line); border-radius: 2rem; background: rgba(255,255,255,.94); box-shadow: var(--rjm-shadow-lg); }
.work-empty__visual { position: relative; min-height: 340px; }
.work-empty__window { position: absolute; top: 2.8rem; left: 5%; width: 84%; aspect-ratio: 16/10; border: 1px solid rgba(100,41,163,.15); border-radius: 1.2rem; background: linear-gradient(to bottom, #29113e 0 42px, transparent 42px), linear-gradient(135deg, #f9f5fc, #eee4f3); box-shadow: 0 28px 70px rgba(29,12,45,.18); transform: rotate(-3deg); }
.work-empty__window::before { content: ""; position: absolute; top: 15px; left: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--rjm-home-orange); box-shadow: 14px 0 0 rgba(255,255,255,.35), 28px 0 0 rgba(255,255,255,.2); }
.work-empty__window--back { top: .2rem; left: 15%; opacity: .45; transform: rotate(5deg) scale(.92); }
.work-empty__content h3 { max-width: 620px; margin: 0; color: var(--rjm-home-ink); font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.04em; }
.work-empty__content > p:not(.work-empty__eyebrow) { max-width: 650px; margin: 1.3rem 0 1.8rem; color: var(--rjm-home-muted); line-height: 1.8; }

/* Process */
.home-process { overflow: hidden; padding: var(--rjm-section-space) 0; color: #fff; background: radial-gradient(circle at 10% 18%, rgba(112,48,175,.3), transparent 30%), radial-gradient(circle at 92% 86%, rgba(255,107,44,.16), transparent 28%), #14071e; }
.home-process::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
.process-timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.process-timeline::before { content: ""; position: absolute; top: 27px; left: 7%; right: 7%; height: 1px; background: linear-gradient(90deg, rgba(112,48,175,.8), rgba(255,107,44,.75)); }
.process-step { position: relative; z-index: 1; }
.process-step__marker { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.65rem; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; background: #251035; box-shadow: 0 0 0 9px #14071e, 0 12px 32px rgba(0,0,0,.25); font-size: .72rem; font-weight: 900; }
.process-step__content { position: relative; min-height: 300px; padding: 1.75rem; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 1.35rem; background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.process-step__content::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--rjm-home-purple), var(--rjm-home-orange)); opacity: .78; }
.process-step__eyebrow { margin: 0 0 .8rem; color: #ff9f6d; font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.process-step h3 { margin: 0; color: #fff; font-size: 1.45rem; letter-spacing: -.02em; }
.process-step p:last-child { margin: 1.1rem 0 0; color: rgba(255,255,255,.68); line-height: 1.72; }

/* Testimonials */
.home-testimonials { padding: var(--rjm-section-space) 0; color: #fff; background: #14071e; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.testimonial-card { padding: 1.9rem; border: 1px solid rgba(255,255,255,.1); border-radius: 1.35rem; background: rgba(255,255,255,.045); }
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p { margin: 0 0 1.5rem; color: rgba(255,255,255,.8); font-size: 1.06rem; line-height: 1.8; }
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-card blockquote { flex: 1; }
.testimonial-card__author { display: flex; align-items: center; gap: .85rem; margin: 0; }
.testimonial-card__name { display: block; color: #fff; font-weight: 850; }
.testimonial-card__company { display: block; margin: .15rem 0 0; color: rgba(255,255,255,.62); font-size: .85rem; }
.testimonial-avatar { display: inline-grid; flex: none; width: 3.5rem; height: 3.5rem; overflow: hidden; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.testimonial-avatar__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.testimonial-avatar--initials { color: #fff; font-weight: 850; letter-spacing: .02em; }
.testimonial-more { margin: 1.6rem 0 0; text-align: center; }

/* Packages */
.home-packages { overflow: hidden; padding: var(--rjm-section-space) 0; background: #fff; }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: stretch; gap: 1rem; }
.package-card { position: relative; display: flex; flex-direction: column; min-height: 500px; padding: 2.1rem; overflow: hidden; border: 1px solid var(--rjm-home-line); border-radius: var(--rjm-card-radius); background: linear-gradient(180deg, #fff, #fdfbfd); box-shadow: var(--rjm-shadow-sm); }
.package-card--featured { color: #fff; border-color: rgba(255,255,255,.1); background: radial-gradient(circle at 95% 8%, rgba(255,107,44,.3), transparent 28%), linear-gradient(145deg, #2d1045, #15071f); box-shadow: var(--rjm-shadow-xl); transform: translateY(-12px); }
.package-card--featured::before { content: "Most Popular"; position: absolute; top: 1.15rem; right: 1.15rem; padding: .45rem .7rem; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #ffd7c4; background: rgba(255,255,255,.07); font-size: .64rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.package-card__eyebrow { margin: 0 0 .75rem; color: var(--rjm-home-orange); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.package-card h3 { max-width: 310px; margin: 0; color: var(--rjm-home-ink); font-size: clamp(1.8rem, 2.6vw, 2.35rem); line-height: 1.05; letter-spacing: -.04em; }
.package-card__summary { margin: 1.15rem 0 0; color: var(--rjm-home-muted); line-height: 1.75; }
.package-card__features { display: grid; gap: .82rem; margin: 1.9rem 0 2.15rem; padding: 0; list-style: none; }
.package-card__features li { position: relative; padding-left: 1.55rem; color: #5e5666; line-height: 1.5; }
.package-card__features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--rjm-home-orange); font-weight: 900; }
.package-card .button { margin-top: auto; }
.package-card--featured h3 { color: #fff; }
.package-card--featured .package-card__summary, .package-card--featured .package-card__features li { color: rgba(255,255,255,.72); }
.package-note { max-width: 760px; margin: 2rem auto 0; color: #7a7281; text-align: center; font-size: .9rem; line-height: 1.65; }

/* FAQ */
.home-faq { overflow: hidden; padding: var(--rjm-section-space) 0; background: radial-gradient(circle at 10% 10%, rgba(100,41,163,.08), transparent 25%), var(--rjm-home-surface); }
.home-faq__layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(3rem, 7vw, 7rem); }
.home-faq__intro { position: sticky; top: 7rem; }
.home-faq__intro h2 { max-width: 560px; font-size: clamp(2.3rem, 4.2vw, 4rem); }
.home-faq__intro > p:not(.section-kicker) { max-width: 520px; margin: 1.4rem 0 1.9rem; color: var(--rjm-home-muted); line-height: 1.8; }
.faq-list { display: grid; gap: .85rem; }
.faq-list details { overflow: hidden; border: 1px solid var(--rjm-home-line); border-radius: 1.2rem; background: rgba(255,255,255,.92); box-shadow: 0 12px 34px rgba(29,12,45,.04); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.faq-list details[open] { border-color: rgba(100,41,163,.24); box-shadow: 0 20px 55px rgba(29,12,45,.08); transform: translateY(-1px); }
.faq-list summary { position: relative; padding: 1.45rem 4rem 1.45rem 1.55rem; color: var(--rjm-home-ink); cursor: pointer; font-size: 1.02rem; font-weight: 820; line-height: 1.4; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 1.35rem; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--rjm-home-purple); background: rgba(100,41,163,.08); font-size: 1.25rem; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; color: #fff; background: var(--rjm-home-purple); }
.faq-list details p { margin: 0; padding: 0 1.55rem 1.55rem; color: var(--rjm-home-muted); line-height: 1.8; }

/* Final CTA */
.home-final-cta { overflow: hidden; padding: clamp(5rem, 8vw, 7.5rem) 0; background: #fff; }
.final-cta__panel, .home-final-cta__inner { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem); border: 1px solid rgba(255,255,255,.1); border-radius: clamp(1.8rem, 3vw, 2.6rem); color: #fff; background: radial-gradient(circle at 85% 20%, rgba(255,107,44,.3), transparent 30%), radial-gradient(circle at 10% 90%, rgba(111,47,174,.32), transparent 34%), linear-gradient(135deg, #2a103e, #13071c); box-shadow: var(--rjm-shadow-xl); }
.final-cta__panel::before, .home-final-cta__inner::before { content: ""; position: absolute; width: 320px; height: 320px; right: -130px; bottom: -160px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018); pointer-events: none; }
.home-final-cta .section-kicker { color: #ff9b68; }
.home-final-cta h2 { position: relative; z-index: 1; max-width: 860px; margin: 0; color: #fff; font-size: clamp(2.6rem, 5.5vw, 5.3rem); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.home-final-cta__inner > p:not(.section-kicker) { position: relative; z-index: 1; max-width: 720px; margin: 1.45rem 0 0; color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.75; }
.home-final-cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }

/* Responsive */
@media (max-width: 1180px) {
  .home-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 3rem; }
  .home-hero h1 { font-size: clamp(3.5rem, 7vw, 5.8rem); }
}

@media (max-width: 1024px) {
  :root { --rjm-section-space: clamp(4.8rem, 8vw, 7rem); }
  .section-heading { grid-template-columns: 1fr; gap: 1.3rem; }
  .section-heading__copy { max-width: 680px; }
  .home-hero { min-height: auto; padding-top: 6rem; }
  .home-hero__grid { grid-template-columns: 1fr; gap: 4.5rem; }
  .home-hero__content { max-width: 780px; }
  .browser-showcase { width: min(100%, 680px); transform: none; }
  .service-grid, .benefit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-card--featured { grid-column: span 2; }
  .process-timeline { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
  .process-timeline::before { display: none; }
  .process-step__marker { margin-bottom: 1rem; box-shadow: 0 0 0 6px #14071e; }
  .package-grid { grid-template-columns: 1fr 1fr; }
  .package-card--featured { transform: none; }
  .package-card:last-child { grid-column: 1 / -1; min-height: 420px; }
  .home-faq__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .home-faq__intro { position: static; }
}

@media (max-width: 760px) {
  .service-grid, .benefit-grid, .work-grid, .testimonial-grid, .package-grid, .process-timeline { grid-template-columns: 1fr; }
  .service-card--featured, .package-card:last-child { grid-column: auto; }
  .work-empty { grid-template-columns: 1fr; gap: 1rem; }
  .work-empty__visual { min-height: 270px; }
}

@media (max-width: 680px) {
  :root { --rjm-section-space: 4.5rem; --rjm-card-radius: 1.25rem; }
  .section-heading h2, .home-trust h2, .home-faq__intro h2 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .home-hero { padding: 5rem 0 4.5rem; }
  .home-hero__content::before { top: -1.35rem; left: -.45rem; width: 54px; height: 54px; }
  .home-hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); line-height: .91; }
  .home-hero__lead { font-size: 1rem; }
  .home-hero__actions, .home-final-cta__actions { display: grid; grid-template-columns: 1fr; }
  .home-hero__actions .button, .home-final-cta__actions .button { width: 100%; }
  .browser-showcase { border-radius: 1.25rem; }
  .browser-showcase__body { padding: 1.35rem; }
  .browser-showcase__headline { height: 48px; margin-top: 1.5rem; }
  .browser-showcase__cards { margin-top: 3.3rem; }
  .browser-badge { position: static; display: inline-flex; margin: .8rem .35rem 0 0; }
  .service-card, .benefit-card, .package-card, .process-step__content { min-height: auto; padding: 1.55rem; }
  .service-card__icon, .benefit-card__number { margin-bottom: 1.5rem; }
  .work-empty { padding: 1.6rem; border-radius: 1.35rem; }
  .work-empty__visual { min-height: 220px; }
  .work-empty__content h3 { font-size: 2rem; }
  .home-final-cta { padding: 4rem 0; }
  .final-cta__panel, .home-final-cta__inner { padding: 2.3rem 1.5rem; border-radius: 1.5rem; }
  .home-final-cta h2 { font-size: clamp(2.35rem, 11vw, 3.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .benefit-card, .work-card__image, .faq-list details { transition: none !important; }
  .service-card:hover, .benefit-card:hover, .work-card:hover .work-card__image, .faq-list details[open] { transform: none !important; }
}


/* 2026 modern motion + conversion hero */
.home-hero--modern {
  isolation: isolate;
  min-height: min(860px, calc(100vh - 82px));
  padding-top: clamp(6.75rem, 9vw, 9rem);
  background:
    radial-gradient(circle at 74% 22%, rgba(255, 108, 47, .22), transparent 24%),
    radial-gradient(circle at 18% 28%, rgba(128, 61, 194, .34), transparent 31%),
    linear-gradient(128deg, #12061c 0%, #261038 48%, #17091f 100%);
}

.home-hero--modern::before {
  opacity: .18;
  background-size: 68px 68px;
}

.home-hero__ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-hero__aurora {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: .56;
  filter: blur(1px);
  mix-blend-mode: screen;
  will-change: transform;
  animation: rjmHeroDrift 13s ease-in-out infinite alternate;
}

.home-hero__aurora--one {
  width: clamp(260px, 32vw, 520px);
  height: clamp(260px, 32vw, 520px);
  top: -17%;
  right: 8%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 118, 52, .62), rgba(255, 118, 52, 0) 66%);
}

.home-hero__aurora--two {
  width: clamp(300px, 38vw, 620px);
  height: clamp(300px, 38vw, 620px);
  bottom: -28%;
  left: 22%;
  background: radial-gradient(circle at center, rgba(112, 49, 181, .56), rgba(112, 49, 181, 0) 68%);
  animation-delay: -4s;
  animation-duration: 16s;
}

.home-hero__aurora--three {
  width: 320px;
  height: 320px;
  top: 38%;
  left: -12%;
  opacity: .34;
  background: radial-gradient(circle at center, rgba(100, 41, 163, .55), rgba(100, 41, 163, 0) 70%);
  animation-delay: -7s;
}

@keyframes rjmHeroDrift {
  from { transform: translate3d(-12px, -8px, 0) scale(.98); }
  to { transform: translate3d(18px, 14px, 0) scale(1.06); }
}

.home-hero--modern .home-hero__grid {
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr);
  gap: clamp(3.5rem, 6vw, 6.5rem);
}

.home-hero--modern .home-hero__content {
  z-index: 3;
}

.home-hero--modern .home-hero__content::before {
  top: -2.8rem;
  left: -1.1rem;
  width: 92px;
  height: 92px;
  border-color: rgba(255, 115, 55, .44);
  box-shadow: -18px -18px 48px rgba(255, 107, 44, .08);
}

.home-hero--modern h1 {
  max-width: 790px;
  font-size: clamp(4rem, 7vw, 6.9rem);
  line-height: .88;
  letter-spacing: -.07em;
}

.home-hero__accent {
  display: block;
  color: transparent;
  background: linear-gradient(105deg, #fff 8%, #ffd9c7 54%, #ff8b55 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-hero--modern .home-hero__lead {
  max-width: 660px;
  margin-top: 1.65rem;
  color: rgba(255, 255, 255, .78);
}

.home-hero--modern .home-hero__actions {
  align-items: center;
  margin-top: 2rem;
}

.home-hero--modern .home-hero__actions .button {
  position: relative;
  min-height: 56px;
  overflow: hidden;
  border-radius: 999px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.home-hero__primary-cta {
  gap: .65rem;
  box-shadow: 0 18px 44px rgba(255, 96, 30, .28);
}

.home-hero__primary-cta span {
  display: inline-block;
  transition: transform .22s ease;
}

.home-hero__primary-cta:hover,
.home-hero__primary-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(255, 96, 30, .36);
}

.home-hero__primary-cta:hover span,
.home-hero__primary-cta:focus-visible span {
  transform: translateX(4px);
}

.home-hero__secondary-cta {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(12px);
}

.home-hero__secondary-cta:hover,
.home-hero__secondary-cta:focus-visible {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .1);
  transform: translateY(-2px);
}

.home-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: .62rem;
  margin-top: 1.55rem;
}

.home-hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-height: 36px;
  padding: .48rem .72rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .045);
  font-size: .76rem;
  font-weight: 760;
  backdrop-filter: blur(10px);
}

.home-hero__proof i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff7940;
  box-shadow: 0 0 0 4px rgba(255, 121, 64, .12);
}

.home-hero__visual-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 610px);
  margin-inline: auto;
}

.home-hero__visual-glow {
  position: absolute;
  inset: 6% -8% -9% 9%;
  z-index: -1;
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(111, 50, 173, .58), rgba(255, 107, 44, .26));
  filter: blur(38px);
  opacity: .72;
}

.home-hero__visual {
  min-height: 0;
  aspect-ratio: 1.24;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 1.8rem;
  box-shadow: 0 42px 110px rgba(5, 0, 10, .42), inset 0 1px 0 rgba(255,255,255,.08);
  transform: perspective(1200px) rotateY(-2.5deg) rotateX(1deg);
  transition: transform .45s cubic-bezier(.2,.75,.2,1), box-shadow .45s ease;
}

.home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent 28%, transparent 72%, rgba(255,107,44,.12));
}

.home-hero__visual-wrap:hover .home-hero__visual {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 52px 130px rgba(5, 0, 10, .48), inset 0 1px 0 rgba(255,255,255,.1);
}

.home-hero__visual img {
  transform: scale(1.015);
  transition: transform .55s cubic-bezier(.2,.75,.2,1);
}

.home-hero__visual-wrap:hover .home-hero__visual img {
  transform: scale(1.045);
}

.home-hero__visual figcaption {
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  border-color: rgba(255,255,255,.18);
  background: rgba(28, 10, 39, .74);
  box-shadow: 0 14px 35px rgba(0,0,0,.18);
}

.home-hero__floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .72rem;
  max-width: 250px;
  padding: .78rem .9rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 1rem;
  color: #fff;
  background: rgba(20, 7, 31, .82);
  box-shadow: 0 20px 52px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
  animation: rjmFloatCard 5.8s ease-in-out infinite;
}

.home-hero__floating-card span:last-child {
  display: grid;
  gap: .12rem;
}

.home-hero__floating-card strong {
  font-size: .78rem;
  line-height: 1.15;
}

.home-hero__floating-card small {
  color: rgba(255,255,255,.56);
  font-size: .65rem;
  line-height: 1.25;
}

.home-hero__floating-card--top {
  top: 8%;
  right: -6%;
}

.home-hero__floating-card--bottom {
  left: -7%;
  bottom: 22%;
  animation-delay: -2.7s;
}

.home-hero__floating-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: .7rem;
  color: #fff;
  background: linear-gradient(135deg, #7131ac, #ff6b2c);
  font-size: .9rem;
  font-weight: 900;
}

.home-hero__pulse {
  position: relative;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
  background: #ff7b42;
  box-shadow: 0 0 0 5px rgba(255,123,66,.12);
}

.home-hero__pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(255,123,66,.28);
  border-radius: inherit;
  animation: rjmPulseRing 2.2s ease-out infinite;
}

@keyframes rjmFloatCard {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -7px, 0); }
}

@keyframes rjmPulseRing {
  0% { opacity: .8; transform: scale(.72); }
  75%, 100% { opacity: 0; transform: scale(1.45); }
}

.home-hero__scroll-cue {
  position: absolute;
  right: max(1.5rem, calc((100vw - 1240px) / 2));
  bottom: 1.7rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.44);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-hero__scroll-cue span {
  position: relative;
  width: 26px;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}

.home-hero__scroll-cue span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff7b42;
  transform: translateX(-100%);
  animation: rjmScrollCue 2.4s ease-in-out infinite;
}

@keyframes rjmScrollCue {
  0% { transform: translateX(-100%); }
  45%, 65% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* Reveal system: starts only when JS marks the document motion-ready. */
.rjm-motion-ready [data-reveal],
.rjm-motion-ready .rjm-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity .7s cubic-bezier(.2,.75,.2,1) var(--rjm-reveal-delay, 0ms),
    transform .7s cubic-bezier(.2,.75,.2,1) var(--rjm-reveal-delay, 0ms);
}

.rjm-motion-ready [data-reveal="scale"] {
  transform: translate3d(0, 18px, 0) scale(.965);
}

.rjm-motion-ready [data-reveal].is-visible,
.rjm-motion-ready .rjm-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 1100px) {
  .home-hero__floating-card--top { right: 1%; }
  .home-hero__floating-card--bottom { left: 1%; }
}

@media (max-width: 900px) {
  .home-hero--modern {
    min-height: 0;
    padding-top: 5.6rem;
  }

  .home-hero--modern .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .home-hero__visual-wrap {
    width: min(92%, 680px);
  }

  .home-hero__scroll-cue {
    display: none;
  }
}

@media (max-width: 680px) {
  .home-hero--modern {
    padding-top: 4.8rem;
  }

  .home-hero--modern h1 {
    font-size: clamp(3.15rem, 15vw, 4.65rem);
  }

  .home-hero__proof {
    gap: .48rem;
  }

  .home-hero__proof span {
    font-size: .7rem;
  }

  .home-hero__visual-wrap {
    width: 100%;
  }

  .home-hero__visual {
    aspect-ratio: 4 / 3;
    border-radius: 1.35rem;
    transform: none;
  }

  .home-hero__floating-card {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__aurora,
  .home-hero__floating-card,
  .home-hero__pulse::after,
  .home-hero__scroll-cue span::after {
    animation: none !important;
  }

  .rjm-motion-ready [data-reveal],
  .rjm-motion-ready .rjm-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .home-hero__visual,
  .home-hero__visual img,
  .home-hero__actions .button,
  .home-hero__primary-cta span {
    transition: none !important;
  }
}


/* Cursor-reactive hero depth system */
.home-hero--modern[data-hero-interactive] {
  --hero-cursor-x: 50%;
  --hero-cursor-y: 46%;
}

.home-hero--modern[data-hero-interactive]::after {
  width: 680px;
  height: 680px;
  right: -300px;
  bottom: -330px;
  opacity: .8;
}

.home-hero__cursor-orb {
  position: absolute;
  z-index: 1;
  width: clamp(320px, 34vw, 560px);
  height: clamp(320px, 34vw, 560px);
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
  opacity: .54;
  background:
    radial-gradient(circle at 38% 36%, rgba(255, 138, 77, .62), rgba(255, 107, 44, .18) 30%, rgba(111, 49, 173, .12) 52%, transparent 72%);
  filter: blur(46px);
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}

.home-hero__media-shell {
  position: relative;
  transform: translate3d(0, 0, 0);
  transition: transform .24s cubic-bezier(.2,.75,.2,1);
  will-change: transform;
}

.home-hero__media-shell::before,
.home-hero__media-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

.home-hero__media-shell::before {
  width: 160px;
  height: 160px;
  top: -54px;
  right: -44px;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow:
    0 0 0 26px rgba(255,255,255,.02),
    0 0 0 52px rgba(255,255,255,.015);
}

.home-hero__media-shell::after {
  width: 120px;
  height: 120px;
  left: -42px;
  bottom: -32px;
  background: radial-gradient(circle, rgba(113,49,172,.24), transparent 68%);
  filter: blur(5px);
}

.home-hero__visual-wrap {
  perspective: 1200px;
}

.home-hero__visual {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.045);
}

.home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255,255,255,.12), transparent 26%),
    radial-gradient(circle at var(--hero-cursor-x) var(--hero-cursor-y), rgba(255,255,255,.16), transparent 28%);
  mix-blend-mode: screen;
}

.home-hero__floating-card {
  box-shadow:
    0 22px 54px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.08);
}

@media (pointer: fine) {
  .home-hero--modern[data-hero-interactive] {
    cursor: default;
  }
}

@media (pointer: coarse), (max-width: 900px) {
  .home-hero__cursor-orb {
    left: 72%;
    top: 28%;
    opacity: .36;
    transform: translate3d(-50%, -50%, 0);
  }

  .home-hero__media-shell {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__cursor-orb,
  .home-hero__media-shell {
    transition: none !important;
    transform: none !important;
  }

  .home-hero__cursor-orb {
    left: 72%;
    top: 28%;
    transform: translate3d(-50%, -50%, 0) !important;
  }
}


/* Stronger, clearly visible cursor-reactive hero spotlight */
.home-hero--modern[data-hero-interactive] {
  --hero-pointer-x: 50%;
  --hero-pointer-y: 42%;
}

.home-hero__cursor-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .78;
  background:
    radial-gradient(
      circle 260px at var(--hero-pointer-x) var(--hero-pointer-y),
      rgba(255, 149, 88, .24) 0%,
      rgba(255, 107, 44, .16) 24%,
      rgba(120, 55, 186, .12) 46%,
      rgba(120, 55, 186, 0) 72%
    );
  mix-blend-mode: screen;
  transition: opacity .2s ease;
}

.home-hero--modern[data-hero-interactive]:hover .home-hero__cursor-spotlight {
  opacity: 1;
}

@media (pointer: coarse), (max-width: 900px) {
  .home-hero__cursor-spotlight {
    opacity: .4;
    background:
      radial-gradient(circle 240px at 72% 26%, rgba(255,149,88,.18), rgba(120,55,186,.08) 48%, transparent 72%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__cursor-spotlight {
    opacity: .42;
    background:
      radial-gradient(circle 240px at 72% 26%, rgba(255,149,88,.18), rgba(120,55,186,.08) 48%, transparent 72%);
  }
}


/* Branded interactive particle field */
.home-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.home-hero__particle {
  position: absolute;
  display: block;
  width: var(--particle-size, 8px);
  height: var(--particle-size, 8px);
  border-radius: 50%;
  opacity: var(--particle-opacity, .62);
  background: var(--particle-color, #ff7a2f);
  box-shadow:
    0 0 calc(var(--particle-size, 8px) * 1.6) color-mix(in srgb, var(--particle-color, #ff7a2f) 72%, transparent),
    0 0 calc(var(--particle-size, 8px) * 3.2) color-mix(in srgb, var(--particle-color, #ff7a2f) 32%, transparent);
  animation: rjmParticleFloat var(--particle-duration, 10s) ease-in-out var(--particle-delay, 0s) infinite alternate;
  will-change: transform, opacity;
}

.home-hero__particle--1  { top: 12%; left: 9%;  --particle-size: 6px;  --particle-color: #ff7a2f; --particle-duration: 9s;  --particle-delay: -2s; }
.home-hero__particle--2  { top: 21%; left: 24%; --particle-size: 10px; --particle-color: #9e6ad8; --particle-duration: 12s; --particle-delay: -7s; --particle-opacity: .5; }
.home-hero__particle--3  { top: 17%; left: 54%; --particle-size: 7px;  --particle-color: #c6a8ff; --particle-duration: 11s; --particle-delay: -4s; }
.home-hero__particle--4  { top: 29%; left: 73%; --particle-size: 12px; --particle-color: #ff8c54; --particle-duration: 13s; --particle-delay: -8s; --particle-opacity: .48; }
.home-hero__particle--5  { top: 38%; left: 15%; --particle-size: 5px;  --particle-color: #7131ac; --particle-duration: 10s; --particle-delay: -6s; }
.home-hero__particle--6  { top: 47%; left: 42%; --particle-size: 8px;  --particle-color: #ff7a2f; --particle-duration: 14s; --particle-delay: -5s; --particle-opacity: .56; }
.home-hero__particle--7  { top: 43%; left: 86%; --particle-size: 6px;  --particle-color: #c6a8ff; --particle-duration: 9.5s; --particle-delay: -3s; }
.home-hero__particle--8  { top: 61%; left: 7%;  --particle-size: 11px; --particle-color: #8b4ec2; --particle-duration: 15s; --particle-delay: -10s; --particle-opacity: .42; }
.home-hero__particle--9  { top: 67%; left: 31%; --particle-size: 6px;  --particle-color: #ff9a66; --particle-duration: 10.5s; --particle-delay: -1s; }
.home-hero__particle--10 { top: 58%; left: 63%; --particle-size: 9px;  --particle-color: #b28be8; --particle-duration: 12.5s; --particle-delay: -9s; --particle-opacity: .52; }
.home-hero__particle--11 { top: 72%; left: 79%; --particle-size: 5px;  --particle-color: #ff7a2f; --particle-duration: 8.5s; --particle-delay: -2.5s; }
.home-hero__particle--12 { top: 83%; left: 18%; --particle-size: 7px;  --particle-color: #c6a8ff; --particle-duration: 13.5s; --particle-delay: -11s; --particle-opacity: .46; }
.home-hero__particle--13 { top: 81%; left: 52%; --particle-size: 12px; --particle-color: #6f31a9; --particle-duration: 16s; --particle-delay: -6.5s; --particle-opacity: .38; }
.home-hero__particle--14 { top: 88%; left: 91%; --particle-size: 8px;  --particle-color: #ff8c54; --particle-duration: 11.5s; --particle-delay: -7.5s; --particle-opacity: .5; }

@keyframes rjmParticleFloat {
  0% {
    transform: translate3d(-8px, 8px, 0) scale(.92);
    opacity: calc(var(--particle-opacity, .62) * .72);
  }
  50% {
    transform: translate3d(12px, -16px, 0) scale(1.06);
    opacity: var(--particle-opacity, .62);
  }
  100% {
    transform: translate3d(22px, 10px, 0) scale(.96);
    opacity: calc(var(--particle-opacity, .62) * .8);
  }
}

@media (pointer: coarse), (max-width: 900px) {
  .home-hero__particles {
    transform: none !important;
  }

  .home-hero__particle:nth-child(n+10) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__particles {
    transform: none !important;
  }

  .home-hero__particle {
    animation: none !important;
  }
}

/* New service: Business Automation (hero link + full-width homepage band), 2026-12-01 */
.home-hero__new { display: flex; width: fit-content; align-items: center; gap: 0.6rem; max-width: 100%; min-height: 44px; margin: 0 0 0.9rem; padding: 0.35rem 1rem 0.35rem 0.4rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; background: rgba(255,255,255,.07); font-size: 0.9rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: border-color .18s ease-out, background-color .18s ease-out; }
.home-hero__new-tag { flex: none; padding: 0.3rem 0.7rem; border-radius: 999px; color: #1d0c2d; background: #ff9b68; font-size: 0.78rem; font-weight: 900; }
.home-hero__new > span[aria-hidden] { transition: translate .18s ease-out; }
.home-hero__new:hover { border-color: rgba(255,155,104,.7); background: rgba(255,255,255,.12); }
.home-hero__new:hover > span[aria-hidden] { translate: 3px 0; }
.home-hero__new:focus-visible { outline: 2px solid #ffb08b; outline-offset: 3px; }

.service-card--spotlight { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); column-gap: clamp(1.5rem, 4vw, 3.5rem); align-content: start; min-height: 0; border-color: rgba(194,65,12,.2); background: radial-gradient(circle at 92% 10%, rgba(255,155,104,.28), transparent 38%), linear-gradient(120deg, #fff7f1, #f4ecfc); }
.service-card--spotlight > :not(.service-card__visual) { grid-column: 1; }
.service-card--spotlight::after { display: none; }
.service-card--spotlight h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.service-card--spotlight .service-card__eyebrow { margin-top: 0; color: #c2410c; }
.service-card--spotlight a { align-items: center; min-height: 44px; margin-top: 1rem; color: #4b1d7a; }
.service-card--spotlight a:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-card--spotlight a:focus-visible { outline: 2px solid #6429a3; outline-offset: 3px; }
.service-card__visual img { box-shadow: 0 24px 60px rgba(29,12,45,.18); }
.service-card__visual { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; }
.service-card__visual img { display: block; width: 100%; height: auto; border-radius: 1.1rem; }
@media (max-width: 760px) {
  .service-card--spotlight { grid-template-columns: minmax(0, 1fr); }
  .service-card__visual { grid-column: 1; grid-row: auto; margin-top: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__new, .home-hero__new > span[aria-hidden] { transition: none; }
  .home-hero__new:hover > span[aria-hidden] { translate: none; }
}

/* Desktop hero: the photo grows to the height of the taller text column (2026-12-01). */
@media (min-width: 1181px) {
  .home-hero--modern .home-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 4vw, 4.5rem); }
  .home-hero--modern .home-hero__visual-wrap { width: 100%; }
  .home-hero--modern .home-photo--hero.home-hero__visual { aspect-ratio: 1 / 1; min-height: 0; }
}

/* Two-column cards (761-1024px): every card in source order, no empty cells; the last card spans the row. */
@media (min-width: 761px) and (max-width: 1024px) {
  .home-services .service-card--featured { grid-column: auto; }
  .home-services .service-card:last-child { grid-column: 1 / -1; }
}
/* The "New" link adds a row above the kicker, so the desktop hero starts higher to keep the buttons above the fold. */
@media (min-width: 1181px) {
  .home-hero--modern { padding-top: clamp(4.5rem, 6vw, 5.5rem); }
}

/* QA round 3 (2026-12-01): keep the floating card inside the viewport at 1181-1360px; stack the hero up to 1180px so the photo is never a thumbnail beside a tall text column; keep the H1 lines together on very wide screens; full-size tap targets on card links. */
@media (min-width: 1181px) and (max-width: 1360px) {
  .home-hero--modern .home-hero__floating-card--top { right: 0.75rem; }
}
@media (max-width: 1180px) {
  .home-hero--modern .home-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 3.5rem; }
  .home-hero--modern .home-hero__content { max-width: 780px; }
  .home-hero--modern .home-hero__visual-wrap { justify-self: start; margin-inline: 0; }
}
@media (min-width: 1600px) {
  .home-hero--modern .home-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .home-hero--modern .home-hero__visual-wrap { max-width: none; }
}
.service-card a { align-items: center; min-height: 44px; }
