/* ============================================================
   REVERSE MEDIA — home page styles
   ============================================================ */

/* ---------- INTRO REVEAL ---------- */
.intro {
  position: fixed; inset: 0;
  z-index: 3000;
  background: var(--black);
  display: grid; place-items: center;
  overflow: hidden;
}
.intro.is-out { animation: introWipe .9s var(--ease) forwards; }
@keyframes introWipe {
  to { clip-path: inset(0 0 100% 0); }
}
.intro.is-done { display: none; }
.intro__mark {
  display: flex; align-items: center; gap: 18px;
  opacity: 0;
  animation: markIn .8s var(--ease) .15s forwards;
}
.intro__mark img {
  width: 78px; height: 78px;
  filter: drop-shadow(0 0 30px rgba(230,180,60,0.4));
}
.intro__wordmark b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--offwhite); letter-spacing: -0.02em; }
.intro__wordmark span { display: block; font-size: 12px; color: var(--gold); letter-spacing: 0.08em; margin-top: 4px; opacity: 0; animation: fadeUp .6s ease .65s forwards; }
@keyframes markIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.intro__sweep {
  position: absolute; top: 50%; left: -30%;
  width: 30%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  filter: blur(1px);
  animation: sweep 1s ease .55s forwards;
}
@keyframes sweep { from { left: -30%; opacity: 0; } 40% { opacity: 1; } to { left: 130%; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--offwhite);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__inner { position: relative; z-index: 3; width: 100%; padding-block: 60px; }
.hero__content { max-width: 820px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 500;
  font-size: 13px; letter-spacing: 0.02em;
  color: var(--offwhite);
  background: rgba(245,243,238,0.06);
  border: 1px solid var(--line-dark);
  padding: 8px 16px 8px 14px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.hero__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.hero__title {
  font-size: clamp(44px, 8.5vw, 104px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(24px); }
.hero.reveal-go .hero__title .w { animation: wordRise .7s var(--ease) forwards; }
@keyframes wordRise { to { opacity: 1; transform: none; } }
.hero__title .accent { color: var(--gold); }

.hero__sub {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(245,243,238,0.72);
  max-width: 600px;
  margin-top: 28px;
  line-height: 1.55;
}
.hero__cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero__trust { margin-top: 56px; }
.hero__trust > span { display: block; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,243,238,0.4); margin-bottom: 18px; font-family: var(--font-head); }
.hero__trust .logos { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.hero__trust .logos span {
  font-family: var(--font-head); font-weight: 700; font-size: 19px;
  color: rgba(245,243,238,0.42);
  letter-spacing: 0.02em;
  transition: color .3s;
}
.hero__trust .logos span:hover { color: var(--gold); }

/* hero background layers */
.hero__bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
body[data-hero-style="aurora"] .hero__bg--aurora,
body[data-hero-style="grid"] .hero__bg--grid,
body[data-hero-style="spotlight"] .hero__bg--spotlight { opacity: 1; }

.glow { position: absolute; border-radius: 50%; filter: blur(20px); }
.hero__bg--aurora .glow-1 {
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(230,180,60,0.30), transparent 62%);
  top: -180px; right: -120px;
}
.hero__bg--aurora .glow-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(230,180,60,0.14), transparent 60%);
  bottom: -240px; left: -120px;
}
.hero__bg--aurora .float {
  position: absolute; border-radius: 26px;
  border: 1px solid rgba(230,180,60,0.22);
  background: linear-gradient(135deg, rgba(230,180,60,0.06), transparent);
}
.hero__bg--aurora .f1 { width: 120px; height: 120px; top: 22%; right: 16%; animation: floatY 9s ease-in-out infinite; }
.hero__bg--aurora .f2 { width: 70px; height: 70px; bottom: 26%; right: 30%; border-radius: 50%; animation: floatY 7s ease-in-out infinite reverse; }
.hero__bg--aurora .f3 { width: 160px; height: 160px; top: 12%; right: 38%; border-radius: 40px; transform: rotate(20deg); animation: floatY 11s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-26px) rotate(8deg); } }

/* grid variant */
.hero__bg--grid .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,243,238,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,243,238,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 30%, transparent 75%);
}
.hero__bg--grid .glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(230,180,60,0.22), transparent 62%);
  top: -120px; right: -60px;
}
.hero__bg--grid .ring {
  position: absolute; top: 18%; right: 12%;
  width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(230,180,60,0.25);
  box-shadow: inset 0 0 80px rgba(230,180,60,0.08);
  animation: spin 40s linear infinite;
}
.hero__bg--grid .ring::after {
  content: ""; position: absolute; inset: 60px; border-radius: 50%;
  border: 1px dashed rgba(230,180,60,0.18);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* spotlight variant */
.hero__bg--spotlight .spot {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(230,180,60,0.16), transparent 60%);
  filter: blur(10px);
}
.hero__bg--spotlight .big-r {
  position: absolute; right: -2%; bottom: -16%;
  font-family: var(--font-head); font-weight: 800;
  font-size: 50vh; line-height: 1; color: rgba(245,243,238,0.025);
  letter-spacing: -0.04em;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg--aurora .float, .hero__bg--grid .ring { animation: none; }
}

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(245,243,238,0.7);
  transition: opacity .4s ease;
}
.scroll-cue.hide { opacity: 0; pointer-events: none; }
.scroll-cue__label { font-family: var(--font-head); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; animation: cueFade 2.6s ease-in-out infinite; }
.scroll-cue__mouse {
  width: 24px; height: 38px; border-radius: 13px;
  border: 1.5px solid rgba(230,180,60,0.6);
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-cue__mouse .dot { width: 4px; height: 8px; border-radius: 4px; background: var(--gold); animation: cueDrift 1.8s var(--ease) infinite; }
.scroll-cue__chev { color: var(--gold); animation: cueBounce 1.8s ease-in-out infinite; }
.scroll-cue__chev svg { width: 18px; height: 18px; }
@keyframes cueDrift { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 60% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }
@keyframes cueBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes cueFade { 0%,100% { opacity: 0.4; } 50% { opacity: 0.9; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue__label, .scroll-cue__mouse .dot, .scroll-cue__chev { animation: none; }
}

/* ---------- STATS ---------- */
.stats-band { padding-block: clamp(54px, 7vw, 84px); border-bottom: 1px solid var(--line-dark); }
.stats-band .stat { text-align: center; padding: 10px; }

/* ---------- SERVICES OVERVIEW ---------- */
.svc-card { display: flex; flex-direction: column; height: 100%; }
.svc-card h3 { font-size: 21px; margin-bottom: 12px; }
.svc-card p { color: var(--muted); font-size: 15px; flex: 1; }
.svc-card .svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.svc-card .svc-tags span { font-size: 12px; color: var(--muted); background: rgba(58,61,66,0.06); padding: 4px 10px; border-radius: 100px; }
.svc-card .link-gold { margin-top: auto; }

/* ---------- PROCESS ---------- */
.process__track { position: relative; }
.process__bar { position: absolute; top: 30px; left: 6%; right: 6%; height: 2px; background: var(--line-dark); border-radius: 2px; }
.process__fill { position: absolute; inset: 0 auto 0 0; width: 0%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); border-radius: 2px; transition: width .5s var(--ease); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pstep { position: relative; padding-top: 0; transition: opacity .5s, transform .5s; }
.pstep__no {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  background: var(--charcoal-2); border: 1px solid var(--line-dark);
  color: rgba(245,243,238,0.5);
  margin-bottom: 22px;
  transition: all .4s var(--ease);
  position: relative; z-index: 2;
}
.pstep.active .pstep__no { background: var(--gold); color: #1A1500; border-color: var(--gold); box-shadow: 0 0 0 6px rgba(230,180,60,0.14), 0 10px 30px -6px var(--gold-glow); transform: scale(1.05); }
.pstep h3 { font-size: 21px; margin-bottom: 10px; transition: color .3s; }
.pstep p { color: rgba(245,243,238,0.6); font-size: 14.5px; }
.pstep.active h3 { color: var(--gold); }

/* ---------- FEATURED WORK ---------- */
.work-card { display: block; border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(230,180,60,0.4); }
.work-card__img { aspect-ratio: 4/3; position: relative; }
.work-card__metric {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  background: rgba(17,18,20,0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(230,180,60,0.3);
  border-radius: 12px; padding: 10px 16px;
  transform: translateY(14px); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.work-card:hover .work-card__metric { transform: none; opacity: 1; }
.work-card__metric b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: 22px; line-height: 1; }
.work-card__metric span { font-size: 11.5px; color: rgba(245,243,238,0.75); }
.work-card__body { padding: 22px 24px 26px; }
.work-card__tag { font-family: var(--font-head); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.work-card__body h3 { font-size: 20px; margin: 8px 0 6px; }
.work-card__body p { color: var(--muted); font-size: 14.5px; }

/* ---------- WHY ---------- */
.why__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.why__head { position: sticky; top: 110px; }
.why__head h2 { font-size: clamp(28px, 4vw, 44px); margin: 18px 0; }
.why__head p { color: rgba(245,243,238,0.66); font-size: 18px; margin-bottom: 28px; }
.why__list { display: flex; flex-direction: column; gap: 14px; }
.why__item { display: flex; gap: 22px; padding: 26px; border-radius: var(--radius); background: var(--charcoal-2); border: 1px solid var(--line-dark); transition: border-color .3s, transform .3s; }
.why__item:hover { border-color: rgba(230,180,60,0.4); transform: translateX(4px); }
.why__item .icon-box { margin-bottom: 0; flex-shrink: 0; }
.why__item h3 { font-size: 18px; margin-bottom: 6px; }
.why__item p { color: rgba(245,243,238,0.6); font-size: 14.5px; }
@media (max-width: 900px) { .why__inner { grid-template-columns: 1fr; } .why__head { position: static; } }

/* ---------- TESTIMONIALS ---------- */
.testi__stage { display: flex; align-items: center; gap: 18px; }
.testi__viewport { flex: 1; overflow: hidden; border-radius: var(--radius-lg); }
.testi__row { display: flex; transition: transform .6s var(--ease); }
.testi-card { flex: 0 0 100%; padding: clamp(34px, 5vw, 60px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.testi-card .quote-mark { font-family: var(--font-head); font-size: 64px; line-height: 0.6; color: var(--gold); font-weight: 800; height: 32px; }
.testi-card blockquote { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); }
.testi-card .stars { color: var(--gold); margin: 22px 0 18px; letter-spacing: 3px; font-size: 15px; }
.testi-card .who { display: flex; align-items: center; gap: 14px; }
.testi-card .who .av { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--charcoal)); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #1A1500; flex-shrink: 0; }
.testi-card .who b { display: block; font-family: var(--font-head); font-size: 16px; }
.testi-card .who span { color: var(--muted); font-size: 13.5px; }
.testi__nav { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--ink); transition: all .25s var(--ease); }
.testi__nav:hover { background: var(--gold); border-color: var(--gold); color: #1A1500; transform: scale(1.06); }
.testi__nav svg { width: 20px; height: 20px; }
.testi__dots { display: flex; gap: 9px; justify-content: center; margin-top: 30px; }
.testi__dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: all .3s; padding: 0; }
.testi__dots button.active { background: var(--gold); width: 28px; border-radius: 5px; }
@media (max-width: 620px) { .testi__nav { display: none; } }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(80px, 11vw, 150px); text-align: center; }
.cta-band__glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 900px; height: 500px; background: radial-gradient(ellipse, rgba(230,180,60,0.18), transparent 65%); pointer-events: none; }
.cta-band__inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.cta-band__inner h2 { font-size: clamp(32px, 5vw, 58px); margin: 18px 0; }
.cta-band__inner p { color: rgba(245,243,238,0.68); font-size: 19px; margin-bottom: 36px; }
.cta-band__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
