/* ph-old · OncoPrecision one-page. Brand: navy #00214a, blue #0486da (from the OncoPrecision logo). */
:root {
  --navy: #00214a; --blue: #0067b8; --blue-500: #0486da; --sky: #eef6fd; --ink: #0e1c2f; --muted: #4d5f77; --line: #dbe6f1;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r: 18px; --wrap: 1180px; --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
.eyebrow { margin: 0 0 12px; font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-500); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .7em 1.4em; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 650; text-decoration: none; border: 1.5px solid var(--blue); transition: background .18s, border-color .18s; }
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--sky); color: var(--navy); border-color: var(--navy); }
.btn-sm { min-height: 44px; padding: .5em 1.1em; }

.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo img { width: 150px; height: auto; }
.top nav { margin-left: auto; }
.top ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.top nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 550; font-size: .97rem; }
.top nav a:hover { background: var(--sky); }

.hero { background: linear-gradient(180deg, var(--sky), #fff); padding: clamp(40px, 7vw, 88px) 0; }
.hero-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-img { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 30px 60px -30px rgba(0, 33, 74, .45); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }

.press { padding: 32px 0 8px; }
.press-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.press .eyebrow { margin: 0; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.logos img { max-height: 28px; width: auto; filter: grayscale(1); opacity: .6; }

.stats { padding: 32px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 0; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.stat { padding: 22px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.stat:last-child { border-right: 0; }
.stat strong { font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--blue-500); line-height: 1; }
.stat span { color: var(--muted); font-size: .95rem; }

.block { padding: clamp(52px, 7vw, 92px) 0; }
.tint { background: var(--sky); }
.navy { background: var(--navy); color: #d3deec; }
.navy h2, .navy h3 { color: #fff; }
.navy .eyebrow { color: #8fcaf5; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sky); margin-bottom: 12px; box-sizing: content-box; }
.card p { font-size: .97rem; color: var(--muted); margin: 0; }
.strengths { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 64px); align-items: start; }
.strengths ul, .names { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.strengths li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.strengths svg { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: none; stroke: var(--blue-500); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-top: 24px; }
.doc { text-align: center; }
.doc-img { aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--sky); margin: 0 auto 12px; width: 132px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.doc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.doc h3 { font-size: 1rem; margin: 0 0 2px; }
.doc p { font-size: .82rem; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .05em; }

.names li { padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; color: #fff; font-weight: 550; background: rgba(255, 255, 255, .04); }

.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.group { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.group h3 { color: var(--blue-500); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.group ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .97rem; }
.labs { margin-top: 22px; color: var(--muted); }

.hubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 24px; }
.hub { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.hub-img { width: 96px; height: 80px; border-radius: 12px; overflow: hidden; background: var(--sky); display: grid; place-items: center; }
.hub-img img { width: 100%; height: 100%; object-fit: cover; }
.hub-img svg, .hub p svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-500); stroke-width: 1.8; }
.hub h3 { font-size: 1.02rem; margin: 0 0 4px; }
.hub p { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: .92rem; color: var(--muted); }
.hub p svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }

details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: #fff; }
summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 650; color: var(--navy); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue-500); }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; margin: 0; }

.contacts { display: grid; gap: 12px; }
.contacts a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.contacts a:hover { background: rgba(255, 255, 255, .12); }
.contacts svg { width: 24px; height: 24px; flex: none; fill: none; stroke: #8fcaf5; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contacts small { display: block; font-size: .78rem; font-weight: 500; color: #9fb4cc; text-transform: uppercase; letter-spacing: .08em; }

.foot { background: #00183a; color: #9fb1c7; padding: 28px 0; font-size: .9rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot img { width: 140px; }
.foot p { margin: 0; }

@media (max-width: 1000px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero-row, .two, .strengths { grid-template-columns: 1fr; }
  .hero-img { aspect-ratio: 16 / 10; }
  .cards { grid-template-columns: 1fr 1fr; }
  .groups { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; margin-inline: var(--gutter); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr 1fr; }
  .doc-img { width: 112px; }
  .hubs { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 76px 1fr; }
  .hub-img { width: 76px; height: 64px; }
  .actions .btn { flex: 1 1 100%; }
  .logo img { width: 124px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
