@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --home-bg: #060708;
  --home-bg-elevated: #101215;
  --home-bg-panel: rgba(16, 18, 21, 0.82);
  --home-text: #f2eee8;
  --home-muted: #a8a39d;
  --home-muted-strong: #c7c1ba;
  --home-accent: #b82022;
  --home-accent-soft: rgba(184, 32, 34, 0.18);
  --home-border: rgba(255, 255, 255, 0.09);
  --home-border-strong: rgba(255, 255, 255, 0.14);
  --home-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --home-radius: 28px;
  --home-content: 1280px;
  --home-copy: 736px;
  --home-gutter: clamp(1.25rem, 3vw, 2.5rem);
}

.home-page {
  color: var(--home-text);
  background:
    radial-gradient(circle at top, rgba(184, 32, 34, 0.07), transparent 28%),
    radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.035), transparent 26%),
    linear-gradient(180deg, #050607 0%, #070809 45%, #050607 100%);
}

.home-page a {
  color: inherit;
}

.home-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.home-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem var(--home-gutter) 0;
  transition: background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.home-header.is-scrolled {
  background: rgba(6, 7, 8, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  padding-top: 0.65rem;
}

.home-nav {
  max-width: var(--home-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0 0.9rem;
}

.home-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-nav-group {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.home-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.home-links a {
  color: var(--home-muted);
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.home-links a:hover,
.home-links a:focus-visible {
  color: var(--home-text);
}

.home-nav-cta,
.home-btn-primary,
.home-btn-secondary {
  min-height: 46px;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.home-nav-cta,
.home-btn-primary {
  background: linear-gradient(180deg, #d53435 0%, #971b1d 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(128, 14, 16, 0.28);
}

.home-nav-cta:hover,
.home-nav-cta:focus-visible,
.home-btn-primary:hover,
.home-btn-primary:focus-visible {
  background: linear-gradient(180deg, #df3c3d 0%, #a31d20 100%);
  color: #fff;
}

.home-btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--home-border-strong);
  color: var(--home-text);
}

.home-btn-secondary:hover,
.home-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--home-text);
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  color: var(--home-muted-strong);
  font-size: 0.95rem;
  transition: color 180ms ease, transform 180ms ease;
}

.home-text-link:hover,
.home-text-link:focus-visible {
  color: var(--home-text);
  transform: translateX(2px);
}

.home-hero {
  position: relative;
  min-height: 94vh;
  padding: 9.25rem var(--home-gutter) 5.5rem;
  display: flex;
  align-items: center;
  overflow: clip;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10rem;
  background: linear-gradient(180deg, rgba(5, 6, 7, 0), rgba(5, 6, 7, 0.88) 68%, #050607 100%);
  pointer-events: none;
}

.home-hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.home-hero-glow-a {
  width: 58rem;
  height: 58rem;
  top: -20rem;
  right: -12rem;
  background: radial-gradient(circle, rgba(170, 24, 28, 0.24) 0%, rgba(170, 24, 28, 0.08) 34%, transparent 70%);
}

.home-hero-glow-b {
  width: 42rem;
  height: 42rem;
  right: 12%;
  bottom: -16rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 68%);
}

.home-hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.65) 18%, rgba(0,0,0,0.95) 72%, transparent 100%);
  opacity: 0.14;
}

.home-hero-inner,
.home-section,
.home-footer {
  width: 100%;
  max-width: var(--home-content);
  margin: 0 auto;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, var(--home-copy)) minmax(300px, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.home-hero-copy {
  width: 100%;
  max-width: var(--home-copy);
  position: relative;
  z-index: 2;
}

.home-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #d5cec5;
}

.home-page .home-hero h1,
.home-page .home-section h2,
.home-page .home-card h3 {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-transform: none;
}

.home-hero h1 {
  margin-top: 1rem;
  max-width: 8ch;
  font-size: clamp(4.3rem, 8.5vw, 7.5rem);
  line-height: 0.88;
  text-wrap: balance;
}

.home-lead,
.home-copy-block p,
.home-card p,
.home-footer-support {
  color: var(--home-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-lead {
  margin-top: 1.35rem;
  max-width: 38rem;
}

.home-access-line {
  margin-top: 1.7rem;
  max-width: 38rem;
  color: var(--home-muted-strong);
  font-size: 0.98rem;
  line-height: 1.65;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1rem;
  align-items: center;
  margin-top: 2.25rem;
}

.home-hero-visual {
  justify-self: end;
  align-self: center;
  width: min(100%, 430px);
  transform: translateY(1.2rem);
}

.home-visual-shell {
  position: relative;
  aspect-ratio: 0.92;
  border-radius: 50%;
  padding: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08), rgba(255,255,255,0.01) 38%, transparent 62%);
  box-shadow: none;
}

.home-visual-shell::before {
  content: "";
  position: absolute;
  inset: 8% 8% auto auto;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.5), rgba(255,255,255,0.05) 55%, transparent 72%);
  filter: blur(2px);
  pointer-events: none;
}

.home-visual-surface {
  position: relative;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, rgba(255,255,255,0.12), transparent 11%),
    radial-gradient(circle at 50% 50%, rgba(12,13,15,0.22), rgba(8,9,11,0.92) 54%, rgba(4,5,6,1) 100%),
    linear-gradient(160deg, #13171c 0%, #090b0d 56%, #050607 100%);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    inset 0 -80px 120px rgba(0,0,0,0.42),
    0 40px 90px rgba(0,0,0,0.42);
}

.home-visual-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 54%, transparent 0 28%, rgba(255,255,255,0.05) 28.5%, transparent 29.5%),
    radial-gradient(circle at 50% 54%, transparent 0 41%, rgba(255,255,255,0.035) 41.5%, transparent 42.5%),
    radial-gradient(circle at 50% 54%, transparent 0 55%, rgba(255,255,255,0.022) 55.5%, transparent 56.5%);
  opacity: 0.85;
}

.home-visual-surface::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 12%;
  height: 24%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184,32,34,0.42) 0%, rgba(184,32,34,0.18) 42%, transparent 72%);
  filter: blur(22px);
}

.home-visual-track,
.home-visual-track-alt {
  position: absolute;
  left: 6%;
  right: 6%;
  width: auto;
  height: 34%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  transform: none;
}

.home-visual-track-alt {
  left: 13%;
  right: 13%;
  bottom: 30%;
  opacity: 0.48;
  transform: none;
}

.home-visual-track {
  bottom: 19%;
}

.home-visual-highlight {
  position: absolute;
  top: 22%;
  right: 24%;
  width: 26%;
  height: 0.8%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  filter: blur(0.6px);
}

.home-visual-orbit {
  position: absolute;
  top: 31%;
  right: 31%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 22px rgba(255,255,255,0.015),
    0 0 0 58px rgba(255,255,255,0.008);
}

.home-visual-orbit::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1), rgba(255,255,255,0.02) 55%, transparent 72%);
}

.home-visual-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180%;
  height: 180%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}

.home-section {
  position: relative;
  padding: 2.75rem var(--home-gutter) 0;
}

.home-section + .home-section {
  margin-top: 1.5rem;
}

.home-section-intro {
  padding-top: 1.4rem;
}

.home-section-head {
  max-width: var(--home-copy);
  margin-bottom: 0.85rem;
}

.home-section h2 {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.home-copy-block {
  margin-top: 0;
  max-width: var(--home-copy);
}

.home-copy-block p + p {
  margin-top: 1rem;
}

.home-panel,
.home-access {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.home-panel {
  position: relative;
  isolation: isolate;
}

.home-panel::before,
.home-access::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.018)),
    rgba(16, 18, 21, 0.84);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.home-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto calc(50% - 50vw) 0 auto;
  width: min(46vw, 540px);
  height: 78%;
  background: radial-gradient(circle, rgba(184, 32, 34, 0.1), transparent 72%);
  pointer-events: none;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.7rem;
}

.home-card {
  min-height: 260px;
  padding: 1.6rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)),
    rgba(16, 18, 21, 0.78);
  border: 1px solid var(--home-border);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.home-card-label {
  margin-bottom: 2.5rem;
  color: var(--home-muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-card h3 {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  text-transform: none;
}

.home-card p:last-child {
  margin-top: 0.85rem;
}

.home-section-human {
  position: relative;
}

.home-section-human .home-section-head {
  max-width: var(--home-copy);
}

.home-section-human::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 2.35rem;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.home-access {
  margin-top: 2.5rem;
}

.home-actions-access {
  margin-top: 1.75rem;
}

.home-footer {
  width: 100%;
  max-width: var(--home-content);
  padding: 4rem var(--home-gutter) 2.5rem;
  text-align: left;
}

.home-footer-links {
  justify-content: flex-start;
  gap: 0.85rem 1.25rem;
}

.home-footer-links a,
.home-footer .footer-note {
  color: var(--home-muted);
}

.home-footer-links a:hover,
.home-footer-links a:focus-visible {
  color: var(--home-text);
}

.home-footer-support {
  margin-top: 1.2rem;
  font-size: 0.94rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-enabled .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-header {
    transition: none;
  }

  .home-text-link {
    transition: none;
  }
}

@media (max-width: 980px) {
  .home-header {
    padding-inline: 1rem;
  }

  .home-hero,
  .home-section,
  .home-footer {
    padding-inline: 1rem;
  }

  .home-hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .home-nav,
  .home-nav-group {
    flex-wrap: wrap;
  }

  .home-nav {
    align-items: flex-start;
  }

  .home-nav-group {
    justify-content: flex-end;
    gap: 0.85rem;
  }

  .home-nav-cta {
    min-height: 40px;
    padding: 0.65rem 1rem;
    font-size: 0.74rem;
    letter-spacing: 0.07em;
  }

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

  .home-hero-copy {
    max-width: var(--home-copy);
  }

  .home-hero-visual {
    justify-self: center;
    width: min(100%, 460px);
    margin-top: 0.5rem;
    transform: none;
  }

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

@media (max-width: 640px) {
  .home-nav {
    align-items: center;
  }

  .home-nav-group {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
  }

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

  .home-nav-cta {
    display: none;
  }

  .home-hero {
    padding-top: 7.5rem;
    padding-bottom: 3rem;
  }

  .home-hero h1 {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
    max-width: 9ch;
  }

  .home-lead,
  .home-copy-block p,
  .home-card p {
    font-size: 1rem;
  }

  .home-panel,
  .home-access,
  .home-card {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .home-panel,
  .home-access {
    margin-inline: 0;
    padding-inline: 1rem;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .home-card {
    min-height: 0;
  }

  .home-actions {
    align-items: stretch;
  }

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

  .home-hero-visual {
    width: min(100%, 380px);
  }

  .home-footer {
    padding-top: 3.25rem;
  }

  .home-footer-links {
    justify-content: center;
  }

  .home-footer-support,
  .home-footer .footer-note {
    text-align: center;
  }
}

@media (min-width: 560px) and (max-width: 980px) {
  .home-section-human h2 {
    white-space: nowrap;
    font-size: clamp(2rem, 4.8vw, 3rem);
  }
}
