/* Home · hero, BECCS (peak), solutions, works, clients, reach (3D map), equipment, process. */

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 165vh;
  background: var(--bg);
}
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  inset: 0;
  transform-origin: 62% 60%;
  will-change: transform;
}
/* the photo and its blueprint share one cover-fitted plate, so the drawing sits on the real silos */
.hero__stage {
  --px: 0.5;
}
.hero__plate {
  position: absolute;
  top: calc((100% - max(56.25vw, 100svh)) * 0.5);
  left: calc((100% - max(100vw, 177.78dvh)) * var(--px));
  width: max(100vw, 177.78dvh);
  height: max(56.25vw, 100svh);
  max-width: none;
}
.hero__plate img {
  width: 100%;
  height: 100%;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 30% at 70% 74%, rgba(255, 138, 61, 0.28), transparent 70%),
    radial-gradient(60% 45% at 50% 110%, rgba(231, 106, 29, 0.18), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 10, 17, 0.9) 0%, rgba(6, 10, 17, 0.62) 34%, rgba(6, 10, 17, 0) 62%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 10, 17, 0.6) 18%, rgba(6, 10, 17, 0) 42%),
    linear-gradient(180deg, rgba(6, 10, 17, 0.55) 0%, rgba(6, 10, 17, 0) 22%);
}
.hero__blueprint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}
.hero__blueprint .bp-axis {
  opacity: 0;
  animation: bp-fade 1.2s var(--ease-out) 1.6s forwards;
}
.hero__blueprint path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .hero__blueprint .bp-draw path {
  animation: bp-draw 2.4s var(--ease-io) forwards;
}
.js .hero__blueprint .bp-draw path:nth-child(2) {
  animation-delay: 0.25s;
}
.js .hero__blueprint .bp-draw path:nth-child(3) {
  animation-delay: 0.9s;
}
.js .hero__blueprint .bp-draw path:nth-child(3) {
  animation-delay: 1.2s;
}
.js .hero__blueprint .bp-draw path:nth-child(4) {
  animation-delay: 0.1s;
}
.js .hero__blueprint .bp-dims path {
  animation: bp-draw 1.6s var(--ease-out) 1.4s forwards;
}
.hero__blueprint .bp-axes {
  opacity: 0;
  animation: bp-fade 1s var(--ease-out) 1.9s forwards;
}
html:not(.js) .hero__blueprint path {
  stroke-dashoffset: 0;
}
html:not(.js) .hero__blueprint .bp-axes {
  opacity: 1;
}
@keyframes bp-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes bp-fade {
  to {
    opacity: 1;
  }
}

.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(176px, 24vh, 250px);
  display: grid;
  justify-items: start;
  gap: 26px;
  will-change: transform;
}
.hero__title {
  font-size: clamp(2.45rem, 4.75vw, 5.1rem);
  max-width: 16ch;
}
.hero__lead {
  max-width: 44ch;
  color: #c3cbd6;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 0 0 1px rgba(255, 138, 61, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition:
    background-color 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}
.hero__badge svg {
  width: 15px;
  height: 15px;
  transition: transform 220ms var(--ease-out);
}
.hero__badge:active {
  transform: scale(0.98);
}
@media (hover: hover) and (pointer: fine) {
  .hero__badge:hover {
    background: rgba(255, 138, 61, 0.14);
  }
  .hero__badge:hover svg {
    transform: translateX(3px);
  }
}
.hero__badge-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent-hi);
}
.hero__badge-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 1px solid var(--accent-hi);
  opacity: 0;
  animation: ping 2.6s var(--ease-out) infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.5);
    opacity: 0.9;
  }
  80%,
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.hero__stats-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(18px, 3.2vh, 34px);
  will-change: transform;
}
.hero__stats {
  /* frosted look from an opaque tint: the blueprint lines behind stay hidden without a live blur */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    #0a101a;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 6px;
  border-radius: 20px;
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
  padding: 18px 24px;
}
.stat + .stat {
  box-shadow: inset 1px 0 0 rgba(214, 226, 240, 0.1);
}
.stat dt {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.35;
}
.stat dd {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1;
  font-weight: 520;
  letter-spacing: -0.03em;
}

/* ================= BECCS ================= */
.beccs {
  position: relative;
  background: var(--bg);
  color: var(--ink);
}
.beccs__stage {
  position: relative;
  overflow: hidden;
}
.bx-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 50% 40%, #0c1a2c 0%, rgba(6, 10, 17, 0) 70%),
    var(--bg);
}
.bx-bg__glow {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 90vmax;
  height: 90vmax;
  margin: -45vmax 0 0 -45vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(231, 106, 29, 0.32), rgba(231, 106, 29, 0.08) 45%, transparent 70%);
  opacity: 0;
  will-change: transform, opacity;
}
.bx-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bx-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* no non-scaling-stroke: it turns pathLength dashes into 1px screen dashes, so the line could not grow */
.bx-line path {
  fill: none;
  stroke: var(--accent-hi);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
/* soft halo drawn as a wide faint stroke (a drop-shadow filter re-rasterises every frame) */
.bx-line path.bx-line__glow {
  stroke-width: 10;
  stroke-opacity: 0.16;
}

/* scenes: static, readable flow by default (no JS / reduced motion) */
.bx-scene {
  position: relative;
  padding: clamp(80px, 12vh, 140px) var(--gutter);
}
.bx-kicker {
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 28px;
}
.bx-big {
  font-size: clamp(2.3rem, 5.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 520;
  max-width: 17ch;
}
.bx-big > span {
  display: block;
}
.bx-big > span + span {
  margin-top: 0.5em;
}
.bx-big em {
  font-style: normal;
  font-weight: 640;
  color: var(--accent-hi);
}
.bx-ping {
  display: none;
}
.bx-place,
.bx-counter {
  background-color: rgba(11, 18, 29, 0.86);
}
.bx-place {
  max-width: 560px;
  padding: 30px 32px;
}
.bx-coord {
  color: var(--accent-hi);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.bx-place__sub {
  margin-top: 10px;
  font-size: var(--t-3);
  color: var(--ink-2);
}
.bx-s3 {
  display: grid;
  justify-items: center;
  text-align: center;
}
.bx-plate {
  display: none;
}
.bx-s3__pre {
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  font-weight: 520;
  letter-spacing: -0.022em;
  color: #fff;
}
.bx-s3__post {
  font-size: var(--t-3);
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.bx-word {
  display: flex;
  font-size: clamp(4.6rem, min(16vw, 30vh), 15rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
  font-weight: 640;
  color: #f6f7f9;
  margin: clamp(10px, 2vh, 22px) 0 clamp(8px, 1.6vh, 16px);
}
.bx-word span {
  display: inline-block;
  will-change: transform, opacity, filter;
}
.bx-s3__exp {
  margin-top: 22px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.bx-seal {
  margin-top: clamp(24px, 4vh, 40px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent-surface);
  color: #fff;
  font-weight: 560;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  letter-spacing: -0.005em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 36px -18px rgba(2, 6, 14, 0.7);
}
.bx-seal__dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #fff;
}
.bx-s4 {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
}
.bx-s4__copy .lead {
  margin-top: 18px;
}
.bx-steps {
  margin-top: 36px;
  display: grid;
  gap: 2px;
  counter-reset: s;
}
.bx-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 1.05rem;
  transition: color 300ms var(--ease-out);
}
.bx-steps li span {
  font-size: 0.78rem;
  color: var(--ink-3);
  transition: color 300ms var(--ease-out);
}
.bx-steps li.is-on {
  color: var(--ink);
}
.bx-steps li.is-on span {
  color: var(--accent-hi);
}
.bx-diagram {
  position: relative;
  height: min(78vh, 760px);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(10, 17, 28, 0.6);
  box-shadow:
    inset 0 0 0 1px rgba(214, 226, 240, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.bx-diagram__cam {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.bx-svg {
  width: 100%;
  height: auto;
}
.bx-counter {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 16px 20px;
  border-radius: 14px;
}
.bx-counter__num {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.bx-counter__lbl {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.9rem;
}
.bx-note {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.bx-light {
  display: none;
}
.on-light {
  --ink: var(--paper-ink);
  --ink-2: var(--paper-ink-2);
  --ink-3: #5d6876;
  --line: rgba(11, 18, 29, 0.1);
  color: var(--ink);
}
.on-light .accent {
  color: var(--accent-deep);
}
.bx-s5,
.bx-s6 {
  background: var(--paper);
}
.bx-s5 {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.bx-s5__t {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 520;
  text-wrap: balance;
}
.bx-s5__t strong {
  font-weight: 650;
}
.bx-s5__p {
  margin-top: 22px;
  color: var(--ink-2);
  font-size: var(--t-lead);
  line-height: 1.55;
  max-width: 44ch;
}
.bx-chip {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(11, 18, 29, 0.08),
    0 14px 30px -18px rgba(20, 32, 48, 0.45);
  font-size: 0.95rem;
  color: var(--ink-2);
}
.bx-chip img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 5px;
  border-radius: 999px;
  background: var(--paper);
}
.bx-chip strong {
  color: var(--ink);
  font-weight: 600;
}
.bx-iso__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.bx-s6 {
  text-align: center;
}
.bx-s6__inner {
  display: grid;
  justify-items: center;
  gap: 26px;
}
.bx-s6__first {
  font-size: clamp(2.6rem, 7.2vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 12ch;
  text-wrap: balance;
}
.bx-s6__legacy {
  font-size: var(--t-lead);
  color: var(--ink-2);
  max-width: 40ch;
}
.bx-s6__actions {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: 8px;
}
.bx-s6__meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* live (pinned) mode */
.beccs.is-live .beccs__track {
  height: 900vh;
}
.beccs.is-live .beccs__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}
.beccs.is-live .bx-scene {
  position: absolute;
  inset: 0;
  padding: 0;
  display: flex;
  align-items: center;
  background: none;
}
.beccs.is-live .bx-s1 .wrap {
  position: relative;
}
.beccs.is-live .bx-big {
  position: relative;
  max-width: 15ch;
}
.beccs.is-live .bx-big > span + span {
  position: absolute;
  inset: 0;
  margin: 0;
}
.beccs.is-live .bx-s2 {
  justify-content: center;
}
.beccs.is-live .bx-ping {
  display: block;
  position: absolute;
  left: 34%;
  top: 56%;
  width: 0;
  height: 0;
}
.bx-ping i {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: var(--accent-hi);
  box-shadow: 0 0 0 5px rgba(255, 138, 61, 0.2);
}
.bx-ping span {
  position: absolute;
  left: -40px;
  top: -40px;
  width: 80px;
  height: 80px;
  border-radius: 99px;
  border: 1px solid rgba(255, 138, 61, 0.6);
  animation: bx-ring 2.8s var(--ease-out) infinite;
}
.bx-ping span + span {
  animation-delay: 1.4s;
}
@keyframes bx-ring {
  from {
    transform: scale(0.2);
    opacity: 1;
  }
  to {
    transform: scale(2.2);
    opacity: 0;
  }
}
.beccs.is-live .bx-place {
  position: absolute;
  left: calc(34% + 56px);
  top: calc(56% - 40px);
  transform: translateY(-50%);
}
.beccs.is-live .bx-s3 {
  flex-direction: column;
  justify-content: center;
}
.bx-card {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}
.beccs.is-live .bx-card {
  width: min(80vw, 1180px);
  padding: clamp(36px, 6.5vh, 72px) clamp(28px, 5vw, 80px) clamp(40px, 7vh, 76px);
}
.beccs.is-live .bx-plate {
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(231, 106, 29, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(34, 54, 80, 0.94), rgba(17, 30, 48, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(214, 226, 240, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 60px 120px -50px rgba(0, 0, 0, 0.9);
  /* opaque glass tint instead of a live backdrop blur over the moving glow and particles */
  overflow: hidden;
}
.bx-plate__sweep {
  position: absolute;
  inset: -40% -10%;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  will-change: transform;
  pointer-events: none;
}
.beccs.is-live .bx-card > :not(.bx-plate) {
  position: relative;
}
.beccs.is-live .bx-s3 {
  justify-content: center;
}
.beccs.is-live .bx-s4 {
  display: grid;
  width: 100%;
  padding-inline: var(--gutter);
  padding-top: calc(var(--nav-h) + 20px);
}
.beccs.is-live .bx-light {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--paper);
  clip-path: circle(0% at 74% 100%);
  will-change: clip-path;
}
.bx-light__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image:
    linear-gradient(rgba(11, 18, 29, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 29, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 60%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 70% at 70% 60%, #000 30%, transparent 80%);
  will-change: opacity;
}
.beccs.is-live .bx-s5 {
  padding: calc(var(--nav-h) + 20px) var(--gutter) 0;
  display: grid;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
}
.beccs.is-live .bx-s6 {
  justify-content: center;
}
.beccs.is-live .bx-s6 .wrap {
  width: 100%;
}

/* ================= SOLUTIONS ================= */
.solutions {
  padding-top: clamp(96px, 12vw, 160px);
}
.solutions__head {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.sol {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.sol__visual {
  position: sticky;
  top: 110px;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - 140px);
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #dfe3e6;
  box-shadow: 0 40px 80px -40px rgba(20, 32, 48, 0.5);
}
.sol__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 700ms var(--ease-out),
    transform 1200ms var(--ease-out);
}
.sol__visual img.is-active {
  opacity: 1;
  transform: none;
}
.sol__visual-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8, 13, 22, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.sol__list {
  border-bottom: 1px solid var(--line);
}
.sol__thumb {
  display: none;
}
.sol__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  row-gap: 10px;
  padding: clamp(26px, 3vw, 38px) 0;
  border-top: 1px solid var(--line);
}
.sol__title {
  grid-column: 1;
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 520;
  transition:
    transform 420ms var(--ease-out),
    color 300ms var(--ease-out);
}
.sol__desc {
  grid-column: 1;
  color: var(--ink-2);
  max-width: 46ch;
  transition: transform 420ms var(--ease-out);
}
.sol__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition:
    background-color 300ms var(--ease-out),
    color 300ms var(--ease-out),
    transform 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
}
.sol__go svg {
  width: 18px;
  height: 18px;
}
.sol__item.is-active .sol__title {
  transform: translateX(10px);
}
.sol__item.is-active .sol__desc {
  transform: translateX(10px);
}
.sol__item.is-active .sol__go {
  background: var(--accent-surface);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(20, 32, 48, 0.55);
  transform: rotate(45deg);
}
.solutions__cta {
  margin-top: clamp(40px, 5vw, 64px);
}

/* ================= WORKS ================= */
.works {
  background: var(--bg);
  overflow: hidden;
}
.works__pin {
  position: relative;
}
.works__track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.4vw, 56px);
  height: 100vh;
  height: 100svh;
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
}
.works__head {
  width: clamp(320px, 30vw, 460px);
  display: grid;
  gap: 22px;
  justify-items: start;
  flex: none;
}
.work {
  flex: none;
  width: clamp(420px, 52vw, 820px);
}
.work__frame {
  aspect-ratio: 16 / 10.5;
  border-radius: 22px;
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9);
}
.work__frame img {
  transform: scale(1.14);
  will-change: transform;
}
.work__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 20px 4px 0;
}
.work__meta p {
  color: var(--ink-2);
  font-size: var(--t-small);
  text-align: right;
}
.work-end {
  flex: none;
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-right: 6vw;
  color: var(--ink);
}
.work-end__ring {
  display: grid;
  place-items: center;
  width: clamp(150px, 14vw, 210px);
  height: clamp(150px, 14vw, 210px);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  transition:
    background-color 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}
.work-end__ring svg {
  width: 30px;
  height: 30px;
}
.work-end__t {
  font-weight: 500;
}
.work-end:active .work-end__ring {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .work-end:hover .work-end__ring {
    background: var(--accent-surface);
  }
}

/* ================= CLIENTS ================= */
.clients {
  padding-block: clamp(96px, 11vw, 150px) clamp(110px, 12vw, 170px);
  overflow: hidden;
}
.clients__head {
  margin-bottom: clamp(44px, 6vw, 76px);
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee {
  margin-top: clamp(10px, 1.4vw, 20px);
}
.marquee__inner {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__row {
  display: flex;
  flex: none;
}
.marquee__row span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: clamp(2rem, 5.2vw, 4.6rem);
  font-weight: 540;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #e9edf2;
}
.marquee__row span::after {
  content: "";
  width: 0.16em;
  height: 0.16em;
  margin: 0 0.7em;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.marquee--b .marquee__row span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 226, 240, 0.42);
}
.marquee--b .marquee__row span::after {
  background: rgba(214, 226, 240, 0.3);
}
html:not(.js) .marquee__row {
  flex-wrap: wrap;
}

/* ================= REACH (3D map) ================= */
.reach {
  position: relative;
  background: var(--bg);
}
.reach__stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}
.reach__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
}
.reach.is-gl .reach__canvas {
  opacity: 1;
}
.reach__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center end;
  padding: 80px var(--gutter);
}
.reach.is-gl .reach__fallback {
  display: none;
}
.reach__fallback svg {
  width: min(60vw, 720px);
  height: auto;
}
.reach__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 60% 50%, transparent 55%, rgba(6, 10, 17, 0.85) 100%),
    linear-gradient(90deg, rgba(6, 10, 17, 0.85), rgba(6, 10, 17, 0) 45%);
}
.reach__intro {
  position: relative;
  padding-top: clamp(120px, 18vh, 200px);
  display: grid;
  gap: 22px;
  justify-items: start;
}
.reach__intro .h1 {
  max-width: 12ch;
}
.reach__intro .lead {
  max-width: 42ch;
}
.reach__card {
  /* the map behind re-renders every frame; an opaque tint reads like glass without a per-frame blur */
  background-color: rgba(9, 15, 25, 0.94);
  position: absolute;
  left: 0;
  top: 0;
  width: 320px;
  padding: 20px 22px 22px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.reach__card.is-on {
  pointer-events: auto;
}
.reach__card .h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-top: 8px;
}
.reach__card .h2 span {
  color: var(--ink-3);
  font-weight: 450;
}
.reach__kind {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-hi);
}
.reach__dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent-hi);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.18);
  flex: none;
}
.reach__dot--obra {
  background: #cfe0f2;
  box-shadow: 0 0 0 4px rgba(207, 224, 242, 0.14);
}
.reach__coord {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.reach__beccs {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(231, 106, 29, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 61, 0.3);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  transition: background-color 200ms var(--ease-out);
}
.reach__beccs svg {
  width: 16px;
  height: 16px;
  flex: none;
}
@media (hover: hover) and (pointer: fine) {
  .reach__beccs:hover {
    background: rgba(231, 106, 29, 0.26);
  }
}
.reach__outro {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(32px, 7vh, 72px);
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  opacity: 0;
  padding-inline: var(--gutter);
}
.reach__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink-2);
}
.reach__legend li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.reach__tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.reach-tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 5px 10px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #dbe6f2;
  background: rgba(8, 13, 22, 0.6);
  box-shadow: inset 0 0 0 1px rgba(214, 226, 240, 0.14);
  opacity: 0;
  will-change: transform, opacity;
}
/* live mode */
.reach.is-live .reach__track {
  height: 560vh;
}
.reach.is-live .reach__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
}
/* static mode: cards readable in flow */
.reach:not(.is-live) .reach__card {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  margin: 24px var(--gutter) 0;
  display: block;
}
.reach:not(.is-live) .reach__outro {
  position: relative;
  opacity: 1;
  padding-block: 40px 80px;
}
.reach:not(.is-live) .reach__fallback {
  position: relative;
  place-items: center;
}

/* ================= EQUIPMENT ================= */
.equip {
  overflow: hidden;
}
.equip__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.equip__rep {
  font-size: var(--t-3);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.rail__ctrl {
  display: flex;
  gap: 10px;
  flex: none;
}
.rail {
  --rail-pad: max(var(--gutter), calc((100vw - var(--max)) / 2));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar {
  display: none;
}
.rail.is-drag {
  cursor: grabbing;
  scroll-snap-type: none;
}
.rail.is-drag a {
  pointer-events: none;
}
.rail__track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  padding: 8px var(--rail-pad) 40px;
  width: max-content;
}
.rail__track li {
  scroll-snap-align: start;
}
.eq-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: clamp(272px, 27vw, 368px);
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(11, 18, 29, 0.06),
    0 24px 50px -36px rgba(20, 32, 48, 0.5);
  transition:
    transform 420ms var(--ease-out),
    box-shadow 420ms var(--ease-out);
}
.eq-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f5f6;
}
.eq-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.eq-card__body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 8px;
}
.eq-card__body p {
  color: var(--ink-2);
  font-size: var(--t-small);
  line-height: 1.5;
}
.eq-card__go {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(11, 18, 29, 0.08);
  transition:
    background-color 300ms var(--ease-out),
    color 300ms var(--ease-out);
}
.eq-card__go svg {
  width: 16px;
  height: 16px;
}
.eq-card:active {
  transform: scale(0.985);
}
@media (hover: hover) and (pointer: fine) {
  .eq-card:hover {
    transform: translateY(-6px);
    box-shadow:
      inset 0 0 0 1px rgba(11, 18, 29, 0.06),
      0 40px 70px -40px rgba(20, 32, 48, 0.6);
  }
  .eq-card:hover .eq-card__img img {
    transform: scale(1.05);
  }
  .eq-card:hover .eq-card__go {
    background: var(--accent-surface);
    color: #fff;
  }
}

/* ================= PROCESS ================= */
.process {
  padding-top: clamp(64px, 8vw, 110px);
}
.process__head {
  display: grid;
  gap: 22px;
  max-width: 900px;
}
.process__head .h1 {
  max-width: 18ch;
}
.process__flow {
  position: relative;
  margin-top: clamp(56px, 7vw, 100px);
}
.process__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 2px;
  background: rgba(11, 18, 29, 0.1);
  border-radius: 2px;
}
.process__line span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 1));
}
.js .process__line span {
  --p: 0;
}
.process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.step {
  display: grid;
  gap: 10px;
  align-content: start;
}
.step__node {
  width: 24px;
  height: 24px;
  border-radius: 99px;
  background: var(--paper);
  box-shadow: inset 0 0 0 2px rgba(11, 18, 29, 0.18);
  margin-bottom: 18px;
  transition:
    background-color 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}
.step p {
  color: var(--ink-2);
  font-size: var(--t-small);
  max-width: 24ch;
}
.step.is-on .step__node,
html:not(.js) .step__node {
  background: var(--accent);
  box-shadow:
    inset 0 0 0 5px var(--paper),
    0 0 0 2px var(--accent);
}
.js .step {
  opacity: 0.38;
  transition: opacity 500ms var(--ease-out);
}
.js .step.is-on {
  opacity: 1;
}
.process__cta {
  margin-top: clamp(56px, 6vw, 84px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .bx-s4 {
    grid-template-columns: 1fr;
  }
  .beccs.is-live .bx-s4 {
    align-content: start;
    gap: 18px;
  }
  .beccs.is-live .bx-steps {
    display: none;
  }
  .beccs.is-live .bx-diagram {
    height: 52vh;
  }
  .bx-s5 {
    grid-template-columns: 1fr;
  }
  .beccs.is-live .bx-s5 {
    align-content: start;
    gap: 8px;
  }
}

@media (max-width: 860px) {
  .hero {
    height: 140vh;
  }
  .hero__stage {
    --px: 0.84;
  }
  .hero__blueprint {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, transparent 52%);
    mask-image: linear-gradient(180deg, #000 0%, #000 34%, transparent 52%);
  }
  .hero__scrim {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(6, 10, 17, 0.88) 40%, rgba(6, 10, 17, 0.25) 70%, rgba(6, 10, 17, 0.5) 100%);
  }
  .hero__content {
    bottom: 196px;
    gap: 20px;
  }
  .hero__title {
    font-size: clamp(2.3rem, 9.4vw, 3.4rem);
  }
  .hero__lead {
    font-size: 1rem;
  }
  .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 4px;
  }
  .stat {
    padding: 14px 12px;
  }
  .stat dt {
    font-size: 0.74rem;
  }
  .stat dd {
    font-size: 1.6rem;
  }

  .sol {
    grid-template-columns: 1fr;
  }
  /* on phones each item carries its own photo */
  .sol__visual {
    display: none;
  }
  .sol__thumb {
    display: block;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 6px;
    background: #dfe3e6;
  }
  .sol__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sol__go {
    grid-row: 2 / span 2;
  }
  .sol__item.is-active .sol__title,
  .sol__item.is-active .sol__desc {
    transform: none;
  }

  .works__track {
    flex-direction: column;
    align-items: stretch;
    width: auto;
    height: auto;
    padding-block: clamp(96px, 14vw, 140px);
    gap: 48px;
  }
  .works__head {
    width: auto;
  }
  .work {
    width: auto;
  }
  .work__frame img {
    transform: none;
  }
  .work__meta {
    flex-direction: column;
    gap: 6px;
  }
  .work__meta p {
    text-align: left;
  }
  .work-end {
    display: none;
  }

  .reach__intro {
    padding-top: calc(var(--nav-h) + 56px);
  }
  .reach__vignette {
    background:
      radial-gradient(120% 90% at 50% 60%, transparent 50%, rgba(6, 10, 17, 0.85) 100%),
      linear-gradient(180deg, rgba(6, 10, 17, 0.92) 0%, rgba(6, 10, 17, 0.4) 40%, rgba(6, 10, 17, 0) 60%);
  }
  .reach__card {
    width: min(300px, calc(100vw - 32px));
  }
  .reach__fallback svg {
    width: 92vw;
  }

  .equip__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .rail__ctrl {
    display: none;
  }

  .process__line {
    left: 11px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  .process__line span {
    transform-origin: 50% 0;
    transform: scaleY(var(--p, 1));
  }
  .process__steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .step {
    grid-template-columns: 24px 1fr;
    column-gap: 22px;
    row-gap: 6px;
  }
  .step__node {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .beccs.is-live .bx-big {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }
  .beccs.is-live .bx-ping {
    left: 28%;
    top: 36%;
  }
  .beccs.is-live .bx-place {
    left: var(--gutter);
    right: var(--gutter);
    top: auto;
    bottom: 12vh;
    transform: none;
    padding: 22px;
  }
  .beccs.is-live .bx-card {
    width: calc(100vw - 32px);
    padding: 32px 18px 36px;
  }
  .beccs.is-live .bx-plate {
    border-radius: 24px;
  }
  .bx-word {
    font-size: clamp(4rem, 21vw, 6rem);
  }
  .bx-s3__exp {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    max-width: 30ch;
  }
  .bx-s5__t {
    font-size: clamp(1.8rem, 7.4vw, 2.4rem);
  }
  .bx-s5__p {
    font-size: 1rem;
    margin-top: 14px;
  }
  .bx-chip {
    margin-top: 18px;
    font-size: 0.85rem;
  }
  .beccs.is-live .bx-iso {
    margin-top: 8px;
  }
  .bx-counter {
    left: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }
}

@media (max-width: 520px) {
  .stat dt {
    font-size: 0.72rem;
  }
  .stat dd {
    font-size: 1.4rem;
  }
  .hero__badge {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    height: 100vh;
    height: 100svh;
  }
  .hero__badge-dot::after,
  .bx-ping span {
    animation: none;
  }
  .js .hero__blueprint path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .hero__blueprint .bp-axes,
  .hero__blueprint .bp-axis {
    animation: none;
    opacity: 1;
  }
  .sol__visual img {
    transform: none;
  }
}

/* split words */
.w {
  display: inline-block;
}

/* static (reduced motion / no JS) compositions */
.beccs:not(.is-live) .bx-light__grid,
.beccs:not(.is-live) .bx-line,
.beccs:not(.is-live) .bx-dust {
  display: none;
}
.beccs:not(.is-live) .bx-diagram {
  height: auto;
}
.beccs:not(.is-live) .bx-diagram__cam {
  position: relative;
}
.reach:not(.is-live) .reach__stage {
  display: flex;
  flex-direction: column;
}
.reach:not(.is-live) .reach__intro {
  order: -1;
}
.reach:not(.is-live) .reach__vignette {
  display: none;
}

/* phones: the BECCS pill keeps its tint without a live blur over the moving photo */
.low-power .hero__badge {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(12, 19, 30, 0.72);
}

/* layers kept rasterised while hidden, so they appear without a paint hitch */
.beccs.is-live .bx-plate,
.beccs.is-live .bx-diagram {
  will-change: transform, opacity;
}
