/* Signal — services pages shared stylesheet.
   Inherits the v3 visual register (palette, type) but optimized for long-form reading.
   Heavy ambient canvases (sonar, particles) deliberately omitted on these pages —
   they kill read-time performance and don't add for this kind of surface. */

:root {
  --ocean: #083C88;
  --ocean-deep: #051d44;
  --cobalt: #C8E6FF;
  --silver: #E5E5E5;
  --night: #050505;
  --bg: #f4f4f1;
  --bg-deep: #ebebe7;
  --rule: #d4d4cf;
  --text: #1a1a1c;
  --text-soft: #4a4a4e;
  --text-dim: #74747a;
  --text-faint: #a0a0a3;

  --font-display: futura-pt, "Futura PT", "Helvetica Neue", Arial, sans-serif;
  --font-body: clother, "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* very subtle grain overlay matching v3 home */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ─── top nav ─────────────────────────────────────────── */
.svc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 241, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.svc-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.svc-nav-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ocean);
}
.svc-nav-mark svg { width: 22px; height: 22px; }
.svc-nav-mark .name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 17px;
  color: var(--text);
}
.svc-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.svc-nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.svc-nav-links a:hover { color: var(--ocean); }
.svc-nav-cta {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 20px;
  background: var(--ocean);
  color: var(--bg);
  text-decoration: none;
  transition: background 0.2s;
}
.svc-nav-cta:hover { background: var(--ocean-deep); }

/* ─── article ─────────────────────────────────────────── */
.svc-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 60px;
}
.svc-eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 28px;
}
.svc-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}
.svc-lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.35;
  color: var(--text-soft);
  margin-bottom: 64px;
  font-style: italic;
}
.svc-lede em { color: var(--ocean); font-style: italic; }

.svc-section { margin: 68px 0; }
.svc-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 22px;
}
.svc-section h2 em { color: var(--ocean); font-style: italic; }
.svc-section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  margin: 36px 0 12px;
  color: var(--text);
}
.svc-section p {
  margin-bottom: 18px;
  color: var(--text-soft);
}
.svc-section p strong { color: var(--text); font-weight: 500; }
.svc-section p em { color: var(--ocean); font-style: italic; }

.svc-section .pullquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
  color: var(--ocean);
  border-left: 2px solid var(--ocean);
  padding: 6px 0 6px 22px;
  margin: 32px 0;
}

/* citation superscripts */
.cite {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.7em;
  vertical-align: super;
  color: var(--ocean);
  margin: 0 1px 0 1px;
  text-decoration: none;
  border-bottom: none;
}
.cite:hover { color: var(--ocean-deep); text-decoration: underline; }

/* phases (numbered list of approach steps) */
.svc-phases { margin-top: 12px; }
.svc-phase {
  padding: 28px 0 24px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}
.svc-phase:last-child { border-bottom: 1px solid var(--rule); }
.svc-phase-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  padding-top: 6px;
}
.svc-phase-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text);
}
.svc-phase-body { color: var(--text-soft); font-size: 17px; line-height: 1.6; }

/* case study card — photo-backed with dark-to-ocean gradient */
.svc-case {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--silver);
  padding: 64px 44px 48px;
  margin: 32px 0;
  background: var(--ocean-deep);
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.svc-case-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.svc-case-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 15, 38, 0.32) 0%,
    rgba(5, 15, 38, 0.62) 45%,
    rgba(8, 60, 136, 0.92) 100%
  );
}
.svc-case-eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 20px;
  opacity: 0.92;
}
.svc-case h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  line-height: 1.16;
  color: var(--silver);
  margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.svc-case h3 em { color: var(--cobalt); font-style: italic; }
.svc-case p {
  color: rgba(245,240,235,0.88);
  margin-bottom: 14px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.svc-case-metric {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  color: var(--cobalt);
  letter-spacing: -0.014em;
  display: block;
  margin: 14px 0 14px;
  text-shadow: 0 2px 22px rgba(0,0,0,0.5);
}
.svc-case-source {
  font-size: 13px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 230, 255, 0.18);
  color: rgba(200, 230, 255, 0.7);
}
.svc-case-source a { color: inherit; }

/* hero photo for service pages */
.svc-hero-photo {
  width: 100%;
  margin: 0 0 56px;
  height: 360px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.svc-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244,244,241,0) 60%, rgba(244,244,241,0.95) 100%);
}

/* deliverables */
.svc-deliver-list {
  list-style: none;
  margin-top: 24px;
}
.svc-deliver-list li {
  padding: 22px 0 22px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}
.svc-deliver-list li:last-child { border-bottom: 1px solid var(--rule); }
.svc-deliver-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  padding-top: 4px;
}
.svc-deliver-list li h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 6px;
}
.svc-deliver-list li p { color: var(--text-soft); font-size: 16px; line-height: 1.55; }

/* CTA strip */
.svc-cta {
  text-align: center;
  padding: 90px 32px 100px;
  background: var(--bg-deep);
  border-top: 1px solid var(--rule);
  margin-top: 80px;
}
.svc-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}
.svc-cta h2 em { color: var(--ocean); font-style: italic; }
.svc-cta p { color: var(--text-soft); max-width: 560px; margin: 0 auto 36px; font-size: 18px; }
.svc-cta a {
  display: inline-block;
  padding: 18px 44px;
  background: var(--ocean);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s;
}
.svc-cta a:hover { background: var(--ocean-deep); }

/* sources / footnotes */
.svc-sources {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 32px 24px;
  border-top: 1px solid var(--rule);
}
.svc-sources h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.svc-sources ol {
  list-style: none;
  counter-reset: src;
}
.svc-sources li {
  counter-increment: src;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
  padding-left: 36px;
  margin-bottom: 14px;
  position: relative;
}
.svc-sources li::before {
  content: counter(src);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ocean);
  font-size: 13px;
}
.svc-sources a { color: var(--ocean); text-decoration: none; border-bottom: 1px solid rgba(8, 60, 136, 0.3); }
.svc-sources a:hover { border-bottom-color: var(--ocean); }

/* footer (architectural — services / industries / signal / connect) */
.svc-footer {
  background: var(--night);
  color: var(--silver);
  padding: 80px 32px 36px;
}
.svc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.svc-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(229, 229, 229, 0.08);
}
.svc-footer-col h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 22px;
  opacity: 0.7;
}
.svc-footer-col ul { list-style: none; }
.svc-footer-col li { margin-bottom: 10px; }
.svc-footer-col a {
  color: rgba(229, 229, 229, 0.78);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s;
}
.svc-footer-col a:hover { color: var(--cobalt); }
.svc-footer-bottom {
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: rgba(229, 229, 229, 0.5);
}
.svc-footer-bottom .credit { font-style: italic; }
.svc-footer-bottom .credit em { color: rgba(200, 230, 255, 0.7); font-style: italic; }
.svc-footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.svc-footer-mark svg { width: 20px; height: 20px; color: var(--cobalt); }
.svc-footer-mark .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--silver);
}

@media (max-width: 720px) {
  .svc-article { padding: 56px 24px 40px; }
  .svc-section { margin: 48px 0; }
  .svc-phase, .svc-deliver-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .svc-case { padding: 32px 24px; }
  .svc-cta { padding: 70px 24px; }
  .svc-nav-inner { padding: 14px 20px; }
  .svc-nav-links { display: none; }
}
