/* ==========================================================================
   Feniex Homepage Center-Court Redesign
   Scoped to .home-redesign — header/footer unchanged
   ========================================================================== */

.home-redesign {
  --hr-bg: #050508;
  --hr-surface: #0c0d12;
  --hr-surface-2: #12141c;
  --hr-line: rgba(255, 255, 255, 0.08);
  --hr-ink: #f4f5f7;
  --hr-muted: rgba(244, 245, 247, 0.62);
  --hr-accent: #EE3A23;
  --hr-accent-soft: #f2523a;
  --hr-accent-hover: #d6321f;
  --hr-blue: #3aa0ff;
  --hr-amber: #f5a623;
  --hr-red-glow: rgba(238, 58, 35, 0.35);
  --hr-blue-glow: rgba(58, 160, 255, 0.28);
  --hr-max: 1280px;
  --hr-pad: clamp(20px, 4vw, 48px);
  --hr-section-y: clamp(72px, 10vw, 120px);

  background: var(--hr-bg);
  color: var(--hr-ink);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: clip;
}

.home-redesign *,
.home-redesign *::before,
.home-redesign *::after {
  box-sizing: border-box;
}

.home-redesign .hr-eyebrow {
  margin: 0 0 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hr-accent);
}

.home-redesign .hr-section-title {
  margin: 0 0 16px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.home-redesign .hr-section-lead {
  margin: 0;
  max-width: 560px;
  font-size: clamp(0.95rem, 1.6vw, 1.0625rem);
  line-height: 1.65;
  color: var(--hr-muted);
}

.home-redesign .hr-section-head {
  max-width: var(--hr-max);
  margin: 0 auto var(--hr-section-y);
  padding: 0 var(--hr-pad);
}

.home-redesign .hr-section-head .hr-section-lead {
  margin-top: 4px;
}

.home-redesign .hr-section-cta {
  max-width: var(--hr-max);
  margin: clamp(32px, 5vw, 48px) auto 0;
  padding: 0 var(--hr-pad);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.home-redesign .hr-trust .hr-section-cta {
  margin-top: clamp(24px, 4vw, 36px);
  padding-bottom: clamp(8px, 2vw, 16px);
}

.home-redesign .hr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  white-space: nowrap;
}

.home-redesign .hr-btn--primary {
  background: var(--hr-accent);
  color: #fff;
  border-color: var(--hr-accent);
  box-shadow: 0 4px 24px var(--hr-red-glow);
}

.home-redesign .hr-btn--primary:hover {
  background: var(--hr-accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--hr-red-glow);
}

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

.home-redesign .hr-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.home-redesign .hr-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
}

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

.home-redesign .hr-btn--sm {
  padding: 10px 20px;
  font-size: 11px;
}

.home-redesign .hr-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-redesign .hr-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* HERO */
.home-redesign .hr-hero {
  position: relative;
  min-height: max(720px, 100dvh);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 0;
}

.home-redesign .hr-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Extend media below hero so the fade hides the hard video crop */
  bottom: -140px;
}

.home-redesign .hr-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(0.90);
  transform-origin: center center;
}

.home-redesign .hr-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 8, 0.72) 0%,
      rgba(5, 5, 8, 0.35) 32%,
      rgba(5, 5, 8, 0.2) 52%,
      rgba(5, 5, 8, 0.82) 78%,
      #050508 100%
    ),
    linear-gradient(90deg, rgba(5, 5, 8, 0.82) 0%, rgba(5, 5, 8, 0.35) 42%, transparent 68%);
}

/* Bottom fade bridge into trust band */
.home-redesign .hr-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(140px, 18vh, 220px);
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 8, 0.55) 35%, #050508 100%);
  z-index: 1;
  pointer-events: none;
}

.home-redesign .hr-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}

.home-redesign .hr-hero-glow--red {
  width: 340px;
  height: 340px;
  top: 15%;
  left: -5%;
  background: var(--hr-red-glow);
  animation: hr-glow-pulse 8s ease-in-out infinite;
}

.home-redesign .hr-hero-glow--blue {
  width: 280px;
  height: 280px;
  top: 20%;
  right: 8%;
  background: var(--hr-blue-glow);
  animation: hr-glow-pulse 10s ease-in-out infinite reverse;
}

.home-redesign .hr-hero-glow--amber {
  width: 200px;
  height: 200px;
  bottom: 25%;
  right: 25%;
  background: rgba(245, 166, 35, 0.18);
  animation: hr-glow-pulse 12s ease-in-out infinite 2s;
}

@keyframes hr-glow-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}

.home-redesign .hr-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  opacity: 0.35;
}

.home-redesign .hr-hero-inner {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: clamp(96px, 12vh, 132px);
  display: flex;
  justify-content: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 var(--hr-pad);
}

.home-redesign .hr-hero-inner.hr-reveal {
  transform: translateY(28px);
}

.home-redesign .hr-hero-inner.hr-reveal.is-visible {
  transform: translateY(0);
}

.home-redesign .hr-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
}

.home-redesign .hr-hero-ctas .hr-btn--primary,
.home-redesign .hr-hero-ctas .hr-btn--secondary {
  background: var(--hr-accent);
  border-color: var(--hr-accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--hr-red-glow);
  backdrop-filter: none;
}

.home-redesign .hr-hero-ctas .hr-btn--primary:hover,
.home-redesign .hr-hero-ctas .hr-btn--secondary:hover {
  background: var(--hr-accent-hover);
  border-color: var(--hr-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(238, 58, 35, 0.45);
}

.home-redesign .hr-hero-scroll {
  position: absolute;
  bottom: clamp(72px, 10vh, 112px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.4;
}

.home-redesign .hr-hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5));
  animation: hr-scroll-line 2s ease-in-out infinite;
}

@keyframes hr-scroll-line {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 0.8; }
}

@media (max-width: 768px) {
  .home-redesign .hr-hero {
    min-height: max(680px, 100svh);
    align-items: flex-end;
    justify-content: center;
  }

  .home-redesign .hr-hero-media {
    bottom: -100px;
  }

  .home-redesign .hr-hero-video {
    height: 100%;
    object-position: center 36%;
    transform: scale(0.90);
  }

  .home-redesign .hr-hero-inner {
    bottom: clamp(88px, 11svh, 120px);
  }

  .home-redesign .hr-hero-ctas {
    flex-direction: column;
    align-items: center;
    width: min(100%, 360px);
  }

  .home-redesign .hr-hero-ctas .hr-btn {
    width: 100%;
    justify-content: center;
  }

  .home-redesign .hr-hero-scroll {
    bottom: clamp(56px, 8svh, 88px);
  }
}

/* TRUST */
.home-redesign .hr-trust {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  border-block: 1px solid var(--hr-line);
  border-top-color: transparent;
  background: linear-gradient(180deg, #050508 0%, var(--hr-surface) 28%, var(--hr-surface) 100%);
}

.home-redesign .hr-trust-inner {
  max-width: var(--hr-max);
  margin: 0 auto;
  padding: 20px var(--hr-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
}

.home-redesign .hr-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.home-redesign .hr-trust-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--hr-accent);
  opacity: 0.85;
}

.home-redesign .hr-trust-divider {
  width: 1px;
  height: 20px;
  background: var(--hr-line);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .home-redesign .hr-trust-divider { display: none; }
  .home-redesign .hr-trust-item {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    white-space: normal;
    text-align: center;
    font-size: 11px;
  }
}

/* ECOSYSTEM */
.home-redesign .hr-ecosystem {
  padding: var(--hr-section-y) 0;
  background: var(--hr-bg);
}

.home-redesign .hr-eco-grid {
  max-width: var(--hr-max);
  margin: 0 auto;
  padding: 0 var(--hr-pad);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.home-redesign .hr-eco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: 12px;
  background: var(--hr-surface);
  border: 1px solid var(--hr-line);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  min-height: 320px;
}

.home-redesign .hr-eco-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, var(--hr-red-glow), transparent 70%);
}

.home-redesign .hr-eco-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.home-redesign .hr-eco-card:hover .hr-eco-card-glow { opacity: 1; }

.home-redesign .hr-eco-card-icon {
  position: relative;
  z-index: 1;
  height: 156px;
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  padding: 10px 12px;
  isolation: isolate;
}

.home-redesign .hr-eco-card[data-accent="warn"] .hr-eco-card-icon {
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.home-redesign .hr-eco-card[data-accent="control"] .hr-eco-card-icon {
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.home-redesign .hr-eco-card[data-accent="build"] .hr-eco-card-icon {
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.home-redesign .hr-eco-card[data-accent="illuminate"] .hr-eco-card-icon {
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.home-redesign .hr-eco-card[data-accent="support"] .hr-eco-card-icon {
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.home-redesign .hr-eco-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-redesign .hr-eco-card:hover .hr-eco-card-icon img { transform: scale(1.06); }

.home-redesign .hr-eco-card-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.home-redesign .hr-eco-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hr-accent);
}

.home-redesign .hr-eco-title {
  margin: 0 0 8px;
  font-family: "Oswald", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-redesign .hr-eco-desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--hr-muted);
}

.home-redesign .hr-eco-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hr-accent);
  transition: color 0.25s, gap 0.25s;
}

.home-redesign .hr-eco-link svg { width: 14px; height: 14px; }
.home-redesign .hr-eco-card:hover .hr-eco-link { color: var(--hr-accent-soft); gap: 10px; }

@media (max-width: 1100px) {
  .home-redesign .hr-eco-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .home-redesign .hr-eco-grid { grid-template-columns: 1fr; }
  .home-redesign .hr-eco-card { min-height: auto; }
}

/* BUILD-A-CAR */
.home-redesign .hr-build {
  position: relative;
  padding: var(--hr-section-y) 0;
  background: var(--hr-surface);
  overflow: hidden;
}

.home-redesign .hr-build-blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 160, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 160, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 65% 50%, black, transparent);
  opacity: 0.5;
  pointer-events: none;
}

.home-redesign .hr-build-layout {
  position: relative;
  z-index: 1;
  max-width: var(--hr-max);
  margin: 0 auto;
  padding: 0 var(--hr-pad);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.home-redesign .hr-build-features {
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-redesign .hr-build-features li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--hr-muted);
  line-height: 1.5;
}

.home-redesign .hr-build-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hr-accent);
  box-shadow: 0 0 8px var(--hr-red-glow);
}

.home-redesign .hr-build-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hr-line);
  background: #000;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.home-redesign .hr-build-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.08);
  transform-origin: center center;
}

@media (max-width: 900px) {
  .home-redesign .hr-build-layout { grid-template-columns: 1fr; }
}

/* INNOVATION */
.home-redesign .hr-innovation {
  padding: var(--hr-section-y) 0;
  background: var(--hr-bg);
}

.home-redesign .hr-innovation-split {
  max-width: var(--hr-max);
  margin: 0 auto;
  padding: 0 var(--hr-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-redesign .hr-inno-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--hr-surface);
  border: 1px solid var(--hr-line);
  transition: border-color 0.3s, transform 0.3s;
}

.home-redesign .hr-inno-panel:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.home-redesign .hr-inno-panel-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.5;
}

.home-redesign .hr-inno-panel-glow--blue { top: -40px; right: -40px; background: var(--hr-blue-glow); }
.home-redesign .hr-inno-panel-glow--red { top: -40px; left: -40px; background: var(--hr-red-glow); }

.home-redesign .hr-inno-panel-media {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.home-redesign .hr-inno-panel-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.6));
}

.home-redesign .hr-inno-panel:first-child .hr-inno-panel-media {
  height: 280px;
  padding: 12px;
  overflow: hidden;
}

.home-redesign .hr-inno-panel:first-child .hr-inno-panel-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: scale(1.18);
  transform-origin: center center;
}

.home-redesign .hr-inno-panel:last-child .hr-inno-panel-media {
  height: 280px;
  padding: 12px;
  overflow: hidden;
}

.home-redesign .hr-inno-panel:last-child .hr-inno-panel-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: scale(1.18);
  transform-origin: center center;
}

.home-redesign .hr-inno-panel-copy { padding: 28px 28px 32px; margin-top: auto; }

.home-redesign .hr-inno-name {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.home-redesign .hr-inno-desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hr-muted);
}

.home-redesign .hr-inno-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 768px) {
  .home-redesign .hr-innovation-split { grid-template-columns: 1fr; }
}

/* UPFIT */
.home-redesign .hr-upfit {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hr-surface);
}

.home-redesign .hr-upfit-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: max(var(--hr-pad), calc((100vw - var(--hr-max)) / 2 + var(--hr-pad)));
  pointer-events: none;
}

.home-redesign .hr-upfit-media img {
  height: 100%;
  width: auto;
  max-width: min(60vw, 680px);
  object-fit: contain;
  object-position: right center;
  display: block;
}

.home-redesign .hr-upfit-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--hr-surface) 0%,
    var(--hr-surface) 44%,
    transparent 44%,
    transparent 100%
  );
  pointer-events: none;
}

.home-redesign .hr-upfit-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: var(--hr-section-y) var(--hr-pad);
  margin-left: max(var(--hr-pad), calc((100vw - var(--hr-max)) / 2 + var(--hr-pad)));
}

.home-redesign .hr-upfit-list {
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-redesign .hr-upfit-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--hr-muted);
}

.home-redesign .hr-upfit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--hr-blue);
  box-shadow: 0 0 8px var(--hr-blue-glow);
}

/* PATHWAYS */
.home-redesign .hr-pathways {
  padding: var(--hr-section-y) 0;
  background: var(--hr-surface);
}

.home-redesign .hr-path-grid {
  max-width: var(--hr-max);
  margin: 0 auto;
  padding: 0 var(--hr-pad);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.home-redesign .hr-path-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  border-radius: 12px;
  background: var(--hr-surface-2);
  border: 1px solid var(--hr-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  min-height: 220px;
}

.home-redesign .hr-path-card:hover {
  transform: translateY(-3px);
  border-color: rgba(238, 58, 35, 0.35);
  background: rgba(238, 58, 35, 0.04);
}

.home-redesign .hr-path-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 16px;
}

.home-redesign .hr-path-title {
  margin: 0 0 8px;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.home-redesign .hr-path-desc {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: var(--hr-muted);
}

.home-redesign .hr-path-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hr-accent);
  transition: gap 0.25s;
}

.home-redesign .hr-path-cta svg { width: 14px; height: 14px; }
.home-redesign .hr-path-card:hover .hr-path-cta { gap: 10px; }

@media (max-width: 1100px) {
  .home-redesign .hr-path-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .home-redesign .hr-path-grid { grid-template-columns: 1fr; }
}

/* CATEGORIES */
.home-redesign .hr-categories {
  padding: var(--hr-section-y) 0 calc(var(--hr-section-y) + 16px);
  background: var(--hr-bg);
}

.home-redesign .hr-cat-grid {
  max-width: var(--hr-max);
  margin: 0 auto;
  padding: 0 var(--hr-pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.home-redesign .hr-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 24px;
  border-radius: 12px;
  background: var(--hr-surface);
  border: 1px solid var(--hr-line);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.home-redesign .hr-cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
}

.home-redesign .hr-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.home-redesign .hr-cat-card:hover::before { opacity: 1; }

.home-redesign .hr-cat-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 152px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.home-redesign .hr-cat-img img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: scale(1.12);
  transform-origin: center center;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-redesign .hr-cat-card:hover .hr-cat-img img { transform: scale(1.18); }

.home-redesign .hr-cat-name {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

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

@media (max-width: 480px) {
  .home-redesign .hr-cat-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .home-redesign .hr-reveal { opacity: 1; transform: none; transition: none; }
  .home-redesign .hr-hero-glow,
  .home-redesign .hr-hero-scroll-line { animation: none; }
}

.home-shell .home-redesign { flex: 1; min-height: 0; }
.home-page .home-redesign { margin-top: 0; }
