body.landing-page {
  --landing-bg: #f4f3ef;
  --landing-panel: rgba(255, 255, 255, 0.74);
  --landing-text: #1f2330;
  --landing-muted: #61677a;
  --landing-border: rgba(31, 35, 48, 0.12);
  --landing-shadow: 0 18px 40px rgba(22, 27, 38, 0.08);
  --hero-shift: 0px;
  --hero-glow: 0.28;
  background:
    radial-gradient(circle at top, rgba(0, 0, 0, 0.05), transparent 24%),
    linear-gradient(180deg, #faf9f5 0%, var(--landing-bg) 100%);
  color: var(--landing-text);
  scroll-behavior: smooth;
}

body.landing-page main {
  overflow-x: clip;
}

.landing-shell {
  position: relative;
}

.landing-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.32), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 18%),
    radial-gradient(circle at center, rgba(0, 0, 0, var(--hero-glow)), transparent 48%);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.landing-header {
  position: fixed;
  inset: 1rem 0 auto;
  z-index: 30;
  pointer-events: none;
}

.landing-header__bar {
  position: relative;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.38rem 0.5rem;
  border: 1px solid rgba(31, 35, 48, 0.08);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.50), rgba(255, 255, 255, 0.26));
  backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: var(--landing-shadow);
  pointer-events: auto;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--landing-text);
  text-decoration: none;
}

.landing-brand__mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 2px solid currentColor;
  display: inline-block;
}

.landing-brand__name {
  font-family: "Offside", sans-serif;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
}

.landing-header__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.landing-header__bar .site-nav {
  right: 1rem;
  top: calc(100% + 0.75rem);
}

.landing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: #ffffff;
  color: var(--landing-text);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 24px rgba(22, 27, 38, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.landing-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 35, 48, 0.24);
  box-shadow: 0 14px 28px rgba(22, 27, 38, 0.1);
}

.landing-hero {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background: #0c1017;
}

.landing-hero__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
}

.landing-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.94) contrast(1.02) brightness(0.84);
  transform: scale(1.02) translateY(var(--hero-shift));
  transition: transform 120ms linear;
}

.landing-hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(6, 8, 11, 0.14) 0%, rgba(6, 8, 11, 0.76) 100%);
}

.landing-hero__content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 7rem 1.2rem 1.25rem;
}

.landing-scroll__arrow {
  position: absolute;
  left: 2rem;
  bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
  line-height: 1;
}

.landing-hero__title-wrap {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding-top: 3rem;
}

.landing-eyebrow {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.landing-title {
  margin: 0;
  max-width: 10ch;
  font-family: "Megrim", sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.34);
}

.landing-title__sub {
  display: block;
  margin-top: 0.45rem;
  font-family: "Offside", sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.82);
}

.landing-kicker {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

.landing-scroll {
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-marquee {
  overflow: hidden;
  border-top: 1px solid var(--landing-border);
  border-bottom: 1px solid var(--landing-border);
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.16));
}

.landing-marquee::before,
.landing-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5rem;
  pointer-events: none;
  z-index: 1;
}

.landing-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(250, 249, 245, 0.95), transparent);
}

.landing-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(250, 249, 245, 0.95), transparent);
}

.landing-marquee__viewport {
  display: flex;
  width: 100%;
  min-width: 100%;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.landing-marquee__track {
  display: inline-flex;
  gap: 0.9rem;
  padding: 0.8rem 0;
  white-space: nowrap;
  flex: 0 0 auto;
  width: max-content;
  will-change: transform;
}

.landing-marquee__track span {
  font-size: 0.74rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--landing-muted);
  flex: 0 0 auto;
}

.landing-marquee__track span::after {
  content: "•";
  margin-left: 0.9rem;
  opacity: 0.5;
}

.landing-scroll__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.landing-section {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 0;
}

.landing-section__inner {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: 3rem 0 4.2rem;
}

.landing-panel {
  border-top: 1px solid var(--landing-border);
  padding-top: 1.3rem;
}

.landing-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1.4rem;
}

.landing-panel__label {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--landing-muted);
}

.landing-panel__title {
  margin: 0;
  font-family: "Offside", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0.04em;
}

.landing-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.25rem;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--landing-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: card-rise 700ms ease both;
}

.product-card:nth-child(2) {
  animation-delay: 90ms;
}

.product-card:nth-child(3) {
  animation-delay: 180ms;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(22, 27, 38, 0.12);
}

.product-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  border: 1px dashed rgba(31, 35, 48, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(31, 35, 48, 0.06)),
    radial-gradient(circle at 30% 30%, rgba(31, 35, 48, 0.06), transparent 42%);
  display: grid;
  place-items: center;
  color: rgba(31, 35, 48, 0.58);
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.product-card__body {
  display: grid;
  gap: 0.6rem;
}

.product-card__eyebrow {
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.product-card__title {
  margin: 0;
  font-family: "Offside", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.product-card__copy {
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--landing-text);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-projects {
  display: grid;
  gap: 0.85rem;
}

.project-row {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--landing-border);
  transition: transform 180ms ease, background 180ms ease;
}

.project-row:last-child {
  border-bottom: 1px solid var(--landing-border);
}

.project-row:hover {
  transform: translateX(0.25rem);
}

.project-index {
  color: var(--landing-muted);
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.project-name {
  margin: 0;
  font-family: "Offside", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  letter-spacing: 0.06em;
}

.project-code {
  color: var(--landing-muted);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.landing-pitch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.landing-pitch__card {
  min-height: 15rem;
  padding: 1.25rem;
  border-radius: 1.3rem;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--landing-shadow);
  display: grid;
  align-content: space-between;
  position: relative;
  overflow: hidden;
}

.landing-pitch__card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(31, 35, 48, 0.12), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.landing-pitch__card--dark {
  background: #15181f;
  color: #f7f8fb;
}

.landing-pitch__title {
  margin: 0;
  font-family: "Offside", sans-serif;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 1.05;
}

.landing-pitch__copy {
  margin: 0;
  max-width: 26rem;
  color: inherit;
  opacity: 0.78;
  font-size: 0.92rem;
  line-height: 1.65;
}

.landing-footer {
  position: relative;
  z-index: 1;
  padding: 1rem 0 2rem;
}

.landing-footer__inner {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--landing-border);
}

.landing-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.landing-footer__brand {
  display: grid;
  gap: 0.35rem;
}

.landing-footer__brand strong {
  font-family: "Offside", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.landing-footer__brand span {
  color: var(--landing-muted);
  font-size: 0.9rem;
}

.landing-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--landing-text);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 35, 48, 0.08);
  color: var(--landing-muted);
  font-size: 0.8rem;
}

.landing-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.landing-footer__links a {
  color: inherit;
  text-decoration: none;
}

.landing-pager {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: grid;
  gap: 0.5rem;
}

.landing-pager__item {
  display: grid;
  gap: 0.15rem;
  min-width: 4.2rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(31, 35, 48, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--landing-muted);
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(22, 27, 38, 0.06);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  backdrop-filter: blur(12px);
}

.landing-pager__item span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.landing-pager__item small {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.landing-pager__item.is-active {
  background: #15181f;
  color: #ffffff;
  transform: translateX(-0.25rem);
}

.landing-stack {
  display: grid;
  gap: 0.9rem;
}

.stack-card {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
  border: 1px solid var(--landing-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(243, 241, 236, 0.94));
  box-shadow: var(--landing-shadow);
  position: relative;
  overflow: hidden;
}

.stack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 44%, rgba(31, 35, 48, 0.08) 50%, transparent 56% 100%);
  transform: translateX(-40%);
  animation: sweep-light 10s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.stack-card > * {
  position: relative;
  z-index: 1;
}

.stack-card__index {
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--landing-muted);
}

.stack-card h3 {
  margin: 0 0 0.3rem;
  font-family: "Offside", sans-serif;
  font-size: 1.2rem;
}

.stack-card p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.6;
}

.stack-card span {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--landing-muted);
}

.landing-cta-band {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1.35rem;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--landing-shadow);
}

.landing-cta-band h2 {
  margin: 0.25rem 0 0;
  font-family: "Offside", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.landing-cta--dark {
  background: #15181f;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] body.landing-page {
  --landing-bg: #0b0d11;
  --landing-panel: rgba(13, 15, 18, 0.84);
  --landing-text: #f6f7fb;
  --landing-muted: rgba(232, 236, 242, 0.72);
  --landing-border: rgba(255, 255, 255, 0.12);
  --landing-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  background:
    radial-gradient(circle at top, rgba(125, 211, 252, 0.08), transparent 24%),
    linear-gradient(180deg, #090b0f 0%, #050608 100%);
  color: var(--landing-text);
}

:root[data-theme="dark"] .landing-header__bar {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.66), rgba(10, 12, 16, 0.42));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] .landing-cta {
  background: rgba(255, 255, 255, 0.06);
  color: #f7f8fb;
}

:root[data-theme="dark"] .landing-cta:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

:root[data-theme="dark"] .landing-cta,
:root[data-theme="dark"] .product-card,
:root[data-theme="dark"] .meta-pill,
:root[data-theme="dark"] .social-link {
  background: rgba(255, 255, 255, 0.04);
  color: #f7f8fb;
}

:root[data-theme="dark"] .product-card__media {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 30% 30%, rgba(125, 211, 252, 0.12), transparent 42%);
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
}

:root[data-theme="dark"] .landing-footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .landing-marquee,
:root[data-theme="dark"] .landing-pager__item,
:root[data-theme="dark"] .stack-card,
:root[data-theme="dark"] .landing-cta-band {
  background: rgba(255, 255, 255, 0.04);
  color: #f7f8fb;
}

:root[data-theme="dark"] .landing-marquee {
  background: rgba(255, 255, 255, 0.02);
}

:root[data-theme="dark"] .landing-marquee::before {
  background: linear-gradient(90deg, rgba(9, 11, 15, 0.95), transparent);
}

:root[data-theme="dark"] .landing-marquee::after {
  background: linear-gradient(270deg, rgba(9, 11, 15, 0.95), transparent);
}

@keyframes marquee-flow {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--marquee-distance, 50%)));
  }
}

:root[data-theme="dark"] .stack-card {
  background:
    linear-gradient(180deg, rgba(18, 21, 27, 0.96), rgba(10, 12, 16, 0.96));
}

:root[data-theme="dark"] .landing-cta-band h2,
:root[data-theme="dark"] .stack-card p,
:root[data-theme="dark"] .stack-card span,
:root[data-theme="dark"] .stack-card__index {
  color: rgba(247, 248, 251, 0.84);
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sweep-light {
  from {
    transform: translateX(-40%);
  }

  to {
    transform: translateX(40%);
  }
}

@keyframes float-chip {
  from,
  to {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 960px) {
  .landing-products,
  .landing-pitch {
    grid-template-columns: 1fr;
  }

  .landing-pager {
    display: none;
  }

  .project-row {
    grid-template-columns: 5rem minmax(0, 1fr);
  }

  .project-code {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .landing-header {
    inset: 0.6rem 0 auto;
  }

  .landing-header__bar,
  .landing-section__inner,
  .landing-footer__inner {
    width: min(100% - 1rem, 1180px);
  }

  .landing-header__bar {
    padding: 0.75rem 0.85rem;
  }

  .landing-header .theme-toggle {
    width: 6.7rem;
    height: 2.45rem;
  }

  .landing-header .theme-toggle__label {
    font-size: 0.8rem;
  }

  .landing-cta {
    min-height: 2.6rem;
    padding: 0 0.85rem;
    font-size: 0.82rem;
  }

  .landing-brand__name {
    font-size: 0.95rem;
  }

  .landing-hero__content {
    padding-top: 6.4rem;
  }

  .landing-scroll__arrow {
    left: 1rem;
    bottom: 1.1rem;
    font-size: 1.45rem;
  }

  .landing-title {
    max-width: 100%;
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  .landing-kicker {
    font-size: 0.95rem;
  }

  .landing-pitch__card,
  .product-card,
  .landing-panel,
  .stack-card,
  .landing-cta-band {
    border-radius: 1rem;
  }

  .landing-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-footer__top,
  .landing-footer__bottom {
    grid-template-columns: 1fr;
  }

  .landing-socials {
    justify-content: flex-start;
  }

  .project-row {
    gap: 0.6rem;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .stack-card::before,
  .landing-shell::before {
    animation: none;
  }
}
