:root {
  --black: #020403;
  --ink: #080b09;
  --charcoal: #10140f;
  --panel: #151b14;
  --olive: #6f7b54;
  --olive-bright: #b5c27e;
  --gold: #caa95a;
  --bone: #f5f1e8;
  --paper: #ebe6da;
  --muted: #aeb3a7;
  --line: rgba(245, 241, 232, 0.14);
  --dark-line: rgba(8, 11, 9, 0.13);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

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

.hidden-field {
  display: none;
}

.cursor-light {
  position: fixed;
  z-index: 0;
  width: 420px;
  height: 420px;
  pointer-events: none;
  opacity: 0.16;
  background: radial-gradient(circle, rgba(181, 194, 126, 0.72), transparent 64%);
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
}

.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 12px 14px;
  color: var(--bone);
  border: 1px solid var(--line);
  background: rgba(2, 4, 3, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.site-header.scrolled {
  background: rgba(2, 4, 3, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 50px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.42));
}

.brand-copy {
  display: grid;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 0.94rem;
  letter-spacing: 0;
}

.brand-copy small {
  margin-top: 3px;
  color: rgba(245, 241, 232, 0.52);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(245, 241, 232, 0.74);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 9px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--olive-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
}

.section-dark {
  color: var(--bone);
  background:
    radial-gradient(circle at 20% 20%, rgba(111, 123, 84, 0.32), transparent 28%),
    radial-gradient(circle at 76% 18%, rgba(202, 169, 90, 0.13), transparent 24%),
    linear-gradient(135deg, #050705 0%, #10160f 54%, #020403 100%);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 118px 0 64px;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.13) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(115deg, rgba(2, 4, 3, 0.05), rgba(2, 4, 3, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(245, 241, 232, 0.025) 35px 36px);
}

.hero-shell,
.clients,
.services > .section-heading,
.service-console,
.sectors,
.command,
.process,
.contact,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.86fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--olive-bright);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 4.85vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.5vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
  line-height: 1.1;
}

.hero-lede {
  max-width: 680px;
  color: rgba(245, 241, 232, 0.76);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}

.button-primary {
  color: var(--black);
  border-color: var(--olive-bright);
  background: var(--olive-bright);
}

.button-primary:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.button-secondary {
  color: var(--bone);
  border-color: rgba(245, 241, 232, 0.4);
  background: rgba(245, 241, 232, 0.05);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.055);
  backdrop-filter: blur(14px);
}

.signal-row div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.signal-row div:last-child {
  border-right: 0;
}

.signal-row strong,
.signal-row span {
  color: var(--bone);
  font-size: 2.35rem;
  line-height: 1;
}

.signal-row p {
  margin: 8px 0 0;
  color: rgba(245, 241, 232, 0.6);
  font-size: 0.9rem;
}

.hero-ops {
  position: relative;
  min-height: 570px;
  transform-style: preserve-3d;
}

.hero-badge {
  position: absolute;
  z-index: 3;
  top: -28px;
  left: -24px;
  display: grid;
  place-items: center;
  width: 104px;
  height: 118px;
  padding: 10px;
  border: 1px solid rgba(245, 241, 232, 0.16);
  background: rgba(2, 4, 3, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
}

.hero-ops img {
  width: 100%;
  height: 570px;
  object-fit: cover;
  border: 1px solid rgba(181, 194, 126, 0.36);
  box-shadow: var(--shadow);
  filter: saturate(0.7) contrast(1.12) brightness(0.72);
}

.hero-ops::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 4, 3, 0.05), rgba(2, 4, 3, 0.48)),
    linear-gradient(90deg, rgba(2, 4, 3, 0.22), transparent 54%);
}

.ops-dashboard {
  position: absolute;
  z-index: 2;
  right: -18px;
  bottom: 34px;
  width: min(360px, calc(100% - 28px));
  padding: 20px;
  border: 1px solid rgba(245, 241, 232, 0.16);
  background: rgba(2, 4, 3, 0.84);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.dashboard-top,
.readiness-meter span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(245, 241, 232, 0.64);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-top strong {
  color: var(--olive-bright);
}

.status-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.status-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(245, 241, 232, 0.82);
  font-weight: 800;
}

.status-list b {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--olive-bright);
  box-shadow: 0 0 0 7px rgba(181, 194, 126, 0.11);
}

.readiness-meter div {
  height: 9px;
  margin-top: 10px;
  overflow: hidden;
  background: rgba(245, 241, 232, 0.1);
}

.readiness-meter i {
  display: block;
  width: 87%;
  height: 100%;
  background: linear-gradient(90deg, var(--olive-bright), var(--gold));
}

.clients,
.sectors,
.process {
  padding: 96px 0;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow),
.command-copy p:not(.eyebrow) {
  color: #565d50;
  font-size: 1.11rem;
}

.client-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button,
.service-tab,
.pain-button {
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.filter-button:hover,
.service-tab:hover,
.pain-button:hover {
  transform: translateY(-2px);
}

.filter-button.active,
.service-tab.active,
.pain-button.active {
  color: var(--bone);
  border-color: var(--charcoal);
  background: var(--charcoal);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.client-card {
  position: relative;
  overflow: hidden;
  min-height: 172px;
  padding: 18px;
  border: 1px solid var(--dark-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.34)),
    var(--bone);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.client-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--olive-bright), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.client-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 123, 84, 0.5);
  box-shadow: 0 18px 46px rgba(8, 11, 9, 0.12);
}

.client-card:hover::after,
.client-card.is-selected::after {
  transform: scaleX(1);
}

.client-card.is-selected {
  border-color: rgba(111, 123, 84, 0.72);
  box-shadow: 0 22px 58px rgba(8, 11, 9, 0.14);
}

.client-card.is-hidden {
  display: none;
}

.client-card > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  color: var(--gold);
  border: 1px solid rgba(8, 11, 9, 0.16);
  background: var(--charcoal);
  font-weight: 950;
}

.client-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 82px;
  margin: 0 0 24px;
  padding: 14px;
  border: 1px solid rgba(8, 11, 9, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 241, 232, 0.68)),
    #fff;
  overflow: hidden;
}

.client-logo img {
  display: block;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(0.82) contrast(1.04);
}

.client-logo-wide img {
  max-height: 42px;
}

.client-logo-photo img {
  mix-blend-mode: normal;
}

.client-logo-spotify,
.client-logo-amazon,
.client-logo-infiniti {
  background: #fff;
}

.client-logo-spotify img {
  max-width: 132%;
  max-height: 56px;
}

.client-logo-amazon img {
  max-width: 128%;
  max-height: 68px;
}

.client-logo-infiniti img {
  max-width: 112%;
  max-height: 66px;
}

.client-card h3 {
  margin-bottom: 6px;
  font-size: 1.06rem;
}

.client-card p {
  margin-bottom: 16px;
  color: #62685d;
  font-size: 0.9rem;
}

.client-detail-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0;
  color: var(--olive);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.client-detail-button::after {
  content: ">";
  margin-left: 8px;
  transition: transform 180ms ease;
}

.client-card:hover .client-detail-button::after {
  transform: translateX(4px);
}

.client-brief {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 22px;
  color: var(--bone);
  border: 1px solid rgba(8, 11, 9, 0.12);
  background:
    linear-gradient(135deg, rgba(16, 20, 15, 0.96), rgba(30, 40, 23, 0.92)),
    var(--charcoal);
  box-shadow: 0 18px 52px rgba(8, 11, 9, 0.14);
}

.client-brief span,
.command-focus span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.client-brief strong,
.command-focus strong {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.client-brief p,
.command-focus p {
  max-width: 850px;
  margin: 0;
  color: rgba(245, 241, 232, 0.68);
}

.services {
  padding: 98px 0;
}

.services .section-heading p:not(.eyebrow),
.command .command-copy p:not(.eyebrow) {
  color: rgba(245, 241, 232, 0.68);
}

.pain-finder {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(calc(100% - 40px), var(--max));
  margin: -18px auto 24px;
}

.pain-button {
  color: rgba(245, 241, 232, 0.72);
  border-color: var(--line);
  background: rgba(245, 241, 232, 0.055);
}

.pain-button.active {
  color: var(--black);
  border-color: var(--olive-bright);
  background: var(--olive-bright);
}

.service-console {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 20px;
}

.service-menu {
  display: grid;
  gap: 10px;
}

.service-tab {
  min-height: 64px;
  color: rgba(245, 241, 232, 0.72);
  text-align: left;
  border-color: var(--line);
  background: rgba(245, 241, 232, 0.055);
}

.service-tab.active {
  color: var(--black);
  border-color: var(--olive-bright);
  background: var(--olive-bright);
}

.service-panel {
  min-height: 360px;
  padding: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(245, 241, 232, 0.12), rgba(245, 241, 232, 0.035)),
    rgba(2, 4, 3, 0.38);
}

.panel-label {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.service-panel h3 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.service-panel p {
  max-width: 720px;
  color: rgba(245, 241, 232, 0.72);
  font-size: 1.08rem;
}

.service-panel ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.service-panel li {
  padding: 18px;
  color: rgba(245, 241, 232, 0.82);
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.055);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sector-card {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  background: var(--charcoal);
  isolation: isolate;
}

.sector-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(2, 4, 3, 0.04), rgba(2, 4, 3, 0.82));
}

.sector-card img {
  width: 100%;
  height: 100%;
  min-height: 315px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 420ms ease;
}

.sector-card:hover img {
  transform: scale(1.08);
}

.sector-card h3 {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  margin: 0;
  color: var(--bone);
  font-size: clamp(1.28rem, 2vw, 1.8rem);
}

.command {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 98px 0;
}

.command-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.command-focus {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.055);
}

.command-kpis {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.command-kpis div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.055);
}

.command-kpis strong,
.command-kpis span {
  display: block;
}

.command-kpis strong {
  color: var(--bone);
  font-size: 2rem;
  line-height: 1;
}

.command-kpis span {
  margin-top: 8px;
  color: rgba(245, 241, 232, 0.58);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.board-column {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 440px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.05);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.board-column.active-lane {
  border-color: rgba(181, 194, 126, 0.56);
  background: rgba(111, 123, 84, 0.14);
  transform: translateY(-4px);
}

.board-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.board-card {
  width: 100%;
  padding: 16px;
  color: var(--bone);
  text-align: left;
  border: 1px solid rgba(245, 241, 232, 0.12);
  background: rgba(2, 4, 3, 0.42);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.board-card:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 194, 126, 0.46);
}

.board-card.active {
  border-color: rgba(181, 194, 126, 0.58);
  background: rgba(111, 123, 84, 0.26);
  box-shadow: inset 3px 0 0 var(--olive-bright);
}

.board-card strong,
.board-card small {
  display: block;
}

.board-card small {
  margin-top: 5px;
  color: rgba(245, 241, 232, 0.58);
}

.before-after {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.before-after div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(2, 4, 3, 0.34);
}

.before-after span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.before-after p {
  margin: 8px 0 0;
  color: rgba(245, 241, 232, 0.68);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline-step {
  min-height: 265px;
  padding: 28px;
  border: 1px solid var(--dark-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.32)),
    var(--bone);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.timeline-step:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 123, 84, 0.52);
  box-shadow: 0 18px 46px rgba(8, 11, 9, 0.12);
}

.timeline-step span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  color: var(--bone);
  background: var(--charcoal);
  font-weight: 950;
}

.timeline-step p {
  color: #565d50;
}

.contact {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 46px;
  align-items: start;
  padding: 92px 40px;
}

.contact-copy p:not(.eyebrow) {
  color: rgba(245, 241, 232, 0.7);
  font-size: 1.1rem;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-points span {
  padding: 14px 16px;
  color: rgba(245, 241, 232, 0.78);
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.05);
  font-weight: 800;
}

.contact-points a {
  color: inherit;
  text-decoration: none;
}

.contact-points a:hover {
  color: var(--accent);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.06);
}

.contact-form .form-wide,
.contact-form .button,
.contact-form .form-note {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(245, 241, 232, 0.8);
  font-weight: 850;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--bone);
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 0;
  outline: none;
  background: rgba(2, 4, 3, 0.5);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--olive-bright);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(245, 241, 232, 0.58);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  color: #565d50;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.footer-brand img {
  width: 34px;
  height: 40px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: #394032;
  font-size: 0.9rem;
  font-weight: 850;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-main {
  min-height: 100svh;
  padding: 132px 0 80px;
}

.legal-shell {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
}

.legal-hero {
  margin-bottom: 28px;
  padding: 34px;
  color: var(--bone);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 18%, rgba(181, 194, 126, 0.18), transparent 28%),
    linear-gradient(135deg, #050705, #11170f);
}

.legal-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.legal-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(245, 241, 232, 0.72);
}

.legal-content {
  display: grid;
  gap: 22px;
  padding: 34px;
  border: 1px solid var(--dark-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.36)),
    var(--bone);
}

.legal-content section {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(8, 11, 9, 0.1);
}

.legal-content section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.legal-content p,
.legal-content li {
  color: #565d50;
}

.legal-content ul {
  padding-left: 20px;
  margin: 0;
}

.legal-note {
  padding: 16px;
  color: #394032;
  border: 1px solid rgba(111, 123, 84, 0.28);
  background: rgba(181, 194, 126, 0.16);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-light {
    display: none;
  }
}

@media (max-width: 1080px) {
  .client-grid,
  .sector-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .command {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    justify-self: end;
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    color: var(--bone);
    border: 1px solid var(--line);
    background: transparent;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: currentColor;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.open {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 4px;
    padding-top: 10px;
  }

  .site-nav.open a {
    padding: 12px 0;
  }

  .hero-shell,
  .service-console,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-ops,
  .hero-ops img {
    min-height: 460px;
    height: 460px;
  }

  .client-grid,
  .sector-grid,
  .timeline,
  .command-kpis,
  .before-after,
  .service-panel ul,
  .command-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .command-kpis,
  .before-after {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
  }

  .brand-copy strong {
    font-size: 0.82rem;
  }

  .brand-logo {
    width: 42px;
    height: 50px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-shell,
  .clients,
  .services > .section-heading,
  .pain-finder,
  .service-console,
  .sectors,
  .command,
  .process,
  .contact,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .signal-row,
  .client-grid,
  .sector-grid,
  .timeline,
  .command-kpis,
  .before-after,
  .service-panel ul,
  .command-board {
    grid-template-columns: 1fr;
  }

  .signal-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-row div:last-child {
    border-bottom: 0;
  }

  .hero-ops,
  .hero-ops img {
    min-height: 360px;
    height: 360px;
  }

  .ops-dashboard {
    right: 10px;
    bottom: 10px;
  }

  .hero-badge {
    top: -16px;
    left: 10px;
    width: 76px;
    height: 88px;
  }

  .client-card,
  .timeline-step,
  .service-panel,
  .client-brief,
  .contact-form {
    padding: 20px;
  }

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

  .sector-card,
  .sector-card img {
    min-height: 260px;
  }

  .board-column {
    min-height: auto;
  }

  .contact {
    padding: 66px 18px;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: start;
  }

  .legal-main {
    padding-top: 112px;
  }

  .legal-shell {
    width: min(calc(100% - 28px), 900px);
  }

  .legal-hero,
  .legal-content {
    padding: 22px;
  }
}
