/* Protega Pharma — corporate site. Brand colors sampled from the 2026 stacked logo (orange #ea6e24, navy #1a315c) + SentryBond art. */
:root {
  --navy-900: #0d1b36;
  --navy-800: #122444;
  --navy-700: #1a315c;   /* logo navy */
  --navy-600: #2c4677;
  --orange: #ea6e24;     /* logo orange — decorative only (3.1:1 on white) */
  --orange-ink: #bf5310; /* orange for text: 4.7:1 on white (AA) */
  --warm-gray: #837670;  /* logo warm gray (2026): decorative */
  --warm-gray-ink: #6e625c; /* warm gray for text: 5.9:1 on white */
  --ink: #1d2733;
  --ink-2: #4a5866;
  --line: #dde3ea;
  --tint: #f3f6f9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13,27,54,.06), 0 8px 28px rgba(13,27,54,.08);
  --wrap: 1180px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Manrope', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 15px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy-700); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem); font-weight: 800; }
h2 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); font-weight: 700; }
h3 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--navy-700); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

/* ── header ───────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-top: 4px solid var(--orange); box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(13,27,54,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand img { width: auto; height: 52px; }   /* stacked logo (2026), ~151px wide */
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--navy-700); font: 500 14.5px/1.2 var(--font-body); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { background: var(--tint); color: var(--navy-700); }
.site-nav a[aria-current="page"] { color: var(--orange-ink); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.site-nav a.ext::after { content: ""; display: inline-block; width: .55em; height: .55em; margin-left: .35em; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--navy-700); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(13,27,54,.12); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .site-nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--tint); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
  .brand img { height: 44px; }
}

/* ── heroes ───────────────────────────────────────────── */
.home-hero, .page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% 20%, #2f5a93 0%, transparent 60%), linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, #224477 100%); }
.hero-octagons { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); height: 300%; width: auto; pointer-events: none; opacity: .85; }
.hero-octagons polygon { fill: none; stroke-width: 2; }
.hero-octagons polygon:nth-child(1) { stroke: rgba(234,110,36,.55); }
.hero-octagons polygon:nth-child(2) { stroke: rgba(131,118,112,.75); }   /* logo warm gray */
.hero-octagons polygon:nth-child(3) { stroke: rgba(255,255,255,.25); }
.home-hero .wrap { position: relative; padding-top: clamp(20px, 2.4vw, 32px); padding-bottom: clamp(20px, 2.4vw, 32px); }
.home-hero h1 { color: #fff; max-width: none; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.85rem); margin: 0; }
.home-hero h1::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 10px; background: var(--orange); border-radius: 2px; }
.page-hero .wrap { position: relative; padding-top: clamp(10px, 1.1vw, 16px); padding-bottom: clamp(10px, 1.1vw, 16px); }
.page-hero h1 { color: #fff; margin: 0; max-width: none; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }

/* ── sections ─────────────────────────────────────────── */
.section { padding: clamp(32px, 4vw, 52px) 0; }
.section.tint { background: var(--tint); }
.section-title { margin-bottom: 28px; }
.lead { font-size: clamp(1rem, .96rem + .15vw, 1.08rem); line-height: 1.6; color: var(--navy-800); font-weight: 500; }
.eyebrow { font: 700 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }
.prose p, .prose li { color: var(--ink); }
.prose h2 { margin-top: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }

.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.mv { display: grid; gap: 20px; }
.mv-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 24px 32px; box-shadow: var(--shadow); }
.mv-card::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 0 4px 4px 0; background: var(--orange); }
.mv-card:nth-child(2)::before { background: var(--navy-700); }
.mv-card h2 { font-size: 1.25rem; margin-bottom: .35em; }
.mv-card p { margin: 0; color: var(--ink-2); }

.feature-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.feature-grid.two { grid-template-columns: 1fr 1fr; margin-top: 40px; }
.sb-logo { width: min(320px, 100%); margin-bottom: 10px; }
.feature-copy h3 { color: var(--ink-2); font-weight: 600; font-size: 1.1rem; }
.feature-figure { margin: 0; }
.feature-figure img { margin: 0 auto; max-height: 420px; width: auto; }
figcaption { font-size: 13px; line-height: 1.5; color: var(--ink-2); margin-top: 14px; }
.oct-list, .detail-list { list-style: none; padding: 0; margin: 0 0 1em; }
.oct-list li { position: relative; padding: 12px 0 12px 40px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy-800); }
.oct-list li:last-child { border-bottom: 0; }
.oct-list li::before, .detail-list li::before { content: ""; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; background: var(--orange); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.oct-list li::after { content: ""; position: absolute; left: 7px; top: 19px; width: 8px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.detail-list li { position: relative; padding: 0 0 18px 40px; }
.detail-list li::before { top: 4px; width: 16px; height: 16px; left: 4px; background: var(--orange); }
.tech-grid { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.tech-brand .sb-logo { width: min(260px, 100%); margin-bottom: 6px; }
.tech-brand .eyebrow { margin-bottom: 10px; }
.tech { padding-top: clamp(20px, 2.4vw, 32px); }
.tech .feature-figure img { max-height: 170px; }
.tech figcaption { font-size: 12px; margin-top: 8px; }
.tech .feature-points { margin-top: 16px; padding: 16px 20px; }
.tech .feature-points h3 { font-size: .95rem; margin-bottom: .3em; }
.tech .oct-list { margin: 0; }
.tech .oct-list li { padding: 7px 0 7px 34px; font-size: 14px; }
.tech .oct-list li::before { top: 8px; width: 20px; height: 20px; }
.tech .oct-list li::after { left: 6px; top: 13px; }
.tech-copy .lead { font-size: 15.5px; line-height: 1.6; margin-bottom: .9em; }
.tech-copy .detail-list li { padding-bottom: 10px; }
.tech-copy .patents { margin-top: 14px; padding-top: 12px; font-size: 13px; }
.patents { font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-figure { margin: 0; }
.split-figure img { margin: 0 auto; max-height: 520px; width: auto; }
.split-figure.photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: none; }

/* management */
.team { display: grid; gap: 28px; }
.person { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.person-photo { position: relative; aspect-ratio: 1; }
.person-photo::before { content: ""; position: absolute; inset: -6px; background: linear-gradient(135deg, var(--orange), var(--navy-700)); clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); }
.person-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); }
.person h2 { margin-bottom: .2em; }
.person h3 { font: 600 15px/1.4 var(--font-body); color: var(--orange-ink); letter-spacing: .02em; margin-bottom: 18px; }
.person ul { margin: 0; padding-left: 1.1em; color: var(--ink); }
.person li { margin-bottom: 8px; }
.person li::marker { color: var(--orange); }

/* products */
.product-hero { padding: clamp(28px, 3.5vw, 48px) 0; background: linear-gradient(180deg, var(--tint), #fff); border-bottom: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; position: sticky; top: 92px; }
.product-logo img { width: 100%; margin-bottom: 20px; }
.product-card h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin: 28px 0 8px; }
.resource-list { list-style: none; margin: 0; padding: 0; }
.resource-list li { border-top: 1px solid var(--line); }
.resource-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; font-weight: 500; text-decoration: none; color: var(--navy-700); }
.resource-list a::after { content: "→"; color: var(--orange-ink); transition: transform .15s; }
.resource-list a:hover::after { transform: translateX(3px); }
.product-copy h1 { color: var(--orange-ink); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.product-claim { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); font-weight: 700; color: var(--navy-700); margin-bottom: 24px; }
.limitation { font-weight: 600; color: var(--navy-800); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 15px/1.2 var(--font-body); text-decoration: none; letter-spacing: .01em; cursor: pointer; border: 2px solid transparent; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--navy-700); color: #fff; width: 100%; }
.btn-primary:hover { background: var(--navy-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy-700); border-color: var(--navy-700); }
.btn-ghost:hover { background: var(--navy-700); color: #fff; }

/* ISI */
.isi { background: #fff; padding: clamp(28px, 3vw, 40px) 0; border-top: 6px solid var(--navy-700); font-size: 14.5px; line-height: 1.5; }
.isi-inner p, .isi-inner li { color: #111; }
.isi-indication { margin-bottom: 14px; }
.isi-inner p, .isi-tray-body p { margin: 0 0 .65em; }
.isi-inner ul, .isi-tray-body ul { margin: 0 0 .65em; padding-left: 1.3em; }

.isi-heading { font: 800 1.02rem/1.3 var(--font-head); letter-spacing: .04em; color: var(--navy-900); margin: 0 0 8px; }
.boxed-warning { border: 2px solid #111; padding: 12px 18px 6px; margin-bottom: 14px; }
.boxed-warning > p:first-child { margin-bottom: .5em; }

.isi a { color: var(--navy-600); }

/* epidemic */
.stat-grid { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; font: 600 .98rem/1.45 var(--font-head); color: var(--navy-800); border-top: 4px solid var(--orange); }
.stat .figure { display: block; font: 800 clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem)/1 var(--font-head); color: var(--navy-700); margin-bottom: 10px; letter-spacing: -.02em; }
.stat sup { font-size: .6em; color: var(--ink-2); }
.refs { font-size: 13px; line-height: 1.55; color: var(--ink-2); word-break: break-word; }
ol.refs { padding-left: 1.3em; margin: 0; }
.chart { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(16px, 3vw, 32px); }
.chart img { width: 100%; }

/* press */
.news-list { list-style: none; margin: 0 0 56px; padding: 0; border-top: 1px solid var(--line); }
.news-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.news-item h2 { font-size: clamp(1.02rem, 1rem + .2vw, 1.15rem); font-weight: 700; margin: 0; }
.news-item h2 a { color: var(--navy-700); text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.news-item h2 a:hover { background-size: 100% 2px; }
.news-date { font: 600 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 10px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-card.accent { border-top: 4px solid var(--orange); }
.contact-card h2 { font-size: 1.3rem; }
.contact-card h3 { font-size: 1.05rem; margin-top: 18px; }
.contact-card .btn { margin-top: auto; }
.contact-name { font-weight: 600; margin-bottom: 4px; }
.contact-list { list-style: none; margin: 0 0 18px; padding: 0; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.contact-list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: var(--orange); }
.contact-list p { margin: 0; }
.contact-list.dark a { color: var(--ink); text-decoration: none; }
.contact-list.dark a:hover { color: var(--orange-ink); text-decoration: underline; }

/* legal */
.legal { font-size: 15.5px; }
.legal p > strong:only-child, .legal p > b:only-child { color: var(--navy-700); font-family: var(--font-head); font-size: 1.1rem; display: inline-block; margin-top: .6em; }
.legal h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 500; line-height: 1.6; color: var(--ink); }
.legal ul { padding-left: 1.2em; }

/* footer */
.site-footer { background: var(--navy-800); color: rgba(255,255,255,.86); font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(32px, 5vw, 64px); padding-top: 64px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .04em; margin-bottom: 16px; }
.site-footer h3 a { text-decoration: none; }
.footer-safety { line-height: 1.6; }
.footer-logo { width: 180px; height: auto; margin: 28px 0 16px; }
.copyright { font-size: 13px; color: rgba(255,255,255,.65); }
.footer-links ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.86); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-contact h3 + h3 { margin-top: 28px; }
.footer-contact .contact-list a { color: #fff; text-decoration: none; }
.footer-base { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; padding-bottom: 28px; display: flex; justify-content: flex-end; }
.job-code { margin: 0; font-size: 13px; color: rgba(255,255,255,.65); }

/* HCP gate */
.hcp-gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(13,27,54,.72); backdrop-filter: blur(4px); }
.hcp-gate[hidden] { display: none; }
.hcp-dialog { background: #fff; border-radius: 18px; max-width: 560px; width: 100%; padding: clamp(28px, 5vw, 44px); text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.35); border-top: 6px solid var(--orange); }
.hcp-mark { width: 40px; height: 40px; margin: 0 auto 16px; }
.hcp-mark polygon { fill: none; stroke: var(--orange); stroke-width: 4; }
.hcp-dialog h2 { margin-bottom: 26px; }
.hcp-actions { display: grid; gap: 12px; }
.hcp-actions .btn { width: 100%; }
body.gated { overflow: hidden; }

/* responsive */
@media (max-width: 980px) {
  .intro-grid, .split, .feature-grid, .feature-grid.two, .product-grid, .tech-grid { grid-template-columns: 1fr; }
  .feature-figure img { max-height: 320px; }
  .product-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-product { grid-column: 1 / -1; }
  .stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .person { grid-template-columns: 1fr; padding: 24px; }
  .person-photo { width: 180px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { justify-content: flex-start; }
  .hero-octagons { opacity: .5; right: -160px; }
  .boxed-warning { padding: 10px 12px 4px; }
  .card, .contact-card, .mv-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .hcp-gate, .hero-octagons { display: none !important; }
  .home-hero, .page-hero { background: none; color: #000; }
  .home-hero h1, .page-hero h1 { color: #000; }
}
/* source copy carries a hard line break mid-claim; let it flow */
.product-claim br { display: none; }

/* ── persistent ISI tray ──────────────────────────────── */
:root { --tray-h: 31vh; }   /* ≥ 30% of the viewport, always (user 10/15: was 1/3). Change with ISI_MIN in site.js + isi_coverage.py */
.has-isi-tray { padding-bottom: var(--tray-h); }
.isi-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--tray-h); display: flex; flex-direction: column; background: #fff; border-top: 4px solid var(--navy-700); box-shadow: 0 -10px 30px rgba(13,27,54,.18); transition: height .25s ease;  /* no transition on hand-off: coverage must never dip mid-animation */ font-size: 14.5px; line-height: 1.5; }
.isi-tray.expanded { height: calc(100vh - 80px); }
.isi-tray.handoff { visibility: hidden; }
/* Limitation statement band directly above the ISI (Products). Tray copy sits above the fixed tray
   (outside its box); inline copy sits right above the in-page ISI and takes over at hand-off. */
.isi-callout { background: var(--navy-800); color: #fff; font: 700 15.5px/1.4 var(--font-head); letter-spacing: .005em; text-align: center; text-wrap: balance; }
.isi-callout strong { font-weight: inherit; color: inherit; }
.isi-callout-inline { padding: 14px 0; }
.isi-callout-tray { position: absolute; left: 0; right: 0; bottom: calc(100% + 4px);  /* clear the tray's 4px top border */ padding: 12px 84px;  /* symmetric so the centered line sits on the page's center; 84px clears octagon + toggle */ box-shadow: 0 -8px 20px rgba(13,27,54,.18); }
.isi-tray.expanded .isi-callout-tray { display: none; }
:root { --callout-h: 48px; }
body.has-isi-callout { padding-bottom: calc(var(--tray-h) + var(--callout-h)); }
@media (max-width: 720px) { :root { --callout-h: 76px; } .isi-callout { font-size: 14.5px; } .isi-callout-tray { padding: 10px 20px 26px; }  /* text clears the octagon + toggle that poke 22px up from the tray */ }
.isi-tray-bar { position: relative; flex: none; height: 0; }
.tray-oct { position: absolute; left: 24px; top: -22px; width: 30px; height: 30px; }
.tray-oct polygon { fill: #fff; stroke: var(--orange); stroke-width: 5; }
.isi-tray-toggle { position: absolute; right: 24px; top: -22px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy-700); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(13,27,54,.25); }
.isi-tray-toggle:hover { background: var(--navy-900); }
.isi-tray-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.isi-tray.expanded .isi-tray-toggle svg { transform: rotate(180deg); }
.isi-tray-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 16px; }
.isi-tray-body p, .isi-tray-body li { color: #111; }
.isi-tray-body .isi-heading { margin-top: 0; }
.isi-tray-body .boxed-warning { margin-bottom: 12px; }
@media (max-width: 640px) {
  .isi-tray-body { padding: 14px 16px; font-size: 14px; }
  .tray-oct { left: 16px; } .isi-tray-toggle { right: 16px; }
}
@media print { .isi-tray { display: none !important; } .has-isi-tray { padding-bottom: 0; } }

/* FPO placeholder — production build refuses while present */
.person.fpo { border: 2px dashed var(--orange); box-shadow: none; position: relative; }
.person.fpo::after { content: "FPO"; position: absolute; top: 14px; right: 16px; font: 800 12px/1 var(--font-body); letter-spacing: .14em; color: var(--orange-ink); background: #fff4ec; padding: 6px 8px; border-radius: 6px; }
.fpo-photo { position: relative; width: 100%; height: 100%; display: grid; place-items: center; background: var(--tint); clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); }
.fpo-photo svg { width: 42%; fill: #b9c4cf; }

.boxed-warning p.c { text-align: center; }
.isi-code { font-size: 12px; color: var(--ink-2); margin-top: 1em; }

/* ── home themes (Collegium-style alternating story) ───── */
.theme { padding: clamp(44px, 5.5vw, 76px) 0; }
.theme.tint { background: var(--tint); }
.theme-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.theme.flip .theme-media { order: 2; }
.theme-copy .btn { margin-top: 10px; }
.theme-copy h3 { margin-top: 22px; font-size: 1.02rem; }
.theme-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; letter-spacing: -.015em; margin-bottom: .45em; }
.t-orange { color: var(--orange-ink); } .t-navy { color: var(--navy-700); } .t-gray { color: var(--warm-gray-ink); }
.theme-media { margin: 0; position: relative; }
.theme-media img { margin: 0 auto; max-height: 440px; width: auto; }
/* octagon corner accents — echo of Collegium's corner squares, in Protega's shape */
.oct-corners::before, .oct-corners::after { content: ""; position: absolute; width: 44px; height: 44px; clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); }
.oct-corners::before { left: 6%; top: -10px; background: var(--orange); }
.oct-corners::after { right: 8%; bottom: -12px; background: var(--navy-700); }
.oct-panel svg { width: min(420px, 100%); margin: 0 auto; display: block; }
.oct-panel polygon { fill: none; stroke-width: 6; }
.oct-panel .o1 { stroke: var(--navy-700); } .oct-panel .o2 { stroke: var(--warm-gray); } .oct-panel .o3 { stroke: var(--orange); fill: rgba(234,110,36,.08); }

.news { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); padding: clamp(44px, 5vw, 72px) 0; }
.news h2 { color: #fff; margin-bottom: 24px; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; }
.news-card { background: #fff; border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.news-card:nth-child(2) { border-top-color: var(--navy-700); }
.news-card h3 { font-size: 1.05rem; line-height: 1.45; margin: 0; }
.news-card h3 a { color: var(--navy-700); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--navy-700); }

/* ── staging-only FPO markers ──────────────────────────── */
.fpo-tag { display: inline-block; vertical-align: middle; font: 800 11px/1 var(--font-body); letter-spacing: .14em; color: var(--orange-ink); background: #fff4ec; border: 1px dashed var(--orange); padding: 5px 7px; border-radius: 6px; margin-left: 8px; }
.fpo-inline { outline: 1px dashed var(--orange); outline-offset: 3px; }
.fpo-card { position: relative; border: 2px dashed var(--orange); box-shadow: none; }
.fpo-card .fpo-tag { position: absolute; top: 14px; right: 16px; }

@media (max-width: 980px) {
  .theme-grid { grid-template-columns: 1fr; }
  .theme.flip .theme-media { order: 0; }
  .theme-media img { max-height: 300px; }
  .oct-panel svg { width: 240px; }
  .news-grid { grid-template-columns: 1fr; }
}

/* ── state price disclosures (verbatim from Protega's files; tools/state_disclosures.py) ── */
.disclosure { max-width: 900px; }
.disclosure.wide { max-width: var(--wrap); }
.disclosure-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 28px; }
.disclosure-actions .back { margin-left: auto; font-size: 14px; }
.disclosure-actions .back::before { content: "← "; }
.disclosure-body { font-size: 15px; }
.disclosure-body .disclosure-title { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); }
.disclosure-body .disclosure-product { color: var(--navy-700); }
.disclosure-body h3 { margin-top: 28px; }
.disclosure-body .generic-item { margin: 0 0 .35em 1.2em; position: relative; }
.disclosure-body .disclosure-note { font-size: 14px; color: var(--ink-2); }
.disclosure-body a { overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 10px; }
.disclosure-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.disclosure-table th, .disclosure-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.disclosure-table thead th { position: sticky; top: 0; background: var(--navy-700); color: #fff; font-weight: 600; }
.disclosure-table tbody tr:nth-child(even) { background: var(--tint); }
.disclosure-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.disclosure-table.long { font-size: 13px; }
.disclosure-table.long td { padding: 6px 10px; }
.wide .table-scroll { max-height: 75vh; overflow: auto; }
.disclosure-list { list-style: none; padding: 0; margin: 0; }
.disclosure-list li { border-top: 1px solid var(--line); padding: 16px 2px; }
.disclosure-list li:last-child { border-bottom: 1px solid var(--line); }
.disclosure-list a { font: 600 1.05rem/1.4 var(--font-head); color: var(--navy-700); text-decoration: none; }
.disclosure-list a:hover { color: var(--orange-ink); }
.disclosure-list a::after { content: " →"; color: var(--orange-ink); }
.disclosure-list .sub { display: block; margin-top: 6px; font: 500 14px/1.4 var(--font-body); }
.footer-extra { list-style: none; padding: 0; margin: 10px 0 0; }
@media print { .disclosure-actions { display: none; } .wide .table-scroll { max-height: none; overflow: visible; } }

/* ── counsel documents (privacy policy; tools/legal_docx.py) ── */
.doc-body h2 { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); }
.doc-body h3 { margin-top: 1.6em; font-family: var(--font-head); font-size: 1.08rem; color: var(--navy-700); font-weight: 700; }
.doc-body .doc-effective { color: var(--ink-2); font-weight: 600; }
.doc-body .doc-jump { margin: 0 0 .3em 1em; }
.doc-body .doc-jump a::before { content: "→ "; }
.doc-body ul, .doc-body ol { padding-left: 1.3em; }
.doc-body li { margin-bottom: .4em; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc-table th, .doc-table td { padding: 9px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc-table thead th { background: var(--navy-700); color: #fff; }
.doc-table td.doc-empty { background: repeating-linear-gradient(45deg, #fff4ec, #fff4ec 6px, #fff 6px, #fff 12px); min-width: 80px; }
mark.doc-blank { background: #ffe3cc; color: var(--ink); padding: 0 3px; border-radius: 3px; outline: 1px dashed var(--orange); }
.doc-draft { position: relative; padding: 18px 22px; margin-bottom: 28px; background: #fffaf6; }
.doc-draft p { margin: 0; padding-right: 60px; }

/* open mobile menu sits above the fixed ISI tray (tray z 60, header z 50) */
.site-header.menu-open { z-index: 70; }   /* class set by site.js (no :has(), for older iOS/Firefox) */

/* ── dense ISI (user 10/15: "as much copy as possible in the ISI on every page") ──
   Applies to the tray and the in-page ISI on both sites. Text and line breaks are unchanged; only spacing. */
.isi, .isi-tray { font-size: 13.5px; line-height: 1.36; }
.isi { padding: 18px 0 22px; }
.isi-tray-body { padding-top: 8px; padding-bottom: 8px; }
.isi-heading { font-size: .9rem; line-height: 1.2; margin: 0 0 4px; }
.isi-inner p, .isi-tray-body p { margin: 0 0 .3em; }
.isi-inner ul, .isi-tray-body ul { margin: 0 0 .3em; padding-left: 1.15em; }
.isi-inner li, .isi-tray-body li { margin: 0; }
.isi-indication { margin-bottom: 6px; }
.boxed-warning, .isi-tray-body .boxed-warning { border-width: 1.5px; padding: 5px 12px 2px; margin-bottom: 6px; }
.boxed-warning > p:first-child { margin-bottom: .15em; }
.boxed-warning p { margin-bottom: .2em; }
.isi p.isi-sub, .isi-tray p.isi-sub { margin-bottom: 0; }   /* sub-heading sits on its text (class from isi_source.py) */
@media (max-width: 640px) {
  .isi, .isi-tray, .isi-tray-body { font-size: 12.5px; line-height: 1.33; }
  .isi-tray-body { padding: 6px 12px 8px; }
  .boxed-warning, .isi-tray-body .boxed-warning { padding: 4px 8px 1px; }
}

/* ── older-browser fallbacks (iOS Safari < 15, Firefox ESR) ── */
.hcp-gate { top: 0; right: 0; bottom: 0; left: 0; -webkit-backdrop-filter: blur(4px); }
.site-header { -webkit-backdrop-filter: saturate(1.4) blur(10px); }
@supports (height: 100dvh) { .isi-tray.expanded { height: calc(100dvh - 80px); } }   /* iPhone toolbar never hides the bottom */
/* long unbroken strings (emails, URLs) wrap instead of pushing small phones (320px iPhone SE) sideways */
body { overflow-wrap: break-word; }
.contact-list p, .contact-list a, .footer-safety a, .disclosure-body a, .doc-body a { overflow-wrap: anywhere; }
