/* VAJRA — Premium Home Page */

.home-page {
  --nav-float-h: var(--nav-h);
  --hero-top: calc(var(--nav-float-h) + 2rem);
}

/* Fast native scrolling (no Lenis) */
html.native-scroll {
  scroll-behavior: auto;
}

.home-page,
.home-page body {
  scroll-behavior: auto;
}

.home-page .preloader-logo {
  width: min(220px, 55vw);
  max-height: 120px;
  object-fit: contain;
}

/* ── Hero banner (luxury) ── */
.hero-banner {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: var(--hero-top) 0 3rem;
  overflow: hidden;
  background-color: var(--black);
}

.hero-luxury .hero-media-fallback {
  transform: scale(1.05);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video,
.hero-media-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-fallback {
  background-size: cover;
  background-position: center 35%;
  z-index: 1;
  opacity: 1;
}

.hero-video {
  z-index: 2;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-banner.has-video .hero-video {
  opacity: 1;
}

/* Keep fallback visible under video as depth / when video fails */
.hero-banner.has-video .hero-media-fallback {
  opacity: 1;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(105deg, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.72) 38%, rgba(3, 3, 4, 0.35) 62%, rgba(3, 3, 4, 0.5) 100%),
    linear-gradient(180deg, rgba(3, 3, 4, 0.1) 0%, rgba(3, 3, 4, 0.85) 100%);
}

.hero-media-shine {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: radial-gradient(ellipse 55% 45% at 20% 45%, rgba(110, 181, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
}

/* Clean end to hero — no overlap into next section */
.home-page .hero-banner {
  padding-bottom: clamp(2.5rem, 5vh, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-page .hero-media-overlay {
  background:
    linear-gradient(105deg, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.72) 38%, rgba(3, 3, 4, 0.35) 62%, rgba(3, 3, 4, 0.5) 100%),
    linear-gradient(180deg, rgba(3, 3, 4, 0.05) 0%, rgba(3, 3, 4, 0.75) 92%, var(--black) 100%);
}

.hero-content-box {
  max-width: 640px;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1.35rem;
}

.hero-label-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-bright), transparent);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.hero-title-accent {
  display: block;
  margin-top: 0.15em;
  color: #f0f2f6;
  font-weight: 500;
}

.hero-video-toggle {
  position: absolute;
  bottom: 2.5rem;
  right: clamp(1rem, 4vw, 4%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(3, 3, 4, 0.5);
  backdrop-filter: blur(12px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}

.hero-video-toggle:hover {
  border-color: rgba(110, 181, 255, 0.4);
  background: rgba(59, 139, 255, 0.15);
}

.hero-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  line-height: 1.8;
  color: #c4c9d4;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn-hero-elegant {
  border-radius: 8px;
  padding: 0.9rem 1.65rem;
  font-size: 0.7rem;
}

.hero-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 520px;
}

.hero-pills li {
  position: relative;
}

.hero-pills a {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-areas:
    "icon title"
    "icon meta";
  align-items: center;
  column-gap: 0.85rem;
  padding: 0.85rem 1rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(3, 3, 4, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.hero-pills a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 35%, rgba(110, 181, 255, 0.16), transparent 46%);
  opacity: 0;
  transition: opacity 0.35s;
}

.hero-pills a:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 181, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(59, 139, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(3, 3, 4, 0.36);
}

.hero-pills a:hover::before {
  opacity: 1;
}

.hero-pills i {
  grid-area: icon;
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(59, 139, 255, 0.12);
  border: 1px solid rgba(110, 181, 255, 0.2);
  color: var(--blue-bright);
  font-size: 1rem;
}

.hero-pills span {
  grid-area: title;
  position: relative;
  z-index: 1;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.hero-pills em {
  grid-area: meta;
  position: relative;
  z-index: 1;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--silver);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.5rem, 6vw, 8%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6e7580;
}

.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(110, 181, 255, 0.8), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero-fade {
  /* Entrance handled by motion.css + shared.js */
}

/* ── Trust strip ── */
.trust-strip {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--black-soft);
}

.trust-strip p {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 1rem;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}

.trust-tags span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ── Sections shared ── */
.home-page {
  --section-pad-y: clamp(5.5rem, 12vh, 8.5rem);
  --section-gap: clamp(2.75rem, 5vh, 4rem);
  --block-gap: clamp(1.5rem, 3vh, 2.25rem);
}

.home-section {
  padding: var(--section-pad-y) 0;
}

.home-section-alt {
  background: var(--black-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Smart Living — feature card grid */
.home-possibilities {
  position: relative;
  overflow: hidden;
}

.home-possibilities__ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 36% 55% at 8% 35%, rgba(59, 139, 255, 0.11), transparent 68%),
    radial-gradient(ellipse 32% 48% at 92% 72%, rgba(110, 181, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.home-possibilities .container-wide {
  position: relative;
  z-index: 1;
}

.home-possibilities__head {
  max-width: 40rem;
  margin: 0 auto clamp(2rem, 4vh, 2.75rem);
  text-align: center;
}

.home-possibilities__head .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.home-possibilities__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.1rem);
  max-width: 1040px;
  margin: 0 auto;
}

.home-possibilities__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(0.85rem, 1.5vw, 1rem);
  align-items: start;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(6, 8, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease, ease),
    border-color 0.4s ease,
    box-shadow 0.45s ease;
}

.home-possibilities__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(110, 181, 255, 0.5), transparent);
  opacity: 0.35;
  transform: scaleX(0.3);
  transition: transform 0.5s var(--ease, ease), opacity 0.4s ease;
}

.home-possibilities__card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 181, 255, 0.24);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(59, 139, 255, 0.08);
}

.home-possibilities__card:hover::before {
  transform: scaleX(1);
  opacity: 0.7;
}

.home-possibilities__card-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  font-size: 1.15rem;
  color: var(--blue-bright);
  background: rgba(59, 139, 255, 0.1);
  border: 1px solid rgba(110, 181, 255, 0.26);
  box-shadow: 0 0 18px rgba(59, 139, 255, 0.1);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.home-possibilities__card:hover .home-possibilities__card-icon {
  border-color: rgba(110, 181, 255, 0.48);
  box-shadow: 0 0 22px rgba(59, 139, 255, 0.18);
  transform: scale(1.04);
}

.home-possibilities__card-body {
  position: relative;
  min-width: 0;
}

.home-possibilities__card-num {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(110, 181, 255, 0.45);
}

.home-possibilities__card-tag {
  margin: 0 0 0.35rem;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  font-weight: 500;
}

.home-possibilities__card-body h3 {
  margin: 0 0 0.45rem;
  padding-right: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}

.home-possibilities__card-body p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--silver-dim);
}

.home-possibilities__cue {
  margin: clamp(1.5rem, 3vh, 2rem) auto 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.home-possibilities__foot {
  margin-top: clamp(1.25rem, 2.5vh, 1.75rem);
  text-align: center;
}

.home-possibilities__grid.reveal.visible .home-possibilities__card {
  animation: homePossIn 0.65s var(--ease, ease) both;
}

.home-possibilities__grid.reveal.visible .home-possibilities__card:nth-child(1) { animation-delay: 0.04s; }
.home-possibilities__grid.reveal.visible .home-possibilities__card:nth-child(2) { animation-delay: 0.08s; }
.home-possibilities__grid.reveal.visible .home-possibilities__card:nth-child(3) { animation-delay: 0.12s; }
.home-possibilities__grid.reveal.visible .home-possibilities__card:nth-child(4) { animation-delay: 0.16s; }
.home-possibilities__grid.reveal.visible .home-possibilities__card:nth-child(5) { animation-delay: 0.2s; }
.home-possibilities__grid.reveal.visible .home-possibilities__card:nth-child(6) { animation-delay: 0.24s; }

@keyframes homePossIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html[data-theme="light"] .home-possibilities__card {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.9)),
    rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .home-possibilities__card-body h3 {
  color: #1a1a1e;
}

html[data-theme="light"] .home-possibilities__card-icon {
  background: rgba(59, 139, 255, 0.08);
  border-color: rgba(59, 139, 255, 0.22);
}

html[data-theme="light"] .home-possibilities__cue {
  color: rgba(26, 26, 30, 0.55);
}

@media (max-width: 900px) {
  .home-possibilities__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
  }
}

@media (max-width: 560px) {
  .home-possibilities__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .home-possibilities__card-body p {
    font-size: 0.76rem;
  }
}

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

  .home-possibilities__card:hover {
    transform: none;
  }
}

.section-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--silver);
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
}

.section-lead.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: var(--section-gap, clamp(2.75rem, 5vh, 4rem));
  padding-bottom: 0.25rem;
}

.section-header .section-lead { margin: 0 auto; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  transition: gap 0.3s;
}

.text-link:hover { gap: 0.75rem; }

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--silver);
  font-weight: 300;
}

.feature-list i { color: var(--blue-bright); }

/* ── Signature Experience ── */
.experience-section {
  padding: clamp(5.5rem, 11vh, 8rem) 0;
  background: var(--black);
  position: relative;
}

.experience-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 181, 255, 0.25), transparent);
}

.experience-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.experience-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 1rem;
}

.experience-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.experience-intro {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: #a8adb8;
}

.experience-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.experience-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 360px;
}

.experience-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  transition: transform 1s var(--ease);
  filter: saturate(0.9) contrast(1.06);
}

.experience-showcase:hover .experience-visual img {
  transform: scale(1.04);
}

.experience-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 3, 4, 0.7) 0%, transparent 50%);
}

.experience-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.exp-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.exp-stat span {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6e7580;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.exp-card {
  padding: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.exp-card:hover {
  border-color: rgba(110, 181, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.exp-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.exp-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(3, 3, 4, 0.5) 100%);
  pointer-events: none;
}

.exp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  filter: saturate(0.92) contrast(1.04);
}

.exp-card:hover .exp-card-img img {
  transform: scale(1.06);
}

.exp-card-body {
  padding: 1.5rem 1.35rem 1.65rem;
}

.exp-card-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(59, 139, 255, 0.1);
  margin-bottom: 1rem;
}

.exp-card-icon i {
  font-size: 1.1rem;
  color: var(--blue-bright);
}

.exp-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.exp-card p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
  color: #a8adb8;
}

.experience-footer {
  text-align: center;
}

.experience-cta {
  border-radius: 8px;
  padding: 0.9rem 2rem;
}

/* Philosophy */
.philosophy-section {
  padding: clamp(5rem, 10vh, 7rem) 0;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.philosophy-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 5/4;
  max-height: 520px;
}

.philosophy-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.9s var(--ease);
}

.philosophy-visual:hover img {
  transform: scale(1.03);
}

.philosophy-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(0deg, rgba(3, 3, 4, 0.95) 0%, transparent 100%);
}

.philosophy-caption span {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.philosophy-caption h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: 0.5rem;
}

.philosophy-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.philosophy-copy .section-eyebrow {
  margin-bottom: 0.85rem;
}

.philosophy-copy .section-title {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-copy .section-lead {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 2.25rem;
}

.pillar-item {
  padding: 1.15rem 1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}

.pillar-item:hover {
  border-color: rgba(110, 181, 255, 0.2);
  transform: translateY(-3px);
}

.pillar-thumb {
  aspect-ratio: 4/3;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pillar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
  transition: transform 0.7s var(--ease);
}

.pillar-item:hover .pillar-thumb img {
  transform: scale(1.04);
}

.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue-bright);
  letter-spacing: 0.2em;
  margin-bottom: 0.4rem;
}

.pillar-item h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.pillar-item p {
  font-size: 0.8rem;
  color: var(--silver);
  font-weight: 300;
  line-height: 1.55;
}

/* Portals */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portal-card {
  position: relative;
  min-height: 380px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.portal-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  filter: saturate(0.88) contrast(1.06);
}

.portal-card:hover img { transform: scale(1.07); }

.portal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 3, 4, 0.95) 0%, rgba(3, 3, 4, 0.15) 55%, transparent 100%);
  z-index: 1;
}

.portal-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  z-index: 2;
}

.portal-body span:first-child {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.portal-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.4rem 0 0.6rem;
}

.portal-body p {
  font-size: 0.85rem;
  color: var(--silver);
  font-weight: 300;
  margin-bottom: 1rem;
}

.portal-link {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.testimonial-card {
  margin: 0;
  padding: 0;
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.4s;
}

.testimonial-img {
  height: 120px;
  overflow: hidden;
}

.testimonial-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.7s var(--ease);
}

.testimonial-card:hover .testimonial-img img {
  transform: scale(1.05);
}

.testimonial-card p,
.testimonial-card footer {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.testimonial-card p {
  padding-top: 1.5rem;
}

.testimonial-card footer {
  padding-bottom: 1.75rem;
}

.testimonial-card:hover { border-color: rgba(110, 181, 255, 0.2); }

.testimonial-card.featured {
  background: linear-gradient(145deg, rgba(59, 139, 255, 0.08) 0%, var(--black-card) 100%);
  border-color: rgba(59, 139, 255, 0.2);
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--silver);
  font-weight: 300;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.testimonial-card footer span {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* Stats */
.stats-band {
  padding: 4.5rem 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(3, 3, 4, 0.88), rgba(3, 3, 4, 0.92)),
    var(--stats-bg, none) center/cover no-repeat;
}

.stats-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(59, 139, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-block strong {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  display: block;
  line-height: 1;
  background: linear-gradient(180deg, var(--white), var(--silver));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-block span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* CTA */
.cta-band {
  position: relative;
  padding: clamp(5.5rem, 12vh, 8.5rem) 0;
  text-align: center;
  overflow: hidden;
}

.cta-band .section-eyebrow {
  margin-bottom: 1rem;
}

.cta-band .section-title {
  margin-bottom: 1.25rem;
}

.cta-band .section-lead.centered {
  margin-bottom: 0;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&q=90") center/cover no-repeat;
  opacity: 0.28;
}

.cta-band-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 280px;
  background: radial-gradient(ellipse, var(--blue-glow), transparent 70%);
  filter: blur(80px);
  opacity: 0.3;
  z-index: 1;
}

.cta-band .container-wide {
  position: relative;
  z-index: 2;
}

.cta-logo {
  width: 120px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.25rem;
}

/* Reveal — see css/motion.css */

/* ══════════════════════════════════════
   SIMPLIFIED HOME — Journey, Solutions, etc.
   ══════════════════════════════════════ */

.home-journey {
  padding: var(--section-pad-y, clamp(5.5rem, 12vh, 8.5rem)) 0;
  background: var(--black);
  border-top: none;
}

.home-journey .section-header {
  margin-bottom: var(--section-gap, clamp(2.75rem, 5vh, 4rem));
}

.journey-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.15rem, 2vw, 1.5rem);
  margin-bottom: var(--section-gap, clamp(2.75rem, 5vh, 4rem));
}

.journey-track {
  position: absolute;
  top: 2.75rem;
  left: 8%;
  right: 8%;
  height: 2px;
  pointer-events: none;
  z-index: 0;
}

.journey-track-line {
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(110, 181, 255, 0.45), rgba(110, 181, 255, 0.45), transparent);
}

.journey-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.journey-node {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  background: rgba(14, 14, 17, 0.9);
  border: 1px solid rgba(110, 181, 255, 0.35);
  box-shadow: 0 0 32px rgba(59, 139, 255, 0.12);
  transition: transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.journey-step:hover .journey-node {
  transform: scale(1.06);
  border-color: rgba(110, 181, 255, 0.55);
  box-shadow: 0 0 40px rgba(59, 139, 255, 0.22);
}

.journey-node span {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
}

.journey-node i {
  font-size: 1.15rem;
  color: var(--white);
}

.journey-card {
  padding: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  min-height: 0;
  overflow: hidden;
  transition: border-color 0.35s, background 0.35s;
}

.journey-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  line-height: 0;
}

.journey-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.78);
  transition: transform 0.55s var(--ease), filter 0.45s;
}

.journey-step:hover .journey-card__thumb img {
  transform: scale(1.05);
  filter: saturate(1) brightness(0.88);
}

.journey-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(3, 6, 14, 0.75) 100%);
}

.journey-card__body {
  padding: 0.85rem 0.95rem 1rem;
}

.journey-step:hover .journey-card {
  border-color: rgba(110, 181, 255, 0.2);
  background: rgba(59, 139, 255, 0.05);
}

.journey-card__body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.journey-card__body p {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--silver-dim);
}

.journey-cta {
  text-align: center;
  padding-top: var(--block-gap, clamp(1.5rem, 3vh, 2.25rem));
}

/* Stats strip */
.home-stats {
  position: relative;
  padding: clamp(3.5rem, 7vh, 5rem) 0;
  margin: 0;
  background:
    radial-gradient(ellipse 38% 70% at 18% 50%, rgba(59, 139, 255, 0.12), transparent 66%),
    radial-gradient(ellipse 34% 60% at 82% 50%, rgba(110, 181, 255, 0.08), transparent 68%),
    var(--black-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.home-stats::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(920px, 88vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(110, 181, 255, 0.55), transparent);
}

.home-stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.home-stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

/* Metrics — connected panels with motion */
.home-metrics {
  position: relative;
  z-index: 1;
  padding-top: 0.5rem;
}

.home-metrics__rail {
  display: none;
}

.home-metrics__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.25rem);
}

.home-metrics__item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 2.5vw, 1.35rem);
  align-items: stretch;
}

.home-metrics__node {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 1.35rem;
  border-radius: 50%;
  background: rgba(8, 10, 16, 0.95);
  border: 2px solid rgba(110, 181, 255, 0.42);
  box-shadow:
    0 0 0 6px rgba(8, 10, 16, 0.88),
    0 0 22px rgba(59, 139, 255, 0.18);
  color: var(--blue-bright);
  font-size: 1.05rem;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--ease, ease);
}

.home-metrics__panel {
  position: relative;
  padding: clamp(1.15rem, 2.2vw, 1.45rem) clamp(1.1rem, 2vw, 1.35rem);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(6, 8, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease, ease),
    border-color 0.4s ease,
    box-shadow 0.45s ease,
    background 0.4s ease;
}

.home-metrics__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(110, 181, 255, 0.65), transparent);
  transform: scaleX(0.25);
  opacity: 0.45;
  transition: transform 0.5s var(--ease, ease), opacity 0.4s ease;
}

.home-metrics__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(59, 139, 255, 0.12), transparent 58%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.home-metrics__item:hover .home-metrics__node {
  border-color: rgba(110, 181, 255, 0.7);
  box-shadow:
    0 0 0 6px rgba(8, 10, 16, 0.88),
    0 0 32px rgba(59, 139, 255, 0.32);
  transform: scale(1.08);
}

.home-metrics__item:hover .home-metrics__panel {
  transform: translateY(-4px);
  border-color: rgba(110, 181, 255, 0.24);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), 0 0 36px rgba(59, 139, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(59, 139, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(6, 8, 14, 0.62);
}

.home-metrics__item:hover .home-metrics__panel::before {
  transform: scaleX(1);
  opacity: 1;
}

.home-metrics__item:hover .home-metrics__panel::after {
  opacity: 1;
}

.home-metrics__value {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 25%, rgba(110, 181, 255, 0.9));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.4s var(--ease, ease);
}

.home-metrics__item:hover .home-metrics__value:not(.home-metrics__value--static) {
  transform: scale(1.03);
}

.home-metrics__value--static {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

.home-metrics__panel h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.5rem;
}

.home-metrics__panel p {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--silver);
  margin-bottom: 0.75rem;
}

.home-metrics__panel p:last-child {
  margin-bottom: 0;
}

.home-metrics__tags {
  position: relative;
  z-index: 1;
  display: block;
  padding-top: 0.65rem;
  margin-top: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.home-metrics__item.reveal.visible {
  animation: homeMetricsIn 0.7s var(--ease, ease) both;
}

.home-metrics__item.reveal.visible:nth-child(1) { animation-delay: 0.05s; }
.home-metrics__item.reveal.visible:nth-child(2) { animation-delay: 0.14s; }
.home-metrics__item.reveal.visible:nth-child(3) { animation-delay: 0.23s; }
.home-metrics__item.reveal.visible:nth-child(4) { animation-delay: 0.32s; }

.home-metrics__item.reveal.visible .home-metrics__node {
  animation: homeMetricsNodePop 0.55s var(--ease, ease) both;
}

.home-metrics__item.reveal.visible:nth-child(1) .home-metrics__node { animation-delay: 0.1s; }
.home-metrics__item.reveal.visible:nth-child(2) .home-metrics__node { animation-delay: 0.19s; }
.home-metrics__item.reveal.visible:nth-child(3) .home-metrics__node { animation-delay: 0.28s; }
.home-metrics__item.reveal.visible:nth-child(4) .home-metrics__node { animation-delay: 0.37s; }

@keyframes homeMetricsIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeMetricsNodePop {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

html[data-theme="light"] .home-metrics__node {
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.92),
    0 4px 16px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .home-metrics__panel {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .home-metrics__value {
  background: linear-gradient(135deg, #1a1a1e 25%, #3b8bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .home-metrics__value--static {
  background: none;
  -webkit-text-fill-color: #1a1a1e;
  color: #1a1a1e;
}

html[data-theme="light"] .home-metrics__tags {
  border-top-color: rgba(0, 0, 0, 0.08);
}

@media (min-width: 900px) {
  .home-metrics {
    padding-top: 1.75rem;
  }

  .home-metrics__rail {
    display: block;
    position: absolute;
    top: 2.35rem;
    left: 8%;
    right: 8%;
    height: 2px;
    pointer-events: none;
  }

  .home-metrics__rail-line {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(110, 181, 255, 0.45) 10%, rgba(110, 181, 255, 0.45) 90%, transparent);
    box-shadow: 0 0 18px rgba(59, 139, 255, 0.22);
  }

  .home-metrics__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.5vw, 1.15rem);
    align-items: stretch;
  }

  .home-metrics__item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0;
  }

  .home-metrics__node {
    margin-top: 0;
    margin-bottom: 1.35rem;
  }

  .home-metrics__panel {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .home-metrics__panel p {
    max-width: none;
  }

  .home-metrics__tags {
    margin-top: auto;
    width: 100%;
  }

  .home-metrics__item.reveal.visible {
    animation-name: homeMetricsInUp;
  }

  @keyframes homeMetricsInUp {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Legacy rail aliases — kept for reference scripts */
.home-metrics-rail {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
}

.home-metrics-rail__track {
  position: absolute;
  top: 1.35rem;
  bottom: 1.35rem;
  left: 1.35rem;
  width: 2px;
  pointer-events: none;
}

.home-metrics-rail__line {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(110, 181, 255, 0.5) 6%, rgba(110, 181, 255, 0.5) 94%, transparent);
  box-shadow: 0 0 14px rgba(59, 139, 255, 0.22);
}

.home-metrics-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3.5vh, 2.5rem);
}

.home-metrics-rail__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
}

.home-metrics-rail__node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(8, 10, 16, 0.95);
  border: 2px solid rgba(110, 181, 255, 0.42);
  box-shadow:
    0 0 0 6px rgba(8, 10, 16, 0.88),
    0 0 22px rgba(59, 139, 255, 0.18);
  color: var(--blue-bright);
  font-size: 1.05rem;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.home-metrics-rail__step:hover .home-metrics-rail__node {
  border-color: rgba(110, 181, 255, 0.65);
  box-shadow:
    0 0 0 6px rgba(8, 10, 16, 0.88),
    0 0 28px rgba(59, 139, 255, 0.28);
  transform: scale(1.06);
}

.home-metrics-rail__copy {
  padding: 0.15rem 0 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.home-metrics-rail__step:last-child .home-metrics-rail__copy {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-metrics-rail__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.45rem;
  background: linear-gradient(135deg, #fff 30%, rgba(110, 181, 255, 0.85));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-metrics-rail__value--static {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

.home-metrics-rail__copy h3 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.55rem;
}

.home-metrics-rail__copy p {
  max-width: 52ch;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--silver);
  margin-bottom: 0.65rem;
}

.home-metrics-rail__tags {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.home-metrics-rail__step.reveal.visible {
  animation: homeMetricsIn 0.65s var(--ease, ease) both;
}

.home-metrics-rail__step.reveal.visible:nth-child(1) { animation-delay: 0.05s; }
.home-metrics-rail__step.reveal.visible:nth-child(2) { animation-delay: 0.15s; }
.home-metrics-rail__step.reveal.visible:nth-child(3) { animation-delay: 0.25s; }
.home-metrics-rail__step.reveal.visible:nth-child(4) { animation-delay: 0.35s; }

@keyframes homeMetricsIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

html[data-theme="light"] .home-metrics-rail__node {
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.92),
    0 4px 16px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .home-metrics-rail__copy {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .home-metrics-rail__value {
  background: linear-gradient(135deg, #1a1a1e 30%, #3b8bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .home-metrics-rail__value--static {
  background: none;
  -webkit-text-fill-color: #1a1a1e;
  color: #1a1a1e;
}

@media (min-width: 900px) {
  .home-metrics-rail__track {
    top: 2.5rem;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 2px;
  }

  .home-metrics-rail__line {
    background: linear-gradient(90deg, transparent, rgba(110, 181, 255, 0.5) 8%, rgba(110, 181, 255, 0.5) 92%, transparent);
  }

  .home-metrics-rail__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    padding-top: 0.5rem;
  }

  .home-metrics-rail__step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.15rem;
  }

  .home-metrics-rail__copy {
    border-bottom: 0;
    padding: 0;
  }

  .home-metrics-rail__copy p {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .home-metrics-rail__step.reveal.visible {
    animation-name: homeMetricsInUp;
  }

  @keyframes homeMetricsInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.home-stat-item {
  position: relative;
  min-height: 210px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  perspective: 1100px;
  text-align: left;
}

.home-stat-item:focus-visible {
  outline: 2px solid rgba(110, 181, 255, 0.7);
  outline-offset: 4px;
}

.home-stat-card {
  position: relative;
  display: block;
  min-height: 210px;
  transform-style: preserve-3d;
  transition: transform 0.75s var(--ease);
}

.home-stat-item:hover .home-stat-card {
  transform: translateY(-6px);
}

.home-stat-item.is-flipped .home-stat-card {
  transform: rotateY(180deg);
}

.home-stat-item.is-flipped:hover .home-stat-card {
  transform: translateY(-6px) rotateY(180deg);
}

.home-stat-face {
  position: absolute;
  inset: 0;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem 1.25rem;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(3, 3, 4, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.home-stat-front::before,
.home-stat-back::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 20% 15%, rgba(110, 181, 255, 0.22), transparent 44%);
  opacity: 0;
  transition: opacity 0.4s;
}

.home-stat-front::after,
.home-stat-back::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(110, 181, 255, 0.75), transparent);
  transform: scaleX(0.35);
  opacity: 0.38;
  transition: transform 0.4s var(--ease), opacity 0.35s;
}

.home-stat-back {
  transform: rotateY(180deg);
  background:
    linear-gradient(145deg, rgba(59, 139, 255, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(3, 3, 4, 0.7);
}

.home-stat-item:hover .home-stat-face {
  border-color: rgba(110, 181, 255, 0.28);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42), 0 0 34px rgba(59, 139, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(59, 139, 255, 0.13), rgba(255, 255, 255, 0.03)),
    rgba(3, 3, 4, 0.58);
}

.home-stat-item:hover .home-stat-front::before,
.home-stat-item:hover .home-stat-back::before {
  opacity: 1;
}

.home-stat-item:hover .home-stat-front::after,
.home-stat-item:hover .home-stat-back::after {
  transform: scaleX(1);
  opacity: 1;
}

.home-stat-face i {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  border-radius: 13px;
  background: rgba(59, 139, 255, 0.1);
  border: 1px solid rgba(110, 181, 255, 0.2);
  color: var(--blue-bright);
  font-size: 1.1rem;
  transition: transform 0.4s var(--ease), background 0.35s;
}

.home-stat-item:hover i {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(59, 139, 255, 0.18);
}

.home-stat-face strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.04em;
}

.home-stat-front > span {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.45rem;
}

.home-stat-face em {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 18ch;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--silver);
}

.home-stat-back {
  justify-content: center;
}

.home-stat-back small {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.home-stat-back strong {
  font-size: clamp(0.98rem, 1.6vw, 1.18rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.home-stat-back em {
  max-width: none;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* Solutions grid */
.home-solutions {
  background: var(--black);
}

.home-sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.15rem, 2vw, 1.5rem);
}

.home-sol-card {
  padding: 0;
  border-radius: 16px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-sol-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.home-section-cta {
  text-align: center;
  margin-top: var(--section-gap, clamp(2.75rem, 5vh, 4rem));
  padding-top: var(--block-gap, clamp(1rem, 2vh, 1.5rem));
}

/* Products */
.home-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.15rem, 2vw, 1.5rem);
}

.home-prod-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 17, 0.5);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.home-prod-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 181, 255, 0.25);
}

.home-prod-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-prod-body {
  padding: 1.15rem 1.25rem;
}

.home-prod-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.home-prod-body p {
  font-size: 0.8rem;
  color: var(--silver-dim);
  font-weight: 300;
}

/* Video guides */
.home-video-guides {
  position: relative;
  background:
    radial-gradient(ellipse 44% 55% at 16% 18%, rgba(59, 139, 255, 0.1), transparent 64%),
    var(--black);
  overflow: hidden;
}

.home-video-guides::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.home-video-guides .container-wide {
  position: relative;
  z-index: 1;
}

.home-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(1.15rem, 2.5vw, 1.75rem);
  align-items: stretch;
}

.home-video-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(1.15rem, 2.5vw, 1.75rem);
  min-height: 0;
}

.home-video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(14, 14, 17, 0.75);
  transition: transform 0.4s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.home-video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 181, 255, 0.28);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42), 0 0 34px rgba(59, 139, 255, 0.08);
}

.home-video-media {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  min-height: clamp(180px, 22vw, 240px);
  background: #060a12;
}

.home-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-video-media--product {
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(59, 139, 255, 0.12), transparent 68%),
    linear-gradient(165deg, #0c1220 0%, #060810 100%);
}

.home-video-media--product .vajra-showcase {
  position: absolute;
  inset: 0;
  border-radius: 0;
  aspect-ratio: auto;
}

.home-video-media--product .vajra-showcase::after {
  display: none;
}

.home-video-media--product .home-video-fallback {
  object-fit: cover;
  padding: 0;
  filter: none;
}

.home-video-media--app {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 45%, rgba(59, 139, 255, 0.14), transparent 62%),
    radial-gradient(ellipse 40% 50% at 72% 58%, rgba(240, 180, 80, 0.08), transparent 55%),
    linear-gradient(165deg, #0c1220 0%, #060810 100%);
}

.home-video-fallback--phone {
  position: relative;
  inset: auto;
  z-index: 0;
  width: auto;
  height: min(92%, 220px);
  max-width: min(46%, 130px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 24px rgba(59, 139, 255, 0.12));
}

.home-video-media--ecosystem {
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(59, 139, 255, 0.08), transparent 65%),
    #060a12;
  padding: 0;
}

.home-video-media--ecosystem > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) brightness(0.72) contrast(1.06);
}

.home-video-eco-grid {
  position: absolute;
  inset: 0.55rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.home-video-eco-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.2rem;
  border-radius: 8px;
  background: rgba(6, 10, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-video-play--static {
  opacity: 0.85;
  transform: none;
}

.home-video-card--feature .home-video-media {
  min-height: clamp(240px, 32vw, 360px);
}

.home-video-media video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.08) brightness(0.82);
  transform: scale(1.02);
  transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
}

.home-video-card:hover .home-video-media video {
  transform: scale(1.07);
  filter: saturate(1.05) contrast(1.1) brightness(0.92);
}

.home-video-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 3, 4, 0.08) 0%, rgba(3, 3, 4, 0.72) 100%),
    radial-gradient(ellipse 42% 40% at 72% 24%, rgba(59, 139, 255, 0.16), transparent 66%);
  pointer-events: none;
}

.home-video-play {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.35rem;
  transition: transform 0.35s var(--ease), background 0.35s;
}

.home-video-card:hover .home-video-play {
  transform: scale(1.08);
  background: rgba(59, 139, 255, 0.28);
}

.home-video-copy {
  flex: 0 0 auto;
  padding: clamp(1.2rem, 2.5vw, 1.65rem);
}

.home-video-copy > span {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.home-video-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.home-video-copy p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--silver);
}

.home-video-copy .text-link {
  margin-top: 1rem;
  display: inline-flex;
}

/* Projects simplified */
.home-projects {
  background: var(--black);
}

.home-projects-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  text-align: center;
  margin-bottom: var(--section-gap, clamp(2.75rem, 5vh, 4rem));
  padding-bottom: var(--block-gap, clamp(1rem, 2vh, 1.5rem));
}

.home-projects-head .section-lead {
  margin: 0 auto;
}

.home-projects-head .btn-ghost {
  margin-top: 0.35rem;
}

.home-projects-featured {
  position: relative;
  max-width: 1080px;
  margin: 0 auto var(--block-gap, clamp(1.5rem, 3vh, 2.25rem));
  padding: clamp(0.55rem, 1vw, 0.8rem);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(110, 181, 255, 0.22), transparent 38%, rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.home-projects-featured::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle at 50% 15%, rgba(59, 139, 255, 0.16), transparent 42%);
  opacity: 0.7;
  pointer-events: none;
}

.home-projects-featured::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 19px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 2;
}

.home-projects-link {
  display: block;
  position: relative;
  overflow: hidden;
  color: inherit;
  border-radius: 18px;
  isolation: isolate;
}

.home-projects-link img {
  width: 100%;
  height: clamp(360px, 48vw, 560px);
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(0.92) contrast(1.05);
  transition: transform 0.95s var(--ease), filter 0.65s var(--ease);
}

.home-projects-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 3, 4, 0.08) 0%, rgba(3, 3, 4, 0.18) 42%, rgba(3, 3, 4, 0.94) 100%),
    radial-gradient(ellipse 45% 40% at 74% 22%, rgba(59, 139, 255, 0.18), transparent 65%);
  transition: opacity 0.5s;
}

.home-projects-link:hover img {
  transform: scale(1.07);
  filter: saturate(1.03) contrast(1.09);
}

.home-projects-link:hover::before {
  opacity: 0.92;
}

.home-projects-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(110deg, transparent 0%, transparent 42%, rgba(255, 255, 255, 0.16) 50%, transparent 58%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}

.home-projects-link:hover .home-projects-shine {
  transform: translateX(120%);
}

.home-projects-caption {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.25rem, 4vw, 3rem);
  z-index: 3;
  max-width: 620px;
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
  border-radius: 16px;
  background: rgba(3, 3, 4, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateY(0);
  transition: transform 0.45s var(--ease), border-color 0.35s, background 0.35s;
}

.home-projects-link:hover .home-projects-caption {
  transform: translateY(-6px);
  border-color: rgba(110, 181, 255, 0.24);
  background: rgba(3, 3, 4, 0.68);
}

.home-projects-caption span {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.home-projects-caption h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  margin: 0.35rem 0 0.4rem;
}

.home-projects-caption p {
  font-size: 0.88rem;
  color: var(--silver);
  font-weight: 300;
}

.home-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.25rem);
}

.home-project-mini {
  display: block;
  padding: 1.05rem 1rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.home-project-mini:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 181, 255, 0.28);
  background: rgba(59, 139, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.home-project-mini-place {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.home-project-mini-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 0.4rem;
}

.home-project-mini-meta {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--silver);
}
/* Why */
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.15rem, 2vw, 1.5rem);
}

.home-why-card {
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 10, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.home-why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 181, 255, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.home-why-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.home-why-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.8);
  transition: transform 0.55s var(--ease), filter 0.45s;
}

.home-why-card:hover .home-why-card__media img {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.9);
}

.home-why-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 14, 0.05) 0%, rgba(3, 6, 14, 0.72) 100%);
}

.home-why-card__icon {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(8, 12, 22, 0.72);
  border: 1px solid rgba(110, 181, 255, 0.35);
  color: var(--blue-bright);
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.home-why-card__body {
  padding: 0.95rem 1rem 1.1rem;
}

.home-why-card__body h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.home-why-card__body p {
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--silver-dim);
}

/* ── Responsive (simplified home) ── */
@media (max-width: 1024px) {
  .journey-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-track {
    display: none;
  }

  .home-sol-grid,
  .home-prod-grid,
  .home-video-layout,
  .home-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-video-card--feature {
    grid-column: 1 / -1;
  }

  .home-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .journey-flow {
    grid-template-columns: 1fr;
  }

  .journey-node {
    margin-bottom: 0.85rem;
  }

  .home-sol-grid,
  .home-prod-grid,
  .home-video-layout,
  .home-why-grid {
    grid-template-columns: 1fr;
  }

  .home-video-side {
    grid-template-columns: 1fr;
  }

  .home-stats-grid {
    grid-template-columns: 1fr;
  }

  .home-projects-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-projects-link img {
    height: 340px;
  }

  .home-projects-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .home-projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero-content-box { max-width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-showcase { grid-template-columns: 1fr; }
  .experience-grid,
  .philosophy-layout { grid-template-columns: 1fr; }
  .philosophy-visual { max-height: none; aspect-ratio: 16/10; }
  .pillars-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 900px) and (min-width: 601px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
}

@media (max-width: 900px) {
  .portals-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-pills {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .hero-scroll,
  .hero-video-toggle { display: none; }
  .hero-media-overlay {
    background:
      linear-gradient(180deg, rgba(3, 3, 4, 0.45) 0%, rgba(3, 3, 4, 0.9) 75%),
      linear-gradient(90deg, rgba(3, 3, 4, 0.92) 0%, rgba(3, 3, 4, 0.65) 100%);
  }
  .stats-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   PRODUCTS SHOWCASE CAROUSEL
   ═══════════════════════════════════════ */
.home-products-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59, 139, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #0a1220 0%, var(--black) 100%);
  border-top: 1px solid rgba(110, 181, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-products-showcase-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  height: 360px;
  background: radial-gradient(ellipse, rgba(59, 139, 255, 0.18), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

.home-products-showcase .container-wide {
  position: relative;
  z-index: 1;
}

.home-prod-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.25rem);
  margin-top: 0.5rem;
}

.home-prod-carousel-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
  touch-action: pan-y pinch-zoom;
}

.home-prod-carousel-track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.25rem);
  will-change: transform;
}

.home-prod-showcase-card {
  --card-glow-x: 50%;
  --card-glow-y: 40%;
  flex: 0 0 calc((100% - 2 * clamp(1rem, 2vw, 1.25rem)) / 3);
  min-width: calc((100% - 2 * clamp(1rem, 2vw, 1.25rem)) / 3);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(10, 14, 22, 0.7);
  border: 1px solid rgba(110, 181, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.4s, box-shadow 0.45s, transform 0.45s var(--ease);
  transform-style: preserve-3d;
}

.home-prod-showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 181, 255, 0.45);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(59, 139, 255, 0.28);
}

.home-prod-showcase-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0e16;
  min-height: 140px;
}

.home-prod-showcase-media--product {
  background: linear-gradient(165deg, #fafbfc 0%, #e8edf4 48%, #dde3ec 100%);
}

.home-prod-showcase-media--brochure {
  background: #060a12;
}

.home-prod-showcase-media--brochure .vajra-showcase {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
}

.home-prod-showcase-media--brochure .vajra-showcase img {
  padding: 0;
}

.home-prod-showcase-media--brochure .vajra-showcase::after {
  display: none;
}

.home-prod-showcase-media--brochure .home-prod-showcase-overlay {
  background: linear-gradient(180deg, transparent 62%, rgba(3, 5, 10, 0.88) 100%);
}

.home-prod-showcase-media--product img {
  object-fit: contain;
  object-position: center;
  padding: clamp(1rem, 4vw, 2rem);
  filter: none;
}

.home-prod-showcase-overlay--product {
  background:
    linear-gradient(180deg, transparent 55%, rgba(3, 5, 10, 0.55) 100%),
    linear-gradient(135deg, rgba(59, 139, 255, 0.08) 0%, transparent 55%);
}

.home-prod-showcase-card:hover .home-prod-showcase-media--product img {
  transform: scale(1.04);
  filter: none;
}

.home-prod-showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.06) brightness(0.88) hue-rotate(-6deg);
  transition: transform 0.75s var(--ease), filter 0.5s;
}

.home-prod-showcase-card:hover .home-prod-showcase-media {
  box-shadow: inset 0 0 0 1px rgba(110, 181, 255, 0.25);
}

.home-prod-showcase-card:hover .home-prod-showcase-media img {
  transform: scale(1.08);
  filter: saturate(1) contrast(1.08) brightness(0.94) hue-rotate(-8deg);
}

.home-prod-showcase-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(3, 5, 10, 0.88) 100%),
    linear-gradient(135deg, rgba(59, 139, 255, 0.22) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.45s;
}

.home-prod-showcase-card:hover .home-prod-showcase-overlay {
  background:
    linear-gradient(180deg, transparent 22%, rgba(3, 5, 10, 0.9) 100%),
    linear-gradient(135deg, rgba(59, 139, 255, 0.32) 0%, transparent 50%);
}

.home-prod-showcase-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse 50% 45% at var(--card-glow-x) var(--card-glow-y),
    rgba(110, 181, 255, 0.35),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.home-prod-showcase-card:hover .home-prod-showcase-shine {
  opacity: 1;
}

.home-prod-showcase-body {
  padding: 1.15rem 1.2rem 1.3rem;
  position: relative;
  z-index: 2;
}

.home-prod-showcase-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(59, 139, 255, 0.12);
  border: 1px solid rgba(110, 181, 255, 0.28);
  color: var(--blue-bright);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 16px rgba(59, 139, 255, 0.12);
}

.home-prod-showcase-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.home-prod-showcase-body p {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--silver);
}

.home-prod-carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(110, 181, 255, 0.3);
  background: rgba(8, 12, 20, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--blue-bright);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(59, 139, 255, 0.1);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, opacity 0.35s;
}

.home-prod-carousel-btn:hover:not(:disabled) {
  transform: scale(1.08);
  border-color: rgba(110, 181, 255, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 28px rgba(59, 139, 255, 0.25);
  color: #fff;
}

.home-prod-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.home-prod-carousel-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.home-prod-carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.home-prod-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.home-prod-carousel-dot.is-active {
  background: var(--blue-bright);
  box-shadow: 0 0 12px rgba(59, 139, 255, 0.6);
  transform: scale(1.2);
}

/* ═══════════════════════════════════════
   PROJECTS SHOWCASE
   ═══════════════════════════════════════ */
.home-projects-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 20% 30%, rgba(59, 139, 255, 0.1), transparent 60%),
    var(--black);
}

.home-projects-showcase-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 95vw);
  height: 400px;
  background: radial-gradient(ellipse, rgba(59, 139, 255, 0.12), transparent 68%);
  filter: blur(80px);
  pointer-events: none;
}

.home-projects-showcase-gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  opacity: 0.45;
}

.home-projects-showcase .container-wide {
  position: relative;
  z-index: 1;
}

.home-projects-showcase-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vh, 2.75rem);
  text-align: left;
}

.home-projects-showcase-head-copy {
  max-width: 640px;
}

.home-projects-showcase-head-copy .section-eyebrow {
  margin-bottom: 0.85rem;
}

.home-projects-showcase-head-copy .section-title {
  text-align: left;
  margin-bottom: 0.85rem;
}

.home-projects-showcase-head-copy .section-lead {
  margin: 0;
  text-align: left;
  max-width: 52ch;
}

.home-projects-showcase-head-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.home-projects-showcase-head-cta i {
  margin-left: 0.35rem;
  transition: transform 0.35s var(--ease);
}

.home-projects-showcase-head-cta:hover i {
  transform: translateX(4px);
}

.home-projects-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(0.9rem, 1.6vw, 1.2rem);
  align-items: stretch;
}

.home-projects-showcase-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.6vw, 1.2rem);
  min-height: 0;
}

.home-projects-showcase-stack .home-project-card {
  flex: 1 1 0;
  min-height: clamp(200px, 22vw, 260px);
}

.home-project-card {
  --proj-glow-x: 50%;
  --proj-glow-y: 50%;
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(10, 14, 22, 0.55);
  border: 1px solid rgba(110, 181, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.45s;
  transform-style: preserve-3d;
}

.home-project-card--featured {
  grid-row: 1 / 3;
  grid-column: 1;
  min-height: clamp(420px, 52vw, 560px);
}

.home-projects-showcase-stack {
  grid-column: 2;
  grid-row: 1 / 3;
}

.home-project-card--wide {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: clamp(220px, 28vw, 300px);
}

.home-project-card--wide .home-project-card-media {
  position: relative;
  aspect-ratio: auto;
  min-height: 100%;
  height: 100%;
}

.home-project-card--wide .home-project-card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: linear-gradient(135deg, rgba(8, 12, 20, 0.95) 0%, rgba(6, 8, 14, 0.88) 100%);
  border-left: 1px solid rgba(110, 181, 255, 0.1);
}

.home-project-card--wide .home-project-card-overlay {
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.15) 0%, rgba(3, 5, 10, 0.55) 100%),
    linear-gradient(180deg, transparent 0%, rgba(3, 5, 10, 0.4) 100%);
}

.home-project-card-index {
  position: absolute;
  top: clamp(0.85rem, 1.5vw, 1.1rem);
  left: clamp(0.85rem, 1.5vw, 1.1rem);
  z-index: 4;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: -0.04em;
  pointer-events: none;
  transition: color 0.4s;
}

.home-project-card:hover .home-project-card-index {
  color: rgba(110, 181, 255, 0.22);
}

.home-project-card-badge {
  position: absolute;
  top: clamp(0.85rem, 1.5vw, 1.1rem);
  right: clamp(0.85rem, 1.5vw, 1.1rem);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(59, 139, 255, 0.25);
  border: 1px solid rgba(110, 181, 255, 0.45);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(59, 139, 255, 0.2);
}

.home-project-card-badge i {
  font-size: 0.5rem;
  color: var(--blue-bright);
}

.home-project-card:hover {
  border-color: rgba(110, 181, 255, 0.4);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(59, 139, 255, 0.18);
}

.home-project-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #080c14;
}

.home-project-card--featured .home-project-card-media {
  position: absolute;
  inset: 0;
}

.home-project-card--wide .home-project-card-media {
  position: relative;
}

.home-project-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.06) brightness(0.84);
  transition: transform 0.85s var(--ease), filter 0.5s;
}

.home-project-card--featured .home-project-card-media img {
  object-position: center 35%;
}

.home-projects-showcase-stack .home-project-card:first-child .home-project-card-media img {
  object-position: center 30%;
}

.home-projects-showcase-stack .home-project-card:last-child .home-project-card-media img {
  object-position: center 45%;
}

.home-project-card:hover .home-project-card-media img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.08) brightness(0.9);
}

.home-project-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(3, 5, 10, 0.08) 0%, rgba(3, 5, 10, 0.4) 50%, rgba(3, 5, 10, 0.94) 100%),
    linear-gradient(135deg, rgba(59, 139, 255, 0.12) 0%, transparent 55%);
  transition: opacity 0.45s;
}

.home-project-card-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
}

.home-project-card:hover .home-project-card-shine {
  transform: translateX(120%);
}

.home-project-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
}

.home-project-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.home-project-card-location {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.home-project-card-type {
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 210, 228, 0.65);
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
}

.home-project-card-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

.home-project-card--featured .home-project-card-content h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.home-project-card-desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0.8rem;
  max-width: 48ch;
}

.home-project-card--featured .home-project-card-desc {
  max-width: 54ch;
}

.home-project-card--wide .home-project-card-desc {
  max-width: none;
}

.home-project-card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.home-project-card-tags li {
  padding: 0.3rem 0.65rem;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid rgba(110, 181, 255, 0.25);
  border-radius: 100px;
  background: rgba(59, 139, 255, 0.1);
  backdrop-filter: blur(6px);
}

.home-projects-showcase .home-section-cta {
  margin-top: clamp(2rem, 4vh, 2.75rem);
  text-align: center;
}

@media (max-width: 1024px) {
  .home-prod-showcase-card {
    flex: 0 0 calc((100% - clamp(1rem, 2vw, 1.25rem)) / 2);
    min-width: calc((100% - clamp(1rem, 2vw, 1.25rem)) / 2);
  }

  .home-prod-carousel-btn {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 1024px) {
  .home-projects-showcase-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-projects-showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .home-project-card--featured,
  .home-projects-showcase-stack,
  .home-project-card--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .home-project-card--featured {
    min-height: clamp(320px, 55vw, 400px);
  }

  .home-projects-showcase-stack .home-project-card {
    min-height: clamp(240px, 42vw, 300px);
  }

  .home-project-card--wide {
    display: block;
    min-height: 0;
  }

  .home-project-card--wide .home-project-card-media {
    position: absolute;
    inset: 0;
    min-height: clamp(240px, 42vw, 300px);
  }

  .home-project-card--wide .home-project-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-left: none;
    background: transparent;
  }
}

@media (max-width: 768px) {
  .home-projects-showcase-head-cta {
    width: 100%;
    justify-content: center;
  }

  .home-prod-carousel-btn--prev {
    order: 2;
  }

  .home-prod-carousel-viewport {
    order: 1;
    width: 100%;
    flex: 1 1 100%;
  }

  .home-prod-carousel-btn--next {
    order: 3;
  }

  .home-prod-carousel {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .home-prod-showcase-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .home-prod-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  }

  .home-prod-carousel-btn--prev {
    left: 0.35rem;
  }

  .home-prod-carousel-btn--next {
    right: 0.35rem;
  }

  .home-prod-carousel {
    position: relative;
    flex-wrap: nowrap;
  }

  .home-prod-carousel-btn:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-project-card-shine,
  .home-prod-showcase-media img {
    transition: none;
  }
}

/* ── Content-first homepage sections ── */
.home-intro .pd-overview__copy .section-title {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.journey-card--text {
  padding: 1.25rem 1.5rem;
  min-height: auto;
}

.journey-card--text .journey-card__body h3 {
  margin-bottom: 0.35rem;
}

.home-solutions-list,
.home-prod-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
}

.home-solutions-list a,
.home-prod-list a {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md, 12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.home-solutions-list a:hover,
.home-prod-list a:hover {
  border-color: rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.06);
  transform: translateX(4px);
}

.home-solutions-list i,
.home-prod-list i {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold, #c9a227);
  font-size: 1.1rem;
}

.home-solutions-list span,
.home-prod-list span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.home-solutions-list strong,
.home-prod-list strong {
  font-size: 1rem;
  font-weight: 600;
}

.home-solutions-list span span,
.home-prod-list span span {
  font-size: 0.9rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.65));
  line-height: 1.5;
}

/* ── Home solutions range grid ── */
.home-sol-range {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 18% 0%, rgba(201, 162, 39, 0.07), transparent 58%),
    var(--black, #0a0a0c);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-sol-range__glow {
  position: absolute;
  top: 6%;
  right: 8%;
  width: min(520px, 70vw);
  height: 280px;
  background: radial-gradient(ellipse, rgba(59, 139, 255, 0.1), transparent 70%);
  filter: blur(55px);
  pointer-events: none;
}

.home-sol-range .container-wide {
  position: relative;
  z-index: 1;
}

.home-sol-range__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
}

.home-sol-range-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(14, 14, 17, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s var(--ease, ease), border-color 0.35s ease, box-shadow 0.4s ease;
}

.home-sol-range-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 181, 255, 0.32);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(59, 139, 255, 0.1);
}

.home-sol-range-card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.home-sol-range-card__media--product {
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(59, 139, 255, 0.1), transparent 70%),
    rgba(0, 0, 0, 0.4);
}

.home-sol-range-card__media--app {
  aspect-ratio: 16 / 10;
}

.home-sol-range-card__media--app img {
  object-fit: contain;
  object-position: center bottom;
  padding: 0.75rem 1.5rem 0;
  max-height: 100%;
}

.home-sol-range-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease, ease);
}

.home-sol-range-card__media--product:not(.home-sol-range-card__media--app) img {
  object-fit: contain;
  padding: 0.85rem;
}

.home-sol-range-card__media--catalog {
  background: #e3e6ea;
}

.home-sol-range-card__media--catalog::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: 26%;
  height: 16%;
  background: #e3e6ea;
  pointer-events: none;
}

.home-sol-range-card__media--catalog img {
  object-fit: cover;
  object-position: 38% 44%;
  padding: 0;
  width: 118%;
  height: 118%;
  max-width: none;
  margin: -2% 0 0 -4%;
  clip-path: inset(14% 26% 22% 2%);
}

.home-sol-range-card:hover .home-sol-range-card__media img {
  transform: scale(1.04);
}

.home-sol-range-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.home-sol-range-card__body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.home-sol-range-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(110, 181, 255, 0.12);
  color: var(--blue-bright, #6eb5ff);
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.home-sol-range-card__body h3 {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.home-sol-range-card__body p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--silver-dim, rgba(255, 255, 255, 0.62));
  font-weight: 300;
}

.home-sol-range__extras {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: clamp(1.25rem, 2vw, 1.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.home-sol-range__extras-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim, rgba(255, 255, 255, 0.5));
  margin-bottom: 1rem;
}

.home-sol-range__extras-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.home-sol-range__extras-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  font-size: 0.85rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.home-sol-range__extras-list a:hover {
  border-color: rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.06);
}

.home-sol-range__extras-list i {
  color: var(--gold, #c9a227);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .home-sol-range__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .home-sol-range__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Home products range grid ── */
.home-prod-range {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(59, 139, 255, 0.1), transparent 58%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.55) 0%, transparent 100%);
  border-top: 1px solid rgba(110, 181, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-prod-range__glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(820px, 88vw);
  height: 320px;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.08), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.home-prod-range .container-wide {
  position: relative;
  z-index: 1;
}

.home-prod-range__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: 0.25rem;
}

.home-prod-range-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(10, 14, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.4s var(--ease, ease), border-color 0.35s ease, box-shadow 0.4s ease;
}

.home-prod-range-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(59, 139, 255, 0.12);
}

.home-prod-range-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 280px;
}

.home-prod-range-card__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.home-prod-range-card:not(.home-prod-range-card--featured) .home-prod-range-card__media {
  aspect-ratio: 4 / 3;
}

.home-prod-range-card--featured .home-prod-range-card__media {
  flex: 1.05;
  min-height: 280px;
}

.home-prod-range-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease, ease);
}

.home-prod-range-card__media--product {
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(59, 139, 255, 0.12), transparent 70%),
    rgba(0, 0, 0, 0.4);
}

.home-prod-range-card__media--product img {
  object-fit: contain;
  padding: 1rem;
}

.home-prod-range-card:hover .home-prod-range-card__media img {
  transform: scale(1.05);
}

.home-prod-range-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.home-prod-range-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold, #c9a227);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(201, 162, 39, 0.35);
  backdrop-filter: blur(8px);
}

.home-prod-range-card__body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.home-prod-range-card--featured .home-prod-range-card__body {
  flex: 0.95;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.home-prod-range-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold, #c9a227);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.home-prod-range-card__body h3 {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 600;
  line-height: 1.25;
}

.home-prod-range-card--featured .home-prod-range-card__body h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.home-prod-range-card__body p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--silver-dim, rgba(255, 255, 255, 0.62));
  font-weight: 300;
}

.home-prod-range-card--featured .home-prod-range-card__body p {
  font-size: 0.92rem;
  max-width: 34ch;
}

.home-prod-range-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--blue-bright, #6eb5ff);
  transition: gap 0.25s ease;
}

.home-prod-range-card--featured:hover .home-prod-range-card__cta {
  gap: 0.55rem;
}

@media (max-width: 900px) {
  .home-prod-range__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-prod-range-card--featured {
    flex-direction: column;
    min-height: auto;
  }

  .home-prod-range-card--featured .home-prod-range-card__body {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .home-prod-range-card--featured .home-prod-range-card__media {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .home-prod-range__grid {
    grid-template-columns: 1fr;
  }
}

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

/* Smart Living guide — editorial split */
.home-guide {
  background: var(--black-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-guide__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.home-guide__head {
  margin-bottom: clamp(1.75rem, 3vh, 2.25rem);
}

.home-guide__head .section-lead {
  max-width: 42rem;
  margin-bottom: 0;
}

.home-guide__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-guide__step {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
  padding: clamp(1.35rem, 2.5vh, 1.75rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.35s ease;
}

.home-guide__step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-guide__step:hover {
  border-bottom-color: rgba(110, 181, 255, 0.12);
}

.home-guide__step-num {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold, #c9a227);
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.22);
}

.home-guide__step-body h3 {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.home-guide__step-body p {
  max-width: 48ch;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--silver, rgba(255, 255, 255, 0.72));
  margin-bottom: 0.65rem;
}

.home-guide__figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  background: rgba(8, 10, 16, 0.6);
}

.home-guide__figure img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 260px;
  max-height: 520px;
  object-fit: cover;
  object-position: center 42%;
}

.home-guide__caption {
  padding: 0.85rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim, rgba(255, 255, 255, 0.5));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.home-guide__layout.reveal.visible .home-guide__step {
  animation: homeGuideIn 0.65s var(--ease, ease) both;
}

.home-guide__layout.reveal.visible .home-guide__step:nth-child(1) { animation-delay: 0.06s; }
.home-guide__layout.reveal.visible .home-guide__step:nth-child(2) { animation-delay: 0.16s; }
.home-guide__layout.reveal.visible .home-guide__step:nth-child(3) { animation-delay: 0.26s; }

@keyframes homeGuideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html[data-theme="light"] .home-guide__step-body h3 {
  color: #1a1a1e;
}

html[data-theme="light"] .home-guide__steps {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .home-guide__step {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .home-guide__figure {
  border-color: rgba(0, 0, 0, 0.08);
}

@media (min-width: 960px) {
  .home-guide__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.88fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .home-guide__figure {
    position: sticky;
    top: clamp(5.5rem, 12vh, 7rem);
  }
}

.home-guide-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.home-guide-num {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold, #c9a227);
  padding-top: 0.15rem;
}

.home-guide-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.home-guide-list p {
  font-size: 0.92rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.65));
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.home-projects-compact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

/* Projects — editorial showcase (homepage) */
.home-projects-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
  align-items: stretch;
}

.home-projects-editorial__media {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
  background: rgba(8, 10, 16, 0.5);
}

.home-projects-editorial__media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 560px;
  object-fit: cover;
  object-position: center 45%;
}

.home-projects-editorial__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.home-projects-editorial__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(59, 139, 255, 0.28);
  border: 1px solid rgba(110, 181, 255, 0.35);
}

.home-projects-editorial__panel {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vh, 1rem);
}

.home-projects-editorial .home-projects-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(6, 8, 14, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.home-projects-editorial .home-projects-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(110, 181, 255, 0.55), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.home-projects-editorial .home-projects-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(59, 139, 255, 0.1), transparent 50%);
  pointer-events: none;
}

.home-projects-featured__header,
.home-projects-featured__lead,
.home-projects-featured__footer {
  position: relative;
  z-index: 1;
}

.home-projects-featured__header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-projects-featured__meta {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
}

.home-projects-featured__meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-bright);
  line-height: 1.35;
}

.home-projects-featured__meta i {
  flex-shrink: 0;
  font-size: 0.82rem;
  opacity: 0.85;
}

.home-projects-featured h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.home-projects-featured__lead {
  max-width: none;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--silver);
  margin: 0 0 1.15rem;
}

.home-projects-featured__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-projects-featured__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-projects-featured__tags li {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.home-projects-editorial__label {
  margin: clamp(1.25rem, 2.5vh, 1.5rem) 0 0.85rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.home-projects-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.home-projects-index__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-projects-index__item:last-child {
  border-bottom: 0;
}

.home-projects-index__link {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.home-projects-index__link:hover {
  opacity: 0.92;
}

.home-projects-index__link:hover .home-projects-index__arrow {
  transform: translate(2px, -2px);
  color: var(--blue-bright);
}

.home-projects-index__thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 3 / 2;
}

.home-projects-index__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-projects-index__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.home-projects-index__num {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold, #c9a227);
}

.home-projects-index__copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.home-projects-index__detail {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--silver-dim);
}

.home-projects-index__arrow {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.3s ease, color 0.3s ease;
}

.home-projects-editorial.reveal.visible .home-projects-index__item {
  animation: homeProjectsIn 0.6s var(--ease, ease) both;
}

.home-projects-editorial.reveal.visible .home-projects-index__item:nth-child(1) { animation-delay: 0.08s; }
.home-projects-editorial.reveal.visible .home-projects-index__item:nth-child(2) { animation-delay: 0.16s; }
.home-projects-editorial.reveal.visible .home-projects-index__item:nth-child(3) { animation-delay: 0.24s; }

@keyframes homeProjectsIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

html[data-theme="light"] .home-projects-featured h3,
html[data-theme="light"] .home-projects-index__copy strong {
  color: #1a1a1e;
}

html[data-theme="light"] .home-projects-editorial .home-projects-featured {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.9)),
    rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .home-projects-featured__header,
html[data-theme="light"] .home-projects-featured__footer {
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .home-projects-index__item {
  border-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
  .home-projects-featured__meta {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

@media (min-width: 960px) {
  .home-projects-editorial {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: clamp(2rem, 4vw, 3rem);
  }

  .home-projects-editorial__media {
    min-height: 100%;
  }

  .home-projects-editorial__media img {
    min-height: 100%;
    max-height: none;
    height: 100%;
  }

  .home-projects-editorial__panel {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: clamp(1.5rem, 3vw, 2.25rem);
  }

  html[data-theme="light"] .home-projects-editorial__panel {
    border-left-color: rgba(0, 0, 0, 0.08);
  }
}

.home-projects-text-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.home-projects-text-list a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  border-radius: var(--radius-md, 12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.home-projects-text-list a:hover {
  border-color: rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.06);
}

.home-projects-text-list strong {
  font-size: 1rem;
}

.home-projects-text-list span {
  font-size: 0.9rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.65));
  line-height: 1.55;
}

.home-why-card--icon {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.home-why-card--icon .home-why-card__icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold, #c9a227);
  font-size: 1.25rem;
}

.home-why-card--icon .home-why-card__media {
  display: none;
}

.testimonial-card {
  padding-top: 1.75rem;
}

@media (max-width: 900px) {
  .home-projects-compact__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Home products gallery (DEVA-style hover blur) ── */
.home-prod-gallery {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(59, 139, 255, 0.1), transparent 58%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.55) 0%, transparent 100%);
  border-top: 1px solid rgba(110, 181, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-prod-gallery__glow {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: min(780px, 88vw);
  height: 300px;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.07), transparent 70%);
  filter: blur(55px);
  pointer-events: none;
}

.home-prod-gallery .container-wide {
  position: relative;
  z-index: 1;
}

.home-prod-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
}

.home-prod-gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0e16;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.home-prod-gallery__item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter 0.45s ease, transform 0.55s ease;
}

.home-prod-gallery__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem;
  text-align: center;
  background: rgba(6, 10, 18, 0.55);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.home-prod-gallery__overlay h3 {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: #fff;
  transform: translateY(12px);
  transition: transform 0.4s ease;
}

.home-prod-gallery__overlay p {
  max-width: 28ch;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
  transform: translateY(12px);
  transition: transform 0.4s ease 0.05s;
}

.home-prod-gallery__btn {
  margin-top: 0.35rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.78rem;
  transform: translateY(14px);
  transition: transform 0.4s ease 0.1s, box-shadow 0.3s ease;
  pointer-events: none;
}

.home-prod-gallery__item:hover > img,
.home-prod-gallery__item:focus-within > img {
  filter: blur(6px) brightness(0.72);
  transform: scale(1.06);
}

.home-prod-gallery__item:hover .home-prod-gallery__overlay,
.home-prod-gallery__item:focus-within .home-prod-gallery__overlay {
  opacity: 1;
}

.home-prod-gallery__item:hover .home-prod-gallery__overlay h3,
.home-prod-gallery__item:hover .home-prod-gallery__overlay p,
.home-prod-gallery__item:hover .home-prod-gallery__overlay .home-prod-gallery__btn,
.home-prod-gallery__item:focus-within .home-prod-gallery__overlay h3,
.home-prod-gallery__item:focus-within .home-prod-gallery__overlay p,
.home-prod-gallery__item:focus-within .home-prod-gallery__overlay .home-prod-gallery__btn {
  transform: translateY(0);
}

.home-prod-gallery__item:hover .home-prod-gallery__btn,
.home-prod-gallery__item:focus-within .home-prod-gallery__btn {
  pointer-events: auto;
}

@media (hover: none) {
  .home-prod-gallery__overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 35%, rgba(6, 10, 18, 0.88) 100%);
  }

  .home-prod-gallery__overlay h3,
  .home-prod-gallery__overlay p,
  .home-prod-gallery__btn {
    transform: translateY(0);
  }

  .home-prod-gallery__btn {
    pointer-events: auto;
  }

  .home-prod-gallery__item > img {
    filter: none;
  }
}

@media (max-width: 900px) {
  .home-prod-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .home-prod-gallery__grid {
    grid-template-columns: 1fr;
  }

  .home-prod-gallery__item {
    aspect-ratio: 16 / 11;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-prod-gallery__item > img,
  .home-prod-gallery__overlay,
  .home-prod-gallery__overlay h3,
  .home-prod-gallery__overlay p,
  .home-prod-gallery__btn {
    transition: none;
  }
}
