/* Homepage: dark introduction, then a continuous light editorial surface. */
.post-hero {
  --bg:#f5f9fb; --ink:#102b3a; --blue:#08699e; --line:#c9dce5; --paper:#edf5f8;
  color:var(--ink); color-scheme:light;
  background-color:var(--bg);
  background-image:linear-gradient(#276a8b05 1px,transparent 1px),
    linear-gradient(90deg,#276a8b05 1px,transparent 1px);
  background-size:80px 80px;
}
.post-hero .catalog {
  color:var(--ink); color-scheme:light; background:var(--paper);
  border-color:var(--line);
}
.post-hero .sectionid,.post-hero .approach .sectionid,.post-hero .contact .sectionid { color:#476d80; }
.post-hero .index { color:#28657f; border-color:#82aaba; }
.post-hero .approach-grid>div { border-color:var(--line); }
.post-hero .approach-grid h3 { color:var(--ink); }
.post-hero .approach-grid p,
.post-hero .catalog .sectionintro p,.post-hero .journal-intro,
.post-hero .contact-grid>div>p { color:#456272; }
.post-hero #families .service-page-link { border-color:#bcd4df; }
.post-hero #families .categoryNum { color:#42778e; }
.post-hero #families .service-page-copy h3 { color:#102f40; }
.post-hero #families .service-page-copy p { color:#446171; }
.post-hero #families .service-page-action { color:#076b9f; }
.post-hero #families .service-page-action:hover { color:#094568; }
.post-hero #families .service-benefits { background:#ffffff70; border-color:#b2d0de; }
.post-hero #families .benefits-label { color:#2b647f; }
.post-hero #families .service-benefits li { color:#3b596b; border-color:#74afc7; }
.post-hero service-ring {
  /* Coloured, floating HUD content on a nearly transparent face. */
  --ring-fill:#ffffff12; --ring-fill-active:#f8fdffd9;
  --ring-stroke:#287ca58c; --ring-stroke-active:#08789f;
  --ring-title:#0d3650; --ring-text:#123c53; --ring-wash:#f7fcffad;
  --ring-image-filter:none; --ring-image-ink:none;
  --ring-image-alpha:1; --ring-image-alpha-active:.55;
  --ring-front-min-alpha:.98; --ring-back-alpha:.09; --ring-glass:0;
}
.post-hero .service-ring-card { background:var(--ring-fill); border-color:var(--ring-stroke); }
.post-hero .service-ring-card h4 { color:var(--ring-title); }
.post-hero #families service-ring .service-ring-card p { color:var(--ring-text); }
.post-hero .service-ring-card img { filter:var(--ring-image-filter); }
.post-hero .article-card { background:#ffffff9c; border-color:#b7d0dd; }
.post-hero .article-card:hover { background:#e8f3f9; border-color:#5e9fbd; }
.post-hero .article-card p { color:#456272; }
.post-hero .demo-label { color:#5c7281; }
.post-hero .contact form { background:#ffffffb3; border-color:#bdd3df; }
.post-hero label { color:#284b60; }
.post-hero input,.post-hero textarea,.post-hero select { background:#fff; color:#173b50; border-color:#a8c3d1; }
.post-hero input:focus,.post-hero textarea:focus,.post-hero select:focus { border-color:#0875b2; }
.post-hero textarea::placeholder { color:#587180; }
.post-hero .note { color:#536c7c; }
.post-hero .primary { background:#086d9f; border-color:#086d9f; color:#fff; box-shadow:none; }
.post-hero .primary:hover { background:#07567e; border-color:#07567e; }
.post-hero .secondary { background:#dbeaf2; color:#153e55; }
.post-hero footer { color:#4b6a7d; border-color:var(--line); }

/* Section titles now lead directly, without decorative kickers. */
.post-hero .approach-intro,.post-hero .sectionintro,.post-hero .contact-grid{margin-top:0}
.post-hero .approach-grid h3{margin-top:0}

/* The homepage strategy in four stages. */
.post-hero .approach {
  padding-block: clamp(64px, 8vw, 120px);
}
.post-hero .approach-intro {
  display: block;
  margin-bottom: clamp(44px, 5.5vw, 86px);
}
.approach-intro h2 {
  max-width: 20ch;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(36px, 4.25vw, 64px);
  line-height: 1.06;
}
.approach-intro h2 em {
  color: #326f98;
  font-style: normal;
}
.approach-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 88px);
  row-gap: clamp(32px, 4.5vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.approach-step {
  min-width: 0;
  padding: 20px 0 0;
  border-top: 1px solid #bad3e5;
}
.approach-step-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(220px, 24vw, 310px);
  margin-bottom: 20px;
}
.approach-step-art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse, #cae4f8, #e6f2fb65 55%, transparent 73%);
}
.approach-step-art::after {
  position: absolute;
  z-index: -1;
  bottom: 12%;
  width: 65%;
  height: 18%;
  content: "";
  background: radial-gradient(ellipse, #2a679c29, transparent 72%);
  filter: blur(8px);
  transform: rotate(-8deg);
}
.approach-step-number {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  color: #305a77;
  font: 600 12px/1.4 var(--mono);
  letter-spacing: .1em;
}
.approach-object {
  display: block;
  width: min(320px, 88%);
  aspect-ratio: 1;
  background: url("../spatial-portal/strategy-objects.webp") var(--object-position, 0% 0%) / 200% 200% no-repeat;
  filter: drop-shadow(10px 16px 16px #23578422);
  pointer-events: none;
}
.approach-step:nth-child(2) { --object-position: 100% 0%; --float-delay: -1.45s; }
.approach-step:nth-child(3) { --float-delay: -2.9s; }
.approach-step:nth-child(3) .approach-object {
  background: url("../spatial-portal/strategy-channels-prism.webp") center / contain no-repeat;
}
.approach-step:nth-child(4) { --object-position: 100% 100%; --float-delay: -4.35s; }

@media (prefers-reduced-motion: no-preference) {
  .approach-object {
    animation: approach-float 5.8s ease-in-out var(--float-delay, 0s) infinite;
  }
}
@keyframes approach-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.approach-step h3 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.3vw, 34px);
  font-weight: 600;
  letter-spacing:-.01em;
  line-height:1.2;
}
.approach-step p {
  max-width: 47ch;
  margin: 0;
  color: #456272;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.65;
}
@media (max-width: 560px) {
  .post-hero .approach { padding-block: 55px 65px; }
  .approach-intro h2 { margin-inline: 0; text-align: start; }
  .approach-steps { grid-template-columns: 1fr; }
  .approach-step-art { min-height: 220px; }
  .approach-object { width: min(250px, 84%); }
}
