:root {
  color-scheme: dark;
  --ink: #050c11;
  --surface-0: #071017;
  --surface-1: #0c1d25;
  --surface-2: #133039;
  --surface-3: #1a3533;
  --text: #f3f6f3;
  --muted: #c1cecf;
  --muted-strong: #d8e0df;
  --line: rgba(226, 239, 240, 0.17);
  --line-strong: rgba(226, 239, 240, 0.44);
  --green: #63b970;
  --green-hover: #76c681;
  --blue: #6aaee3;
  --blue-hover: #80bce9;
  --brand-blue: #2c90bc;
  --brand-green: #3d9b43;
  --brand-gray: #c8c8c8;
  --container: 1440px;
  --gutter: clamp(24px, 4vw, 64px);
  --section-space: clamp(44px, 4.5vw, 64px);
  --content-measure: 65ch;
  --header-height: 80px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.55;
}

.contact-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.home-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.home-page .home-main {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(min-content, 1fr) auto;
}

.platform-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.platform-page .platform-main {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(min-content, 1fr) auto;
}

.platform-page .whole-journey {
  display: grid;
  align-items: center;
}

.contact-page .contact-main,
.contact-page .contact-stage {
  display: grid;
}

.contact-page .contact-stage {
  align-items: center;
}

[hidden] {
  display: none !important;
}

main {
  display: block;
}

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

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

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: 1568px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 11px 16px;
  background: #fff;
  color: #081016;
  font-weight: 700;
  transform: translateY(-180%);
}

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

/* Header and navigation */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 12, 17, 0.98);
}

.nav-shell {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  width: max-content;
  color: var(--brand-blue);
  font-family: var(--mono);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-shadow: rgb(70, 70, 70) 2px 0 3px;
  opacity: 0.9;
}

.brand-dest {
  color: var(--brand-green);
}

.brand img {
  width: 17px;
  height: 18px;
  margin-left: 7px;
  filter: drop-shadow(2px 0 3px rgb(70, 70, 70));
}

.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: auto;
}

.primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 2px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

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

.primary-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px currentColor;
}

.menu-toggle {
  min-width: 76px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font: 700 0.84rem/1 Verdana, Geneva, Tahoma, sans-serif;
}

.menu-toggle-mark {
  position: relative;
  width: 16px;
  height: 10px;
  display: block;
  border-block: 2px solid currentColor;
}

.menu-toggle-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-mark {
  border-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-mark::before,
.menu-toggle[aria-expanded="true"] .menu-toggle-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: currentColor;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-mark::before {
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-mark::after {
  transform: translateY(-50%) rotate(-45deg);
}

/* Actions and type */

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button--primary {
  border-color: var(--green);
  background: var(--green);
  color: #061108;
}

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

.button--platform {
  border-color: var(--blue);
  background: var(--blue);
  color: #06131d;
}

.button--platform:hover {
  border-color: var(--blue-hover);
  background: var(--blue-hover);
}

.button:active {
  transform: translateY(1px);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-strong);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: rgba(216, 224, 223, 0.48);
  text-decoration-thickness: 1px;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link--down:hover span {
  transform: translateY(4px);
}

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

.text-link--platform {
  color: #b9ddf7;
  text-decoration-color: rgba(185, 221, 247, 0.55);
}

.eyebrow,
.status-label,
.item-number,
.case-category,
.tools-label {
  font-variant-numeric: tabular-nums;
}

.eyebrow,
.status-label {
  color: var(--muted-strong);
  font-size: clamp(0.875rem, 1vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.045em;
}

.eyebrow {
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  display: inline-block;
  margin-right: 12px;
  background: var(--green);
  vertical-align: 0.22em;
}

.eyebrow--platform::before {
  background: var(--blue);
}

.status-label {
  margin-bottom: 0;
}

.section {
  padding-block: var(--section-space);
}

.section-intro {
  max-width: var(--content-measure);
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.section-intro--wide {
  max-width: 900px;
}

.section-intro h2,
.closing-band h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.section-intro > p:last-child,
.closing-band p {
  max-width: var(--content-measure);
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 24px;
}

/* Home */

.home-main {
  background: var(--surface-1);
}

.home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(430px, 33vw, 500px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 10, 14, 0.93) 0%, rgba(5, 15, 20, 0.78) 39%, rgba(7, 22, 29, 0.26) 72%, rgba(7, 22, 29, 0.04) 100%),
    linear-gradient(180deg, rgba(3, 9, 13, 0.03), rgba(4, 12, 17, 0.28)),
    url("/static/sj-hero.jpg") center top / cover no-repeat;
}

.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 50%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(224, 243, 245, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 243, 245, 0.085) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
}

.hero-inner {
  max-width: 920px;
  padding-block: 56px 62px;
}

.home-hero h1,
.consulting-hero h1,
.platform-hero h1,
.contact-intro h1 {
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.home-hero h1 {
  font-size: clamp(2.3rem, 3.6vw, 3.25rem);
}

.home-hero .lede,
.consulting-hero .lede,
.platform-hero .lede,
.contact-intro .lede {
  max-width: 65ch;
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: clamp(1.04rem, 1.2vw, 1.18rem);
  line-height: 1.58;
}

.offering-list {
  display: block;
}

.offering-section {
  min-height: 0;
  border-bottom: 1px solid var(--line);
}

.offering-section--consulting {
  background: var(--surface-3);
}

.offering-section--consulting .offering-row {
  padding-block: 50px 52px;
}

.offering-section--platform {
  background: #102934;
}

.offering-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: 30px 0 32px 22px;
  border-left: 2px solid var(--green);
}

.offering-section--platform .offering-row {
  gap: clamp(24px, 3.5vw, 48px);
  padding-block: 30px 32px;
  border-left-color: var(--blue);
}

.offering-heading {
  min-width: 0;
}

.offering-heading h2 {
  margin-bottom: 0;
  color: #f0f5f1;
  font-size: clamp(1.38rem, 1.7vw, 1.7rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.offering-heading--platform h2 {
  color: #eaf4fb;
}

.offering-status {
  margin: 5px 0 0;
  color: #a9cce5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.offering-summary {
  max-width: 66ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.04vw, 1.04rem);
  line-height: 1.5;
}

.offering-section--platform .offering-summary,
.offering-section--platform .offering-action {
  font-size: 0.9rem;
}

.offering-action {
  justify-self: end;
  white-space: nowrap;
}

/* Consulting */

.consulting-main {
  background: var(--surface-1);
}

.consulting-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(380px, 30vw, 440px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface-1);
}

.consulting-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, #0a211c 0%, #0b211d 45%, rgba(10, 29, 26, 0.9) 58%, rgba(8, 22, 23, 0.2) 82%, rgba(5, 14, 18, 0.04) 100%),
    linear-gradient(180deg, rgba(5, 13, 17, 0.05), rgba(5, 13, 17, 0.38)),
    url("/static/sj-hero.jpg") right 42% / auto 100% no-repeat;
}

.consulting-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 68%;
  background-image:
    linear-gradient(rgba(224, 243, 245, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 243, 245, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%);
  mask-image: linear-gradient(90deg, transparent, #000 42%);
}

.consulting-hero-grid {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
  align-items: center;
}

.consulting-hero-copy {
  max-width: 870px;
  padding-block: 52px 58px;
}

.consulting-hero h1,
.platform-hero h1,
.contact-intro h1 {
  font-size: clamp(2.15rem, 3.2vw, 2.75rem);
}

.consulting-capabilities {
  background: var(--surface-3);
}

.consulting-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.56fr) minmax(0, 1fr);
  gap: clamp(52px, 7vw, 104px);
  align-items: start;
}

.consulting-layout .section-intro {
  margin-bottom: 0;
}

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

.capability-item {
  display: grid;
  grid-template-columns: 50px minmax(185px, 0.55fr) minmax(0, 1fr);
  gap: 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.item-number {
  margin-bottom: 0;
  color: #82d08d;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.capability-item h3,
.approach-item h3 {
  margin-bottom: 10px;
  font-size: clamp(1.06rem, 1.25vw, 1.22rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.capability-item p:last-child,
.approach-item p:last-child {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.consulting-method {
  background: var(--surface-1);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.approach-item {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.approach-item .item-number {
  margin-bottom: 14px;
}

.tools-strip {
  padding-block: 20px;
  border-block: 1px solid var(--line);
  background: #122b28;
}

.tools-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 32px;
  align-items: baseline;
}

.tools-layout p {
  margin-bottom: 0;
}

.tools-label {
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.tools-layout p:last-child {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.representative-work {
  scroll-margin-top: calc(var(--header-height) + 24px);
  background: var(--ink);
}

.work-intro > p:last-child {
  color: var(--muted);
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 68px);
}

.case-study {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.case-study::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--green);
}

.case-category {
  margin-bottom: 12px;
  color: #91d49b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study h3 {
  margin-bottom: 20px;
  font-size: clamp(1.3rem, 1.65vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.case-narrative {
  display: grid;
  gap: 14px;
}

.case-narrative p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.case-narrative strong {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-narrative .case-outcome {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #e3e9e6;
}

.closing-band {
  padding-block: clamp(40px, 4.5vw, 54px);
  border-block: 1px solid var(--line);
}

.closing-band--consulting {
  border-top: 0;
  background: linear-gradient(105deg, #173a2b, #10271f 78%);
}

.closing-band--platform {
  background: linear-gradient(105deg, #123248, #0c2434 78%);
}

.closing-band--platform .eyebrow {
  margin-bottom: 24px;
  font-size: 0.78rem;
}

.closing-band--platform h2 {
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
}

.closing-band-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.closing-band h2 {
  max-width: 850px;
}

/* Platform */

.platform-main {
  background: var(--surface-0);
}

.platform-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(380px, 28vw, 420px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 45%, rgba(66, 145, 205, 0.21), transparent 34%),
    linear-gradient(112deg, #102832, #081820 78%);
}

.platform-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(208, 232, 239, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208, 232, 239, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 68%, #000);
  mask-image: linear-gradient(90deg, transparent 18%, #000 68%, #000);
}

.platform-hero-layout {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 450px);
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
}

.platform-hero-copy {
  max-width: 760px;
  padding-block: 50px 56px;
}

.platform-hero .lede {
  max-width: 68ch;
}

.platform-hero-graphic {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 12 / 7;
  justify-self: end;
  overflow: hidden;
}

.platform-map {
  display: block;
  width: 100%;
  height: 100%;
}

.platform-map-contour,
.platform-map-register {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.platform-map-contour {
  stroke: rgba(171, 210, 224, 0.14);
  stroke-linecap: round;
  stroke-width: 1;
}

.platform-map-register {
  stroke: rgba(188, 220, 232, 0.3);
  stroke-linecap: square;
  stroke-width: 1;
}

.platform-map-route-casing,
.platform-map-route,
.platform-map-link {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.platform-map-route-casing {
  stroke: rgba(4, 17, 24, 0.86);
  stroke-width: 6;
}

.platform-map-route {
  stroke-width: 2.5;
}

.platform-map-route--primary {
  stroke: rgba(111, 185, 229, 0.88);
}

.platform-map-route--secondary {
  stroke: rgba(112, 188, 127, 0.78);
}

.platform-map-link {
  stroke-dasharray: 1 6;
  stroke-width: 1.5;
}

.platform-map-link--research {
  stroke: rgba(132, 199, 148, 0.45);
}

.platform-map-points circle {
  fill: #cce9f7;
  stroke: rgba(10, 39, 52, 0.95);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.platform-map-points .platform-map-point--place {
  fill: #76c383;
  stroke: rgba(12, 43, 39, 0.95);
}

.platform-map-points .platform-map-point--research {
  fill: #89c993;
  stroke: rgba(12, 43, 39, 0.95);
}

.platform-map-labels text {
  fill: rgba(207, 229, 238, 0.66);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.whole-journey {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 16%, rgba(65, 141, 199, 0.1), transparent 32%),
    linear-gradient(112deg, #10252e, #0b1c24 82%);
}

.whole-journey-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.whole-journey-intro {
  margin-bottom: 0;
}

.journey-phases {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-phases::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 16.667%;
  left: 16.667%;
  height: 1px;
  background: rgba(106, 174, 227, 0.5);
}

.journey-phase {
  position: relative;
  min-width: 0;
  padding: 38px 14px 0;
  text-align: center;
}

.journey-phase-marker {
  position: absolute;
  z-index: 1;
  top: 1px;
  left: 50%;
  width: 15px;
  height: 15px;
  border: 3px solid #10252e;
  border-radius: 50%;
  background: var(--blue);
  transform: translateX(-50%);
}

.journey-phase h3 {
  margin-bottom: 7px;
  color: #edf6fb;
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.3;
}

.journey-phase p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* Contact */

.contact-main {
  background: var(--surface-1);
}

.contact-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 5vw, 72px) clamp(48px, 4.5vw, 64px);
  background:
    radial-gradient(circle at 88% 10%, rgba(70, 146, 156, 0.15), transparent 30%),
    linear-gradient(112deg, #153039, #0d222b 84%);
}

.contact-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(208, 232, 239, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208, 232, 239, 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.54) 8%, rgba(0, 0, 0, 0.17) 16%, transparent 25%),
    radial-gradient(ellipse 54% 20% at 0 100%, #000 10%, rgba(0, 0, 0, 0.58) 46%, transparent 78%),
    radial-gradient(ellipse 54% 20% at 100% 100%, #000 10%, rgba(0, 0, 0, 0.58) 46%, transparent 78%);
  mask-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.54) 8%, rgba(0, 0, 0, 0.17) 16%, transparent 25%),
    radial-gradient(ellipse 54% 20% at 0 100%, #000 10%, rgba(0, 0, 0, 0.58) 46%, transparent 78%),
    radial-gradient(ellipse 54% 20% at 100% 100%, #000 10%, rgba(0, 0, 0, 0.58) 46%, transparent 78%);
}

.contact-cartography {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.contact-cartography-contours,
.contact-cartography-register {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.contact-cartography-contours {
  stroke: rgba(171, 210, 224, 0.18);
  stroke-linecap: round;
  stroke-width: 1;
}

.contact-cartography-contours--mirror {
  opacity: 0.55;
}

.contact-cartography-register {
  stroke: rgba(188, 220, 232, 0.34);
  stroke-linecap: square;
  stroke-width: 1;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: block;
}

.contact-intro {
  max-width: 800px;
  margin-bottom: clamp(36px, 4vw, 48px);
}

.contact-email {
  color: var(--text);
  font-weight: 700;
  text-decoration-color: rgba(243, 246, 243, 0.5);
}

.contact-email:hover {
  text-decoration-color: currentColor;
}

.contact-options {
  border-top: 1px solid var(--line-strong);
}

.contact-option {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) 330px;
  gap: clamp(24px, 2.5vw, 36px);
  align-items: center;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line);
}

.contact-option-heading {
  min-width: 0;
}

.contact-option-heading h2 {
  margin-bottom: 0;
  color: #f0f5f1;
  font-size: 1.1875rem;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.contact-option--platform {
  background: linear-gradient(90deg, transparent, rgba(45, 105, 143, 0.08));
}

.contact-option-heading--platform h2 {
  color: #eaf4fb;
}

.contact-option-copy p {
  max-width: 64ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.54;
}

.contact-option-action {
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}

.contact-option-action .button {
  width: 100%;
}

.contact-option-action .text-link {
  width: auto;
  max-width: 100%;
  justify-content: flex-start;
}

.contact-cta-copy {
  min-width: 0;
}

.contact-cta-tail {
  white-space: nowrap;
}

.contact-cta-arrow {
  display: inline-block;
  margin-left: 9px;
}

.contact-option-action .text-link:hover .contact-cta-copy,
.contact-option-action .text-link:hover .contact-cta-tail {
  transform: none;
}

/* Footer */

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

.footer-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.footer-copyright {
  min-width: 0;
  margin: 0;
  color: rgb(193 206 207 / 64%);
  font-size: 11px;
  line-height: 1.55;
}

.footer-mark {
  white-space: nowrap;
}

.footer-tm {
  margin-left: 0.04em;
  font-size: inherit;
  line-height: 0;
  vertical-align: super;
}

.footer-email {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgb(193 206 207 / 64%);
  font-size: 11px;
  text-decoration: none;
}

.footer-email:hover {
  color: rgb(193 206 207 / 64%);
  text-decoration: none;
}

/* Deliberate component breakpoints */

@media (min-width: 851px) {
  .home-hero {
    min-height: clamp(330px, calc(100svh - 430px), clamp(430px, 33vw, 500px));
  }

  .home-hero .hero-inner {
    padding-block:
      clamp(34px, calc(11svh - 43px), 56px)
      clamp(38px, calc(12svh - 46px), 62px);
  }
}

@media (min-width: 851px) and (max-width: 949px) {
  .home-hero {
    min-height: clamp(307px, calc(100svh - 453px), 330px);
  }
}

@media (min-width: 851px) and (max-height: 760px) {
  .offering-section--consulting .offering-row {
    padding-block:
      clamp(27px, calc(28.75svh - 168.5px), 50px)
      clamp(28px, calc(30svh - 176px), 52px);
  }

  .offering-section--platform .offering-row {
    padding-block:
      clamp(15px, calc(18.75svh - 112.5px), 30px)
      clamp(15px, calc(21.25svh - 129.5px), 32px);
  }
}

@media (max-width: 1100px) {
  .offering-row {
    grid-template-columns: 230px minmax(0, 1fr) auto;
    gap: 24px;
    padding-block: 30px;
  }
}

@media (max-width: 950px) {
  .contact-option {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .contact-option-action {
    justify-self: start;
    width: min(100%, 360px);
    margin-top: 6px;
  }
}

@media (max-width: 900px) {
  .platform-hero-layout {
    grid-template-columns: 1fr;
  }

  .platform-hero-copy {
    max-width: 800px;
  }

  .platform-hero-graphic {
    display: none;
  }

  .consulting-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 18, 17, 0.95), rgba(7, 23, 22, 0.82) 68%, rgba(7, 22, 23, 0.62)),
      linear-gradient(180deg, rgba(5, 13, 17, 0.1), rgba(5, 13, 17, 0.48)),
      url("/static/sj-hero.jpg") center 42% / cover no-repeat;
  }

  .consulting-hero::after {
    inset: 0 0 0 46%;
  }

  .consulting-hero-grid {
    grid-template-columns: 1fr;
  }

  .consulting-hero-copy {
    max-width: 800px;
  }

  .approach-grid,
  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study-grid {
    gap: 40px;
  }

  .contact-cartography {
    display: none;
  }

}

@media (max-width: 850px) {
  .offering-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding-block: 24px;
  }

  .offering-section--consulting .offering-row {
    gap: 12px;
    padding-block: 30px;
  }

  .offering-section--platform .offering-row {
    gap: 5px;
    padding-block: 14px;
  }

  .offering-action {
    justify-self: start;
    margin-top: 2px;
  }

  .consulting-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .consulting-layout .section-intro {
    max-width: 760px;
  }

}

@media (max-width: 800px) {
  .whole-journey-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .journey-phases {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .journey-phases::before {
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 1px;
    height: auto;
  }

  .journey-phase {
    padding: 0 0 24px 40px;
    text-align: left;
  }

  .journey-phase:last-child {
    padding-bottom: 0;
  }

  .journey-phase-marker {
    top: 4px;
    left: 0;
    transform: none;
  }

  .tools-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .closing-band-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .closing-band-layout .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .nav-shell {
    min-height: var(--header-height);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .no-js .menu-toggle {
    display: none;
  }

  .no-js .nav-shell {
    flex-wrap: wrap;
  }

  .no-js .primary-nav {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    padding-bottom: 10px;
  }

  .js .primary-nav {
    position: absolute;
    top: 100%;
    right: var(--gutter);
    left: var(--gutter);
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    gap: 0;
    margin: 0;
    border: 1px solid var(--line-strong);
    border-top: 0;
    background: #071017;
  }

  .js .primary-nav a {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
    border-top: 1px solid var(--line);
    box-sizing: border-box;
  }

  .js .primary-nav a:focus-visible {
    outline-offset: -4px;
  }

  .js .primary-nav a[aria-current="page"] {
    box-shadow: inset 3px 0 currentColor;
  }

  .footer-shell {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding-block: 10px;
  }
}

@media (max-width: 600px) {
  .section {
    padding-block: clamp(36px, 8vw, 44px);
  }

  .button {
    min-height: 52px;
    padding-inline: 18px;
  }

  .home-hero {
    min-height: clamp(390px, 104vw, 430px);
  }

  .home-hero::before {
    background:
      linear-gradient(90deg, rgba(3, 10, 14, 0.93), rgba(5, 15, 20, 0.76) 76%, rgba(7, 22, 29, 0.28)),
      linear-gradient(180deg, rgba(3, 9, 13, 0.03), rgba(4, 12, 17, 0.36)),
      url("/static/sj-hero-mobile.jpg") 60% top / cover no-repeat;
  }

  .home-hero::after {
    display: none;
  }

  .hero-inner {
    padding-block: 36px 40px;
  }

  .home-hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.35rem);
  }

  .consulting-hero h1,
  .platform-hero h1,
  .contact-intro h1 {
    font-size: clamp(1.9rem, 7.9vw, 2.15rem);
  }

  .home-hero h1,
  .consulting-hero h1,
  .platform-hero h1,
  .contact-intro h1 {
    margin-bottom: 14px;
  }

  .home-hero .lede,
  .consulting-hero .lede,
  .platform-hero .lede,
  .contact-intro .lede {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions {
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
  }

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

  .hero-actions .text-link {
    width: max-content;
    max-width: 100%;
  }

  .offering-row {
    padding: 24px 0 24px 16px;
  }

  .offering-heading h2 {
    font-size: 1.35rem;
  }

  .offering-section--platform .offering-row {
    gap: 5px;
    padding-block: 14px;
  }

  .consulting-hero,
  .platform-hero {
    min-height: auto;
  }

  .consulting-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 18, 17, 0.94), rgba(7, 23, 22, 0.8)),
      linear-gradient(180deg, rgba(5, 13, 17, 0.12), rgba(5, 13, 17, 0.5)),
      url("/static/sj-hero-mobile.jpg") center 46% / cover no-repeat;
  }

  .consulting-hero-copy,
  .platform-hero-copy {
    padding-block: 40px 44px;
  }

  .capability-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px 14px;
    padding-block: 18px;
  }

  .capability-item .item-number {
    grid-row: 1 / span 2;
  }

  .capability-item h3,
  .capability-item p:last-child {
    grid-column: 2;
  }

  .contact-stage {
    padding-block: 48px 46px;
  }

  .contact-option {
    padding-block: 20px;
  }

  .contact-option-action,
  .contact-option-action .button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  :root {
    --gutter: 20px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 16px;
    height: 17px;
  }

  .menu-toggle {
    min-width: 72px;
  }

  .home-hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.35rem);
  }

  .consulting-hero h1,
  .platform-hero h1,
  .contact-intro h1 {
    font-size: clamp(1.9rem, 7.9vw, 2.15rem);
  }

}

@media (hover: hover) {
  .button:hover {
    transform: translateY(-1px);
  }
}

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

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

  .button,
  .text-link span,
  .text-link:hover span,
  .text-link--down:hover span {
    transform: none !important;
  }
}
