/* FIREX home — advanced industry editorial experience */

.home {
  --home-display: "Space Grotesk", var(--font-head);
  --home-pad: clamp(24px, 4.4vw, 86px);
  --home-line: rgba(255, 255, 255, 0.13);
  --home-line-light: rgba(10, 10, 10, 0.12);
  background: var(--ink);
}

.home main { background: var(--white); }
.home h1,
.home h2,
.home h3,
.home .stat__num { font-family: var(--home-display); }

.home .wrap {
  max-width: 1380px;
  padding-inline: var(--home-pad);
}

.home .section { position: relative; }

.home .section[data-chapter]::before,
.home .showcase[data-chapter]::before,
.home .filmquote[data-chapter]::before {
  content: attr(data-chapter);
  position: absolute;
  top: clamp(34px, 4vw, 68px);
  left: max(18px, calc((100vw - 1540px) / 2));
  z-index: 4;
  font-family: var(--home-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red);
}

/* Header */
.home .header {
  height: 96px;
  background: linear-gradient(to bottom, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0));
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.home .header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(80px, 10vw, 190px);
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 22px rgba(231, 24, 43, 0.72);
}

.home .header.is-solid {
  height: 96px;
  background: rgba(8, 8, 9, 0.84);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.home .header__inner {
  max-width: none;
  padding-inline: var(--home-pad);
}

.home .brand img { height: 60px; }
.home .header.is-solid .brand img { height: 60px; }

.home .brand__txt {
  display: block;
  font-family: var(--home-display);
  color: rgba(255, 255, 255, 0.54);
}

.home .nav { gap: 1px; }

.home .nav a:not(.btn) {
  padding-inline: 17px;
  border-radius: 0;
  font-family: var(--home-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.home .nav a:not(.btn)::after {
  left: 17px;
  right: 17px;
  bottom: 1px;
  height: 1px;
}

.home .header .btn {
  min-height: 46px;
  padding-inline: 24px;
  border-radius: 0;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

/* Hero */
.home .hero {
  min-height: max(760px, 100svh);
  align-items: stretch;
  padding-top: 0;
  isolation: isolate;
}

.home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: clamp(56px, 5vw, 92px) clamp(56px, 5vw, 92px);
  -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.35) 54%, transparent 88%);
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.35) 54%, transparent 88%);
  opacity: 0.44;
}

.home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 96px var(--home-pad) 118px;
}

.home .hero__media img,
.home .hero__video {
  object-position: 63% center;
  filter: saturate(0.82) contrast(1.06);
}

.home .hero__media::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.9) 29%, rgba(5, 5, 6, 0.48) 58%, rgba(5, 5, 6, 0.13) 82%),
    linear-gradient(to bottom, rgba(5, 5, 6, 0.42) 0%, transparent 36%, rgba(5, 5, 6, 0.92) 100%);
}

.home .hero__glow {
  left: var(--hero-x, 40%);
  top: var(--hero-y, 48%);
  width: min(760px, 65vw);
  height: min(760px, 75vh);
  opacity: 0.4;
  background: radial-gradient(circle, rgba(231, 24, 43, 0.2), transparent 68%);
  transition: left 0.8s var(--ease), top 0.8s var(--ease);
}

.home .hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: none;
  margin: 0;
  padding: clamp(130px, 15vh, 178px) var(--home-pad) clamp(182px, 21vh, 224px);
  text-align: left;
}

.home .hero__inner::before {
  content: "";
  width: clamp(42px, 4vw, 72px);
  height: 3px;
  margin-bottom: 24px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(231, 24, 43, 0.7);
}

.home .hero__badge {
  margin-bottom: 20px;
  padding: 8px 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(231, 24, 43, 0.72);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--home-display);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
}

.home .hero__badge svg { color: var(--red); }

.home .hero h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6.7rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.062em;
  text-wrap: balance;
  text-shadow: 0 10px 56px rgba(0, 0, 0, 0.54);
}

.home .hero h1 .accent {
  position: relative;
  display: inline-block;
  color: #fff;
  isolation: isolate;
}

.home .hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -0.03em;
  right: -0.03em;
  bottom: 0.08em;
  z-index: -1;
  height: 0.16em;
  background: var(--red);
  transform: skewX(-14deg);
  box-shadow: 0 0 22px rgba(231, 24, 43, 0.45);
}

.home .hero__sub {
  margin-top: 24px;
  font-family: var(--home-display);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.64);
  text-transform: uppercase;
}

.home .hero__text {
  max-width: 59ch;
  margin: 24px 0 0;
  padding-left: 22px;
  border-left: 1px solid rgba(231, 24, 43, 0.75);
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  line-height: 1.75;
}

.home .hero .btn-row {
  justify-content: flex-start !important;
  margin-top: 28px;
}

.home .hero .btn {
  min-height: 54px;
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.home .hero .btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(8, 8, 8, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home .hero.is-ready .w-in {
  transform: translateY(0) !important;
}

.home .hero.is-ready .hero__badge,
.home .hero.is-ready .hero__sub,
.home .hero.is-ready .hero__text,
.home .hero.is-ready .hero__inner .btn,
.home .hero.is-ready .hero__strip li,
.home .hero.is-ready .hero__interface > span,
.home .hero.is-ready .hero__telemetry > div,
.home .hero.is-ready .hero__scroll {
  opacity: 1 !important;
}

.hero__interface {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__scan {
  position: absolute;
  top: 0;
  bottom: 118px;
  left: 62%;
  width: 1px;
  background: linear-gradient(transparent, rgba(231, 24, 43, 0.7), transparent);
  box-shadow: 0 0 20px rgba(231, 24, 43, 0.55);
  opacity: 0.48;
  animation: heroScan 8s ease-in-out infinite alternate;
}

.hero__reticle {
  position: absolute;
  top: 42%;
  right: 17%;
  width: 112px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.025);
}

.hero__reticle::before,
.hero__reticle::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.26);
}

.hero__reticle::before { left: 50%; top: -18px; bottom: -18px; width: 1px; }
.hero__reticle::after { top: 50%; left: -18px; right: -18px; height: 1px; }

.hero__coords,
.hero__sequence {
  position: absolute;
  top: 122px;
  font-family: var(--home-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.42);
}

.hero__coords { right: var(--home-pad); }
.hero__sequence { left: var(--home-pad); }

.hero__telemetry {
  position: absolute;
  z-index: 5;
  top: 31%;
  right: var(--home-pad);
  width: min(260px, 19vw);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 7, 8, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__telemetry > div {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.hero__telemetry span,
.hero__telemetry b {
  font-family: var(--home-display);
  text-transform: uppercase;
}

.hero__telemetry span {
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.4);
}

.hero__telemetry b {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.88);
}

.hero__telemetry b i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(231, 24, 43, 0.14), 0 0 14px var(--red);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.hero__scroll {
  position: absolute;
  left: var(--home-pad);
  bottom: 142px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--home-display);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
}

.hero__scroll i {
  position: relative;
  width: 78px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateX(-100%);
  animation: scrollLine 2.1s var(--ease) infinite;
}

.home .hero__strip {
  background: rgba(8, 8, 9, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.home .hero__strip::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22%;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(231, 24, 43, 0.68);
}

.home .hero__strip ul {
  max-width: none;
  padding: 0 var(--home-pad);
  gap: 0;
}

.home .hero__strip li {
  min-height: 118px;
  padding: 22px clamp(14px, 2vw, 32px);
  border-left: 1px solid rgba(255, 255, 255, 0.11);
  font-family: var(--home-display);
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.home .hero__strip li:first-child { border-left: 0; padding-left: 0; }
.home .hero__strip li:last-child { padding-right: 0; }

.home .hero__strip li:hover { background: rgba(231, 24, 43, 0.12); }

.home .hero__strip svg {
  width: 25px;
  height: 25px;
  color: var(--red-light);
}

@keyframes heroScan {
  from { transform: translateX(-9vw); opacity: 0.12; }
  to { transform: translateX(13vw); opacity: 0.58; }
}

@keyframes statusPulse {
  0%, 100% { transform: scale(0.82); opacity: 0.68; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* Standards ribbon */
.home .home-standards {
  padding-block: 14px;
  background: #fff;
  border-color: var(--home-line-light);
  -webkit-mask-image: none;
  mask-image: none;
}

.home .home-standards .ticker__item {
  font-family: var(--home-display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(10, 10, 10, 0.48);
}

/* About */
.home .home-about {
  overflow: hidden;
  padding-block: clamp(110px, 12vw, 190px);
  background:
    linear-gradient(rgba(10, 10, 10, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 72px 72px;
}

.home .home-about::after {
  content: "";
  position: absolute;
  right: -12vw;
  top: 10%;
  width: 36vw;
  aspect-ratio: 1;
  border: 1px solid rgba(231, 24, 43, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7vw rgba(231, 24, 43, 0.025);
  pointer-events: none;
}

.home .home-about .split {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: clamp(54px, 7vw, 120px);
  align-items: center;
}

.home .eyebrow {
  border: 0;
  border-bottom: 1px solid var(--red);
  border-radius: 0;
  padding: 0 0 10px;
  background: transparent;
  font-family: var(--home-display);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}

.home .head-block--center .eyebrow { border-bottom-width: 1px; }

.home .h-xl {
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.home .home-about .h-xl { max-width: 10ch; }

.home .home-about .prose {
  max-width: 67ch;
  padding-top: 4px;
}

.home .home-about .prose p {
  color: #55555d;
  font-size: 0.96rem;
  line-height: 1.82;
}

.home .home-about .prose p:first-child {
  color: var(--text);
  font-size: clamp(1.03rem, 1.25vw, 1.18rem);
}

.home .home-about .mission {
  position: relative;
  margin-top: 34px;
  padding: 28px 30px 30px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.home .home-about .mission::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 0;
  width: 3px;
  background: var(--red);
}

.home .home-about .mission h3 { color: #fff; }
.home .home-about .mission p { color: rgba(255, 255, 255, 0.63); }

.home .home-about .split__media {
  aspect-ratio: 0.72;
  border-radius: 0;
  box-shadow: 28px 34px 0 rgba(10, 10, 10, 0.055);
  clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
}

.home .home-about .split__media::before,
.home .home-about .split__media::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.home .home-about .split__media::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.home .home-about .split__media::after {
  top: 0;
  right: 0;
  width: 38%;
  height: 4px;
  background: var(--red);
}

.home .home-about .split__quote {
  padding: 90px 34px 34px;
  background: linear-gradient(to top, rgba(5, 5, 6, 0.98), transparent);
}

.home .btn {
  border-radius: 0;
  font-family: var(--home-display);
}

/* Principles and data */
.home .home-principles {
  overflow: hidden;
  padding-block: clamp(78px, 9vw, 130px);
  background: var(--ink);
  color: #fff;
}

.home .home-principles::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--principles-x, 80%) var(--principles-y, 30%), rgba(231, 24, 43, 0.13), transparent 24%),
    linear-gradient(115deg, transparent 68%, rgba(255, 255, 255, 0.025) 68%);
}

.home .home-principles .wrap { position: relative; z-index: 2; }

.home .home-principles .grid--3 {
  gap: 0;
  border: 1px solid var(--home-line);
}

.home .home-principles .vcard {
  position: relative;
  min-height: 310px;
  padding: 46px 38px 38px;
  border: 0;
  border-right: 1px solid var(--home-line);
  border-radius: 0;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(231, 24, 43, 0.14), transparent 34%),
    transparent;
  text-align: left;
  color: #fff;
  box-shadow: none;
}

.home .home-principles .vcard:last-child { border-right: 0; }

.home .home-principles .vcard::before {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--home-display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
}

.home .home-principles .vcard:nth-child(1)::before { content: "01"; }
.home .home-principles .vcard:nth-child(2)::before { content: "02"; }
.home .home-principles .vcard:nth-child(3)::before { content: "03"; }

.home .home-principles .vcard:hover {
  transform: none;
  background-color: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 -3px 0 var(--red);
}

.home .home-principles .vcard__icon {
  width: 58px;
  height: 58px;
  margin: 0 0 54px;
  border: 1px solid rgba(231, 24, 43, 0.55);
  border-radius: 50%;
  background: rgba(231, 24, 43, 0.1);
  color: var(--red-light);
}

.home .home-principles .vcard h3 {
  margin-bottom: 13px;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: #fff;
}

.home .home-principles .vcard p {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.home .home-principles .stats {
  position: relative;
  margin-top: 0 !important;
  border: 1px solid var(--home-line);
  border-top: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

.home .home-principles .stat { padding-block: 38px; }

.home .home-principles .stat__num {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 500;
}

/* Horizontal expertise showcase */
.home .home-showcase {
  background: #080809;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home .home-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(231, 24, 43, 0.06) 1px, transparent 1px);
  background-size: 12.5vw 100%;
  opacity: 0.55;
}

.home .showcase__head {
  position: relative;
  z-index: 2;
  max-width: none;
  padding-top: clamp(96px, 11vh, 132px);
  padding-bottom: clamp(34px, 5vh, 56px);
}

.home .showcase__head .head-block {
  max-width: 980px;
  margin: 0;
  text-align: left;
}

.home .showcase__head .head-block .lead,
.home .showcase__head .head-block .eyebrow {
  margin-inline: 0;
}

.home .showcase__head .rule { margin-inline: 0; }

.home .showcase__viewport {
  z-index: 2;
  padding-bottom: clamp(78px, 10vh, 120px);
}

.home .showcase__track {
  gap: clamp(26px, 3vw, 54px);
  padding-inline: var(--home-pad);
}

.home .panel {
  flex: 0 0 min(74vw, 1040px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.home .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 255, 255, 0.13), transparent 24%),
    linear-gradient(90deg, var(--red) 0 0) left top / 0 3px no-repeat;
  transition: background-size 0.55s var(--ease);
}

.home .panel:hover::before { background-size: 100% 3px, auto; }

.home .panel__bg img {
  filter: saturate(0.72) contrast(1.06);
  transform: scale(1.025);
}

.home .panel:hover .panel__bg img { transform: scale(1.075); }

.home .panel__scrim {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.96) 0%, rgba(5, 5, 6, 0.72) 48%, rgba(5, 5, 6, 0.12) 78%),
    linear-gradient(to top, rgba(5, 5, 6, 0.9), transparent 64%);
}

.home .panel__no {
  top: 28px;
  right: 34px;
  font-size: clamp(4rem, 8vw, 8.5rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.14);
}

.home .panel__body {
  width: min(580px, 62%);
  padding: clamp(30px, 5vw, 68px);
}

.home .panel__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 0;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.home .panel h3 {
  max-width: 15ch;
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
}

.home .panel p {
  max-width: 52ch;
  font-size: clamp(0.86rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.66);
}

.home .panel .tag {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(8, 8, 9, 0.42);
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.home .showcase__rail {
  height: 1px;
  margin: 38px var(--home-pad) 0;
}

.home .showcase__rail i {
  width: 18%;
  height: 3px;
  top: -1px;
  box-shadow: 0 0 16px rgba(231, 24, 43, 0.68);
}

.home .showcase__hint {
  margin-inline: var(--home-pad);
  font-family: var(--home-display);
}

/* Manifesto */
.home .home-manifesto {
  min-height: min(860px, 88svh);
  display: grid;
  place-items: center;
  padding-block: clamp(110px, 14vw, 210px);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.home .home-manifesto::before { top: 48px; }

.home .home-manifesto .filmquote__bg {
  inset: -18% 0;
}

.home .home-manifesto .filmquote__bg img {
  opacity: 0.38;
  filter: grayscale(0.6) saturate(0.72) contrast(1.12);
}

.home .home-manifesto::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.95), rgba(5, 5, 6, 0.36) 48%, rgba(5, 5, 6, 0.9)),
    linear-gradient(to bottom, #080809, transparent 28%, transparent 72%, #080809);
}

.home .home-manifesto .wrap {
  width: calc(100% - (2 * var(--home-pad)));
  max-width: 1380px;
  padding: clamp(42px, 7vw, 96px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: left;
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}

.home .home-manifesto .wrap::before,
.home .home-manifesto .wrap::after {
  content: "";
  position: absolute;
  background: var(--red);
}

.home .home-manifesto .wrap::before {
  top: 0;
  left: 28px;
  width: 22%;
  height: 3px;
}

.home .home-manifesto .wrap::after {
  right: 0;
  bottom: 28px;
  width: 3px;
  height: 28%;
}

.home .home-manifesto blockquote {
  max-width: 21ch;
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 5.4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.052em;
  text-align: left;
}

.home .home-manifesto cite {
  margin-top: 36px;
  font-family: var(--home-display);
  text-align: left;
}

.home .home-manifesto .filmquote__mark {
  position: absolute;
  top: clamp(28px, 5vw, 68px);
  right: clamp(34px, 6vw, 88px);
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(6rem, 13vw, 13rem);
  opacity: 0.72;
}

/* Advantages */
.home .home-advantages {
  overflow: hidden;
  padding-block: clamp(110px, 12vw, 180px);
  background:
    radial-gradient(circle at 78% 18%, rgba(231, 24, 43, 0.1), transparent 20%),
    #080809;
}

.home .home-advantages .head-block {
  max-width: 940px;
  margin-bottom: clamp(60px, 7vw, 96px);
}

.home .home-advantages .head-block h2 { max-width: 15ch; }

.home .home-advantages .grid--4up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--home-line);
}

.home .home-advantages .adv {
  position: relative;
  min-height: 390px;
  padding: clamp(34px, 4.5vw, 62px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(231, 24, 43, 0.15), transparent 29%),
    #0e0e10;
  overflow: hidden;
}

.home .home-advantages .adv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width 0.6s var(--ease);
}

.home .home-advantages .adv::after {
  position: absolute;
  right: 32px;
  bottom: 18px;
  font-family: var(--home-display);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.035);
}

.home .home-advantages .adv:nth-child(1)::after { content: "01"; }
.home .home-advantages .adv:nth-child(2)::after { content: "02"; }
.home .home-advantages .adv:nth-child(3)::after { content: "03"; }
.home .home-advantages .adv:nth-child(4)::after { content: "04"; }

.home .home-advantages .adv:hover {
  transform: none;
  border-color: transparent;
}

.home .home-advantages .adv:hover::before { width: 100%; }

.home .home-advantages .adv__icon {
  width: 62px;
  height: 62px;
  margin-bottom: clamp(46px, 5vw, 78px);
  border: 1px solid rgba(231, 24, 43, 0.42);
  border-radius: 50%;
  background: rgba(231, 24, 43, 0.08);
}

.home .home-advantages .adv h3 {
  max-width: 25ch;
  margin-bottom: 16px;
  font-size: clamp(1.18rem, 1.7vw, 1.62rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: none;
}

.home .home-advantages .adv p {
  position: relative;
  z-index: 2;
  max-width: 63ch;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
  line-height: 1.78;
}

.home .home-advantages .stats {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 1px !important;
  border: 0 !important;
  border-radius: 0;
  background: var(--red) !important;
}

.home .home-advantages .stat {
  padding-block: 34px;
  border-color: rgba(255, 255, 255, 0.22);
}

.home .home-advantages .stat__num { color: #fff; }
.home .home-advantages .stat__label { color: rgba(255, 255, 255, 0.7); }

/* Partner ribbon */
.home .home-partners {
  padding-block: 27px;
  border-color: rgba(10, 10, 10, 0.13);
  background: #fff;
  -webkit-mask-image: none;
  mask-image: none;
}

.home .home-partners::before,
.home .home-partners::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 10vw;
  pointer-events: none;
}

.home .home-partners::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.home .home-partners::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }

.home .home-partners .ticker__item {
  font-family: var(--home-display);
  font-size: clamp(0.86rem, 1.4vw, 1.18rem);
  font-weight: 600;
  color: rgba(10, 10, 10, 0.62);
}

/* References */
.home .home-references {
  overflow: hidden;
  padding-block: clamp(110px, 12vw, 180px);
  background:
    linear-gradient(rgba(10, 10, 10, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 88px 88px;
}

.home .home-references .head-block { max-width: 930px; }

.home .home-references .grid--3 {
  grid-template-columns: 1.14fr 0.86fr;
  grid-template-rows: repeat(2, minmax(230px, auto));
  gap: 18px;
}

.home .home-references .ref {
  position: relative;
  min-height: 240px;
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 0;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(231, 24, 43, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home .home-references .ref:not(:first-child) { padding-top: 112px; }

.home .home-references .ref__brand {
  position: absolute;
  top: 28px;
  left: clamp(32px, 4vw, 52px);
  z-index: 2;
  width: 170px;
  height: 58px;
  display: flex;
  align-items: center;
}

.home .home-references .ref__brand img {
  width: auto;
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
}

.home .home-references .ref:first-child .ref__brand {
  top: 38px;
  width: 200px;
  height: 70px;
}

.home .home-references .ref:first-child .ref__brand img {
  max-width: 182px;
  max-height: 64px;
}

.home .home-references .ref:first-child {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  border-color: var(--ink);
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(231, 24, 43, 0.2), transparent 30%),
    var(--ink);
  color: #fff;
  clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px);
}

.home .home-references .ref::after {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--home-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(10, 10, 10, 0.3);
}

.home .home-references .ref:nth-child(1)::after { content: "PROJECT / 01"; color: rgba(255, 255, 255, 0.34); }
.home .home-references .ref:nth-child(2)::after { content: "PROJECT / 02"; }
.home .home-references .ref:nth-child(3)::after { content: "PROJECT / 03"; }

.home .home-references .ref::before {
  inset: auto 0 0 0;
  width: auto;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
}

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

.home .home-references .ref:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(10, 10, 10, 0.13);
}

.home .home-references .ref h3 {
  max-width: 25ch;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.home .home-references .ref:first-child h3 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 4.5rem);
  color: #fff;
}

.home .home-references .ref p {
  max-width: 56ch;
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.72;
}

.home .home-references .ref:first-child p { color: rgba(255, 255, 255, 0.58); }

.home .home-references .ref:first-child .tag {
  background: rgba(231, 24, 43, 0.16);
  color: var(--red-light);
}

/* CTA */
.home .home-cta {
  min-height: min(760px, 82svh);
  display: flex;
  align-items: center;
  padding-block: clamp(100px, 12vw, 180px);
  text-align: left;
  isolation: isolate;
}

.home .home-cta::before {
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    radial-gradient(circle at 78% 45%, rgba(0, 0, 0, 0.28), transparent 28%);
  background-size: 72px 72px, 72px 72px, auto;
}

.home .home-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8vw;
  top: 50%;
  width: min(620px, 48vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 6vw rgba(255, 255, 255, 0.035),
    inset 0 0 0 12vw rgba(10, 10, 10, 0.035);
  transform: translateY(-50%);
}

.home .home-cta .wrap {
  margin-left: 0;
  max-width: 1100px;
}

.home .home-cta h2 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.06em;
}

.home .home-cta p {
  max-width: 66ch;
  margin: 30px 0 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.78);
}

.home .home-cta .btn-row { justify-content: flex-start; }

.home .home-cta .btn {
  min-height: 56px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* Home chapter rail */
.home-rail {
  position: fixed;
  z-index: 89;
  left: 18px;
  top: 50%;
  display: grid;
  gap: 13px;
  transform: translateY(-50%);
}

.home-rail a {
  position: relative;
  display: flex;
  align-items: center;
  width: 12px;
  height: 12px;
}

.home-rail i {
  width: 5px;
  height: 5px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(8, 8, 9, 0.42);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.home-rail span {
  position: absolute;
  left: 19px;
  padding: 5px 8px;
  background: rgba(8, 8, 9, 0.82);
  font-family: var(--home-display);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateX(-5px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  white-space: nowrap;
}

.home-rail a:hover span { opacity: 1; transform: none; }

.home-rail a.is-active i {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 12px rgba(231, 24, 43, 0.8);
  transform: rotate(45deg) scale(1.65);
}

/* Footer and floating actions */
.home .footer {
  border-top: 3px solid var(--red);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: 88px 100%;
}

.home .float {
  border-radius: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* Responsive */
@media (max-width: 1180px) {
  .home .brand__txt { display: none; }
  .hero__telemetry { display: none; }
  .home-rail { display: none; }
  .home .hero h1 { max-width: 18ch; font-size: clamp(3rem, 7.2vw, 5.8rem); }
}

@media (max-width: 980px) {
  .home { --home-pad: clamp(20px, 5vw, 42px); }

  .home .header,
  .home .header.is-solid { height: var(--header-h); }

  .home .header .brand img,
  .home .header.is-solid .brand img { height: 52px; }

  .home .nav {
    inset: var(--header-h) 0 auto;
    background: rgba(8, 8, 9, 0.98);
  }

  .home .nav a:not(.btn) { padding-inline: 4px; }

  .home .hero { min-height: max(800px, 100svh); }

  .home .hero::after { margin: var(--header-h) var(--home-pad) 166px; }

  .home .hero__inner {
    padding-top: 128px;
    padding-bottom: 220px;
  }

  .home .hero h1 { max-width: 15ch; font-size: clamp(3rem, 9vw, 5rem); }
  .home .hero__text { max-width: 55ch; }
  .hero__reticle { right: 10%; opacity: 0.52; }
  .hero__coords { display: none; }
  .hero__scroll { bottom: 188px; }

  .home .hero__strip ul {
    grid-template-columns: repeat(5, 1fr);
  }

  .home .hero__strip li,
  .home .hero__strip li:last-child {
    grid-column: auto;
    min-height: 88px;
    padding: 16px 10px;
    justify-content: center;
    text-align: center;
    font-size: 0.56rem;
  }

  .home .hero__strip li:first-child { padding-left: 0; }
  .home .hero__strip svg { width: 20px; height: 20px; }

  .home .home-about .split {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .home .home-about .split__media {
    width: min(660px, 100%);
    aspect-ratio: 4 / 5;
    margin-inline: auto;
  }

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

  .home .home-principles .vcard {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home .home-principles .vcard:last-child { border-bottom: 0; }
  .home .home-principles .vcard__icon { margin-bottom: 34px; }

  .home .home-advantages .grid--4up { grid-template-columns: 1fr; }
  .home .home-advantages .adv { min-height: 330px; }

  .home .home-advantages .stats {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    overflow-x: auto;
  }

  .home .home-references .grid--3 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .home .home-references .ref:first-child {
    grid-row: auto;
    min-height: 440px;
  }
}

@media (max-width: 900px) {
  .home .panel {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .home .panel__scrim {
    background: linear-gradient(to top, rgba(5, 5, 6, 0.98) 4%, rgba(5, 5, 6, 0.7) 55%, rgba(5, 5, 6, 0.08));
  }

  .home .panel__body { width: 100%; padding: 30px; }
  .home .panel h3 { font-size: clamp(1.6rem, 7vw, 2.5rem); }
}

@media (max-width: 700px) {
  .home .header { border-bottom-color: rgba(255, 255, 255, 0.12); }
  .home .hero { min-height: max(850px, 100svh); }
  .home .hero::before { background-size: 52px 52px; }
  .home .hero::after { display: none; }

  .home .hero__media::after {
    background:
      linear-gradient(90deg, rgba(5, 5, 6, 0.95), rgba(5, 5, 6, 0.54)),
      linear-gradient(to bottom, rgba(5, 5, 6, 0.36), transparent 30%, rgba(5, 5, 6, 0.96));
  }

  .home .hero__inner {
    justify-content: flex-start;
    padding-top: 126px;
    padding-bottom: 310px;
  }

  .home .hero__inner::before { margin-bottom: 18px; }
  .home .hero__badge { margin-bottom: 16px; font-size: 0.58rem; }
  .home .hero h1 { max-width: 14ch; font-size: clamp(2.7rem, 12.8vw, 4.4rem); }
  .home .hero__sub { margin-top: 18px; font-size: 0.64rem; letter-spacing: 0.22em; }

  .home .hero__text {
    margin-top: 19px;
    padding-left: 15px;
    font-size: 0.81rem;
    line-height: 1.62;
  }

  .home .hero .btn-row {
    display: grid;
    width: 100%;
    gap: 10px;
    margin-top: 22px;
  }

  .home .hero .btn { width: 100%; min-height: 50px; padding-inline: 18px; }
  .hero__reticle, .hero__scan, .hero__scroll, .hero__sequence { display: none; }

  .home .hero__strip ul {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 0;
  }

  .home .hero__strip li,
  .home .hero__strip li:last-child {
    min-height: 66px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    justify-content: flex-start;
    text-align: left;
  }

  .home .hero__strip li:last-child { grid-column: 1 / -1; }
  .home .hero__strip li:nth-child(odd) { border-left: 0; }

  .home .section[data-chapter]::before,
  .home .showcase[data-chapter]::before,
  .home .filmquote[data-chapter]::before { left: var(--home-pad); }

  .home .h-xl { font-size: clamp(2.35rem, 11vw, 4rem); }
  .home .home-about { padding-block: 104px 92px; }
  .home .home-about .mission { padding: 24px 22px; }
  .home .home-about .split__media { box-shadow: 14px 16px 0 rgba(10, 10, 10, 0.06); }

  .home .home-principles .vcard { padding: 38px 26px 30px; }
  .home .home-principles .stats { grid-template-columns: repeat(2, 1fr); }
  .home .home-principles .stat { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }

  .home .showcase__head { padding-top: 96px; }
  .home .showcase__head .h-xl { font-size: clamp(2.4rem, 11vw, 4rem); }

  .home .home-manifesto { min-height: 680px; }
  .home .home-manifesto .wrap {
    width: calc(100% - (2 * var(--home-pad)));
    padding: 50px 28px;
  }
  .home .home-manifesto blockquote { font-size: clamp(1.85rem, 8vw, 3rem); }
  .home .home-manifesto .filmquote__mark { top: 18px; right: 24px; opacity: 0.4; }

  .home .home-advantages .adv { min-height: 360px; padding: 34px 28px; }
  .home .home-advantages .adv__icon { margin-bottom: 54px; }

  .home .home-references .ref:first-child { min-height: 390px; }
  .home .home-references .ref { padding: 36px 28px; }
  .home .home-references .ref:first-child { padding-top: 120px; }
  .home .home-references .ref:not(:first-child) { padding-top: 104px; }
  .home .home-references .ref__brand { left: 28px; top: 25px; }
  .home .home-references .ref:first-child .ref__brand { left: 28px; top: 32px; }
  .home .home-references .ref:first-child .ref__brand img { max-width: 152px; max-height: 54px; }

  .home .home-cta { min-height: 680px; }
  .home .home-cta::after { width: 76vw; right: -35vw; opacity: 0.58; }
  .home .home-cta h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .home .home-cta .btn-row { display: grid; }
  .home .home-cta .btn { width: 100%; }

  .home .floaters {
    right: 12px;
    bottom: 12px;
    flex-direction: row;
    gap: 8px;
  }

  .home .float {
    width: 46px;
    height: 46px;
  }
}

@media (max-height: 760px) and (min-width: 701px) {
  .home .hero__inner { padding-top: 108px; padding-bottom: 148px; }
  .home .hero h1 { font-size: clamp(2.8rem, 5.2vw, 4.8rem); }
  .home .hero__text { margin-top: 18px; line-height: 1.56; }
  .home .hero__sub { margin-top: 16px; }
  .home .hero .btn-row { margin-top: 20px; }
  .home .hero__strip li { min-height: 92px; }
  .hero__scroll { bottom: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scan,
  .hero__telemetry b i,
  .hero__scroll i::after { animation: none; }
}
