/* =========================================================
   BytesTribe Homepage — Animated Experience
   Scoped to .home-page
   ========================================================= */

/* Clean page canvas — overrides global muddy body wash */
body.is-home,
body:has(.home-page) {
  background: #ffffff !important;
  background-image: none !important;
}

body.is-home::before,
body:has(.home-page)::before {
  opacity: 0.012;
}

body.is-home .bt-header,
body:has(.home-page) .bt-header {
  background: rgba(255, 255, 255, 0.82);
}

body.is-home .bt-header.is-scrolled,
body:has(.home-page) .bt-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
}

body.is-home .bt-footer,
body:has(.home-page) .bt-footer {
  margin-top: 0;
}

.home-page {
  --h-ink: #0b1220;
  --h-ink-2: #1a2740;
  --h-teal: #0d9488;
  --h-mint: #2dd4bf;
  --h-coral: #ff4e32;
  --h-coral-2: #ff7a4d;
  --h-surface: #ffffff;
  --h-surface-2: #f4f7fb;
  --h-surface-3: #eef6f5;
  --h-fog: #f8fafc;
  --h-line: rgba(11, 18, 32, 0.08);
  --h-muted: #64748b;
  --h-display: 'Syne', sans-serif;
  --h-body: 'Instrument Sans', sans-serif;
  --h-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --h-radius: 24px;
  overflow: clip;
  background: #ffffff;
  color: var(--h-ink);
}

.home-page * {
  box-sizing: border-box;
}

/* Buttons */
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--h-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--h-ease), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.home-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s var(--h-ease);
}

.home-btn:hover i {
  transform: translateX(4px);
}

.home-btn--primary {
  background: linear-gradient(135deg, var(--h-coral), var(--h-coral-2));
  color: #fff;
  box-shadow: 0 16px 36px rgba(255, 78, 50, 0.35);
}

.home-btn--primary:hover {
  color: #fff;
  box-shadow: 0 20px 44px rgba(255, 78, 50, 0.45);
}

.home-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.home-btn--ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.home-btn--ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}

.home-btn--ghost-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.home-btn--dark {
  background: var(--h-ink);
  color: #fff;
}

.home-btn--dark:hover {
  color: #fff;
  background: #0c1c2a;
}

/* Section chrome */
.home-section {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
  position: relative;
  background: var(--h-surface);
}

.home-section--soft {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(45, 212, 191, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(14, 165, 233, 0.05), transparent 50%),
    var(--h-surface-2);
}

.home-section--mint {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(45, 212, 191, 0.08), transparent 60%),
    var(--h-surface-3);
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--h-teal);
  margin-bottom: 0.65rem;
}

.home-kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--h-teal), var(--h-coral));
}

.home-head {
  max-width: 640px;
  margin-bottom: 1.75rem;
}

.home-head--center {
  margin-inline: auto;
  text-align: center;
}

.home-head--center .home-kicker {
  justify-content: center;
}

.home-head h2 {
  font-family: var(--h-display);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--h-ink);
  margin: 0 0 0.85rem;
}

.home-head p {
  margin: 0;
  color: var(--h-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.home-head--light h2 {
  color: #fff;
}

.home-head--light p {
  color: rgba(255, 255, 255, 0.7);
}

.home-head--light .home-kicker {
  color: var(--h-mint);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s var(--h-ease), transform 0.85s var(--h-ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ===================== HERO ===================== */
.home-hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: saturate(1.08) contrast(1.06);
  will-change: transform;
}

.home-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(6, 16, 24, 0.94) 0%, rgba(6, 16, 24, 0.8) 40%, rgba(6, 16, 24, 0.42) 70%, rgba(6, 16, 24, 0.28) 100%),
    linear-gradient(0deg, rgba(6, 16, 24, 0.75) 0%, transparent 45%);
}

.home-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 75% 35%, rgba(62, 224, 198, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(255, 78, 50, 0.2), transparent 55%);
  animation: home-glow 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.home-hero__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

@keyframes home-glow {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 5.5rem;
  max-width: 780px;
  margin-left: max(1.125rem, calc((100% - 1200px) / 2));
  width: min(100% - 2.25rem, 780px);
}

.home-hero__brand {
  font-family: var(--h-display);
  font-weight: 800;
  font-size: clamp(2.0rem, 10vw, 6rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  margin: 0 0 1.2rem;
  color: #fff;
  text-shadow: 0 12px 50px rgba(0, 0, 0, 0.35);
}

.home-hero__brand span {
  background: linear-gradient(120deg, var(--h-mint) 0%, #9ff5e6 45%, #fff 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero__title {
  font-family: var(--h-display);
  font-size: clamp(1.55rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 16ch;
  margin: 0 0 1.15rem;
  color: #fff;
}

.home-hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38ch;
  margin: 0 0 2rem;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

[data-hero-anim] {
  opacity: 0;
  transform: translateY(32px);
  animation: home-rise 1s var(--h-ease) forwards;
}

.home-hero__brand[data-hero-anim] { animation-delay: 0.15s; }
.home-hero__title[data-hero-anim] { animation-delay: 0.32s; }
.home-hero__lead[data-hero-anim] { animation-delay: 0.48s; }
.home-hero__cta[data-hero-anim] { animation-delay: 0.64s; }

@keyframes home-rise {
  to { opacity: 1; transform: none; }
}

.home-hero__scroll {
  position: absolute;
  right: max(1.5rem, calc((100% - 1200px) / 2));
  bottom: 2.25rem;
  z-index: 2;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .home-hero__scroll { display: flex; }
}

.home-hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.8));
  position: relative;
  overflow: hidden;
}

.home-hero__scroll-line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--h-mint);
  animation: home-scroll-line 1.8s ease-in-out infinite;
}

@keyframes home-scroll-line {
  0% { top: -30%; }
  100% { top: 100%; }
}

/* ===================== MARQUEE ===================== */
.home-marquee {
  padding: 1.5rem 0;
  background: #ffffff;
  border-block: 1px solid var(--h-line);
  overflow: hidden;
  position: relative;
}

.home-marquee::before,
.home-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.home-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, transparent);
}

.home-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff, transparent);
}

.home-marquee__track {
  display: flex;
  width: max-content;
  animation: home-marquee 30s linear infinite;
}

.home-marquee__track:hover {
  animation-play-state: paused;
}

.home-marquee__group {
  display: flex;
  align-items: center;
  gap: 3.25rem;
  padding-right: 3.25rem;
}

.home-marquee__group img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.home-marquee__group img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}

@keyframes home-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== SERVICES ===================== */
.home-services {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  perspective: 1200px;
}

@media (min-width: 640px) {
  .home-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .home-services {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.home-service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.55rem 1.4rem 1.45rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--h-line);
  box-shadow: 0 6px 22px rgba(11, 18, 32, 0.04);
  overflow: hidden;
  transition: transform 0.4s var(--h-ease), box-shadow 0.4s ease, border-color 0.35s ease;
  transform-style: preserve-3d;
  min-height: 210px;
}

.home-service::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--h-teal), var(--h-mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--h-ease);
}

.home-service::after {
  content: '';
  position: absolute;
  inset: auto -25% -45% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.14), transparent 70%);
  transition: transform 0.5s var(--h-ease);
  pointer-events: none;
}

.home-service:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.1);
  border-color: rgba(13, 148, 136, 0.3);
}

.home-service:hover::before {
  transform: scaleX(1);
}

.home-service:hover::after {
  transform: scale(1.35);
}

.home-service__num {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-family: var(--h-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(11, 18, 32, 0.06);
  line-height: 1;
}

.home-service__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.45rem;
  color: var(--h-teal);
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.2), rgba(45, 212, 191, 0.06));
  transition: transform 0.35s var(--h-ease), background 0.35s ease, color 0.35s ease;
  position: relative;
  z-index: 1;
}

.home-service:hover .home-service__icon {
  transform: scale(1.08) rotate(-5deg);
  background: linear-gradient(135deg, var(--h-teal), var(--h-mint));
  color: #fff;
}

.home-service h3 {
  font-family: var(--h-display);
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  color: var(--h-ink);
  position: relative;
  z-index: 1;
}

.home-service p {
  margin: 0 0 1.1rem;
  color: var(--h-muted);
  font-size: 0.93rem;
  line-height: 1.55;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.home-service__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--h-teal);
  position: relative;
  z-index: 1;
}

.home-service__link i {
  transition: transform 0.25s ease;
}

.home-service:hover .home-service__link i {
  transform: translateX(5px);
}

/* ===================== ABOUT ===================== */
.home-about__grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 992px) {
  .home-about__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
  }
}

.home-about__visual {
  display: grid;
  gap: 1rem;
}

.home-about__frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 380px;
  box-shadow: 0 30px 70px rgba(6, 16, 24, 0.16);
}

.home-about__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(135deg, var(--h-mint), transparent 45%, var(--h-coral));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
}

.home-about__frame img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 1.3s var(--h-ease);
}

.home-about__visual:hover .home-about__frame img {
  transform: scale(1.06);
}

.home-about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.home-about__stats > div {
  background: #ffffff;
  border: 1px solid var(--h-line);
  border-radius: 18px;
  padding: 1rem 0.75rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.04);
  transition: transform 0.35s var(--h-ease);
}

.home-about__stats > div:hover {
  transform: translateY(-4px);
}

.home-about__stats strong {
  display: block;
  font-family: var(--h-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  color: var(--h-ink);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.home-about__stats span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--h-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-about__copy h2 {
  font-family: var(--h-display);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--h-ink);
}

.home-about__copy > p {
  color: var(--h-muted);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
}

.home-checks {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.home-checks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  color: var(--h-ink-2);
}

.home-checks i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(62, 224, 198, 0.18);
  color: var(--h-teal);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===================== PROCESS ===================== */
.home-timeline {
  position: relative;
}

.home-timeline__line {
  display: none;
}

@media (min-width: 900px) {
  .home-timeline__line {
    display: block;
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(6, 16, 24, 0.08);
    border-radius: 2px;
    overflow: hidden;
  }

  .home-timeline__line span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--h-teal), var(--h-coral));
    transition: width 1.4s var(--h-ease);
  }

  .home-timeline.is-in .home-timeline__line span {
    width: 100%;
  }
}

.home-timeline__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .home-timeline__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.home-step {
  background: #ffffff;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  padding: 1.6rem 1.35rem;
  position: relative;
  transition: transform 0.35s var(--h-ease), box-shadow 0.35s ease;
}

.home-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6, 16, 24, 0.08);
}

.home-step__num {
  display: inline-block;
  font-family: var(--h-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.9rem;
  background: linear-gradient(135deg, var(--h-teal), var(--h-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-step h3 {
  font-family: var(--h-display);
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
  color: var(--h-ink);
}

.home-step p {
  margin: 0;
  color: var(--h-muted);
  font-size: 0.93rem;
}

/* ===================== WORK RAIL ===================== */
.home-work {
  padding-bottom: 2rem;
  overflow: hidden;
}

.home-work__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.home-work__top h2 {
  font-family: var(--h-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--h-ink);
}

.home-work__rail {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  padding: 0.5rem max(1.125rem, calc((100% - 1200px) / 2)) 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-work__rail::-webkit-scrollbar {
  display: none;
}

.home-work__card {
  flex: 0 0 min(78vw, 340px);
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: var(--h-ink);
  box-shadow: 0 18px 40px rgba(6, 16, 24, 0.12);
  transition: transform 0.4s var(--h-ease);
}

.home-work__card:hover {
  transform: translateY(-8px);
}

.home-work__card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 0.8s var(--h-ease), filter 0.4s ease;
  filter: saturate(0.95);
}

.home-work__card:hover img {
  transform: scale(1.08);
  filter: saturate(1.05);
}

.home-work__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.15rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(6, 16, 24, 0.92));
  color: #fff;
}

.home-work__meta strong {
  display: block;
  font-family: var(--h-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.home-work__meta span {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ===================== PRODUCTS ===================== */
/* ===================== PRODUCTS ===================== */
.home-products {
  background:
    radial-gradient(ellipse 80% 55% at 10% -10%, rgba(45, 212, 191, 0.2), transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 110%, rgba(56, 189, 248, 0.12), transparent 50%),
    linear-gradient(165deg, #0b1220 0%, #111c2e 50%, #0f2422 100%);
  color: #fff;
}

.home-products__grid {
  display: grid;
  gap: 1rem;
  perspective: 1200px;
}

@media (min-width: 640px) {
  .home-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .home-products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-product {
  padding: 1.7rem 1.5rem;
  border-radius: var(--h-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--h-ease), border-color 0.35s ease, background 0.35s ease;
  transform-style: preserve-3d;
}

.home-product:hover {
  border-color: rgba(62, 224, 198, 0.4);
  background: rgba(62, 224, 198, 0.1);
}

.home-product i {
  font-size: 1.75rem;
  color: var(--h-mint);
  margin-bottom: 1rem;
  display: block;
}

.home-product h3 {
  font-family: var(--h-display);
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.home-product p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.93rem;
}

/* ===================== TESTIMONIALS ===================== */
.home-love {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(45, 212, 191, 0.06), transparent 55%),
    #ffffff;
}
.home-slider {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.home-slide {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
  animation: home-fade 0.55s var(--h-ease);
}

.home-slide.is-active {
  display: block;
}

@keyframes home-fade {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.home-slide p {
  font-family: var(--h-display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: var(--h-ink);
  margin: 0 0 1.75rem;
}

.home-slide__author {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
}

.home-slide__author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(62, 224, 198, 0.4);
}

.home-slide__author strong {
  display: block;
  font-family: var(--h-display);
  color: var(--h-ink);
  font-size: 1.02rem;
}

.home-slide__author span {
  font-size: 0.82rem;
  color: var(--h-muted);
}

.home-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.home-slider__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--h-line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--h-ink);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.home-slider__btn:hover {
  background: var(--h-ink);
  color: #fff;
  transform: scale(1.05);
}

.home-slider__dots {
  display: flex;
  gap: 0.45rem;
}

.home-slider__dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(6, 16, 24, 0.18);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
}

.home-slider__dots button.is-active {
  width: 24px;
  background: var(--h-teal);
}

/* ===================== CTA ===================== */
.home-cta {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 0.5rem;
  background: #ffffff;
}

.home-cta__panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(2.5rem, 6vw, 4.25rem);
  text-align: center;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(11, 18, 32, 0.92) 0%, rgba(13, 148, 136, 0.82) 100%),
    url('../img/banner-img.webp') center/cover;
  box-shadow: 0 28px 64px rgba(11, 18, 32, 0.18);
}

.home-cta__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(62, 224, 198, 0.3);
  filter: blur(50px);
  top: -100px;
  right: -60px;
  animation: home-glow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.home-cta__panel h2 {
  font-family: var(--h-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
  color: #fff;
  position: relative;
}

.home-cta__panel > p {
  margin: 0 auto 1.75rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  position: relative;
}

/* Mobile */
@media (max-width: 767px) {
  .home-hero {
    min-height: 90vh;
    align-items: center;
  }

  .home-hero__inner {
    padding: 6rem 0 4rem;
    margin-left: auto;
    margin-right: auto;
  }

  .home-about__frame,
  .home-about__frame img {
    min-height: 280px;
  }
}

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

  .home-marquee__track {
    animation: none;
  }

  .home-hero__stars {
    display: none;
  }

  [data-reveal],
  [data-hero-anim] {
    opacity: 1 !important;
    transform: none !important;
  }
}
