@font-face {
  font-family: Urbanist;
  src: url("../fonts/urbanist-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* ==========================================================================
   DIGITALHUT — "the gallery"
   A production company reads like a broadcast gallery: a channel board,
   a tally lamp, a status line that never stops. Dubai's own light does the
   rest — blown-out daylight against hard night.
   ========================================================================== */

:root {
  /* brand */
  --ink: #0a070f;
  --surface: #120c1c;
  --purple: #7f0bbb;
  --blue: #4574ea;
  --ice: #88ccfd;
  --white: #faf8f6;
  --muted: #b8b0c5;

  /* working tones derived from the brand, not new colours */
  --day: #faf8f6;
  --day-deep: #f1eef2;
  --panel: #ffffff;
  --night: #0a070f;
  --signal: #7f0bbb;
  --steel: #6b6474;
  --rule: rgba(10, 7, 15, 0.14);
  --rule-night: rgba(250, 248, 246, 0.16);

  --gut: clamp(20px, 4.4vw, 72px);
  --band: clamp(72px, 9vw, 148px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--day);
  color: var(--ink);
  font-family: Urbanist, system-ui, sans-serif;
  font-weight: 350;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

::selection {
  background: var(--signal);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: var(--gut);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 8px;
  left: -300px;
  z-index: 200;
  background: var(--night);
  color: var(--white);
  padding: 12px 20px;
  transition: left 0.2s var(--ease);
}
.skip:focus {
  left: 8px;
}

/* --------------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------------- */

.display {
  font-weight: 800;
  font-size: clamp(2.75rem, 1.2rem + 6.4vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.h2 {
  font-weight: 750;
  font-size: clamp(2rem, 1.1rem + 3.3vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.h3 {
  font-weight: 700;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lede {
  font-weight: 350;
  font-size: clamp(1.0625rem, 0.98rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  max-width: 34ch;
}

.body-lg {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.1875rem);
  line-height: 1.62;
  max-width: 62ch;
}

.muted {
  color: var(--steel);
}

/* Section marker: a filing reference, not an eyebrow shout */
.marker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--steel);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(40px, 5vw, 76px);
}
.marker b {
  font-weight: 700;
  color: var(--night);
}
.marker .spacer {
  flex: 1;
}
.is-night .marker {
  color: var(--muted);
  border-color: var(--rule-night);
}
.is-night .marker b {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--night);
  color: var(--white);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.btn .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}
.btn:hover {
  background: var(--signal);
  color: #fff;
}
.btn:hover .dot {
  background: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--night);
  border: 1px solid var(--rule);
}
.btn-ghost:hover {
  background: var(--night);
  color: #fff;
}
.is-night .btn-ghost {
  color: var(--white);
  border-color: var(--rule-night);
}
.is-night .btn-ghost:hover {
  background: var(--white);
  color: var(--night);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: color 0.25s var(--ease);
}
.inline-link:hover {
  color: var(--signal);
}

/* --------------------------------------------------------------------------
   Header + status rail
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--day);
  border-bottom: 1px solid var(--rule);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  flex-shrink: 0;
}
.brand img {
  width: 132px;
}
/* logo ships white; on daylight it needs inverting */
.brand img {
  filter: invert(1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.desktop-nav a {
  font-size: 0.9375rem;
  font-weight: 550;
  position: relative;
  /* padding: 6px 0; */
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--signal);
  transition: width 0.3s var(--ease);
}
.desktop-nav a:hover::after {
  width: 100%;
}
.desktop-nav .btn::after {
  display: none;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-weight: 600;
  font-size: 0.9375rem;
}
.menu-btn .lines {
  display: grid;
  gap: 4px;
}
.menu-btn .lines i {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-btn[aria-expanded="true"] .lines i:first-child {
  transform: translateY(2.75px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .lines i:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 76px 0 0;
  z-index: 99;
  background: var(--day);
  padding: var(--gut);
  display: grid;
  align-content: start;
  gap: 4px;
  overflow-y: auto;
}
/* author styles outrank the UA [hidden] rule, so restate it */
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  /* padding: 14px 0; */
  border-bottom: 1px solid var(--rule);
}
.mobile-menu .btn {
  margin-top: 24px;
  width: max-content;
  font-size: 1rem;
}

/* The rail: a gallery status line. Quiet, permanent, always-on. */
.rail {
  border-bottom: 1px solid var(--rule);
  background: var(--day);
  font-size: 0.78125rem;
  font-weight: 550;
  letter-spacing: 0.005em;
  color: var(--steel);
}
.rail-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 40px;
  overflow: hidden;
  white-space: nowrap;
}
.rail .live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--night);
  font-weight: 700;
  flex-shrink: 0;
}
.lamp {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}
.rail .sep {
  color: var(--rule);
  flex-shrink: 0;
}
.rail .field {
  flex-shrink: 0;
}
.rail .field b {
  font-weight: 700;
  color: var(--night);
  font-variant-numeric: tabular-nums;
}
.rail .push {
  margin-left: auto;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: clamp(620px, 78vh, 900px);

  display: flex;
  align-items: center;

  padding-block: clamp(100px, 9vw, 140px) clamp(56px, 6vw, 96px);

  background: var(--day);
}

.hero-content {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Main Hero Layout
   -------------------------------------------------------------------------- */

.hero-layout {
  display: grid;

  /* Board on left + image on right */
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(360px, 0.95fr);

  align-items: center;

  gap: clamp(40px, 5vw, 100px);
}

/* --------------------------------------------------------------------------
   Left Content
   -------------------------------------------------------------------------- */

.hero-left {
  min-width: 0;
  margin-bottom: clamp(40px, 5vw, 76px);
}

/* --------------------------------------------------------------------------
   Channel Board
   -------------------------------------------------------------------------- */

.board {
  display: grid;

  /* "We are" + channel list */
  grid-template-columns: auto minmax(0, 1fr);

  gap: clamp(20px, 3vw, 52px);

  align-items: start;
}

/* "We are" */
.board-prefix {
  margin: 0;

  font-weight: 800;
  font-size: clamp(1.125rem, 0.9rem + 1vw, 1.75rem);

  letter-spacing: -0.02em;
  line-height: 1;

  padding-top: clamp(10px, 1.6vw, 26px);

  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Board List
   -------------------------------------------------------------------------- */

.board-list {
  position: relative;

  margin: 0;
  padding: 0;

  list-style: none;
}

/* --------------------------------------------------------------------------
   Board Items
   -------------------------------------------------------------------------- */

.board-item {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;

  padding: 0 0 0 clamp(18px, 2.4vw, 40px);

  border: 0;

  cursor: pointer;

  text-align: left;

  color: rgba(10, 7, 15, 0.24);

  transition:
    color 0.5s var(--ease),
    transform 0.4s var(--ease);
  text-wrap: nowrap;
}

/* Large channel text */
.board-item .word {
  font-weight: 800;

  font-size: clamp(2.25rem, 0.5rem + 8.2vw, 6.5rem);

  line-height: 1.02;

  letter-spacing: -0.052em;

  transition: color 0.5s var(--ease);
}

/* Active item */
.board-item[aria-pressed="true"] {
  color: var(--night);
}

/* Hover */
.board-item:hover {
  color: rgba(10, 7, 15, 0.5);
}

.board-item[aria-pressed="true"]:hover {
  color: var(--night);
}

/* --------------------------------------------------------------------------
   Tally Bar
   -------------------------------------------------------------------------- */

.board-bar {
  position: absolute;

  left: 0;

  width: clamp(4px, 0.55vw, 8px);

  background: var(--signal);

  transition:
    transform 0.65s var(--ease),
    height 0.65s var(--ease);

  will-change: transform;
}

/* --------------------------------------------------------------------------
   Board Numbers
   -------------------------------------------------------------------------- */

.board-item .idx {
  flex-shrink: 0;

  margin-left: clamp(10px, 1vw, 18px);

  font-size: 0.8125rem;

  font-weight: 700;

  color: var(--steel);

  font-variant-numeric: tabular-nums;

  opacity: 0;

  transition: opacity 0.4s var(--ease);
}

.board-item[aria-pressed="true"] .idx {
  opacity: 1;

  color: var(--signal);
}

/* --------------------------------------------------------------------------
   Hero Image
   -------------------------------------------------------------------------- */

.hero-image {
  position: relative;
  width: 600px;
  height: clamp(420px, 45vw, 480px);
  overflow: hidden;
  /* background: var(--day-deep); */
  opacity: 0;
  transform: translateY(14px);
  animation: heroRise 0.9s var(--ease) 0.2s forwards;
  justify-self: self-end;
  align-self: self-end;
  /* aspect-ratio: 1; */
  overflow: hidden;
  border-radius: 4px;
}

/* Image itself */
.hero-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;

  object-position: center;

  transform: scale(1.04);

  opacity: 0;

  transition:
    opacity 0.7s var(--ease),
    transform 1.2s var(--ease);
}

/* Show image */
.hero-image img.is-visible {
  opacity: 1;

  transform: scale(1);
}

/* If JS doesn't add is-visible, still show initial image */
.hero-image img {
  animation: heroImageShow 0.8s var(--ease) 0.3s forwards;
}

/* --------------------------------------------------------------------------
   Hero Footer
   -------------------------------------------------------------------------- */

/*
   IMPORTANT:
   hero-foot is OUTSIDE .hero-layout in your HTML.

   Therefore it sits underneath:
   - the board
   - the hero image

   and spans the complete hero width.
*/

.hero-foot {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: clamp(18px, 2.4vw, 36px);

  width: 100%;

  /* margin-top: clamp(40px, 5vw, 76px); */

  padding-top: clamp(28px, 3vw, 44px);

  border-top: 1px solid var(--rule);
}

/* Footer description */
.hero-foot .lede {
  flex: 1 1 380px;

  max-width: 46ch;
}

/* Footer buttons */
.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;
}

/* --------------------------------------------------------------------------
   Page Load Animation
   -------------------------------------------------------------------------- */

.board-prefix,
.board-item,
.hero-foot > * {
  opacity: 0;

  transform: translateY(14px);

  animation: heroRise 0.9s var(--ease) forwards;
}

/* Prefix */
.board-prefix {
  animation-delay: 0.05s;
}

/* Board items */
.board-item:nth-of-type(1) {
  animation-delay: 0.14s;
}

.board-item:nth-of-type(2) {
  animation-delay: 0.21s;
}

.board-item:nth-of-type(3) {
  animation-delay: 0.28s;
}

.board-item:nth-of-type(4) {
  animation-delay: 0.35s;
}

/* Footer */
.hero-foot > *:nth-child(1) {
  animation-delay: 0.46s;
}

.hero-foot > *:nth-child(2) {
  animation-delay: 0.53s;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

@keyframes heroRise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroImageShow {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1080px) {
  .hero {
    min-height: auto;

    padding-block: 100px 70px;
  }

  /*
     Keep board and image side-by-side for tablets
     until the layout becomes too narrow.
  */
  .hero-layout {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(300px, 0.75fr);

    gap: 40px;
  }

  .hero-image {
    height: clamp(380px, 55vw, 560px);
  }

  .board {
    gap: 20px;
  }

  .board-item .word {
    font-size: clamp(2.2rem, 5.8vw, 5.5rem);
  }
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 720px) {
  .hero {
    min-height: auto;

    padding-block: 100px 56px;
  }

  /*
     Stack everything on mobile.
  */
  .hero-layout {
    display: grid;

    grid-template-columns: 1fr;

    gap: 40px;
  }

  /* Board */
  .board {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  .board-prefix {
    padding-top: 0;
  }

  .board-item {
    padding-left: 18px;
  }

  .board-item .word {
    font-size: clamp(2.35rem, 11vw, 4.5rem);
  }

  /* Image */
  .hero-image {
    order: 2;

    width: 100%;

    height: 420px;
  }

  /* Footer */
  .hero-foot {
    align-items: flex-start;

    margin-top: 40px;
  }

  .hero-foot .lede {
    flex: 1 1 100%;

    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}

/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {
  .hero {
    padding-block: 90px 48px;
  }

  .hero-image {
    height: 340px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;

    justify-content: center;
  }

  .board-item .word {
    font-size: clamp(2.15rem, 10.5vw, 3.5rem);
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .board-item,
  .board-prefix,
  .hero-foot > *,
  .hero-image {
    opacity: 1;

    transform: none;

    animation: none;
  }

  .hero-image img {
    opacity: 1;

    transform: none;

    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Manifesto
   -------------------------------------------------------------------------- */

.manifesto {
  padding-block: clamp(56px, 7vw, 112px);
  border-top: 1px solid var(--rule);
}
.manifesto-grid {
  display: flex;
  /* grid-template-columns: minmax(0, 20ch) minmax(0, 1fr); */
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
  justify-content: space-between;
}
.manifesto p.statement {
  font-weight: 400;
  font-size: clamp(1.25rem, 0.85rem + 1.55vw, 2.375rem);
  line-height: 1.26;
  letter-spacing: -0.026em;
  max-width: 35ch;
}
.manifesto .channels {
  font-size: 3rem;
  font-weight: 600;
  /* line-height: 2; */
  color: var(--purple);
  display: grid;
  gap: 2px;
}
.manifesto .channels span {
  display: block;
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  border-block: 1px solid var(--rule);
  overflow: hidden;
  padding-block: 20px;
  background: var(--day-deep);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-weight: 750;
  font-size: clamp(1.25rem, 0.9rem + 1.3vw, 2.125rem);
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.marquee-group i {
  display: block;
  width: 9px;
  height: 9px;
  background: var(--signal);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Story
   -------------------------------------------------------------------------- */

.story {
  padding-block: var(--band);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 88px);
  align-items: end;
}
.story h2 em {
  font-style: normal;
  color: var(--signal);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 48px);
  margin-top: clamp(48px, 6vw, 92px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--rule);
}
.stat strong {
  display: block;
  font-weight: 800;
  font-size: clamp(3rem, 1.2rem + 6vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.stat strong small {
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat p {
  margin-top: 14px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--steel);
  max-width: 22ch;
}
.stat b {
  color: var(--night);
  font-weight: 650;
}

/* --------------------------------------------------------------------------
   System — night section, the machine room
   -------------------------------------------------------------------------- */

.is-night {
  background: var(--night);
  color: var(--white);
}
.is-night .muted {
  color: var(--muted);
}

.system {
  padding-block: var(--band);
}

.system-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 80px);
}
.system h2 em {
  font-style: normal;
  color: var(--ice);
}

/* Genuine 5-step sequence — numbering earns its place here */
.stage-list {
  display: grid;
}

.stage {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: start;
  gap: clamp(16px, 2.4vw, 40px);
  padding-block: clamp(22px, 2.4vw, 34px);
  border-top: 1px solid var(--rule-night);
  position: relative;
}
.stage:last-child {
  border-bottom: 1px solid var(--rule-night);
}

.stage-no {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ice);
  font-variant-numeric: tabular-nums;
  padding-top: 0.55em;
}

.stage-main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(14px, 2.4vw, 48px);
  align-items: baseline;
}
.stage-main h3 {
  font-weight: 700;
  font-size: clamp(1.375rem, 0.95rem + 1.5vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  transition: color 0.3s var(--ease);
}
.stage-main p {
  color: var(--muted);
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.55;
}
.stage:hover h3 {
  color: var(--ice);
}

.system-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(32px, 3.6vw, 56px);
}

/* --------------------------------------------------------------------------
   Clients
   -------------------------------------------------------------------------- */

.clients {
  padding-block: var(--band);
}
.clients-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 64px);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.logo-cell {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: clamp(18px, 2.4vw, 40px);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--panel);
  transition: background 0.3s var(--ease);
}
.logo-cell img {
  max-height: 46px;
  width: auto;
  /* opacity: 0.44; */
  filter: invert(1);
  transition:
    opacity 0.35s var(--ease),
    filter 0.35s var(--ease);
}
.logo-cell:hover img {
  opacity: 1;
  filter: grayscale(0);
}
.logo-cell:hover {
  background: var(--purple);
}

.logo-cta {
  background: var(--night);
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  letter-spacing: -0.02em;
  gap: 10px;
  grid-auto-flow: column;
  transition: background 0.3s var(--ease);
}
.logo-cta:hover {
  background: var(--signal);
}

/* --------------------------------------------------------------------------
   Capabilities
   -------------------------------------------------------------------------- */

.capabilities {
  padding-block: var(--band);
  border-top: 1px solid var(--rule);
}
.cap-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 4.6vw, 72px);
}

.cap-list {
  display: grid;
}

.cap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  align-items: start;
  gap: clamp(18px, 3vw, 56px);
  padding-block: clamp(28px, 3.2vw, 48px);
  border-top: 1px solid var(--rule);
}
.cap:last-of-type {
  border-bottom: 1px solid var(--rule);
}
.cap h3 {
  transition: color 0.3s var(--ease);
}
.cap:hover h3 {
  color: var(--signal);
}
.cap p {
  color: var(--steel);
  max-width: 48ch;
}
.cap .cap-go {
  align-self: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  font-size: 1.125rem;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.cap:hover .cap-go {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}

.always-on {
  margin-top: clamp(36px, 4vw, 64px);
  background: var(--surface);
  color: var(--white);
  padding: clamp(28px, 3.6vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 56px);
  align-items: center;
}
.always-on p {
  color: var(--muted);
  max-width: 52ch;
}

/* --------------------------------------------------------------------------
   Proof — night
   -------------------------------------------------------------------------- */

.proof {
  padding-block: var(--band);
}
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 88px);
  align-items: end;
}
.proof-copy p {
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 26px;
}

.meters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 56px);
  margin-top: clamp(48px, 5.6vw, 88px);
}
.meter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.meter-head p {
  font-size: 0.9375rem;
  font-weight: 600;
}
.meter strong {
  display: block;
  font-weight: 800;
  font-size: clamp(3rem, 1.4rem + 5.4vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-block: 10px 18px;
  font-variant-numeric: tabular-nums;
}
.meter strong small {
  font-size: 0.4em;
  font-weight: 700;
}
.meter-track {
  height: 2px;
  background: var(--rule-night);
  overflow: hidden;
}
.meter-track i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ice);
  transition: width 1.2s var(--ease);
}
.meter.is-filled .meter-track i {
  width: var(--fill);
}

/* --------------------------------------------------------------------------
   Closing
   -------------------------------------------------------------------------- */

.closing {
  padding-block: clamp(80px, 10vw, 180px);
  border-top: 1px solid var(--rule);
}
.closing h2 {
  max-width: 18ch;
}
.closing h2 em {
  font-style: normal;
  color: var(--signal);
}
.closing .btn {
  margin-top: clamp(32px, 4vw, 56px);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  padding-block: var(--band);
  border-top: 1px solid var(--rule);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4.4vw, 88px);
  align-items: start;
}
.contact-side p {
  color: var(--steel);
  max-width: 30ch;
}
.contact-side .detail {
  display: block;
  font-weight: 650;
  font-size: 1.0625rem;
  padding-block: 14px;
  border-bottom: 1px solid var(--rule);
}
.contact-side .detail:first-of-type {
  border-top: 1px solid var(--rule);
  margin-top: 26px;
}
.note {
  font-size: 0.8125rem;
  color: var(--steel);
  margin-top: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}
.field {
  display: grid;
  gap: 9px;
}
.field.full {
  grid-column: 1 / -1;
}
.field > span {
  font-size: 0.875rem;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 12px 2px;
  font-size: 1rem;
  font-weight: 400;
  transition: border-color 0.25s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 92px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--signal);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(10, 7, 15, 0.3);
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
}
.form-foot p {
  font-size: 0.875rem;
  color: var(--steel);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-block: clamp(56px, 6vw, 96px) 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 80px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.footer-tag {
  font-weight: 750;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.footer-nav-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.footer-nav-group nav {
  display: grid;
  gap: 11px;
  align-content: start;
}
.footer-nav-group .label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 5px;
}
.footer-nav-group a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(250, 248, 246, 0.84);
  transition: color 0.25s var(--ease);
}
.footer-nav-group a:hover {
  color: var(--ice);
}

.footer-mark {
  padding-block: clamp(20px, 3vw, 44px);
  border-top: 1px solid var(--rule-night);
}
.footer-mark img {
  width: 100%;
  max-width: 1400px;
  opacity: 0.92;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-top: 26px;
  border-top: 1px solid var(--rule-night);
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-bottom a:hover {
  color: var(--white);
}
.footer-bottom .push {
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 1081px) {
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .story-grid,
  .system-head,
  .clients-head,
  .cap-head,
  .proof-grid,
  .contact-grid,
  .footer-top,
  .manifesto-grid,
  .always-on {
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
  }
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cap {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .cap p {
    grid-column: 1 / -1;
  }
  .stage-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 720px) {
  .board {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .board-prefix {
    padding-top: 0;
  }
  .stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .stat p {
    max-width: none;
  }
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .meters {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* .footer-nav-group {
    grid-template-columns: minmax(0, 1fr);
  } */
  .rail .push {
    display: none;
  }
  .stage {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }
  .manifesto .channels {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .board-item,
  .board-prefix,
  .hero-foot > * {
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
  }
  .meter-track i {
    width: var(--fill);
  }
}
