:root {
  color-scheme: light;
  --ink: #102235;
  --navy: #101f2f;
  --navy-deep: #0b1724;
  --accent: #9edaff;
  --action: #0071ae;
  --paper: #f0f5f9;
  --muted: #43596a;
  --line: #cbdae5;
  font: 100%/1.55 "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #1685c1; outline-offset: 5px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip { position: fixed; top: 1rem; left: 1rem; padding: .75rem; background: white; z-index: 2; transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead { background: #fff; }
.header-inner, .footer-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.brand { display: block; width: 10.75rem; flex-shrink: 0; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); flex-wrap: wrap; }
nav a { font-size: .95rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-contact { padding: .5rem .9rem; border-radius: .25rem; background: var(--navy); color: #fff; }
.hero { background: var(--navy); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1fr .98fr; align-items: center; min-height: 39rem; }
.hero-copy { position: relative; z-index: 1; padding-block: clamp(3.5rem, 8vw, 7rem); }
.kicker { color: #07567e; font-size: .9rem; font-weight: 750; letter-spacing: .045em; margin-bottom: 1.05rem; }
.hero .kicker { color: var(--accent); }
h1, h2 { font-weight: 750; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.85rem, 5.5vw, 5.25rem); line-height: .99; max-width: 11.5ch; }
h1 em { color: var(--accent); font-style: normal; }
.hero-lead { color: #d1dfeb; font-size: clamp(1.05rem, 1.35vw, 1.25rem); max-width: 45ch; margin: 1.6rem 0 1.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 3rem;
  padding: .7rem 1.15rem;
  border-radius: .25rem;
  background: var(--accent);
  color: var(--navy-deep);
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: #d4efff; text-decoration: underline; text-underline-offset: .2em; }
.hero-art { position: relative; display: grid; align-self: stretch; align-items: center; min-width: 0; }
.hero-art img { width: 100%; max-height: 100%; object-fit: contain; }
.hero-art figcaption { color: #b7cbdc; font-size: .82rem; position: absolute; inset: auto .25rem 1.1rem auto; }
.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.45rem); line-height: 1.07; }
.perspective-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 1.25rem clamp(2rem, 8vw, 7rem);
}
.perspective-intro > p, .perspective-close {
  color: var(--muted);
  font-size: 1.125rem;
}
.context-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}
.context-step {
  position: relative;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: var(--paper);
}
.context-step h3 { margin: 0 0 .9rem; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.context-step strong { display: block; font-size: 1.2rem; line-height: 1.3; }
.context-step p { margin-top: .35rem; }
.context-signals {
  padding: .8rem .9rem;
  border-radius: .25rem;
  background: #dcebf5;
}
.context-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1rem;
  margin: 1rem 0 0;
}
.context-sources dt { font-weight: 750; overflow-wrap: anywhere; }
.context-sources dd { margin: .15rem 0 0; color: var(--muted); }
.context-understand { background: #e2f0f9; }
.context-improve { background: var(--navy); color: #fff; border-color: var(--navy); }
.context-improve h3 { color: var(--accent); }
.context-improve p { color: #d1dfeb; }
.context-step + .context-step::before {
  content: "";
  position: absolute;
  top: 2.05rem;
  right: calc(100% + 1px);
  width: 1.25rem;
  height: 2px;
  background: #7295af;
}
.perspective-close { max-width: 65ch; }
.perspective-close strong { color: var(--ink); }
.perspective-close p + p { margin-top: .45rem; }
@media (max-width: 760px) {
  .context-flow { grid-template-columns: 1fr; }
  .context-step + .context-step::before {
    inset: auto auto calc(100% + 1px) 1.4rem;
    width: 2px;
    height: 1.25rem;
  }
}
.ai-positioning {
  background: var(--navy);
  color: #fff;
}
.ai-positioning-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.5rem clamp(2rem, 8vw, 7rem);
}
.ai-positioning .kicker { color: var(--accent); }
.ai-positioning h2 { font-size: clamp(2.625rem, 5.4vw, 5rem); }
.ai-positioning-copy { color: #d1dfeb; font-size: 1.125rem; max-width: 58ch; }
.ai-positioning-copy p + p { margin-top: 1rem; }
.ai-positioning-copy p:empty { display: none; }
.ai-positioning-copy p:empty + p { margin-top: 0; }
.ai-positioning-copy .ai-positioning-lead, .ai-positioning-copy strong { color: #fff; }
.ai-positioning-lead { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; }
.ai-positioning a { color: var(--accent); text-underline-offset: .2em; }
.ai-example {
  margin-block: 2.25rem 1.75rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #4b657b;
  border-radius: .4rem;
  background: var(--navy-deep);
}
.ai-example figcaption { color: var(--accent); font-weight: 750; }
.ai-example-grid, .ai-evidence { display: grid; gap: 1rem; }
.ai-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 1rem; }
.ai-example-grid > div, .ai-evidence > div { padding: 1rem; background: #192d40; border-radius: .25rem; }
.ai-example h3 { margin: 0 0 .45rem; font-size: 1rem; }
.ai-example blockquote { margin: 0; font-style: italic; }
.ai-example-grid p, .ai-example blockquote, .ai-evidence p { color: #d1dfeb; }
.ai-example-question { font-size: 1.125rem; font-weight: 750; }
.ai-evidence { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ai-evidence strong { display: block; color: var(--accent); font-size: 2rem; line-height: 1.2; margin-bottom: .35rem; }
.ai-positioning-inner + .ai-evidence { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.ai-evidence > div, .ai-evidence p { display: flex; flex-direction: column; }
.ai-evidence p { flex: 1; }
.ai-evidence a { align-self: flex-start; margin-top: auto; padding-top: .45rem; }
.ai-positioning-close { max-width: 70ch; margin-top: 1.75rem; color: #d1dfeb; font-size: 1.125rem; }
.ai-positioning-close strong { color: #fff; }
@media (max-width: 760px) {
  .ai-example-grid, .ai-evidence { grid-template-columns: 1fr; }
}
.portfolio { background: var(--paper); }
.offering-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) minmax(0, 3fr);
  grid-template-areas: "support map";
  gap: 1.5rem;
}
.offering-map { grid-area: map; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.offering-layer {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: #fff;
}
.offering-layer + .offering-layer::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 1px);
  left: calc(50% - 1px);
  width: 2px;
  height: 1.5rem;
  background: #7295af;
}
.offering-goal {
  min-height: 12rem;
  display: grid;
  align-content: center;
  padding-right: clamp(7rem, 31%, 19rem);
  color: #fff;
  border-color: var(--navy);
  background: linear-gradient(90deg, #101f2f 24%, #101f2f 41%, #101f2f20 100%),
              var(--navy) url("../ss-home/ai-neural-profile.webp") center right / auto 135% no-repeat;
}
.offering-goal h2 { text-wrap: pretty; font-size: clamp(1.85rem, 3.3vw, 3.25rem); }
.offering-goal > h2, .offering-goal > p { position: relative; z-index: 1; }
.neural-sparkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 41%, #000 100%);
}
/* Match the background image's auto / 135% sizing and right-centre alignment. */
.neural-sparkles-image {
  position: absolute;
  right: 0;
  top: -17.5%;
  height: 135%;
  aspect-ratio: 1120 / 747;
}
.neural-sparkles-image > span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dcf8ff;
  box-shadow: 0 0 6px 3px #8de7ff, 0 0 14px 5px #43bde899;
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: neural-glimmer 5s ease-in-out infinite;
}
.neural-sparkles-image > span:nth-child(1) { left: 61.70%; top: 13.92%; animation-delay: -2s; }
.neural-sparkles-image > span:nth-child(2) { left: 74.82%; top: 14.73%; animation-delay: -8s; }
.neural-sparkles-image > span:nth-child(3) { left: 85.27%; top: 23.03%; animation-delay: -11s; }
.neural-sparkles-image > span:nth-child(4) { left: 79.29%; top: 27.18%; animation-delay: -5s; }
.neural-sparkles-image > span:nth-child(5) { left: 70.63%; top: 36.41%; animation-delay: -9s; }
.neural-sparkles-image > span:nth-child(6) { left: 83.48%; top: 46.32%; animation-delay: -3s; }
.neural-sparkles-image > span:nth-child(7) { left: 69.38%; top: 59.17%; animation-delay: -6s; }
.neural-sparkles-image > span:nth-child(8) { left: 77.41%; top: 78.18%; animation-delay: -12s; }
@keyframes neural-glimmer {
  0%, 10%, 38%, 100% { opacity: 0; }
  24% { opacity: .5; }
}
@media (prefers-reduced-motion: reduce), (max-width: 520px) {
  .neural-sparkles { display: none; }
  .neural-sparkles-image > span { animation: none; }
}
.offering-goal .kicker { color: var(--accent); }
.offering-goal > p:last-child { color: #d1dfeb; max-width: 46ch; margin: .75rem 0 0; }
.offering-context { background: #e2f0f9; }
.offering-layer-heading h3 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 .35rem; }
.offering-layer-heading p, .offering-details { color: var(--muted); }
.offerings {
  list-style: none;
  margin: .65rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr));
  gap: .55rem;
}
.offerings > li > a {
  display: block;
  height: 100%;
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: #fff;
  color: #07567e;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.offerings img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: var(--paper);
  border-radius: .15rem;
}
.offerings strong { display: block; padding: .3rem .2rem .05rem; }
.offerings > li > a:hover { border-color: #5b8aab; }
.offering-product {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: #fff;
  overflow-wrap: anywhere;
}
.offerings > .offering-product > a { height: auto; border: 0; }
.offering-product-preview { padding: .4rem; color: #07567e; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; margin-top: 2rem; }
.contact-page-form { display: grid; gap: .65rem; padding: clamp(1rem, 3vw, 2rem); background: #e2f0f9; border-radius: .5rem; }
.contact-page-form label { font-weight: 650; }
.contact-page-form input:not([type="hidden"]), .contact-page-form textarea { width: 100%; min-width: 0; padding: .75rem; border: 1px solid #7d99ad; border-radius: .25rem; background: #fff; color: #142e42; font: inherit; }
.contact-page-form textarea { resize: vertical; }
.contact-page-form :focus-visible { outline: 2px solid #07567e; outline-offset: 3px; }
.contact-page-form .button { justify-self: start; cursor: pointer; }
.contact-page-form .button:disabled { opacity: .65; cursor: default; }
.contact-form-note { font-size: .9rem; }
.contact-form-status { margin: 0; }
.contact-page-details a { color: #07567e; overflow-wrap: anywhere; }
@media (max-width: 700px) { .contact-page-grid { grid-template-columns: 1fr; gap: 2rem; } }
.offering-product .offering-details { margin: 0; padding: .6rem; }
.offering-product .offering-details p { margin: .6rem 0 0; }
.offering-product summary:focus-visible { outline: 2px solid #07567e; outline-offset: 3px; }
.offering-details { margin-top: .85rem; }
.offering-details summary { color: #07567e; font-weight: 650; cursor: pointer; }
.offering-details[open] summary { margin-bottom: .6rem; }
.offering-details dl { margin: .6rem 0 0; }
.offering-details dt { font-weight: 750; }
.offering-details dd { margin: 0 0 .45rem; }
.offering-support {
  grid-area: support;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  border: 1px solid #b6cedf;
  border-left: .3rem solid var(--action);
  border-radius: .4rem;
  background: #e2f0f9;
}
.offering-support h3 { margin: 0 0 1rem; font-size: 1.45rem; line-height: 1.2; }
.offering-support a { color: #07567e; text-underline-offset: .2em; }
.offering-support p { color: var(--muted); }
.offering-support p + p { margin-top: .9rem; }
.offering-consultancy-photo {
  width: 100%;
  max-height: 19rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 35%;
  margin-top: 1rem;
  border-radius: .3rem;
}
@media (max-width: 520px) {
  .offering-goal {
    padding-right: 1rem;
    background-image: linear-gradient(90deg, #101f2ff2 5%, #101f2fc4 100%), url("../ss-home/ai-neural-profile.webp");
  }
}
@media (max-width: 920px) {
  .offering-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "map" "support";
  }
}
.people-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 1.25rem clamp(2rem, 8vw, 7rem);
}
.people-intro > p, .people-close { color: var(--muted); font-size: 1.125rem; }
.people-roles {
  margin: 2rem 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.people-roles > div { padding-top: .85rem; border-top: 2px solid var(--line); }
.people-roles dt { font-size: 1.125rem; font-weight: 750; }
.people-roles dd { margin: .35rem 0 0; color: var(--muted); }
.people-close { max-width: 68ch; }
@media (max-width: 760px) {
  .people-intro, .people-roles { grid-template-columns: 1fr; }
}
.contact { color: white; background: var(--navy); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.contact p { color: #d1dfeb; margin-top: .75rem; }
.site-footer { background: var(--navy-deep); color: #d1dfeb; }
.footer-inner { min-height: 4.25rem; font-size: .92rem; }
.footer-inner a { white-space: nowrap; }
.footer-contact { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; padding-block: .85rem; }
  .header-inner nav { width: 100%; }
  .footer-inner { flex-wrap: wrap; padding-block: .9rem; }
}
@media (max-width: 760px) {
  .hero-inner, .perspective-intro, .ai-positioning-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 1.5rem; }
  h1 { max-width: 17ch; }
  .hero-art { padding-bottom: 2.6rem; }
  .hero-art img { max-height: 28rem; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner, .footer-inner { padding-block: .9rem; flex-wrap: wrap; }
  .header-inner { gap: .65rem 1rem; }
  .brand { width: 8.75rem; }
  nav { gap: .4rem 1rem; }
  nav a { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}

.advice {
  padding: clamp(1rem, 2.5vw, 1.65rem);
  border: 1px solid #4b657b;
  border-radius: .4rem;
  background: var(--navy-deep);
}
.advice [hidden] { display: none; }
.contact .advice-direct p { margin: 0 0 .85rem; }
.advice-form { display: grid; gap: .65rem; }
.advice-form label { font-weight: 750; }
.advice-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 4.75rem;
  padding: .65rem .8rem;
  border: 1px solid #7590a6;
  border-radius: .25rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.advice-form button { border: 0; cursor: pointer; font: inherit; font-weight: 750; }
.advice-form button:disabled { opacity: .7; cursor: wait; }
.contact .advice-note { font-size: .875rem; }
.advice-privacy-choice { margin: 1rem 0; padding: 1rem; border: 1px solid #7590a6; border-radius: .4rem; }
.advice-privacy-choice p { font-size: .9rem; }
.advice-privacy-choice a, .advice-note a { color: var(--accent); text-underline-offset: .2em; }
.advice-privacy-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
.advice-privacy-actions .button { font: inherit; cursor: pointer; }
.advice-privacy-actions [hidden] { display: none; }
.privacy-content { max-width: 78ch; }
.privacy-content h2 { margin-top: 2rem; font-size: 1.4rem; }
.privacy-content p { line-height: 1.7; }
.advice-status:empty { display: none; }
.advice-transcript { max-height: 23rem; overflow-y: auto; margin-bottom: 1rem; }
.contact .advice-message { margin: 0 0 .65rem; padding: .65rem .8rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.advice-message--visitor { border-left: 2px solid #7590a6; }
.advice-message--answer { background: #192d40; border-radius: .25rem; }
.advice-handoff { margin-top: .85rem; }

.advice-form .advice-consent {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .9rem;
  font-weight: 400;
}
.advice-form .advice-consent[hidden] { display: none; }
.advice-consent input { flex: none; margin: .28em 0 0; accent-color: var(--accent); }

.offering-details a, .people-intro a { color: #07567e; text-underline-offset: .2em; }
.advice-message--answer a { color: var(--accent); text-underline-offset: .2em; }

.advice-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.25rem;
  padding: 0;
  list-style: none;
  margin: .65rem 0 0;
}
.advice-contact-links a { color: var(--accent); text-underline-offset: .2em; }
.contact .advice-handoff p { margin-top: .55rem; font-size: .875rem; }
