@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #070a11;
  --night-deep: #04060b;
  --surface: #0b111d;
  --surface-raised: #101929;
  --surface-soft: #151f31;
  --text: #f4f7fb;
  --text-soft: #cbd4e2;
  --muted: #95a2b8;
  --muted-dark: #6f7d93;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --blue: #4d8dff;
  --blue-strong: #2868e8;
  --blue-soft: #a9c4ff;
  --blue-glow: rgba(77, 141, 255, 0.24);
  --ecowatt: #6bf30b;
  --ecowatt-soft: #b6ff81;
  --ecowatt-glow: rgba(107, 243, 11, 0.2);
  --shell: 1440px;
  --gutter: clamp(20px, 4vw, 72px);
  --section-space: clamp(104px, 12vw, 190px);
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --header-height: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--night);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
ol,
ul,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.case-study :focus-visible {
  outline-color: var(--ecowatt);
}

.reading-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-strong), var(--blue-soft));
  box-shadow: 0 0 18px var(--blue-glow);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background-color 280ms ease,
    border-color 280ms ease,
    backdrop-filter 280ms ease;
}

.site-header[data-scrolled="true"],
.site-header.nav-open,
.legal-page .site-header {
  border-color: var(--line);
  background: rgba(7, 10, 17, 0.82);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

.brand-name {
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.brand-name strong {
  color: var(--muted);
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 42px);
  font-size: 12px;
  font-weight: 680;
}

.site-nav a {
  position: relative;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color 220ms ease;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px;
  border: 1px solid rgba(77, 141, 255, 0.42);
  border-radius: 999px;
  background: rgba(77, 141, 255, 0.12);
  color: var(--text) !important;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms var(--ease) !important;
}

.nav-contact:hover {
  border-color: var(--blue);
  background: rgba(77, 141, 255, 0.2);
  transform: translateY(-2px);
}

.nav-contact span {
  color: var(--blue-soft);
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  min-width: 72px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

/* Shared */

.section-label,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-label::before,
.eyebrow i {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px var(--blue);
  content: "";
}

.section-label-case {
  color: rgba(255, 255, 255, 0.58);
}

.section-label-case::before {
  background: var(--ecowatt);
  box-shadow: 0 0 16px var(--ecowatt);
}

html[data-motion="ready"] [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease);
}

html[data-motion="ready"] [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 34%, rgba(77, 141, 255, 0.1), transparent 29%),
    linear-gradient(180deg, #080c15 0%, var(--night) 76%);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.hero-glow-one {
  top: -24vw;
  right: -15vw;
  width: 58vw;
  height: 58vw;
  background: radial-gradient(circle, rgba(49, 103, 216, 0.18), transparent 67%);
}

.hero-glow-two {
  bottom: -26vw;
  left: -22vw;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(77, 141, 255, 0.08), transparent 70%);
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 6.8vw, 112px);
  min-height: calc(100svh - 152px);
  padding-top: calc(var(--header-height) + 58px);
  padding-bottom: clamp(64px, 8vw, 116px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.hero h1 {
  max-width: 12.5ch;
  font-size: clamp(48px, 5.55vw, 88px);
  font-weight: 520;
  line-height: 0.99;
  letter-spacing: -0.067em;
}

.hero h1 em {
  display: inline-block;
  color: var(--blue-soft);
  font-style: normal;
  text-shadow: 0 0 44px rgba(77, 141, 255, 0.2);
}

.hero-lead {
  max-width: 620px;
  margin-top: clamp(28px, 3.8vw, 46px);
  color: var(--text-soft);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 740;
}

.button-primary {
  border: 1px solid rgba(169, 196, 255, 0.34);
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  box-shadow:
    0 14px 38px rgba(40, 104, 232, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.24);
  transition:
    transform 250ms var(--ease),
    box-shadow 250ms ease;
}

.button-primary:hover {
  box-shadow:
    0 18px 52px rgba(40, 104, 232, 0.35),
    inset 0 1px rgba(255, 255, 255, 0.24);
  transform: translateY(-3px);
}

.button-primary span {
  font-size: 17px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 680;
  transition: color 220ms ease;
}

.button-link:hover {
  color: var(--text);
}

.button-link span {
  color: var(--blue-soft);
}

.growth-visual {
  --visual-rotate-x: -1deg;
  --visual-rotate-y: -1deg;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(169, 196, 255, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 32%),
    rgba(11, 17, 29, 0.88);
  box-shadow:
    0 42px 100px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(77, 141, 255, 0.04) inset,
    0 0 80px rgba(77, 141, 255, 0.08);
  transform: perspective(1300px) rotateX(var(--visual-rotate-x)) rotateY(var(--visual-rotate-y));
  transform-style: preserve-3d;
  transition: transform 280ms ease-out;
}

html[data-motion="ready"] .growth-visual[data-reveal] {
  transform: perspective(1300px) translateY(22px) rotateX(var(--visual-rotate-x)) rotateY(var(--visual-rotate-y));
}

html[data-motion="ready"] .growth-visual[data-reveal].is-visible {
  transform: perspective(1300px) translateY(0) rotateX(var(--visual-rotate-x)) rotateY(var(--visual-rotate-y));
}

.growth-visual::before {
  position: absolute;
  z-index: 3;
  top: -80%;
  left: -45%;
  width: 55%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  content: "";
  pointer-events: none;
  transform: rotate(18deg);
}

.growth-visual-head,
.growth-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 0 clamp(18px, 2.2vw, 30px);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.growth-visual-head span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: right;
}

.growth-visual-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.growth-stage {
  position: relative;
  min-height: clamp(420px, 39vw, 570px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(77, 141, 255, 0.13), transparent 33%),
    linear-gradient(180deg, rgba(13, 23, 39, 0.2), rgba(4, 8, 15, 0.35));
}

.growth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 14.285% 20%;
  -webkit-mask-image: linear-gradient(to right, transparent 2%, black 20%, black 100%);
  mask-image: linear-gradient(to right, transparent 2%, black 20%, black 100%);
}

.growth-chart {
  position: absolute;
  z-index: 2;
  inset: 5% 2% 1%;
  width: 96%;
  height: 94%;
  overflow: visible;
}

.growth-area {
  fill: url(#growth-area);
}

.growth-line-shadow,
.growth-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.growth-line-shadow {
  stroke: rgba(77, 141, 255, 0.22);
  stroke-width: 12;
  filter: blur(8px);
}

.growth-line {
  stroke: var(--blue);
  stroke-width: 4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.growth-visual.is-visible .growth-line {
  animation: draw-growth 1.8s 320ms var(--ease) forwards;
}

@keyframes draw-growth {
  to { stroke-dashoffset: 0; }
}

.growth-node circle:first-child {
  fill: #d9e7ff;
  stroke: var(--blue);
  stroke-width: 5;
}

.growth-node .node-ring {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1;
  opacity: 0.24;
}

.node-five .node-ring {
  animation: node-pulse 2.8s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes node-pulse {
  0%, 20% { opacity: 0.55; transform: scale(0.7); }
  80%, 100% { opacity: 0; transform: scale(1.7); }
}

.growth-columns {
  position: absolute;
  z-index: 1;
  right: 7%;
  bottom: 8.5%;
  left: 7%;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 66%;
  opacity: 0.46;
}

.growth-columns i {
  width: 8.5%;
  height: var(--column);
  border: 1px solid rgba(77, 141, 255, 0.2);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(77, 141, 255, 0.26), rgba(77, 141, 255, 0.025));
  transform: scaleY(0);
  transform-origin: bottom;
}

.growth-visual.is-visible .growth-columns i {
  animation: grow-column 1.05s 0.55s var(--ease) forwards;
}

@keyframes grow-column {
  to { transform: scaleY(1); }
}

.growth-card {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 5px;
  min-width: 172px;
  padding: 14px 17px;
  border: 1px solid rgba(169, 196, 255, 0.2);
  border-radius: 15px;
  background: rgba(10, 17, 30, 0.83);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.growth-card small {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.growth-card strong {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 680;
}

.growth-card-top {
  top: 14%;
  left: 8%;
  animation: card-float 6s ease-in-out infinite;
}

.growth-card-bottom {
  right: 7%;
  bottom: 14%;
  animation: card-float 6s -3s ease-in-out infinite;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.growth-legend {
  justify-content: center;
  min-height: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  white-space: nowrap;
}

.growth-legend i {
  width: clamp(10px, 2vw, 28px);
  height: 1px;
  background: var(--line-strong);
}

.growth-visual figcaption {
  padding: 0 24px 20px;
  color: var(--muted-dark);
  font-size: 10px;
  text-align: center;
}

.client-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 2.1fr;
  align-items: stretch;
  min-height: 152px;
  border-top: 1px solid var(--line);
}

.client-strip > p {
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.client-logos li {
  min-height: 150px;
  border-right: 1px solid var(--line);
}

.client-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: inherit;
  padding: 30px;
  transition: background 240ms ease;
}

.client-logos a:hover {
  background: rgba(255, 255, 255, 0.025);
}

.client-logos img {
  width: min(170px, 78%);
  height: auto;
  object-fit: contain;
  opacity: 0.76;
  filter: grayscale(1) brightness(1.4);
  transition: opacity 220ms ease;
}

.client-logos a:hover img {
  opacity: 1;
}

/* EcoWatt case study */

.case-study {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-space);
  border-bottom: 1px solid rgba(107, 243, 11, 0.18);
  background:
    linear-gradient(180deg, rgba(8, 13, 7, 0.98), #030503 42%, #060906 100%);
  color: #f7faf5;
  --case-line: rgba(107, 243, 11, 0.17);
  --case-line-strong: rgba(107, 243, 11, 0.34);
  --case-muted: rgba(238, 245, 233, 0.6);
}

.case-study::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(107, 243, 11, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 243, 11, 0.025) 1px, transparent 1px);
  background-size: 88px 88px;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 22%, black 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 78%, transparent);
}

.case-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.case-glow-one {
  top: 10%;
  right: -24vw;
  width: 58vw;
  height: 58vw;
  background: radial-gradient(circle, rgba(107, 243, 11, 0.11), transparent 68%);
}

.case-glow-two {
  bottom: -15%;
  left: -18vw;
  width: 44vw;
  height: 44vw;
  background: radial-gradient(circle, rgba(107, 243, 11, 0.065), transparent 70%);
}

.case-header {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(60px, 9vw, 160px);
  align-items: start;
}

.case-ident {
  display: grid;
  gap: 34px;
  padding-top: 10px;
}

.case-ident > span {
  color: var(--case-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-ident img {
  width: min(260px, 84%);
  height: auto;
}

.case-heading {
  max-width: 850px;
}

.case-heading h2 {
  max-width: 13ch;
  margin-top: 28px;
  font-size: clamp(48px, 6.2vw, 96px);
  font-weight: 510;
  line-height: 0.98;
  letter-spacing: -0.068em;
}

.case-lead {
  max-width: 720px;
  margin-top: 34px;
  color: rgba(238, 245, 233, 0.7);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
}

.proof-ledger {
  position: relative;
  margin-top: clamp(74px, 9vw, 138px);
  overflow: hidden;
  border: 1px solid var(--case-line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(107, 243, 11, 0.045), transparent 28%),
    rgba(5, 9, 5, 0.9);
  box-shadow:
    0 46px 110px rgba(0, 0, 0, 0.42),
    0 0 80px rgba(107, 243, 11, 0.035);
}

.proof-ledger::before {
  position: absolute;
  z-index: 3;
  top: -24%;
  left: -15%;
  width: 38%;
  height: 150%;
  background: linear-gradient(90deg, transparent, rgba(107, 243, 11, 0.045), transparent);
  content: "";
  pointer-events: none;
  transform: rotate(12deg);
}

.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding-inline: clamp(20px, 2.5vw, 36px);
  border-bottom: 1px solid var(--case-line);
  color: var(--case-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.12em;
}

.ledger-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ledger-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ecowatt);
  box-shadow: 0 0 12px var(--ecowatt);
}

.ledger-status b {
  color: var(--ecowatt-soft);
  font-weight: 700;
}

.ledger-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--case-line);
}

.ledger-metrics li {
  position: relative;
  min-width: 0;
}

.ledger-metrics li:not(:last-child) {
  border-right: 1px solid var(--case-line);
}

.ledger-metrics li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--case-line-strong);
  border-radius: 50%;
  background: #050805;
  content: "";
  transform: translateY(-50%);
}

.ledger-metrics button {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 22px;
  width: 100%;
  min-height: 246px;
  padding: clamp(24px, 2.7vw, 40px);
  overflow: hidden;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 320ms ease;
}

.ledger-metrics button::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--ecowatt);
  box-shadow: 0 0 20px var(--ecowatt);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease);
}

.ledger-metrics button:hover,
.ledger-metrics button[aria-expanded="true"] {
  background: linear-gradient(180deg, rgba(107, 243, 11, 0.075), rgba(107, 243, 11, 0.018));
}

.ledger-metrics button[aria-expanded="true"]::before {
  transform: scaleX(1);
}

.metric-index {
  color: var(--case-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-metrics strong {
  align-self: end;
  color: #fff;
  font-size: clamp(34px, 3.1vw, 52px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.055em;
  transition: color 240ms ease;
}

.ledger-metrics li:last-child strong {
  font-size: clamp(26px, 2.35vw, 42px);
}

.ledger-metrics button[aria-expanded="true"] strong {
  color: var(--ecowatt-soft);
}

.ledger-metrics small {
  color: rgba(238, 245, 233, 0.54);
  font-size: 11px;
  line-height: 1.5;
}

.ledger-detail {
  min-height: 430px;
}

.ledger-detail > article {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 112px);
  min-height: 430px;
  padding: clamp(34px, 5vw, 74px);
  border-bottom: 1px solid var(--case-line);
}

.ledger-detail > article:last-child {
  border-bottom: 0;
}

.proof-ledger.is-enhanced [data-case-detail] {
  animation: case-detail-in 560ms var(--ease) both;
}

@keyframes case-detail-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-visual {
  position: relative;
  min-height: 265px;
  overflow: hidden;
  border: 1px solid var(--case-line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(rgba(107, 243, 11, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 243, 11, 0.04) 1px, transparent 1px),
    rgba(4, 8, 4, 0.78);
  background-size: 44px 44px;
}

.detail-visual::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(107, 243, 11, 0.1), transparent 55%);
  content: "";
}

.spend-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  padding: 38px 34px 0;
}

.spend-visual > i {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(22%, 105px);
  height: var(--height);
  padding: 14px 12px;
  border: 1px solid rgba(107, 243, 11, 0.28);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(107, 243, 11, 0.23), rgba(107, 243, 11, 0.035));
  font-style: normal;
}

.spend-visual small,
.spend-visual b {
  position: relative;
  z-index: 2;
}

.spend-visual small {
  color: var(--case-muted);
  font-size: 9px;
}

.spend-visual b {
  color: var(--ecowatt-soft);
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 650;
}

.conversion-visual,
.sales-visual,
.revenue-visual {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  padding: 34px;
}

.conversion-visual > span {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 9px;
  width: min(100%, 330px);
}

.conversion-visual i {
  aspect-ratio: 1;
  border: 1px solid rgba(107, 243, 11, 0.42);
  border-radius: 50%;
  background: rgba(107, 243, 11, 0.1);
  box-shadow: 0 0 12px rgba(107, 243, 11, 0.07);
}

.conversion-visual > strong,
.sales-visual > strong,
.revenue-visual > strong {
  position: relative;
  z-index: 1;
  color: var(--ecowatt-soft);
  font-size: clamp(30px, 3.7vw, 58px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.05em;
}

.conversion-visual strong small,
.sales-visual strong small {
  color: var(--case-muted);
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0;
}

.sales-visual > span {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(15px, 3vw, 28px);
}

.sales-visual i {
  position: relative;
  width: clamp(34px, 5vw, 62px);
  aspect-ratio: 1;
  border: 1px solid rgba(107, 243, 11, 0.48);
  border-radius: 50%;
  background: rgba(107, 243, 11, 0.16);
  box-shadow: 0 0 26px rgba(107, 243, 11, 0.12);
}

.sales-visual i::after {
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  background: var(--ecowatt);
  content: "";
}

.revenue-visual > span {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  width: min(100%, 390px);
}

.revenue-visual i {
  display: grid;
  place-items: center;
  aspect-ratio: 1.5;
  border: 1px solid rgba(107, 243, 11, 0.32);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(107, 243, 11, 0.16), rgba(107, 243, 11, 0.025));
  color: var(--ecowatt-soft);
  font-size: clamp(9px, 1vw, 13px);
  font-style: normal;
  font-weight: 680;
}

.detail-copy {
  max-width: 510px;
}

.detail-kicker {
  margin-bottom: 18px;
  color: var(--ecowatt);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.detail-copy h3 {
  font-size: clamp(28px, 3vw, 45px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.detail-copy > p:last-child {
  margin-top: 22px;
  color: var(--case-muted);
  font-size: 14px;
  line-height: 1.75;
}

.case-context {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(28px, 4.5vw, 70px);
  margin-top: clamp(42px, 6vw, 86px);
}

.case-scope,
.reference-card {
  border: 1px solid var(--case-line);
  border-radius: var(--radius-lg);
}

.case-scope {
  padding: clamp(30px, 4.5vw, 64px);
  background: rgba(5, 9, 5, 0.55);
}

.case-scope h3 {
  max-width: 14ch;
  margin-top: 28px;
  font-size: clamp(32px, 4.1vw, 60px);
  font-weight: 510;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.case-scope ol {
  margin-top: 42px;
  border-top: 1px solid var(--case-line);
}

.case-scope li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--case-line);
  color: rgba(245, 250, 241, 0.82);
  font-size: 13px;
}

.case-scope li span {
  color: var(--ecowatt);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
}

.reference-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: clamp(30px, 4vw, 54px);
  background:
    radial-gradient(circle at 90% 10%, rgba(107, 243, 11, 0.11), transparent 40%),
    rgba(8, 13, 7, 0.78);
}

.reference-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--case-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-card-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ecowatt);
  box-shadow: 0 0 14px var(--ecowatt);
}

.reference-card > img {
  width: min(270px, 78%);
  height: auto;
  margin-block: auto;
}

.reference-card > p {
  color: var(--case-muted);
  font-size: 13px;
  line-height: 1.75;
}

.reference-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--case-line);
  color: var(--ecowatt-soft);
  font-size: 12px;
  font-weight: 700;
}

.reference-card > a span {
  color: var(--ecowatt);
  font-size: 17px;
  transition: transform 240ms var(--ease);
}

.reference-card > a:hover span {
  transform: translate(3px, -3px);
}

.transparency {
  display: grid;
  grid-template-columns: minmax(270px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(40px, 7vw, 120px);
  margin-top: clamp(34px, 4.5vw, 60px);
  padding-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--case-line);
}

.transparency > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  align-items: start;
}

.transparency > div > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--case-line-strong);
  border-radius: 50%;
  color: var(--ecowatt);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.transparency h3 {
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 540;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.transparency > p {
  color: rgba(238, 245, 233, 0.5);
  font-size: 12px;
  line-height: 1.8;
}

/* Process */

.process {
  --process-progress: 0%;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 58%, rgba(77, 141, 255, 0.1), transparent 30%),
    var(--night);
}

.process::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 74px 74px;
  content: "";
  -webkit-mask-image: linear-gradient(to right, transparent, black 48%);
  mask-image: linear-gradient(to right, transparent, black 48%);
}

.process[data-process-stage="1"] { --process-progress: 0%; }
.process[data-process-stage="2"] { --process-progress: 33.333%; }
.process[data-process-stage="3"] { --process-progress: 66.666%; }
.process[data-process-stage="4"] { --process-progress: 100%; }

.process-header {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(44px, 8vw, 130px);
}

.process-header > .section-label {
  align-self: start;
  margin-top: 13px;
}

.process-header h2 {
  max-width: 13ch;
  font-size: clamp(48px, 6.1vw, 94px);
  font-weight: 510;
  line-height: 0.99;
  letter-spacing: -0.067em;
}

.process-header > div > p {
  max-width: 650px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(44px, 8vw, 130px);
  margin-top: clamp(70px, 8vw, 120px);
}

.process-status {
  position: sticky;
  top: calc(var(--header-height) + 44px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  align-self: start;
  height: 440px;
  padding: 28px;
  border: 1px solid rgba(77, 141, 255, 0.2);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 15%, rgba(77, 141, 255, 0.12), transparent 48%),
    rgba(11, 17, 29, 0.76);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.process-status-head,
.process-status-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.process-status-head strong {
  color: var(--text-soft);
  font-weight: 600;
}

.process-status-head b {
  color: var(--blue-soft);
  font-size: 16px;
  font-weight: 700;
}

.process-meter {
  position: relative;
  width: 2px;
  height: 100%;
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.process-meter i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--process-progress);
  border-radius: inherit;
  background: linear-gradient(to bottom, var(--blue-soft), var(--blue));
  box-shadow: 0 0 20px var(--blue-glow);
  transition: height 620ms var(--ease);
}

.process-meter i::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--blue-soft);
  border-radius: 50%;
  background: var(--night);
  box-shadow: 0 0 18px var(--blue);
  content: "";
  transform: translate(50%, 50%);
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: clamp(205px, 21vw, 280px);
  padding: 34px clamp(4px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  transition:
    background 460ms ease,
    border-color 460ms ease,
    padding 460ms var(--ease);
}

.process-list li::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 22px var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.08);
  transform-origin: left;
  transition:
    opacity 420ms ease,
    transform 580ms var(--ease);
}

.process-list li.is-active {
  padding-inline: clamp(20px, 3.4vw, 50px);
  border-color: rgba(77, 141, 255, 0.25);
  background:
    linear-gradient(90deg, rgba(77, 141, 255, 0.12), rgba(77, 141, 255, 0.025) 62%, transparent);
}

.process-list li.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

.process-number {
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  transition: color 320ms ease;
}

.process-list h3 {
  font-size: clamp(31px, 3.7vw, 55px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.052em;
  transition: color 320ms ease;
}

.process-list li > div p {
  max-width: 610px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.process-list li > small {
  max-width: 150px;
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.process-list li.is-active .process-number,
.process-list li.is-active h3 {
  color: var(--blue-soft);
}

/* Contact */

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(70px, 8vw, 120px) 0;
  background: var(--night-deep);
}

.contact-glow {
  position: absolute;
  z-index: -1;
  right: -14vw;
  bottom: -34vw;
  width: 68vw;
  height: 68vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 141, 255, 0.2), transparent 65%);
  pointer-events: none;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6.4vw, 94px);
  border: 1px solid rgba(77, 141, 255, 0.23);
  border-radius: clamp(28px, 4vw, 54px);
  background:
    linear-gradient(135deg, rgba(77, 141, 255, 0.09), transparent 38%),
    rgba(11, 17, 29, 0.8);
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.06);
}

.contact-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black);
  mask-image: linear-gradient(to right, transparent, black);
}

.contact-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(50px, 9vw, 150px);
  align-items: end;
  margin-top: 44px;
}

.contact-copy h2 {
  max-width: 11ch;
  font-size: clamp(48px, 6.3vw, 96px);
  font-weight: 510;
  line-height: 0.96;
  letter-spacing: -0.069em;
}

.contact-copy p {
  max-width: 520px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
}

.contact-primary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(58px, 7vw, 96px);
  padding: clamp(24px, 3.5vw, 48px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: border-color 260ms ease;
}

.contact-primary:hover {
  border-color: rgba(77, 141, 255, 0.48);
}

.contact-primary > span {
  display: grid;
  min-width: 0;
  color: var(--text);
  font-size: clamp(24px, 4.5vw, 66px);
  font-weight: 510;
  line-height: 1.1;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.contact-primary small {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-primary > i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(56px, 7vw, 92px);
  height: clamp(56px, 7vw, 92px);
  border: 1px solid rgba(169, 196, 255, 0.3);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  box-shadow: 0 18px 46px rgba(40, 104, 232, 0.25);
  font-size: clamp(20px, 2.5vw, 34px);
  font-style: normal;
  transition: transform 280ms var(--ease);
}

.contact-primary:hover > i {
  transform: translate(5px, -5px) rotate(4deg);
}

.contact-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.contact-meta address,
.copy-area button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.contact-meta address > span,
.copy-area button > span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-meta address > a {
  font-size: 13px;
  font-weight: 650;
}

.contact-meta address > a:hover {
  color: var(--blue-soft);
}

.copy-area {
  position: relative;
}

.copy-area button {
  width: 100%;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background 220ms ease;
}

.copy-area button:hover,
.copy-area button.is-copied {
  border-color: rgba(77, 141, 255, 0.48);
  background: rgba(77, 141, 255, 0.08);
}

.copy-area button i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(77, 141, 255, 0.3);
  border-radius: 50%;
  color: var(--blue-soft);
  font-size: 15px;
  font-style: normal;
}

.copy-area > small {
  position: absolute;
  top: calc(100% + 8px);
  left: 4px;
  color: var(--blue-soft);
  font-size: 10px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--night-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 116px;
  color: var(--muted);
  font-size: 10px;
}

.brand-footer img {
  width: 32px;
  height: 32px;
}

.brand-footer .brand-name {
  font-size: 12px;
}

.footer-inner > span {
  text-align: center;
}

.footer-inner nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.footer-inner nav a:hover {
  color: var(--text);
}

/* Legal */

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0%, rgba(77, 141, 255, 0.1), transparent 30%),
    var(--night);
}

.legal-back-link {
  justify-self: end;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 680;
}

.legal-back-link span {
  margin-left: 8px;
  color: var(--blue-soft);
}

.legal-main {
  min-height: 100vh;
  padding: calc(var(--header-height) + clamp(70px, 8vw, 130px)) 0 clamp(80px, 10vw, 150px);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(60px, 9vw, 150px);
}

.legal-heading h1 {
  margin-top: 28px;
  font-size: clamp(54px, 7vw, 108px);
  font-weight: 510;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.legal-content {
  max-width: 760px;
}

.legal-notice {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(77, 141, 255, 0.28);
  border-radius: var(--radius-md);
  background: rgba(77, 141, 255, 0.07);
}

.legal-notice strong {
  color: var(--blue-soft);
  font-size: 15px;
}

.legal-notice p,
.legal-block p,
.legal-block li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.legal-notice p {
  margin-top: 12px;
}

.legal-block {
  padding: clamp(36px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}

.legal-block h2 {
  margin-bottom: 22px;
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 540;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.legal-block a {
  color: var(--blue-soft);
  overflow-wrap: anywhere;
}

.legal-block ul {
  display: grid;
  gap: 12px;
}

.legal-block li {
  position: relative;
  padding-left: 22px;
}

.legal-block li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.legal-home {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 680;
}

.legal-home span {
  color: var(--blue-soft);
}

/* Intermediate */

@media (max-width: 1180px) {
  .hero-main {
    grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(48px, 5.7vw, 68px);
  }

  .growth-stage {
    min-height: 440px;
  }

  .ledger-metrics strong {
    font-size: clamp(30px, 3.1vw, 42px);
  }

  .ledger-metrics li:last-child strong {
    font-size: clamp(23px, 2.35vw, 32px);
  }

  .process-list li {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .process-list li > small {
    grid-column: 2;
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 1020px) {
  .hero-main {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + 90px);
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero h1 {
    font-size: clamp(54px, 8.1vw, 82px);
  }

  .growth-visual {
    width: min(100%, 800px);
    margin-left: auto;
  }

  .growth-stage {
    min-height: 530px;
  }

  .case-header,
  .process-header,
  .process-layout {
    grid-template-columns: minmax(210px, 0.48fr) minmax(0, 1.52fr);
    gap: 52px;
  }

  .case-context {
    grid-template-columns: 1fr 0.9fr;
  }

  .transparency {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* Mobile navigation and tablet layouts */

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: grid;
    grid-template-columns: auto 20px;
    align-items: center;
    justify-content: end;
    gap: 12px;
    color: var(--text-soft);
    font-size: 11px;
    font-weight: 680;
    cursor: pointer;
  }

  .menu-toggle i,
  .menu-toggle i::before,
  .menu-toggle i::after {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 260ms var(--ease), opacity 180ms ease;
  }

  .menu-toggle i {
    position: relative;
  }

  .menu-toggle i::before,
  .menu-toggle i::after {
    position: absolute;
    left: 0;
  }

  .menu-toggle i::before { top: -6px; }
  .menu-toggle i::after { top: 6px; }

  .menu-toggle[aria-expanded="true"] i {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] i::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] i::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: 100%;
    height: 100dvh;
    padding: calc(var(--header-height) + 44px) var(--gutter) 48px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 90% 10%, rgba(77, 141, 255, 0.18), transparent 34%),
      rgba(5, 8, 14, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 300ms ease,
      transform 360ms var(--ease),
      visibility 300ms ease;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(28px, 7vw, 48px);
    font-weight: 520;
    letter-spacing: -0.05em;
  }

  .site-nav a:not(.nav-contact)::after {
    display: none;
  }

  .site-nav .nav-contact {
    justify-content: space-between;
    margin-top: 24px;
    padding: 17px 20px;
    border: 1px solid rgba(77, 141, 255, 0.4);
    border-radius: var(--radius-sm);
    font-size: 17px;
    letter-spacing: -0.02em;
  }

  .client-strip {
    grid-template-columns: 190px 1fr;
  }

  .case-header,
  .process-header,
  .process-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .case-ident {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .case-ident img {
    width: 190px;
  }

  .case-heading h2,
  .process-header h2 {
    font-size: clamp(50px, 10vw, 82px);
  }

  .ledger-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger-metrics li:nth-child(2) {
    border-right: 0;
  }

  .ledger-metrics li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--case-line);
  }

  .ledger-metrics li:nth-child(2)::after {
    display: none;
  }

  .ledger-metrics button {
    min-height: 210px;
  }

  .ledger-detail > article {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .detail-visual {
    min-height: 300px;
  }

  .case-context {
    grid-template-columns: 1fr;
  }

  .reference-card {
    min-height: 460px;
  }

  .process-header > .section-label {
    margin-top: 0;
  }

  .process-layout {
    gap: 42px;
  }

  .process-status {
    z-index: 5;
    top: calc(var(--header-height) + 12px);
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 1fr;
    align-items: center;
    gap: 22px;
    height: auto;
    min-height: 76px;
    padding: 17px 20px;
    border-radius: 18px;
    background: rgba(11, 17, 29, 0.9);
  }

  .process-status-head {
    display: grid;
    gap: 2px;
  }

  .process-meter {
    width: 100%;
    height: 2px;
  }

  .process-meter i {
    width: var(--process-progress);
    height: 100%;
    transition: width 620ms var(--ease);
  }

  .process-meter i::after {
    top: 50%;
    right: 0;
    bottom: auto;
    transform: translate(50%, -50%);
  }

  .process-status-foot {
    display: none;
  }

  .process-list li {
    min-height: 240px;
  }

  .contact-copy {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-copy h2 {
    font-size: clamp(50px, 10vw, 82px);
  }

  .legal-main {
    padding-top: calc(var(--header-height) + 70px);
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
    --radius-lg: 28px;
    --radius-md: 22px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero-main {
    gap: 52px;
    padding-top: calc(var(--header-height) + 72px);
    padding-bottom: 56px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(43px, 13vw, 68px);
    line-height: 1.01;
  }

  .hero h1 br {
    display: none;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.68;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .button {
    width: 100%;
  }

  .growth-visual {
    border-radius: 24px;
    transform: none;
  }

  html[data-motion="ready"] .growth-visual[data-reveal] {
    transform: translateY(22px);
  }

  html[data-motion="ready"] .growth-visual[data-reveal].is-visible {
    transform: none;
  }

  .growth-stage {
    min-height: 390px;
  }

  .growth-visual-head {
    align-items: flex-start;
    min-height: 64px;
    padding-block: 15px;
  }

  .growth-visual-head span:last-child {
    max-width: 150px;
  }

  .growth-card {
    min-width: 145px;
    padding: 12px 13px;
  }

  .growth-card-top {
    top: 10%;
    left: 5%;
  }

  .growth-card-bottom {
    right: 4%;
    bottom: 10%;
  }

  .growth-legend {
    justify-content: space-between;
    gap: 5px;
    padding-inline: 14px;
    font-size: 7px;
  }

  .growth-legend i {
    width: 8px;
  }

  .growth-visual figcaption {
    padding-inline: 16px;
  }

  .client-strip {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-inline: 0;
  }

  .client-strip > p {
    min-height: 64px;
    padding-inline: var(--gutter);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .client-logos li {
    min-height: 122px;
    border-right: 0;
  }

  .case-ident {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-ident img {
    width: min(190px, 66%);
  }

  .case-heading h2,
  .process-header h2,
  .contact-copy h2 {
    font-size: clamp(43px, 12.5vw, 66px);
    line-height: 1;
  }

  .case-heading h2 br,
  .process-header h2 br,
  .contact-copy h2 br {
    display: none;
  }

  .case-lead {
    font-size: 14px;
  }

  .proof-ledger {
    width: calc(100% - 24px);
    margin-inline: auto;
    padding-inline: 0;
  }

  .ledger-head {
    align-items: flex-start;
    min-height: 72px;
    padding-block: 18px;
  }

  .ledger-head > span:first-child {
    max-width: 160px;
  }

  .ledger-metrics button {
    min-height: 180px;
    padding: 22px 18px;
  }

  .ledger-metrics strong {
    font-size: clamp(27px, 8.2vw, 40px);
  }

  .ledger-metrics li:last-child strong {
    font-size: clamp(20px, 6.1vw, 30px);
  }

  .ledger-metrics small {
    font-size: 9px;
  }

  .ledger-detail {
    min-height: 0;
  }

  .ledger-detail > article {
    min-height: 0;
    padding: 24px 18px 34px;
  }

  .detail-visual {
    min-height: 240px;
  }

  .spend-visual {
    padding-inline: 18px;
  }

  .detail-copy h3 {
    font-size: clamp(27px, 8vw, 38px);
  }

  .case-scope,
  .reference-card {
    padding: 28px 22px;
  }

  .reference-card {
    min-height: 420px;
  }

  .transparency {
    padding-inline: var(--gutter);
  }

  .process-layout {
    margin-top: 58px;
  }

  .process-status {
    margin-inline: 0;
    gap: 16px;
    min-height: 70px;
    padding: 14px 16px;
  }

  .process-status-head span {
    display: none;
  }

  .process-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 17px;
    min-height: 220px;
    padding: 30px 4px;
  }

  .process-list li.is-active {
    padding-inline: 16px;
  }

  .process-list h3 {
    font-size: clamp(30px, 9vw, 43px);
  }

  .process-list li > div p {
    font-size: 13px;
  }

  .contact {
    padding-inline: 12px;
  }

  .contact-card {
    padding: 32px 20px;
  }

  .contact-primary {
    align-items: flex-end;
  }

  .contact-primary > span {
    font-size: clamp(20px, 7.2vw, 38px);
  }

  .contact-primary > i {
    width: 54px;
    height: 54px;
  }

  .contact-meta {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding-block: 28px;
  }

  .footer-inner > span {
    display: none;
  }

  .footer-inner nav {
    gap: 15px;
  }

  .legal-back-link {
    font-size: 11px;
  }

  .legal-heading h1 {
    font-size: clamp(50px, 16vw, 76px);
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(40px, 12.8vw, 54px);
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.09em;
  }

  .growth-stage {
    min-height: 340px;
  }

  .growth-card-top {
    top: 7%;
  }

  .growth-card-bottom {
    bottom: 6%;
  }

  .ledger-metrics {
    grid-template-columns: 1fr;
  }

  .ledger-metrics li,
  .ledger-metrics li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--case-line);
  }

  .ledger-metrics li:last-child {
    border-bottom: 0;
  }

  .ledger-metrics li::after {
    display: none;
  }

  .ledger-metrics button {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: end;
    min-height: 132px;
    gap: 10px 14px;
  }

  .ledger-metrics strong {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    text-align: right;
  }

  .ledger-metrics small {
    grid-column: 1;
  }

  .conversion-visual > span {
    gap: 6px;
  }

  .revenue-visual > span {
    grid-template-columns: repeat(2, 1fr);
  }

  .transparency > div {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  .transparency > div > span {
    width: 36px;
    height: 36px;
  }

  .contact-primary {
    gap: 12px;
  }

  .contact-primary > i {
    width: 48px;
    height: 48px;
  }

  .contact-meta address,
  .copy-area button {
    padding-inline: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}

@media (max-width: 360px) {
  .brand-name {
    max-width: 105px;
    font-size: 12px;
  }

  .hero h1,
  .case-heading h2,
  .process-header h2,
  .contact-copy h2 {
    font-size: 36px;
  }

  .growth-visual-head span:last-child {
    max-width: 120px;
  }

  .growth-card {
    min-width: 132px;
  }

  .growth-card strong {
    font-size: 9px;
  }

  .contact-primary > span {
    font-size: 19px;
  }

  .legal-heading h1 {
    font-size: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html[data-motion="ready"] [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .growth-line {
    stroke-dashoffset: 0;
  }

  .growth-columns i {
    transform: scaleY(1);
  }
}

@media (forced-colors: active) {
  .reading-progress span,
  .section-label::before,
  .eyebrow i,
  .ledger-status i,
  .reference-card-top i,
  .process-meter i {
    background: Highlight;
  }

  .growth-line {
    stroke: Highlight;
  }

  .site-nav,
  .growth-visual,
  .proof-ledger,
  .contact-card,
  .process-status {
    border: 1px solid CanvasText;
  }
}
