/* RF Depot — frontpage */
:root {
  --rf-orange: #f58220;
  --rf-orange-deep: #d66a0f;
  --rf-ink: #141414;
  --rf-steel: #1e2a32;
  --rf-mist: #eef1f3;
  --rf-warn: #ffe566;
}

.home-breakout {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.home-hero {
  position: relative;
  min-height: min(58vh, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--rf-steel);
  color: #fff;
}

@media (max-width: 767.98px) {
  .home-hero {
    min-height: min(48vh, 420px);
  }

  .home-hero__content {
    padding-bottom: 2rem;
  }

  .home-hero__actions .home-btn {
    width: 100%;
    justify-content: center;
  }

  .home-countdown__units {
    gap: 0.5rem;
  }

  .home-countdown__unit {
    min-width: 3.75rem;
    padding: 0.55rem 0.35rem;
  }
}

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

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: home-kenburns 22s ease-out forwards;
}

.home-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.35) 0%, rgba(20, 20, 20, 0.15) 35%, rgba(20, 20, 20, 0.82) 100%),
    linear-gradient(90deg, rgba(30, 42, 50, 0.55) 0%, transparent 55%);
  z-index: 1;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 3.5rem;
  animation: home-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.home-hero__brand img {
  width: clamp(56px, 9vw, 84px);
  height: auto;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
  animation: home-pop 0.7s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero__brand-text {
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.home-hero__brand-text span {
  display: block;
  color: var(--rf-orange);
}

.home-hero__headline {
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  max-width: 18ch;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.home-hero__lede {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.45;
  max-width: 38ch;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.home-btn {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  border-radius: 2px;
  padding: 0.85rem 1.35rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.home-btn:hover {
  transform: translateY(-2px);
}

.home-btn--primary {
  background: var(--rf-orange);
  color: #111 !important;
}

.home-btn--primary:hover {
  background: #ff9a45;
  color: #111 !important;
}

.home-btn--ghost {
  background: transparent;
  color: #fff !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

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

.home-stripe {
  background: var(--rf-orange);
  color: var(--rf-ink);
  padding: 0.65rem 1rem;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.home-panel {
  padding: 3rem 0 2rem;
}

.home-panel__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.home-panel h2 {
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-transform: uppercase;
  color: var(--rf-ink);
  margin-bottom: 0.75rem;
}

.home-panel p {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #333;
  margin-bottom: 0.75rem;
}

.home-panel strong {
  color: var(--rf-orange-deep);
}

.home-countdown {
  background:
    radial-gradient(ellipse at top, rgba(245, 130, 32, 0.18), transparent 55%),
    var(--rf-ink);
  color: #fff;
  padding: 2.75rem 1.25rem 3.25rem;
  text-align: center;
}

.home-countdown__label {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--rf-orange);
  margin-bottom: 1rem;
}

.home-countdown__clock {
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  min-height: 2.6em;
}

.home-countdown__units {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.home-countdown__unit {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 4.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: 2px;
}

.home-countdown__unit strong {
  display: block;
  font-family: 'Archivo Black', Impact, sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--rf-warn);
}

.home-countdown__unit span {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.home-alert a {
  font-weight: 700;
}

@keyframes home-kenburns {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-pop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  .home-hero {
    min-height: 48vh;
    align-items: flex-end;
  }

  .home-hero__content {
    padding-bottom: 2.25rem;
  }

  .home-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__media img,
  .home-hero__content,
  .home-hero__brand img {
    animation: none;
  }
}
