:root {
  --bg: #070b12;
  --bg-soft: #0b111b;
  --panel: #101824;
  --panel-strong: #131d2b;
  --panel-soft: #0c141f;
  --line: #223044;
  --line-soft: rgba(137, 168, 202, 0.14);
  --text: #f6f8fb;
  --muted: #91a3bd;
  --muted-strong: #b9c6d8;
  --blue: #76d3ff;
  --blue-strong: #31bff8;
  --purple: #9a7cff;
  --green: #66e0a7;
  --amber: #f1c15e;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
  --radius: 18px;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 7%, rgba(45, 152, 212, 0.09), transparent 26rem),
    radial-gradient(circle at 10% 54%, rgba(120, 89, 204, 0.06), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: url("greystone-market-systems-watermark.png") center 52% / min(92vw, 1180px) auto no-repeat;
  opacity: 0.085;
  mix-blend-mode: screen;
}

::selection { background: rgba(118, 211, 255, 0.25); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
svg { display: block; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-shell { min-height: 100vh; overflow: hidden; position: relative; z-index: 1; }
.site-header {
  width: min(calc(100% - 40px), var(--max-width));
  height: 78px;
  margin: 18px auto 0;
  padding: 0 18px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid transparent;
  border-radius: 16px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, height 180ms ease;
}
.site-header.is-scrolled {
  height: 68px;
  background: rgba(9, 14, 22, 0.86);
  border-color: var(--line-soft);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(145deg, #111a27, #090e16);
  box-shadow: inset 0 1px rgba(255,255,255,0.04);
}
.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(118, 211, 255, 0.12));
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 15px; letter-spacing: 0.01em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }

.site-navigation { display: flex; align-items: center; gap: 30px; color: var(--muted-strong); font-size: 13px; }
.site-navigation a { transition: color 150ms ease; }
.site-navigation a:hover { color: var(--text); }
.site-navigation .nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(118, 211, 255, 0.26);
  border-radius: 10px;
  background: rgba(61, 166, 219, 0.08);
  color: var(--blue);
}
.menu-button { display: none; }

.section { width: min(calc(100% - 48px), var(--max-width)); margin: 0 auto; }
.hero {
  min-height: 850px;
  padding-top: 190px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(520px, 1.07fr);
  align-items: center;
  gap: 86px;
  position: relative;
}
.hero-grid {
  position: absolute;
  inset: 0 -18vw;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(120, 151, 185, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 151, 185, 0.11) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 68%, transparent 100%);
}
.hero-copy { max-width: 620px; }
.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow span { width: 24px; height: 1px; background: currentColor; box-shadow: 0 0 14px currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 26px;
  max-width: 800px;
  font-size: clamp(3.3rem, 5.2vw, 5.55rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
  font-weight: 690;
}
h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 3.8vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.047em;
  font-weight: 660;
}
h3 { line-height: 1.2; letter-spacing: -0.025em; }
.hero-lead {
  max-width: 670px;
  margin-bottom: 34px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #061018;
  background: linear-gradient(135deg, #9ce3ff, #5fc9f6);
  box-shadow: 0 12px 34px rgba(49, 191, 248, 0.17);
}
.button-primary:hover { box-shadow: 0 16px 40px rgba(49, 191, 248, 0.28); }
.button-secondary { border-color: var(--line); background: rgba(16, 24, 36, 0.68); color: var(--muted-strong); }
.button-secondary:hover { border-color: #38506e; color: var(--text); }
.hero-proof { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 22px; color: #7f90a8; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-proof span { display: flex; align-items: center; gap: 9px; }
.hero-proof strong { color: var(--text); font-size: 12px; font-weight: 720; }
.hero-proof span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(102,224,167,0.65); }

.hero-visual { position: relative; }
.visual-glow { position: absolute; inset: 9% 8%; z-index: -1; background: rgba(62, 171, 226, 0.18); filter: blur(85px); }
.signal-panel {
  position: relative;
  padding: 20px;
  border: 1px solid #27364b;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 30, 44, 0.98), rgba(10, 16, 25, 0.98));
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,0.035);
  transform: perspective(1400px) rotateY(-3.5deg) rotateX(1deg);
}
.signal-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(120deg, rgba(118,211,255,0.08), transparent 32%); }
.panel-topline, .signal-heading, .dependency-heading { display: flex; align-items: center; justify-content: space-between; }
.panel-topline { margin-bottom: 22px; color: #7890ad; font-size: 10px; text-transform: uppercase; letter-spacing: 0.11em; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 99px; background: rgba(102,224,167,0.08); color: var(--green); border: 1px solid rgba(102,224,167,0.15); }
.live-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.signal-heading { margin-bottom: 18px; }
.signal-heading div { display: grid; }
.signal-heading small { color: var(--muted); font-size: 10px; }
.signal-heading strong { margin-top: 3px; font-size: 25px; letter-spacing: -0.035em; }
.signal-status { padding: 6px 9px; color: var(--blue); border: 1px solid rgba(118,211,255,0.18); background: rgba(118,211,255,0.06); border-radius: 8px; font-size: 10px; }
.dependency-card { padding: 15px 14px 10px; border: 1px solid var(--line-soft); border-radius: 12px; background: #0b131e; overflow: hidden; }
.dependency-heading { padding-inline: 4px; color: var(--muted); font-size: 9px; }
.dependency-heading span:nth-child(2) { color: var(--blue); }
.dependency-map { width: 100%; height: auto; margin-top: 5px; overflow: visible; }
.dependency-connections path { fill: none; stroke: #29415a; stroke-width: 1.4; }
.dependency-motion path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 13; filter: drop-shadow(0 0 4px rgba(118,211,255,0.55)); animation: dependency-flow 2.8s linear infinite; }
.dependency-motion path:nth-child(2), .dependency-motion path:nth-child(5) { animation-delay: -0.9s; }
.dependency-motion path:nth-child(3), .dependency-motion path:nth-child(6) { animation-delay: -1.8s; }
@keyframes dependency-flow { to { stroke-dashoffset: -45; } }
.dependency-node rect { fill: #0d1622; stroke: #2a3d54; stroke-width: 1; }
.dependency-node text, .platform-core text { fill: var(--muted-strong); font-family: inherit; font-size: 10px; text-anchor: middle; }
.output-node rect { stroke: rgba(118,211,255,0.28); }
.platform-core rect { fill: #132235; stroke: rgba(118,211,255,0.4); stroke-width: 1.3; filter: drop-shadow(0 0 14px rgba(72,183,237,0.12)); }
.platform-core text { font-size: 9px; }
.platform-core .core-label { fill: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: 0.14em; }
.system-insight { margin-top: 10px; padding: 13px 14px; display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 10px; border: 1px solid rgba(118,211,255,0.15); border-radius: 12px; background: linear-gradient(120deg, rgba(32, 78, 105, 0.25), rgba(14,22,33,0.8)); }
.insight-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(118,211,255,0.09); color: var(--blue); }
.system-insight strong { color: var(--blue); font-size: 9px; letter-spacing: 0.02em; }
.system-insight p { margin: 3px 0 0; color: var(--muted-strong); font-size: 9px; line-height: 1.55; }

.signal-strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(10, 16, 25, 0.72); overflow: hidden; }
.signal-strip-track { width: min(calc(100% - 48px), var(--max-width)); min-height: 66px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: #7588a2; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.signal-strip i { width: 4px; height: 4px; border-radius: 50%; background: #344a65; }

.capabilities { padding-top: 140px; padding-bottom: 85px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); align-items: end; gap: 80px; margin-bottom: 56px; }
.section-heading h2 { max-width: 780px; margin-bottom: 0; }
.section-heading > p { margin-bottom: 7px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.capability-card { min-height: 350px; padding: 28px; position: relative; overflow: hidden; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18, 27, 41, 0.94), rgba(11, 17, 27, 0.96)); transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.capability-card:hover { transform: translateY(-4px); border-color: #31445d; background: linear-gradient(145deg, rgba(21, 32, 48, 0.98), rgba(11, 17, 27, 0.98)); }
.capability-card::after { content: ""; position: absolute; width: 250px; height: 250px; top: -160px; right: -100px; border-radius: 50%; background: rgba(72, 183, 237, 0.05); filter: blur(20px); }
.card-index { position: absolute; top: 24px; right: 26px; color: #455b76; font-size: 11px; letter-spacing: 0.12em; }
.card-icon { width: 43px; height: 43px; margin-bottom: 50px; display: grid; place-items: center; border: 1px solid #2a3b51; border-radius: 11px; color: var(--blue); background: #0d1622; }
.card-icon svg { width: 22px; height: 22px; }
.card-icon path, .card-icon circle { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.capability-card h3 { margin-bottom: 12px; font-size: 24px; }
.capability-card > p { max-width: 490px; margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.capability-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; color: var(--muted-strong); font-size: 12px; }
.capability-card li { display: flex; gap: 9px; }
.capability-card li::before { content: "↗"; color: #536f8f; }

.problem-section { padding-top: 70px; padding-bottom: 110px; }
.problem-panel { min-height: 590px; padding: 74px; display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 70px; border: 1px solid var(--line-soft); border-radius: 24px; background:
  radial-gradient(circle at 88% 50%, rgba(61, 177, 232, 0.09), transparent 28rem),
  linear-gradient(145deg, #111a27, #0a1019);
  box-shadow: 0 28px 90px rgba(0,0,0,0.24);
}
.problem-copy h2 { max-width: 650px; }
.problem-copy > p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.problem-map { height: 410px; position: relative; }
.problem-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.problem-map svg path { fill: none; stroke: #29415a; stroke-width: 1; stroke-dasharray: 4 8; }
.problem-map svg circle { fill: none; stroke: rgba(76, 112, 148, 0.22); stroke-width: 1; }
.map-node, .map-centre { position: absolute; z-index: 2; display: grid; place-items: center; text-align: center; border: 1px solid #2a3d54; background: rgba(11,18,28,0.93); box-shadow: 0 14px 32px rgba(0,0,0,0.28); }
.map-node { width: 112px; height: 72px; border-radius: 12px; }
.map-node span { font-size: 11px; font-weight: 650; }
.map-node small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: 0.1em; }
.node-one { left: 0; top: 36px; }
.node-two { right: 0; top: 42px; }
.node-three { right: 18px; bottom: 18px; }
.map-centre { width: 144px; height: 144px; top: calc(50% - 72px); left: calc(50% - 72px); border-radius: 50%; border-color: rgba(118,211,255,0.28); background: radial-gradient(circle, #162638, #0c141f 70%); box-shadow: 0 0 75px rgba(72, 183, 237, 0.12); }
.map-centre span { color: var(--blue); font-size: 8px; font-weight: 800; letter-spacing: 0.15em; }
.map-centre strong { max-width: 100px; font-size: 15px; line-height: 1.3; }

.coverage-section { padding-top: 70px; padding-bottom: 110px; }
.coverage-heading { max-width: 820px; margin-bottom: 48px; }
.coverage-heading h2 { margin-bottom: 22px; }
.coverage-heading > p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.coverage-console {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background:
    radial-gradient(circle at 76% 0%, rgba(61, 177, 232, 0.1), transparent 30rem),
    linear-gradient(145deg, #111a27, #0a1019);
  box-shadow: 0 28px 90px rgba(0,0,0,0.24);
}
.console-header { min-height: 58px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); color: #7890ad; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; }
.workflow-rail { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line-soft); }
.workflow-rail article { min-height: 184px; padding: 25px 22px; position: relative; display: grid; align-content: end; border-right: 1px solid var(--line-soft); }
.workflow-rail article:last-child { border-right: 0; }
.workflow-rail article:not(:last-child)::after { content: "\2192"; width: 24px; height: 24px; position: absolute; z-index: 2; top: 28px; right: -12px; display: grid; place-items: center; border: 1px solid #2c425b; border-radius: 50%; background: #0d1622; color: var(--blue); font-size: 11px; }
.workflow-rail small { position: absolute; top: 26px; left: 22px; color: #4e6987; font-size: 9px; letter-spacing: 0.14em; }
.workflow-rail strong { margin-bottom: 6px; font-size: 20px; letter-spacing: -0.025em; }
.workflow-rail span { color: var(--muted); font-size: 11px; }
.coverage-columns { display: grid; grid-template-columns: 0.85fr 1.25fr 0.9fr; }
.coverage-columns > article { min-height: 220px; padding: 30px 26px; border-right: 1px solid var(--line-soft); }
.coverage-columns > article:last-child { border-right: 0; }
.coverage-columns > article > small { color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.coverage-columns h3 { margin: 7px 0 24px; font-size: 22px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { padding: 7px 10px; border: 1px solid #26384e; border-radius: 7px; background: rgba(10,17,26,0.64); color: var(--muted-strong); font-size: 10px; }

.approach { padding-top: 110px; padding-bottom: 120px; }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.approach-step { min-height: 310px; padding: 30px 26px; border-right: 1px solid var(--line-soft); }
.approach-step:last-child { border-right: 0; }
.step-number { margin-bottom: 76px; color: var(--blue); font-size: 10px; letter-spacing: 0.14em; }
.approach-step h3 { margin-bottom: 14px; font-size: 24px; }
.approach-step p { color: var(--muted); font-size: 13px; line-height: 1.75; }

.engagement-section { padding-top: 70px; padding-bottom: 120px; }
.engagement-grid { padding: 68px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 90px; border-radius: 22px; background: #e9eef5; color: #111927; }
.engagement-intro .eyebrow { color: #247fa7; }
.engagement-intro h2 { font-size: clamp(2.3rem, 3.5vw, 3.8rem); }
.engagement-intro > p:not(.eyebrow) { color: #59687c; font-size: 14px; }
.engagement-list { display: grid; }
.engagement-list article { padding: 24px 0; display: grid; grid-template-columns: 44px 1fr; gap: 18px; border-bottom: 1px solid #cbd4df; }
.engagement-list article:first-child { padding-top: 4px; }
.engagement-list article:last-child { border-bottom: 0; }
.engagement-list article > span { color: #4883a0; font-size: 10px; letter-spacing: 0.12em; }
.engagement-list h3 { margin-bottom: 7px; font-size: 19px; }
.engagement-list p { margin-bottom: 0; color: #5a697c; font-size: 13px; }

.about { padding-top: 60px; padding-bottom: 125px; }
.about-panel { min-height: 430px; padding: 62px; display: grid; grid-template-columns: 0.45fr 1fr; align-items: center; gap: 70px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.about-monogram { width: 250px; height: 250px; display: grid; place-items: center; position: relative; border: 1px solid #273b54; border-radius: 50%; color: #d9e3ee; font-size: 120px; font-weight: 650; letter-spacing: -0.08em; background: radial-gradient(circle at 35% 30%, #19283a, #0a111a 72%); box-shadow: inset 0 0 60px rgba(78, 162, 204, 0.08), 0 0 90px rgba(0,0,0,0.24); }
.about-monogram::before, .about-monogram::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(74, 111, 149, 0.19); }
.about-monogram::before { inset: -28px; }
.about-monogram::after { inset: -57px; }
.about-copy { max-width: 700px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.85; }
.about-principles { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 9px; }
.about-principles span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted-strong); background: #0d151f; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }

.contact { padding-bottom: 60px; }
.contact-panel { padding: 72px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 100px; border: 1px solid rgba(118,211,255,0.18); border-radius: 24px; background:
  radial-gradient(circle at 4% 0%, rgba(69, 178, 230, 0.1), transparent 22rem),
  linear-gradient(145deg, #111b29, #0b111a);
  box-shadow: 0 34px 90px rgba(0,0,0,0.3);
}
.contact-copy h2 { font-size: clamp(2.5rem, 4vw, 4.4rem); }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-details { margin-top: 32px; display: grid; gap: 7px; color: #788ca6; font-size: 11px; }
.contact-details span::before { content: "•"; margin-right: 9px; color: var(--blue); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: center; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label span { color: var(--muted-strong); font-size: 11px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #2b3a4e; border-radius: 10px; outline: none; background: #0a111a; color: var(--text); transition: border-color 150ms ease, box-shadow 150ms ease; }
.contact-form input { height: 48px; padding: 0 13px; }
.contact-form textarea { resize: vertical; min-height: 130px; padding: 13px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(118,211,255,0.55); box-shadow: 0 0 0 3px rgba(118,211,255,0.08); }
.full-width { grid-column: 1 / -1; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-footer p { margin: 0; max-width: 310px; color: #667a94; font-size: 10px; }

.site-footer { width: min(calc(100% - 48px), var(--max-width)); min-height: 120px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #687b94; font-size: 11px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-brand .brand-mark img { width: 28px; height: 28px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@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; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 70px; padding-top: 170px; }
  .hero-copy { max-width: 850px; }
  .hero-visual { width: min(100%, 760px); }
  .signal-panel { transform: none; }
  .problem-panel { grid-template-columns: 1fr; }
  .problem-map { max-width: 560px; width: 100%; margin: auto; }
  .coverage-columns { grid-template-columns: 1fr 1fr; }
  .coverage-columns > article:nth-child(2) { border-right: 0; }
  .coverage-columns > article:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-step:nth-child(2) { border-right: 0; }
  .approach-step:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .engagement-grid, .contact-panel { grid-template-columns: 1fr; gap: 60px; }
  .about-panel { grid-template-columns: 0.55fr 1fr; }
}

@media (max-width: 760px) {
  body::before { background-size: min(165vw, 760px) auto; background-position: center 48%; opacity: 0.07; }
  .section { width: min(calc(100% - 30px), var(--max-width)); }
  .site-header { width: calc(100% - 24px); margin-top: 12px; height: 64px; padding-inline: 12px; }
  .site-header.is-scrolled { height: 60px; }
  .brand-copy small { display: none; }
  .menu-button { width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; background: #0c131d; cursor: pointer; }
  .menu-button span:not(.sr-only) { width: 17px; height: 1px; background: var(--muted-strong); transition: transform 160ms ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-navigation { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 16px; align-items: stretch; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 14px; background: rgba(9, 14, 22, 0.98); box-shadow: 0 24px 60px rgba(0,0,0,0.42); }
  .site-navigation.is-open { display: flex; }
  .site-navigation a { padding: 10px; }
  .site-navigation .nav-cta { text-align: center; }
  .hero { min-height: auto; padding-top: 145px; padding-bottom: 90px; gap: 55px; }
  h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  h2 { font-size: clamp(2.2rem, 10vw, 3.3rem); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-proof { display: grid; gap: 9px; }
  .signal-panel { padding: 13px; }
  .signal-heading { align-items: flex-end; gap: 16px; }
  .signal-heading strong { font-size: 22px; }
  .dependency-card { padding-inline: 8px; }
  .dependency-heading { font-size: 7px; }
  .signal-strip-track { width: max-content; min-height: 56px; padding-inline: 18px; animation: marquee 23s linear infinite; }
  @keyframes marquee { to { transform: translateX(-40%); } }
  .capabilities { padding-top: 100px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 38px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 320px; padding: 24px; }
  .problem-section { padding-top: 50px; padding-bottom: 80px; }
  .problem-panel { min-height: auto; padding: 34px 22px; gap: 38px; }
  .problem-map { height: 330px; transform: scale(0.88); }
  .coverage-section { padding-top: 50px; padding-bottom: 80px; }
  .coverage-heading { margin-bottom: 34px; }
  .workflow-rail { grid-template-columns: 1fr; }
  .workflow-rail article { min-height: 112px; padding: 24px 22px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .workflow-rail article:last-child { border-bottom: 0; }
  .workflow-rail article:not(:last-child)::after { content: "\2193"; top: auto; right: 22px; bottom: -12px; }
  .workflow-rail small { top: 20px; }
  .coverage-columns { grid-template-columns: 1fr; }
  .coverage-columns > article { min-height: auto; padding: 28px 22px; border-right: 0; border-top: 1px solid var(--line-soft); }
  .coverage-columns > article:nth-child(2) { border-right: 0; }
  .coverage-columns > article:last-child { grid-column: auto; }
  .approach { padding-top: 75px; padding-bottom: 80px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-step { min-height: auto; padding: 28px 4px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .approach-step:last-child { border-bottom: 0; }
  .step-number { margin-bottom: 36px; }
  .engagement-section { padding-top: 40px; padding-bottom: 80px; }
  .engagement-grid { padding: 36px 22px; gap: 42px; }
  .about { padding-top: 40px; padding-bottom: 90px; }
  .about-panel { padding: 34px 8px; grid-template-columns: 1fr; gap: 75px; }
  .about-monogram { width: 180px; height: 180px; margin: auto; font-size: 86px; }
  .contact { padding-bottom: 30px; }
  .contact-panel { padding: 38px 22px; gap: 45px; }
  .contact-form { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .site-footer { width: calc(100% - 30px); padding: 34px 0; align-items: flex-start; flex-direction: column; }
}
