/* Optimize Health Partners — site styles
   Palette taken from the OHP logo (sky #70D0F0, blue #1870B8, charcoal #303030)
   plus the deep navy and teal used in the OHP decks. */

:root {
  --navy: #0f2747;
  --navy-2: #173560;
  --blue: #1870b8;
  --blue-dark: #115a96;
  --sky: #70d0f0;
  --sky-wash: #e8f6fc;
  --teal: #0e7c80;
  --ink: #26303b;
  --ink-soft: #4a5766;
  --paper: #ffffff;
  --mist: #f4f8fb;
  --line: #d3dfe9;
  --warn: #8a5a00;
  --warn-wash: #fff6e0;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --measure: 66ch;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { padding-left: 1.2em; max-width: var(--measure); }
li { margin-bottom: .4em; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 58ch; }
.small { font-size: .9rem; color: var(--ink-soft); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { max-width: 1320px; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; border-radius: var(--radius); white-space: nowrap; }
.nav a:hover { background: var(--mist); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--sky); border-radius: 0; }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--navy); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }

.btn { display: inline-block; background: var(--blue-dark); color: #fff; padding: 13px 22px; border-radius: var(--radius); text-decoration: none; font-weight: 600; border: 2px solid var(--blue-dark); cursor: pointer; font-family: var(--sans); font-size: 1rem; line-height: 1.2; transition: background .15s, color .15s; }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.on-dark { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.btn.on-dark:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); background:
  radial-gradient(1100px 420px at 85% -10%, var(--sky-wash), transparent 70%), var(--paper); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { max-width: 19ch; }
.hero .status-line { margin-top: 26px; padding-left: 14px; border-left: 3px solid var(--sky); color: var(--ink-soft); font-size: .95rem; max-width: 52ch; }

.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); background: var(--mist); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); max-width: 22ch; }

/* illustrative dashboard */
.board { background: var(--navy); color: #e8eef6; border-radius: 10px; padding: 18px 18px 14px; box-shadow: 0 24px 48px -24px rgba(15,39,71,.55); }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.14); }
.board-head strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: #fff; }
.board-head span { font-size: .78rem; color: #9fb4cc; }
.board-row { display: grid; grid-template-columns: 1fr 110px auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.board-row:last-of-type { border-bottom: 0; }
.board-row .what { font-size: .95rem; color: #fff; }
.board-row .what small { display: block; color: #9fb4cc; font-size: .78rem; margin-top: 2px; }
.board-row .delta { font-size: .85rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.delta.down { background: rgba(255,170,120,.16); color: #ffc9a6; }
.delta.up { background: rgba(112,208,240,.16); color: var(--sky); }
.delta.flag { background: rgba(255,214,102,.16); color: #ffe08a; }
.spark { width: 110px; height: 34px; }
.spark path { fill: none; stroke: var(--sky); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.4s .25s ease-out forwards; }
.spark.warm path { stroke: #ffb585; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.board-foot { margin: 10px 0 0; font-size: .76rem; color: #9fb4cc; max-width: none; }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: var(--mist); border-block: 1px solid var(--line); }
.section.dark { background: var(--navy); color: #dbe6f2; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a { color: var(--sky); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); }
.section.dark .section-head p { color: #b9cbe0; }

/* wave divider (echoes the logo mark) */
.wave-rule { height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='22' viewBox='0 0 160 22'%3E%3Cpath d='M0 11 C 20 0, 40 0, 80 11 S 140 22, 160 11' fill='none' stroke='%2370d0f0' stroke-width='2'/%3E%3C/svg%3E") repeat-x center; opacity: .9; }

/* problem list */
.problem-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 0; padding: 0; list-style: none; max-width: none; }
.problem-list li { padding: 20px 0; border-top: 1px solid var(--line); margin: 0; }
.problem-list h3 { margin-bottom: .25em; font-size: 1.15rem; }
.problem-list p { margin: 0; color: var(--ink-soft); }

/* audience routes */
.routes { margin: 0; padding: 0; list-style: none; max-width: none; border-bottom: 1px solid var(--line); }
.routes li { margin: 0; }
.routes a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 28px; gap: 28px; align-items: baseline; padding: 28px 8px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.routes a:hover { background: var(--mist); }
.routes .who { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); font-weight: 600; line-height: 1.2; }
.routes .asks { color: var(--ink-soft); }
.routes .go { color: var(--blue); font-weight: 700; justify-self: end; }

/* platform layers */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; position: relative; }
.layers > div { padding: 8px 28px 8px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.layers > div:last-child { border-right: 0; margin-right: 0; }
.layers .tag { display: inline-block; font-weight: 700; color: var(--teal); font-size: .92rem; margin-bottom: 6px; }
.layers h3 { margin-bottom: .35em; }
.layers p { color: var(--ink-soft); }

/* steps (a real sequence) */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: s; margin: 0; padding-top: 18px; border-top: 3px solid var(--sky); }
.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 2rem; color: var(--blue); line-height: 1; margin-bottom: 10px; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--ink-soft); font-size: .98rem; }
.section.dark .steps li { border-top-color: var(--sky); }
.section.dark .steps li::before { color: var(--sky); }
.section.dark .steps p { color: #b9cbe0; }

/* status panel */
.status { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.status dl { margin: 0; }
.status dt { font-weight: 700; color: var(--navy); margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.status dt:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.status dd { margin: 4px 0 0; color: var(--ink-soft); max-width: 56ch; }

/* catalog table */
.catalog { width: 100%; border-collapse: collapse; margin-top: 8px; }
.catalog th, .catalog td { text-align: left; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.catalog th { width: 24%; font-family: var(--serif); color: var(--navy); font-size: 1.08rem; font-weight: 600; }
.catalog td { color: var(--ink-soft); }
.catalog tr:last-child th, .catalog tr:last-child td { border-bottom: 1px solid var(--line); }

/* two-column prose */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
.cols > div > :last-child { margin-bottom: 0; }
.plain-list { list-style: none; padding: 0; margin: 0 0 1em; }
.plain-list li { padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }
.plain-list strong { color: var(--navy); }

.note { background: var(--warn-wash); border-left: 4px solid #e0a100; padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; color: #4d3500; max-width: 68ch; font-size: .95rem; }
.note.calm { background: var(--sky-wash); border-left-color: var(--blue); color: var(--navy); }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; max-width: 78ch; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--navy); padding: 16px 32px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--blue); font-family: var(--sans); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); margin-bottom: 1.1em; }

/* form */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); font-size: .95rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border: 1px solid #9db3c7; border-radius: var(--radius); background: #fff; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(24,112,184,.25); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card h3 { margin-top: 0; }
.contact-card p { margin-bottom: .6em; }
.form-msg { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); background: var(--sky-wash); color: var(--navy); display: none; max-width: 60ch; }
.form-msg.show { display: block; }

/* video */
.video { aspect-ratio: 16/9; width: 100%; max-width: 860px; border: 0; border-radius: 8px; background: var(--navy); }

/* cta band */
.cta-band { background: var(--navy); color: #fff; padding: clamp(44px, 6vw, 72px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { color: #b9cbe0; margin: 0; }

/* footer */
.site-footer { background: #0a1c36; color: #aebfd3; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #d6e4f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 12px; }
.footer-brand img { width: 52px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45em; }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
.social:empty { display: none; }

/* responsive */
@media (max-width: 920px) {
  .hero .wrap, .status, .cols, .contact-grid { grid-template-columns: 1fr; }
  .layers { grid-template-columns: 1fr; }
  .layers > div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .layers > div:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .problem-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .routes a { grid-template-columns: 1fr 24px; gap: 8px 16px; }
  .routes .asks { grid-column: 1; grid-row: 2; }
  .routes .go { grid-column: 2; grid-row: 1; }
}
@media (max-width: 1279px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--blue-dark); }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 560px) {
  .steps, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .board-row { grid-template-columns: 1fr auto; }
  .board-row .spark { display: none; }
  .brand img { height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spark path { animation: none; stroke-dashoffset: 0; }
}
@media print {
  .site-header, .cta-band, .site-footer, .nav-toggle { display: none; }
  body { font-size: 11pt; }
}

/* articles and breadcrumbs */
.article { max-width: 72ch; }
.article h2 { margin-top: 1.7em; font-size: 1.5rem; }
.article ul { max-width: none; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); }
.nav a { padding: 10px 10px; font-size: .95rem; }

/* hero photo band */
.shot-band { padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(24px, 4vw, 48px); }
.shot { margin: 0 auto; max-width: 1100px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(15,39,71,.16); }
.shot figcaption { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); }

/* dashboard gallery */
.gal-h { margin: 34px 0 14px; font-size: 1.15rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal-item { margin: 0; }
.gal-btn { display: block; width: 100%; padding: 0; border: 1px solid #d7e2ec; border-radius: 8px; background: #fff; cursor: zoom-in; overflow: hidden; }
.gal-btn:hover { box-shadow: 0 6px 18px rgba(15,39,71,.14); }
.gal-btn:focus-visible { outline: 3px solid var(--wave); outline-offset: 2px; }
.gal-btn img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: top left; }
.gal-item figcaption { margin-top: 8px; font-size: .92rem; color: var(--ink-soft); }
.gal-item figcaption strong { display: block; color: var(--navy); }
.lightbox { border: 0; padding: 12px; background: #0f2747; border-radius: 10px; max-width: 96vw; }
.lightbox::backdrop { background: rgba(15,39,71,.78); }
.lightbox img { display: block; max-width: 94vw; max-height: 82vh; width: auto; height: auto; }
.lb-close { display: block; margin: 0 0 8px auto; padding: 6px 14px; border: 0; border-radius: 6px; background: #fff; color: #0f2747; font: inherit; font-weight: 600; cursor: pointer; }
.lb-note { margin: 8px 0 0; color: #cfe3f3; font-size: .85rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } }
.gallery-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .gallery-4 { grid-template-columns: 1fr; } }

/* analytics suite image + text list */
.mod-fig { margin: 0; }
.mod-fig a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.mod-fig img { display: block; width: 100%; height: auto; }
.mod-fig figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }
.mod-more { margin-top: 22px; }
.mod-more > summary { cursor: pointer; font-weight: 600; color: var(--blue-dark); padding: 10px 0; }
.mod-lists { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 12px; }
.mod-lists h3 { font-size: 1rem; margin: 0 0 10px; }
.mod-lists ul { list-style: none; margin: 0; padding: 0; }
.mod-lists li { padding: 7px 0; border-top: 1px solid var(--line); margin: 0; }
.mod-lists li small { display: block; color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 1000px) { .mod-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mod-lists { grid-template-columns: 1fr; } }

/* audience cards (home) */
.aud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.aud-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; transition: box-shadow .15s, border-color .15s; }
.aud-card:hover, .aud-card:focus-visible { border-color: var(--blue); box-shadow: 0 6px 20px rgba(15, 39, 71, .12); }
.aud-img { display: block; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.aud-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aud-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.aud-body h3 { margin: 0; font-size: 1.35rem; color: var(--navy); }
.aud-body p { margin: 0; color: var(--ink-soft); }
.aud-go { margin-top: auto; padding-top: 6px; color: var(--blue-dark); font-weight: 600; }
@media (max-width: 900px) { .aud-grid { grid-template-columns: 1fr; } }

/* ---- Oct 22 home restructure ---- */
.hero-stack .wrap { display: block; }
.hero-stack h1 { max-width: none; }
.hero-stack .lede { max-width: none; }
.hero-shot { margin: clamp(22px, 3vw, 34px) auto clamp(22px, 3vw, 30px); max-width: 1100px; }
.hero-shot img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(15,39,71,.16); }
.hero-shot figcaption { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); }
.hero-stack .btn-row { max-width: 1100px; margin-left: auto; margin-right: auto; }
.hero-stack .status-line { max-width: 1100px; margin-left: auto; margin-right: auto; }
.speed-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 28px; }
.speed-top .section-head { margin-bottom: 0; }
.speed-fig { margin: 0; }
.speed-fig img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(15,39,71,.14); }
.speed-fig figcaption { margin-top: 8px; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 860px) { .speed-top { grid-template-columns: 1fr; } }
.aud-img { position: relative; }
.aud-tag { position: absolute; right: 8px; bottom: 8px; z-index: 1; background: rgba(15,39,71,.88); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 3px 8px; border-radius: 4px; }
.brand img { height: 68px; width: auto; }
@media (max-width: 1279px) { .brand img { height: 56px; } }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin-top: 8px; }
.svc-grid h3 { margin-bottom: .4em; }
.svc-grid .plain-list { max-width: none; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---- team ---- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.team-card h3 { margin: 12px 0 4px; }
.team-card .role { margin: 0; font-weight: 600; color: var(--teal); font-size: .92rem; }
.team-card .role + p:not(.role) { margin-top: 12px; }
.team-card p { color: var(--ink-soft); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.35rem; letter-spacing: .02em; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: 1fr; } }

/* platform: six components */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.comp-card { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: inherit; text-decoration: none; }
.comp-card:hover, .comp-card:focus-visible { border-color: var(--teal); }
.comp-card .tag { font-weight: 700; color: var(--teal); font-size: .92rem; }
.comp-card h3 { margin: 0 0 .15em; }
.comp-card p { color: var(--ink-soft); margin: 0 0 .6em; }
.comp-status { margin-top: auto; font-size: .88rem; font-weight: 600; color: var(--navy, #0F2747); border-top: 1px solid var(--line); padding-top: 8px; }
.tag-line { display: block; font-weight: 700; color: var(--teal); font-size: .92rem; margin-bottom: 4px; }
@media (max-width: 900px) { .comp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .comp-grid { grid-template-columns: 1fr; } }

/* page hero with image on the right */
.page-hero.has-img .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero.has-img h1 { max-width: 20ch; }
.ph-fig { margin: 0; }
.ph-fig img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(15,39,71,.16); }
@media (max-width: 800px) { .page-hero.has-img .wrap { grid-template-columns: 1fr; } .ph-fig { max-width: 420px; } }

/* image at the top of the right column in a first content section */
.sec-fig { margin: 0 0 clamp(18px, 2.5vw, 28px); max-width: 400px; }
.sec-fig img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(15,39,71,.16); }
@media (max-width: 800px) { .sec-fig { max-width: 420px; } }
.gallery + .gallery { margin-top: 20px; }
.steps .when { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }
.section.dark .steps .when { color: var(--sky); }
.steps .gets { font-size: .9rem; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.18); }
.page-hero.wide h1 { max-width: none; }
@media (min-width: 1200px) { .hero-stack h1 { width: 1100px; max-width: none; } }
@media (min-width: 900px) and (max-width: 1199px) { .hero-stack h1 { letter-spacing: -0.02em; } }
