/* Aminex 2026: readable unminified CSS; edit this file directly. */
:root {
    --navy: #0b2d5b;
    --navy-dark: #091f3f;
    --teal: #007f79; /* Darkened for WCAG AA text contrast on white. */
    --bright-teal: #00a99d;
    --blue: #1e6fd9;
    --slate: #405268;
    --muted: #62738a;
    --pale: #eef3f8;
    --white: #fff;
    --line: #d9e5ee;
    --width: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.65 Inter, 'Segoe UI', Arial, sans-serif; color: var(--slate); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: #075ea8; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #db9200; outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--width)); margin-inline: auto; }
.narrow { max-width: 920px; }
.skip-link { position: absolute; top: -70px; left: 14px; z-index: 100; padding: 10px 20px; background: white; }
.skip-link:focus { top: 8px; }
.brand-line { height: 5px; background: linear-gradient(90deg,#0b2d5b 0%,#1e6fd9 52%,#00a99d 100%); }
.site-header { position: relative; z-index: 10; background: white; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; min-height: 110px; }
.site-brand { flex: 0 0 auto; max-width: 270px; }
.site-brand img { width: 270px; }
.primary-nav { display: flex; align-items: center; gap: 35px; }
.primary-nav a { color: var(--navy); font-size: 16px; font-weight: 700; text-decoration: none; }
.primary-nav a:hover { color: var(--teal); }
.primary-nav .nav-contact { background: var(--navy); color: white; border-radius: 6px; padding: 10px 23px; }
.primary-nav .nav-contact:hover { background: var(--teal); color: white; }
.menu-toggle { display: none; }
h1,h2,h3 { font-weight: 750; color: var(--navy); line-height: 1.16; margin: 0 0 .6em; letter-spacing: -.028em; }
h1 { font-size: clamp(42px, 5vw, 76px); max-width: 950px; }
h2 { font-size: clamp(32px, 3.2vw, 47px); }
h3 { font-size: 23px; letter-spacing: -.015em; }
p { margin: 0 0 1.25em; }
.lead { font-size: clamp(19px,2vw,23px); max-width: 730px; line-height: 1.62; }
.eyebrow { display: block; color: var(--teal); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.section { padding: 94px 0; }
.section.soft, .soft { background: var(--pale); }
.section-intro { max-width: 720px; }
.page-hero { padding: 88px 0; background: linear-gradient(120deg, #fff 60%, #f1f8fb 100%); }
.page-hero.compact { padding: 92px 0 75px; }
.page-hero.compact h1 { font-size: clamp(39px,4vw,61px); }
.hero-home { padding: 92px 0 110px; }
.hero-grid, .split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 65px; align-items: center; }
.hero-art img { width: 100%; height: 420px; object-fit: cover; border-radius: 14px; }
.media-frame { padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(7,38,79,.06); }
.media-frame img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 9px; }
.wide-figure { margin: 34px 0 14px; padding: 20px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.wide-figure img { width: 100%; height: auto; object-fit: contain; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 16px; padding: 13px 23px; border-radius: 6px; background: var(--navy); border: 2px solid var(--navy); color: white; text-decoration: none; font-weight: 750; line-height: 1.4; }
.button:hover { color: white; background: var(--teal); border-color: var(--teal); }
.button-outline { background: transparent; color: var(--navy); }
.button-outline:hover { color: #fff; }
.text-link { font-weight: 750; text-decoration: none; }
.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin: 34px 0 16px; }
.stat { padding: 30px 23px; border-top: 4px solid var(--bright-teal); border-radius: 6px; background: #fff; box-shadow: 0 5px 23px rgba(10,42,85,.08); }
.stat:nth-child(even) { border-color: var(--blue); }
.stat strong { display: block; font-size: clamp(44px,4vw,65px); line-height: 1.05; color: var(--navy); }
.stat span { display: block; margin-top: 10px; font-size: 16px; }
.proof-section { background: #f7fafc; }
.source { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 18px; }
.responsive-table { overflow-x: auto; margin: 28px 0; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 660px; }
th,td { text-align: left; padding: 18px 17px; border-bottom: 1px solid var(--line); }
thead th { color: white; background: var(--navy); font-weight: 750; }
tbody tr:nth-child(even) { background: rgba(255,255,255,.65); }
.phase-table th:first-child { min-width: 290px; }
.phase-table th:not(:first-child), .phase-table td { text-align: center; }
.phase-table small { font-size: 13px; font-weight: 400; }
.phase-active { background: #dceeea; color: #165d53; }
.phase-current { background: var(--navy); color: #fff; font-weight: 750; }
.phase-planned { background: #c9e5f5; color: var(--navy); }
.cards { display: grid; gap: 22px; margin-top: 34px; }
.cards.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.feature { border-radius: 9px; border: 1px solid var(--line); padding: 30px; background: white; }
.feature p { font-size: 16px; }
.feature-n { display: block; color: var(--teal); font-size: 32px; font-weight: 800; margin-bottom: 20px; }
.tumor-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin: 30px 0; }
.tumor-grid span { padding: 25px; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 6px; font-weight: 700; background: #fff; color: var(--navy); }
.milestone-card { margin: 15px 0; padding: 20px; border-left: 4px solid var(--teal); background: #fff; }
.milestone-card p { margin: 4px 0 0; }
.timeline { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(6,1fr); gap: 13px; }
.timeline li { border-top: 3px solid var(--teal); padding-top: 20px; position: relative; }
.timeline li:before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); position: absolute; top: -8px; left: 0; }
.timeline strong,.timeline span { display: block; font-size: 15px; }
.timeline strong { color: var(--navy); margin-bottom: 9px; }
.section-head { display: flex; gap: 25px; align-items: end; justify-content: space-between; }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.news-card { padding: 30px; border: 1px solid var(--line); background: #fff; border-radius: 8px; }
.news-card h3 { font-size: 21px; line-height: 1.35; }
.news-card a { font-weight: 700; }
.people-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.person-card { border: 1px solid var(--line); border-radius: 10px; padding: 26px; background: #fff; min-width: 0; }
.person-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--pale); color: var(--navy); font-weight: 800; font-size: 22px; margin-bottom: 18px; }
.person-card h3 { margin-bottom: 5px; }
.person-role { color: var(--teal); font-size: 15px; font-weight: 700; min-height: 48px; }
.person-card details { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; }
.person-card summary { cursor: pointer; font-weight: 750; color: var(--navy); }
.bio-text { font-size: 15px; line-height: 1.7; padding-top: 16px; }
.news-archive { list-style: none; margin: 0; padding: 0; }
.archive-item { display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.archive-date { color: var(--muted); font-weight: 700; font-size: 15px; padding-top: 3px; }
.archive-item h3 { font-size: 21px; margin: 10px 0; }
.tag { display: inline-block; text-transform: uppercase; letter-spacing: .09em; color: var(--teal); font-size: 12px; font-weight: 800; }
.publication-list { padding-left: 22px; }
.publication-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 70px; }
.contact-group { padding: 19px 0; border-top: 1px solid var(--line); }
.contact-group h3 { font-size: 19px; margin-bottom: 10px; }
.contact-group p { margin-bottom: 8px; }
.form-panel { background: var(--pale); border-radius: 12px; padding: 40px; }
.form-alert { border-left: 4px solid #a55b06; padding: 14px 18px; background: #fff8ed; }
/* Ninja Forms: keep its own form logic and scripts intact. */
.ninja-form-wrap input:not([type=checkbox]):not([type=radio]):not([type=submit]),.ninja-form-wrap select,.ninja-form-wrap textarea { width: 100%; max-width: 100%; border: 1px solid #91a7bb; background: white; color: var(--navy); border-radius: 5px; padding: 12px 15px; font: inherit; }
.ninja-form-wrap label { color: var(--navy); font-weight: 650; }
.ninja-form-wrap input[type=submit],.ninja-form-wrap button[type=submit] { padding: 13px 27px; border: 0; background: var(--navy); color: white; border-radius: 5px; font-family: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.site-footer { background: var(--navy-dark); color: #dce6f3; padding: 70px 0 22px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 50px; padding-bottom: 46px; }
.footer-brand img { max-width: 300px; }
.footer-brand p { margin-top: 20px; font-size: 15px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.site-footer a { color: #eff6fc; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-contact strong { color: white; }
.footer-notice { border-top: 1px solid #38516f; padding-top: 20px; }
.footer-notice p { font-size: 13px; max-width: 1050px; color: #cad9e9; }
.footer-bottom { margin-top: 22px; }
@media (max-width: 980px) {
    .primary-nav { gap: 18px; }
    .hero-grid,.split { gap: 35px; }
    .stat-grid { grid-template-columns: repeat(2,1fr); }
    .timeline { grid-template-columns: repeat(3,1fr); row-gap: 30px; }
    .people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
    body { font-size: 17px; }
    .container { width: min(calc(100% - 34px),var(--width)); }
    .header-inner { min-height: 88px; }
    .site-brand,.site-brand img { max-width: 215px; }
    .menu-toggle { display: flex; align-items: center; gap: 10px; font: 700 16px inherit; border: 1px solid var(--line); color: var(--navy); background: white; padding: 7px 11px; border-radius: 6px; }
    .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 22px 25px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px #0b2d5b18; }
    .primary-nav.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 7px; }
    .primary-nav a { padding: 10px; }
    .primary-nav .nav-contact { text-align: center; }
    h1 { font-size: clamp(38px, 9vw, 54px); }
    h2 { font-size: 32px; }
    .section { padding: 64px 0; }
    .page-hero,.page-hero.compact,.hero-home { padding: 60px 0; }
    .hero-grid,.split,.contact-grid { grid-template-columns: 1fr; gap: 34px; }
    .hero-art img { height: 260px; }
    .cards.three,.news-grid,.people-grid { grid-template-columns: 1fr; }
    .stat-grid { gap: 12px; }
    .stat { padding: 20px 15px; }
    .stat strong { font-size: 43px; }
    .stat span { font-size: 14px; }
    .timeline { display: block; border-left: 3px solid var(--teal); margin-left: 7px; }
    .timeline li { border: 0; padding: 0 0 27px 20px; }
    .timeline li:before { top: 5px; left: -7px; }
    .tumor-grid { grid-template-columns: repeat(2,1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-brand { grid-column: 1 / -1; }
    .form-panel { padding: 25px; }
    .archive-item { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 430px) {
    .stat-grid,.tumor-grid,.footer-top { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .site-brand,.site-brand img { max-width: 175px; }
    .menu-toggle span:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* October 2026 visual refinement: generous biotech editorial layout inspired by the
   client-supplied FilamenTech reference screenshots; original Aminex brand retained. */
.site-header { position: sticky; top: 0; box-shadow: 0 2px 14px rgba(13, 37, 75, .035); background: #f7fafc; }
.header-inner { min-height: 94px; }
.primary-nav a { font-weight: 600; }
.primary-nav .nav-contact { background: #168c9f; border-radius: 9px; padding: 12px 23px; }
.primary-nav .nav-contact:hover { background: var(--navy); }
.section { padding-block: clamp(76px, 8vw, 120px); }
.hero-home { background: radial-gradient(circle at 78% 40%, #eaf6fb 0%, transparent 46%), linear-gradient(125deg,#fff 40%,#f6fbfe 100%); padding-block: clamp(85px, 10vw, 145px); }
.hero-home .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero-home h1 { font-size: clamp(46px, 5.3vw, 66px); line-height: 1.12; }
.hero-home .lead { font-size: clamp(19px, 1.7vw, 22px); }
.hero-art img { border-radius: 15px; height: 490px; object-fit: cover; mask-image: none; -webkit-mask-image: none; }
.button { background: #178da0; border-color: #178da0; border-radius: 9px; padding: 14px 24px; }
.button:hover { background: var(--navy); border-color: var(--navy); }
.button-outline { background: transparent; color: #08718c; border-color: #53bad0; }
.button-outline:hover { background: #0b2d5b; border-color: #0b2d5b; }
.stat-grid { position: relative; gap: 0; overflow: hidden; border-radius: 16px; background: white; box-shadow: 0 10px 35px rgba(18, 47, 78, .095); }
.stat,.stat:nth-child(even) { border: 0; border-right: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 35px 28px; }
.stat:last-child { border-right: 0; }
.stat strong { color: var(--navy); }
.proof-section,.section.soft { background: #f0f4fa; }
.media-frame { box-shadow: none; border: 0; background: transparent; padding: 0; }
.media-frame img { border-radius: 12px; }
.news-card,.feature { border: 0; border-radius: 16px; box-shadow: 0 5px 20px rgba(10,42,85,.08); }
.news-card { padding: 34px; }
.news-card h3 { line-height: 1.35; }
.person-card { overflow: hidden; padding: 0 0 25px; border: 1px solid #e1e9f0; border-radius: 15px; box-shadow: 0 5px 20px rgba(10,42,85,.06); }
.person-photo { width: 100%; background: #e8eff5; aspect-ratio: 1 / !; overflow: hidden; margin-bottom: 23px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person-card > h3,.person-card > .person-role,.person-card > details { margin-left: 25px; margin-right: 25px; }
.person-card details { padding-top: 16px; }
.person-card .person-role { min-height: 54px; }
.person-card .bio-text { font-size: 15px; }
.page-hero { background: linear-gradient(125deg, #fff 30%,#edf6fa 100%); }
.page-hero.compact { padding-block: clamp(80px,8vw,120px); }
.section-head { margin-bottom: 30px; }
.text-link { color: #08718c; }
.site-footer { background: #21284f; }
@media (max-width: 980px) {
  .hero-home .hero-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 740px) {
  .site-header { position: sticky; }
  .hero-home .hero-grid { grid-template-columns: 1fr; }
  .hero-art img { height: 290px; mask-image: none; }
  .header-inner { min-height: 80px; }
  .stat { padding: 24px 18px; }
  .person-photo { }
}
@media (max-width: 430px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-bottom: 1px solid var(--line); border-right: 0; }
}

/* Version 1.2.0 – October 20, 2026 refinements */
@media (min-width: 981px) {
    .site-brand { max-width: 350px; width: 350px; }
    .site-brand img { width: 350px; max-width: 100%; height: auto; }
    .header-inner { gap: 25px; }
    .primary-nav { gap: clamp(12px,1.65vw,29px); }
    .people-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
}
.hero-home h1 { font-size: clamp(46px, 5.3vw, 66px); line-height: 1.12; }
.wide-figure img { width: 100%; max-height: none; height: auto; object-fit: contain; }
a, button, .button, .primary-nav a, .person-card summary {
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.primary-nav a[aria-current="page"]:not(.nav-contact) { color: #08768c; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.primary-nav .nav-contact[aria-current="page"] { background: var(--navy); box-shadow: inset 0 -3px 0 #56cadd; }
.page-hero .hero-with-image { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(250px,.8fr); align-items: center; gap: clamp(28px,5vw,75px); }
.page-hero .hero-with-image .lead { max-width: 700px; }
.page-hero-image { min-width: 0; margin: 0; }
.page-hero-image img { width: 100%; height: auto; max-height: 360px; object-fit: cover; aspect-ratio: 5 / 4; border-radius: 15px; box-shadow: 0 12px 32px rgba(12,45,91,.10); }
.person-card .bio-highlights { padding-left: 19px; margin: 0 0 16px; }
.person-card .bio-highlights li { margin-bottom: 7px; }
.person-background { font-size: 14px; color: var(--muted); margin: 0 25px 12px; line-height: 1.5; }
.person-card details .bio-text { overflow: hidden; }
.person-card details summary::marker { color: var(--teal); }
.person-card details[open] summary { color: #08768c; }
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal:not(.is-visible) { opacity: 0; transform: translateY(22px); }
.js-reveal .reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 980px) and (min-width: 741px) { .people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 740px) {
 .page-hero .hero-with-image { grid-template-columns: 1fr; }
 .page-hero-image img { max-height: 270px; aspect-ratio: 16/9; }
}
@media (prefers-reduced-motion: reduce) {
 .js-reveal .reveal, .js-reveal .reveal:not(.is-visible) { opacity: 1; transform: none; transition: none; }
 a, button, .button, .person-card details .bio-text { transition: none !important; }
}

/* v1.3.0: consistent rounded hero imagery and accessibility refinements. */
.hero-home .hero-art img { border-radius: 15px; mask-image: none; -webkit-mask-image: none; }
.page-hero .science-hero-image img { width: 100%; aspect-ratio: 5 / 4; height: auto; max-height: 360px; object-fit: cover; object-position: center; border-radius: 15px; box-shadow: 0 12px 32px rgba(12,45,91,.10); }
@media (max-width: 767px) { .page-hero .science-hero-image img { aspect-ratio: 16 / 9; max-height: 270px; } }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid #005e87; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
