:root {
  --navy: #061a33;
  --navy-2: #0a2d4f;
  --ink: #0a2742;
  --muted: #5d6d78;
  --teal: #0b9998;
  --cyan: #00c7d8;
  --pale: #edf6f5;
  --paper: #f8fbfa;
  --line: #d4e3e4;
  --white: #ffffff;
  --gold: #f0a72f;
  --shadow: 0 24px 70px rgba(6, 26, 51, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-160%);
  padding: 10px 14px; border-radius: 8px; background: var(--white); color: var(--ink);
}
.skip-link:focus { transform: none; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 14px; color: var(--cyan); font-size: .75rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow.teal { color: var(--teal); }

.site-header {
  position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 78px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 4.5vw;
  border-bottom: 1px solid rgba(255,255,255,.12); transition: background .25s, box-shadow .25s, height .25s;
}
.site-header.is-scrolled { height: 68px; background: rgba(248,251,250,.96); border-color: var(--line); box-shadow: 0 10px 35px rgba(6,26,51,.08); backdrop-filter: blur(14px); }
.brand { display: grid; align-items: center; }
.brand img { grid-area: 1 / 1; display: block; width: 158px; max-height: 52px; object-fit: contain; transition: opacity .2s; }
.brand .logo-light { opacity: 1; }
.brand .logo-dark { opacity: 0; }
.site-header.is-scrolled .brand .logo-light { opacity: 0; }
.site-header.is-scrolled .brand .logo-dark { opacity: 1; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); color: var(--white); font-size: .91rem; font-weight: 700; }
.site-header.is-scrolled .main-nav { color: var(--ink); }
.main-nav a { text-decoration: none; }
.main-nav > a:not(.button):hover { color: var(--cyan); }
.menu-button { display: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .service-tab:focus-visible, .choice-grid label:focus-within { outline: 3px solid rgba(0,199,216,.4); outline-offset: 3px; }
.button-primary { background: var(--cyan); color: var(--navy); box-shadow: 0 12px 28px rgba(0,199,216,.2); }
.button-primary:hover { background: #33d5e3; box-shadow: 0 16px 34px rgba(0,199,216,.3); }
.button-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.button-small { min-height: 40px; padding: 0 18px; border-color: rgba(255,255,255,.35); }
.site-header.is-scrolled .button-small { background: var(--navy); color: var(--white); border-color: var(--navy); }
.button-quiet { border-color: var(--line); background: transparent; }
.text-link { display: inline-flex; gap: 10px; color: var(--white); font-weight: 800; text-underline-offset: 5px; }
.text-link.light { color: var(--white); }

.hero {
  position: relative; min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 64px); align-items: center; overflow: hidden;
  padding: 130px max(5vw, calc((100% - 1300px) / 2), 24px) 76px; color: var(--white); background:
    radial-gradient(circle at 78% 48%, rgba(0,199,216,.2), transparent 23%),
    radial-gradient(circle at 64% 35%, rgba(4,100,145,.35), transparent 34%),
    linear-gradient(125deg, #041326 2%, #061f3c 52%, #073352 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 150px;
  background: linear-gradient(180deg, transparent, rgba(2,13,27,.65)); pointer-events: none;
}
.hero-content { position: relative; z-index: 3; }
.hero h1 { margin: 0; font-size: clamp(2.4rem, 4.5vw, 4.65rem); line-height: 1.04; letter-spacing: -.055em; }
.hero h1 span { color: #bdeff1; }
.hero-lead { max-width: 690px; margin: 28px 0 34px; color: #d6e6eb; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-portrait { position: relative; z-index: 3; width: 100%; max-width: 560px; margin: 0; justify-self: center; }
.hero-portrait img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 20px 48px rgba(2,13,27,.36); }
.hero-portrait figcaption { margin-top: 14px; color: #d6e6eb; font-size: .92rem; line-height: 1.5; }
.hero-portrait strong { color: var(--white); }
.neural-field { position: absolute; z-index: 1; top: 5%; right: -5%; width: min(700px, 54vw); aspect-ratio: 1; opacity: .96; }
.neural-field::before, .neural-field::after {
  content: ""; position: absolute; inset: 9%; border: 1px solid rgba(103,240,239,.25); border-radius: 43% 57% 51% 49%;
  transform: rotate(-21deg); box-shadow: 0 0 45px rgba(0,199,216,.08), inset 0 0 30px rgba(0,199,216,.06);
}
.neural-field::after { inset: 20%; transform: rotate(29deg); border-radius: 59% 41% 38% 62%; }
.orbit { position: absolute; display: block; border: 1px solid rgba(66,229,230,.27); border-radius: 50%; }
.orbit::before, .orbit::after { content: ""; position: absolute; height: 1px; width: 65%; top: 50%; background: linear-gradient(90deg, transparent, rgba(123,246,241,.7), transparent); transform-origin: 100% 50%; }
.orbit::after { transform: rotate(65deg); }
.orbit-a { inset: 6% 10% 22% 8%; transform: rotate(16deg); }
.orbit-b { inset: 22% 2% 8% 20%; transform: rotate(-26deg); }
.orbit-c { inset: 34% 20% 25% 30%; border-color: rgba(250,184,55,.46); box-shadow: 0 0 80px rgba(0,199,216,.2); }
.spark { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 22px 7px rgba(240,167,47,.35); }
.spark-a { top: 27%; left: 55%; } .spark-b { top: 59%; left: 72%; width: 6px; height: 6px; } .spark-c { top: 70%; left: 39%; width: 5px; height: 5px; }
.approach { padding: 110px 0 100px; }
.section-heading { max-width: 780px; }
.section-heading h2, .finder h2, .about-band h2 { margin: 0 0 22px; font-size: clamp(2.1rem, 4vw, 3.8rem); line-height: 1.04; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 54px; }
.approach-card { min-height: 238px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.approach-card span { color: var(--teal); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.approach-card h3 { margin: 44px 0 12px; font-size: 1.35rem; }
.approach-card p { margin: 0; color: var(--muted); line-height: 1.62; }
.principles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.principles p { margin: 0; padding: 10px 15px; border: 1px solid #c8dfde; border-radius: 999px; color: #285664; background: var(--pale); font-size: .84rem; font-weight: 700; }
.pac-method { padding: 80px 0; background: var(--pale); scroll-margin-top: 68px; }
.practice-example { max-width: 780px; margin: 30px 0 0; color: var(--muted); line-height: 1.65; }
.practice-example strong { color: var(--ink); }

.ombudship { padding: 86px 0; background: #f0f7f7; scroll-margin-top: 68px; }
.ombudship-principles { margin-top: 34px; }
.ombudship-principles .approach-card { min-height: auto; }
.ombudship-principles h3 { margin: 0 0 10px; }
.ombudship-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 34px; }
.ombudship-guide h3 { margin: 0 0 10px; font-size: 1.2rem; }
.ombudship-guide p, .ombudship-guide ul { margin: 0; color: var(--muted); line-height: 1.65; }
.ombudship-guide ul { padding-left: 1.2rem; }
.ombudship-guide li + li { margin-top: 8px; }
.ombudship-guide p + h3 { margin-top: 22px; }
.ombudship-note { max-width: 780px; margin: 28px 0 0; color: var(--muted); line-height: 1.65; }
.ombudship-note strong { color: var(--ink); }
.ombudship-integration { margin-top: 24px; padding: 20px 24px; max-width: 780px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.ombudship-integration h3 { margin: 0 0 8px; font-size: 1.2rem; }
.ombudship-integration p { margin: 0; color: var(--muted); line-height: 1.65; }
.ombudship-integration p + p { margin-top: 12px; }
.ombudship-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; }
.ombudship-links .button { text-align: center; }
.ombudship-links > a:not(.button) { color: #285664; text-underline-offset: 4px; }

.services { padding: 105px 0; background: #eaf4f3; scroll-margin-top: 68px; }
.service-starts, .pac-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.service-starts .approach-card, .pac-steps .approach-card { min-height: auto; }
.service-starts h3, .pac-steps h3 { margin: 12px 0; }
.catalogue-heading { margin: 52px 0 20px; font-size: clamp(1.4rem, 3vw, 2rem); }
.service-browser { display: grid; grid-template-columns: 320px 1fr; gap: 24px; }
.service-tabs { display: grid; gap: 8px; align-content: start; }
.service-tab {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; width: 100%; padding: 17px 18px;
  border: 1px solid transparent; border-radius: 14px; background: transparent; text-align: left; font-weight: 760; cursor: pointer;
}
.service-tab span { color: var(--teal); font-size: .75rem; letter-spacing: .1em; }
.service-tab:hover { background: rgba(255,255,255,.55); }
.service-tab[aria-selected="true"] { color: var(--white); background: var(--navy); box-shadow: 0 16px 35px rgba(6,26,51,.16); }
.service-tab[aria-selected="true"] span { color: var(--cyan); }
.service-panel { min-height: 490px; padding: 38px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.panel-kicker { color: var(--teal); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.service-panel h3 { margin: 9px 0 10px; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.035em; }
.panel-outcome { max-width: 740px; margin: 0 0 30px; color: var(--muted); line-height: 1.6; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-card { padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdfd; }
.product-card h4 { margin: 0 0 8px; font-size: 1rem; line-height: 1.35; }
.product-card p { margin: 0 0 14px; color: var(--muted); font-size: .87rem; line-height: 1.5; }
.product-card small { color: var(--teal); font-weight: 850; }

.finder { padding: 110px 0 0; color: var(--white); background: var(--navy); }
.finder-shell { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.finder-intro { position: sticky; top: 105px; padding-top: 22px; }
.finder-intro > p:not(.eyebrow) { color: #b9cad3; font-size: 1.05rem; line-height: 1.7; }
.finder-intro > .finder-guidance { margin-top: 22px; font-size: .93rem; }
.finder-guidance a { color: var(--white); text-underline-offset: 4px; }
.trust-note { margin-top: 38px; padding: 20px; border-left: 3px solid var(--cyan); background: rgba(255,255,255,.055); }
.trust-note p { margin: 7px 0 0; color: #a9beca; font-size: .91rem; line-height: 1.55; }
.finder-card { min-height: 520px; padding: 38px; border-radius: var(--radius); color: var(--ink); background: var(--white); box-shadow: 0 30px 80px rgba(0,0,0,.26); }
.progress { height: 5px; margin-bottom: 34px; overflow: hidden; border-radius: 10px; background: #e5eeee; }
.progress span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: var(--teal); transition: width .25s ease; }
.finder-step { display: none; margin: 0; padding: 0; border: 0; }
.finder-step.is-active { display: block; animation: step-in .25s ease; }
.finder-step legend { width: 100%; margin: 0 0 25px; font-size: 1.38rem; font-weight: 850; line-height: 1.3; }
.finder-step legend span { display: block; margin-bottom: 8px; color: var(--teal); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.choice-grid { display: grid; gap: 10px; }
.choice-grid label { display: block; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border .18s, background .18s, transform .18s; }
.choice-grid label:hover { transform: translateX(3px); border-color: #75c6c5; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { display: block; padding: 16px 18px; font-weight: 720; }
.choice-grid input:checked + span { color: var(--navy); background: #e4f7f5; box-shadow: inset 4px 0 0 var(--teal); border-radius: 13px; }
.finder-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.finder-controls .button-primary { margin-left: auto; }
.recommendation h3 { margin: 0 0 13px; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.035em; }
.recommendation > p:not(.eyebrow) { color: var(--muted); line-height: 1.63; }
.result-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0; }
.result-product { padding: 15px; border-radius: 12px; background: var(--pale); }
.result-product strong { display: block; margin-bottom: 5px; }
.result-product small { color: var(--teal); font-weight: 800; }
.result-secondary { padding-top: 15px; border-top: 1px solid var(--line); font-size: .9rem; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 15px; }
.recommendation > small { color: #78858c; }
.about-band {
  display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 55px;
  margin-top: 100px; padding: 54px 0 62px; scroll-margin-top: 78px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.about-band h2 { margin-bottom: 12px; font-size: clamp(2.1rem, 4vw, 3rem); }
.about-role { margin: 0; color: var(--cyan); font-weight: 700; line-height: 1.5; }
.about-credentials { margin: 8px 0 0; color: #b9cad3; line-height: 1.5; }
.about-link { margin-top: 16px; }
.about-copy > p { margin: 0 0 16px; color: #b9cad3; line-height: 1.7; }
.about-copy h3 { margin: 28px 0 12px; font-size: 1.15rem; }
.about-publications { display: grid; gap: 16px; margin: 0; padding-left: 1.15rem; }
.about-publications li { padding-left: 4px; line-height: 1.5; }
.about-publications li::marker { color: var(--cyan); }
.about-publications span { display: block; margin-top: 4px; color: #b9cad3; font-size: .85rem; }
.contact { padding: 70px 0; scroll-margin-top: 68px; }
.contact-email { display: inline-block; margin-top: 20px; color: #285664; font-weight: 750; text-underline-offset: 4px; overflow-wrap: anywhere; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 28px 6vw; color: #8fa6b3; background: #031225; font-size: .82rem; }
.site-footer div { display: grid; gap: 5px; }
.site-footer strong { color: var(--white); }
.site-footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes step-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .neural-field { right: -25%; width: 75vw; opacity: .56; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .service-browser { grid-template-columns: 1fr; }
  .service-tabs { grid-template-columns: repeat(3, 1fr); }
  .service-tab { grid-template-columns: 1fr; gap: 4px; }
  .finder-shell { grid-template-columns: 1fr; gap: 38px; }
  .finder-intro { position: static; max-width: 680px; }
}

@media (max-width: 860px) {
  .site-header { height: 66px; padding: 0 18px; background: rgba(248,251,250,.97); border-color: var(--line); }
  .site-header:not(.is-scrolled) .brand .logo-light { opacity: 0; }
  .site-header:not(.is-scrolled) .brand .logo-dark { opacity: 1; }
  .brand img { width: 130px; max-height: 44px; }
  .menu-button { display: grid; gap: 5px; width: 42px; height: 42px; place-content: center; border: 0; border-radius: 50%; background: var(--pale); cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; width: 19px; height: 2px; background: var(--navy); }
  .main-nav { position: absolute; top: 66px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 12px 18px 20px; color: var(--ink); background: rgba(248,251,250,.99); border-bottom: 1px solid var(--line); box-shadow: 0 18px 38px rgba(6,26,51,.12); }
  .main-nav.is-open { display: grid; }
  .main-nav > a { padding: 13px 8px; }
  .main-nav .button { color: var(--white); background: var(--navy); }
}

@media (max-width: 740px) {
  .section-shell { width: min(100% - 32px, 1180px); }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 34px; padding: 106px 22px 46px; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-portrait { justify-self: start; }
  .approach, .services, .finder { padding-top: 80px; }
  .section-heading h2, .finder h2 { font-size: 2.35rem; }
  .approach-grid { grid-template-columns: 1fr; }
  .service-starts, .pac-steps { grid-template-columns: 1fr; }
  .approach-card { min-height: auto; }
  .approach-card h3 { margin-top: 26px; }
  .service-starts h3, .pac-steps h3 { margin-top: 12px; }
  .pac-method { padding: 58px 0; }
  .ombudship { padding: 58px 0; }
  .ombudship-principles h3 { margin-top: 0; }
  .ombudship-guide { grid-template-columns: 1fr; gap: 24px; }
  .service-tabs { grid-template-columns: 1fr 1fr; }
  .service-tab { padding: 13px; }
  .service-panel { min-height: 0; padding: 25px 20px; }
  .product-grid, .result-products { grid-template-columns: 1fr; }
  .finder-card { min-height: 570px; padding: 26px 20px; }
  .about-band { grid-template-columns: 1fr; gap: 22px; margin-top: 72px; }
  .site-footer { display: grid; padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
