.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: calc(var(--page-progress, 0) * 100%);
  height: 100%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(124, 255, 0, 0.7);
}

.site-header {
  transition: height 240ms ease, background 240ms ease, border-color 240ms ease, width 240ms ease;
}

.site-header.is-scrolled {
  width: min(1240px, calc(100% - 32px));
  height: 72px;
  padding: 0 20px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 6, 0.82);
  backdrop-filter: blur(18px);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -13px;
  height: 1px;
  background: var(--green);
  transition: right 220ms ease;
}

.nav-links a.is-active::after,
.nav-links a:hover::after {
  right: 0;
}

.hero {
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  background: #060806;
}

.hero::before {
  z-index: -1;
  opacity: 0.52;
}

.hero::after {
  z-index: 0;
}

.hero-backdrop {
  position: absolute;
  inset: -4%;
  z-index: -3;
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) scale(1.06);
  transition: transform 220ms cubic-bezier(.2, .7, .2, 1);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #060806 3%, rgba(6, 8, 6, 0.95) 27%, rgba(6, 8, 6, 0.4) 55%, rgba(6, 8, 6, 0.06) 78%),
    linear-gradient(180deg, rgba(6, 8, 6, 0.22), rgba(6, 8, 6, 0.05) 66%, #060806 100%);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  align-self: center;
}

.hero-stage {
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 560px;
  pointer-events: none;
}

.stage-seal {
  position: absolute;
  right: 3%;
  bottom: 14%;
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(5, 8, 6, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
}

.stage-seal b {
  color: var(--green);
  font: 700 2.5rem/0.9 "Space Grotesk", sans-serif;
}

.stage-seal span {
  margin-top: 7px;
  color: #c7d0c9;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-label {
  z-index: 2;
  transition: transform 220ms ease;
}

.label-one { top: 18%; right: 2%; }
.label-two { left: 9%; bottom: 29%; }
.label-three { right: 23%; bottom: 9%; }

.category-ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 17px 0;
  border-block: 1px solid rgba(124, 255, 0, 0.24);
  background: #090d09;
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 24px;
  animation: ticker 30s linear infinite;
}

.ticker-track span {
  color: #d9dfda;
  font: 600 0.73rem "Space Grotesk", sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ticker-track i {
  width: 6px;
  height: 6px;
  background: var(--green);
  transform: rotate(45deg);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.33fr 1fr;
  gap: 30px;
  align-items: start;
}

.section-heading > div {
  display: grid;
  grid-template-columns: 1fr 0.46fr;
  gap: 38px;
  align-items: end;
}

.section-heading h2,
.company-grid h2,
.contact h2 {
  margin: 0;
  font: 650 clamp(2.9rem, 5vw, 5.25rem)/0.94 "Space Grotesk", sans-serif;
  letter-spacing: -0.065em;
}

.section-heading h2 span,
.company-grid h2 span {
  color: #879089;
}

.section-heading > div > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.portfolio {
  padding-block: 140px 130px;
}

.product-explorer {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) 1fr;
  min-height: 570px;
  margin-top: 76px;
  border: 1px solid var(--line);
  background: #090c09;
}

.product-tabs {
  display: grid;
  align-content: stretch;
  border-right: 1px solid var(--line);
}

.product-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 26px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #8c968f;
  background: transparent;
  font: 600 0.9rem "Manrope", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.product-tabs button:last-child {
  border-bottom: 0;
}

.product-tabs button span {
  color: #58605a;
  font: 600 0.72rem "Space Grotesk", sans-serif;
}

.product-tabs button::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--green);
  transform: scaleY(0);
  transition: transform 180ms ease;
}

.product-tabs button:hover,
.product-tabs button:focus-visible,
.product-tabs button[aria-selected="true"] {
  color: var(--text);
  background: rgba(124, 255, 0, 0.045);
  padding-left: 32px;
}

.product-tabs button[aria-selected="true"]::after {
  transform: scaleY(1);
}

.product-tabs button[aria-selected="true"] span {
  color: var(--green);
}

.product-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(270px, 0.42fr);
  align-items: center;
  gap: 20px;
  padding: clamp(40px, 6vw, 82px);
  overflow: hidden;
  isolation: isolate;
}

.product-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.34;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 75% 52%, #000, transparent 68%);
}

.product-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -230px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(124, 255, 0, 0.1);
  filter: blur(80px);
}

.product-copy {
  transition: opacity 150ms ease, transform 150ms ease;
}

.product-panel.is-switching .product-copy {
  opacity: 0;
  transform: translateY(12px);
}

.product-overline {
  margin: 0 0 24px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-copy h3 {
  max-width: 620px;
  margin: 0;
  font: 650 clamp(2.35rem, 4vw, 4.3rem)/0.98 "Space Grotesk", sans-serif;
  letter-spacing: -0.055em;
}

.product-copy > p:not(.product-overline) {
  max-width: 590px;
  margin: 28px 0 0;
  color: #aeb7b0;
  font-size: 1rem;
  line-height: 1.75;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.product-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbe0dc;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-kinetic {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  transform-style: preserve-3d;
}

.product-kinetic b {
  color: rgba(255, 255, 255, 0.92);
  font: 650 clamp(5rem, 9vw, 9rem)/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.1em;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  transform: translateZ(30px);
}

.product-kinetic > span {
  position: absolute;
  bottom: 23%;
  color: var(--green);
  font: 700 0.68rem "Space Grotesk", sans-serif;
  letter-spacing: 0.34em;
}

.kinetic-ring {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(124, 255, 0, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(124, 255, 0, 0.08);
}

.ring-a { transform: rotateX(67deg) rotateZ(22deg); animation: ringA 8s linear infinite; }
.ring-b { inset: 2%; border-color: rgba(255,255,255,.15); transform: rotateY(65deg) rotateZ(-18deg); animation: ringB 11s linear infinite; }

@keyframes ringA { to { transform: rotateX(67deg) rotateZ(382deg); } }
@keyframes ringB { to { transform: rotateY(65deg) rotateZ(-378deg); } }

.portfolio-note {
  margin: 20px 0 0;
  color: #778078;
  font-size: 0.75rem;
}

.company {
  position: relative;
  min-height: 980px;
  padding-block: 140px;
  overflow: hidden;
  background: #e7ebe7;
  color: #0b0e0b;
}

.company::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(8, 12, 9, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 12, 9, 0.09) 1px, transparent 1px);
  background-size: 82px 82px;
}

.company-content {
  position: relative;
  z-index: 2;
}

.company .section-kicker {
  color: #386f08;
}

.company-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.66fr;
  gap: 10vw;
  align-items: end;
  margin-top: 72px;
}

.company-grid h2 span {
  color: #727a73;
}

.company-copy {
  padding-bottom: 8px;
}

.company-copy p {
  margin: 0;
  color: #4f5750;
  line-height: 1.75;
}

.company-copy .company-lead {
  margin-bottom: 22px;
  color: #111611;
  font-size: 1.23rem;
  line-height: 1.55;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 5px;
  border-bottom: 1px solid #121712;
  font-size: 0.86rem;
  font-weight: 800;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 130px;
  border-block: 1px solid rgba(11, 14, 11, 0.18);
}

.principle {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid rgba(11, 14, 11, 0.18);
}

.principle:last-child { border-right: 0; }

.principle > span {
  color: #5b645c;
  font: 600 0.74rem "Space Grotesk", sans-serif;
}

.principle h3 {
  margin: 60px 0 14px;
  font: 650 1.55rem "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.principle p {
  max-width: 290px;
  margin: 0;
  color: #5b635c;
  font-size: 0.9rem;
  line-height: 1.65;
}

.company-pin {
  position: absolute;
  right: -12vw;
  bottom: -9vw;
  z-index: 1;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  opacity: 0.07;
  transform: rotate(-8deg) translateY(calc(var(--company-progress, 0) * -70px));
}

.company-pin span {
  position: absolute;
  inset: 48% auto auto 0;
  font: 800 11vw/1 "Space Grotesk", sans-serif;
  letter-spacing: -0.08em;
}

.company-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.statement {
  padding: 150px max(24px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background: #060806;
}

.statement-label {
  margin: 0 0 76px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.statement-line {
  display: flex;
  align-items: baseline;
  gap: 0.22em;
  white-space: nowrap;
  font: 650 clamp(3.3rem, 8.2vw, 9rem)/0.95 "Space Grotesk", sans-serif;
  letter-spacing: -0.075em;
}

.statement-line span { color: #f2f5f2; }
.statement-line b { color: #434944; font-weight: 600; }
.statement-line-offset { margin-left: 10vw; }

.contact {
  padding-block: 130px;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 8vw;
  min-height: 590px;
  padding: clamp(42px, 7vw, 90px);
  color: #081006;
  background: var(--green);
  overflow: hidden;
}

.contact-card::before {
  content: "K";
  position: absolute;
  right: -0.02em;
  bottom: -0.28em;
  color: rgba(6, 8, 6, 0.08);
  font: 800 32rem/1 "Space Grotesk", sans-serif;
}

.contact-intro,
.contact-details {
  position: relative;
  z-index: 1;
}

.contact .section-kicker {
  color: #274e07;
}

.contact h2 {
  margin-top: 42px;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
}

.contact-intro > p:not(.section-kicker) {
  max-width: 510px;
  margin: 28px 0 0;
  color: rgba(8, 16, 6, 0.72);
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button-dark {
  color: #f4f7f3;
  background: #0b100b;
}

.button-outline-dark {
  border-color: rgba(8, 16, 6, 0.55);
}

.contact-details {
  align-self: stretch;
  display: grid;
  align-content: space-between;
  padding-left: 42px;
  border-left: 1px solid rgba(8, 16, 6, 0.25);
  font-style: normal;
}

.contact-details > div {
  display: grid;
  gap: 8px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(8, 16, 6, 0.18);
}

.contact-details > div:last-child { border-bottom: 0; }

.contact-details span {
  color: rgba(8, 16, 6, 0.55);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-details p,
.contact-details a {
  margin: 0;
  color: #081006;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.6;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 130px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  color: #6f7871;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.footer-brand {
  width: 100px;
  height: 45px;
  overflow: hidden;
}

.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 61%;
  transform: scale(1.45);
}

.site-footer p { margin: 0; text-align: center; }
.site-footer > span { justify-self: end; }

.js .reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}

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

@media (max-width: 1000px) {
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > div { grid-template-columns: 1fr; }
  .section-heading > div > p { max-width: 550px; }

  .product-explorer { grid-template-columns: 190px 1fr; }
  .product-panel { grid-template-columns: 1fr; }
  .product-kinetic {
    position: absolute;
    right: -34px;
    bottom: -54px;
    width: 270px;
    opacity: 0.42;
  }
  .product-copy { position: relative; z-index: 2; }

  .company-grid { gap: 7vw; }
  .principle { padding: 26px; }
  .contact-card { grid-template-columns: 1fr; gap: 60px; }
  .contact-details { padding-left: 0; border-left: 0; border-top: 1px solid rgba(8, 16, 6, 0.25); }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .statement-line {
    flex-wrap: wrap;
    white-space: normal;
  }

  .statement-line-offset {
    margin-left: 5vw;
  }
}

@media (max-width: 900px) {
  .site-header { z-index: 40; }
  .site-header.is-scrolled { width: calc(100% - 20px); padding-inline: 12px; }
  .header-cta { display: none; }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: inherit;
    background: rgba(0, 0, 0, 0.2);
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: -1;
    width: 100vw;
    height: 100svh;
    display: grid;
    align-content: center;
    gap: 24px;
    padding: 90px 28px 40px;
    background: rgba(5, 8, 6, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -16px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .mobile-menu a {
    font: 650 clamp(2rem, 10vw, 4rem) "Space Grotesk", sans-serif;
    letter-spacing: -0.05em;
  }

  .mobile-menu a:last-child {
    margin-top: 22px;
    color: var(--green);
    font: 600 0.82rem "Manrope", sans-serif;
    letter-spacing: 0;
  }

  body.menu-open { overflow: hidden; }

  .hero {
    display: block;
    min-height: 100svh;
    padding-top: 116px;
  }

  .hero-backdrop {
    inset: -2% -26%;
    height: 70%;
    transform: translate3d(0, calc(var(--hero-scroll, 0) * 70px), 0) scale(1.08);
  }

  .hero-backdrop::after {
    background:
      linear-gradient(180deg, rgba(6, 8, 6, 0.18), rgba(6, 8, 6, 0.42) 48%, #060806 92%),
      linear-gradient(90deg, rgba(6,8,6,.5), transparent 65%);
  }

  .hero-backdrop img { object-position: 61% center; }
  .hero-copy { padding-top: clamp(34vh, 44vh, 48vh); }
  .hero-stage { position: absolute; inset: 0; min-height: 0; }
  .label-one { top: 21%; right: 6%; }
  .label-two { left: 8%; bottom: 51%; }
  .label-three { display: none; }
  .stage-seal { width: 88px; right: 7%; bottom: 47%; }
  .stage-seal b { font-size: 2rem; }
  .stage-seal span { font-size: 0.52rem; }

  .portfolio { padding-block: 100px; }
  .product-explorer {
    display: block;
    min-height: 0;
    margin-top: 54px;
    border: 0;
    background: transparent;
  }

  .product-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 16px;
    border-right: 0;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .product-tabs::-webkit-scrollbar { display: none; }
  .product-tabs button {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 17px;
    border: 1px solid var(--line);
    scroll-snap-align: start;
  }
  .product-tabs button:last-child { border-bottom: 1px solid var(--line); }
  .product-tabs button:hover,
  .product-tabs button:focus-visible,
  .product-tabs button[aria-selected="true"] { padding-left: 17px; border-color: rgba(124,255,0,.5); }
  .product-tabs button::after { inset: auto 10px 0; width: auto; height: 2px; transform: scaleX(0); }
  .product-tabs button[aria-selected="true"]::after { transform: scaleX(1); }

  .product-panel {
    min-height: 570px;
    margin-top: 10px;
    padding: 44px 28px 180px;
    border: 1px solid var(--line);
  }

  .product-kinetic { right: 50%; bottom: -64px; transform: translateX(50%); }

  .company { min-height: auto; padding-block: 100px; }
  .company-grid { grid-template-columns: 1fr; margin-top: 54px; }
  .company-copy { max-width: 650px; }
  .principles { grid-template-columns: 1fr; margin-top: 80px; }
  .principle { min-height: 210px; border-right: 0; border-bottom: 1px solid rgba(11,14,11,.18); }
  .principle:last-child { border-bottom: 0; }
  .principle h3 { margin-top: 42px; }
  .company-pin { width: 90vw; right: -45vw; }

  .statement { padding-block: 100px; }
  .statement-label { margin-bottom: 50px; }
  .statement-line {
    display: block;
    white-space: normal;
    font-size: clamp(3.5rem, 14vw, 6.5rem);
  }
  .statement-line span,
  .statement-line b { display: block; }
  .statement-line-offset { margin: 34px 0 0 12vw; }

  .site-footer { grid-template-columns: 1fr auto; min-height: 150px; }
  .site-footer p { display: none; }
}

@media (max-width: 560px) {
  .section-shell,
  .site-footer { width: calc(100% - 36px); }
  .section-heading h2,
  .company-grid h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .hero-copy { padding-top: 41vh; }
  .hero-lead { font-size: 1rem; }
  .hero-proof { gap: 0; }
  .hero-proof div { min-width: 104px; padding-inline: 9px; }
  .hero-proof strong { font-size: 1rem; }
  .hero-proof span { font-size: 0.62rem; }
  .orbit-label { font-size: 0.58rem; padding: 7px 9px; }
  .stage-seal { display: none; }

  .product-copy h3 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .company-grid { gap: 46px; }
  .principle { padding-inline: 12px; }

  .contact { padding-block: 80px; }
  .contact-card { margin-inline: -2px; padding: 42px 24px; }
  .contact h2 { margin-top: 28px; font-size: clamp(2.8rem, 13vw, 4.1rem); }
  .contact-actions { display: grid; }
  .contact-details { gap: 6px; }
  .site-footer { font-size: 0.62rem; }
}

@media (hover: none) {
  .cursor-light { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .ring-a,
  .ring-b,
  .scroll-cue i { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-backdrop { transform: scale(1.04); }
}
