:root {
  --ink: #06100c;
  --ink-2: #0b1812;
  --panel: #102018;
  --lime: #afd12f;
  --lime-soft: #d9ff91;
  --mint: #75d7aa;
  --white: #f7fbf8;
  --muted: #a9b8b0;
  --line: rgba(224, 255, 236, 0.14);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: var(--lime); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 80px; padding: 0 max(5vw, calc((100vw - var(--max)) / 2));
  background: rgba(6, 16, 12, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; padding: 0; background: #000; }
.brand img { display: block; width: 218px; height: 62px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 1.5rem; font-size: .88rem; }
.primary-nav > a:not(.nav-cta) { color: #d6e2db; }
.primary-nav > a:hover { color: var(--lime); }
.nav-cta { padding: .7rem 1.05rem; border: 1px solid var(--lime); border-radius: 999px; color: var(--lime); }
.language-toggle { display: flex; gap: .12rem; padding: .2rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); }
.language-toggle button { padding: .22rem .42rem; border: 0; border-radius: 999px; background: transparent; color: inherit; font-size: .7rem; cursor: pointer; }
.language-toggle button:hover { color: var(--white); }
.language-toggle button.active { background: var(--lime); color: var(--ink); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--white); padding: .55rem .9rem; }
.hero {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 4rem; align-items: center;
  min-height: calc(100vh - 80px); max-width: var(--max); margin: 0 auto; padding: 7rem 2.2rem 6rem;
}
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; left: -260px; top: 5%; background: radial-gradient(circle, rgba(185,255,61,.11), transparent 68%); pointer-events: none; }
.eyebrow { margin: 0 0 1.2rem; color: var(--lime); font-size: .72rem; font-weight: 700; letter-spacing: .18em; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; margin-top: 0; }
h1 { max-width: 800px; margin-bottom: 1.6rem; font-size: clamp(3.2rem, 6.2vw, 6.25rem); line-height: .95; letter-spacing: -.055em; }
.hero-intro { max-width: 680px; color: #c1cec7; font-size: 1.08rem; }
.hero-credential { display: inline-flex; margin: 0 0 1.35rem; padding: .55rem .8rem; border-left: 2px solid var(--lime); background: rgba(185,255,61,.075); color: var(--lime-soft); font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .85rem 1.3rem; border-radius: 2px; font-weight: 700; font-size: .88rem; transition: .25s ease; }
.button.primary { background: var(--lime); color: var(--ink); }
.button.primary:hover { background: var(--lime-soft); transform: translateY(-2px); }
.button.secondary { border: 1px solid var(--line); color: var(--white); }
.button.secondary:hover { border-color: var(--lime); color: var(--lime); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 3.3rem; color: var(--muted); font-size: .7rem; letter-spacing: .14em; }
.trust-row span { position: relative; padding-left: .8rem; }
.trust-row span::before { content: ""; position: absolute; left: 0; top: .55em; width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }
.hero-visual { position: relative; min-height: 580px; }
.scan-frame { position: absolute; inset: 0 0 3rem; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(28,49,38,.85), rgba(7,18,13,.95)); }
.scan-grid { position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 42px 42px; }
.scan-frame::after { content: ""; position: absolute; inset: 7%; border: 1px solid rgba(185,255,61,.18); clip-path: polygon(0 0, 19% 0, 19% 1px, 1px 1px, 1px 19%, 0 19%, 0 0, 100% 0, 100% 19%, calc(100% - 1px) 19%, calc(100% - 1px) 1px, 81% 1px, 81% 0, 100% 0, 100% 100%, 81% 100%, 81% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 81%, 100% 81%, 100% 100%, 0 100%, 0 81%, 1px 81%, 1px calc(100% - 1px), 19% calc(100% - 1px), 19% 100%, 0 100%); }
.scan-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(185,255,61,.38); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 280px; height: 280px; }
.orbit-two { width: 370px; height: 370px; border-style: dashed; animation: rotate 30s linear infinite; }
.scan-core { position: absolute; width: 180px; height: 240px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 48% 52% 52% 48% / 62% 48% 52% 38%; background: radial-gradient(circle at 60% 35%, rgba(185,255,61,.72), rgba(117,215,170,.18) 35%, rgba(7,18,13,.08) 68%); filter: blur(.3px); box-shadow: 0 0 80px rgba(185,255,61,.18); }
.scan-label { position: absolute; display: grid; gap: .1rem; padding: .5rem .65rem; background: rgba(6,16,12,.82); border-left: 2px solid var(--lime); color: #dce8e1; font-size: .66rem; letter-spacing: .1em; }
.scan-label span { color: var(--lime); font-size: .55rem; }
.label-one { top: 18%; left: 8%; }.label-two { top: 46%; right: 4%; }.label-three { bottom: 13%; left: 13%; }
.metric-card { position: absolute; right: -1.5rem; bottom: 0; width: min(330px, 80%); padding: 1.35rem 1.5rem; background: var(--lime); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.metric-card small { font-weight: 700; letter-spacing: .14em; }
.metric-card strong { display: block; margin: .35rem 0 .2rem; font: 700 1.5rem "Space Grotesk", sans-serif; }
.metric-card p { margin: 0; font-size: .83rem; }
@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
.band { padding: 4rem max(6vw, calc((100vw - var(--max)) / 2)); background: var(--lime); color: var(--ink); }
.statement p { max-width: 1050px; margin: 0; font: 600 clamp(1.6rem, 3vw, 2.8rem)/1.25 "Space Grotesk", sans-serif; letter-spacing: -.035em; }
.section { max-width: var(--max); margin: 0 auto; padding: 8rem 2.2rem; }
.section-heading { display: grid; grid-template-columns: .38fr 1fr; gap: 3rem; margin-bottom: 3.8rem; }
.section-heading h2 { max-width: 800px; margin: 0; font-size: clamp(2.3rem, 4vw, 4.1rem); line-height: 1.05; letter-spacing: -.045em; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 340px; padding: 2.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.service-card.featured { background: var(--panel); }
.service-number, .education-grid article > span { color: var(--lime); font: 600 .8rem "Space Grotesk", sans-serif; }
.service-card h3 { margin: 3.5rem 0 1rem; font-size: 1.7rem; }
.service-card p, .service-card li { color: var(--muted); }
.service-card ul { margin: 1.3rem 0 0; padding: 0; list-style: none; }
.service-card li { margin-top: .45rem; padding-left: 1rem; position: relative; font-size: .88rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .68rem; width: 5px; height: 5px; background: var(--lime); }
.expertise-section { max-width: none; background: #edf3ef; color: var(--ink); padding-left: max(2.2rem, calc((100vw - var(--max)) / 2)); padding-right: max(2.2rem, calc((100vw - var(--max)) / 2)); }
.expertise-section .eyebrow { color: #39765b; }
.expertise-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 4rem; }
.species-panels { border-top: 1px solid rgba(6,16,12,.15); }
.species-panels article { display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; padding: 2rem 0; border-bottom: 1px solid rgba(6,16,12,.15); }
.species-panels article > span { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border: 1px solid #39765b; color: #39765b; border-radius: 50%; font: 600 .8rem "Space Grotesk", sans-serif; }
.species-panels h3 { margin-bottom: .5rem; font-size: 1.6rem; }
.species-panels p { margin: 0; color: #53625a; }
.workflow-card { padding: 2.2rem; background: var(--ink-2); color: var(--white); }
.workflow-card ol { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.workflow-card li { display: grid; grid-template-columns: 45px 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.workflow-card li > span { color: var(--lime); font-size: .75rem; }
.workflow-card strong, .workflow-card small { display: block; }
.workflow-card small { margin-top: .25rem; color: var(--muted); }
.about-card { display: grid; grid-template-columns: .6fr 1.4fr; min-height: 620px; border: 1px solid var(--line); }
.portrait-monogram { display: grid; place-items: center; position: relative; overflow: hidden; min-height: 420px; background: radial-gradient(circle at 40% 35%, rgba(185,255,61,.22), transparent 38%), linear-gradient(145deg, #183326, #08110d); }
.portrait-monogram::before, .portrait-monogram::after { content: ""; position: absolute; border: 1px solid rgba(185,255,61,.28); border-radius: 50%; }
.portrait-monogram::before { width: 280px; height: 280px; }.portrait-monogram::after { width: 400px; height: 400px; border-style: dashed; }
.portrait-monogram span { position: relative; z-index: 2; font: 600 5.5rem "Space Grotesk", sans-serif; color: var(--lime); letter-spacing: -.08em; }
.about-copy { padding: clamp(2rem, 5vw, 5rem); }
.about-copy h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.05; }
.about-copy h2 small { display: block; margin-top: .7rem; color: var(--mint); font-size: .9rem; letter-spacing: .12em; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.credentials { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.credentials span { padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: #d6e2db; font-size: .75rem; }
.education-section { padding-top: 3rem; }
.education-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.education-grid article { padding: 2.2rem 2.2rem 2.2rem 0; border-right: 1px solid var(--line); }
.education-grid article + article { padding-left: 2.2rem; }
.education-grid article:last-child { border-right: 0; }
.education-grid h3 { margin: 3rem 0 .8rem; font-size: 1.45rem; }
.education-grid p { color: var(--muted); }
.contact-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; padding: 7rem max(5vw, calc((100vw - var(--max)) / 2)); background: #163323; }
.contact-section h2 { max-width: 780px; font-size: clamp(2.3rem, 4vw, 4.3rem); line-height: 1.05; letter-spacing: -.045em; }
.contact-section p:not(.eyebrow) { color: #c1d1c7; }
.contact-actions { display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.contact-actions small { margin-top: .8rem; color: #a5b9ad; }
footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: end; padding: 3rem max(5vw, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
footer p { margin: 0; }.footer-brand { width: fit-content; }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1.2rem 5vw 1.5rem; background: var(--ink); border-bottom: 1px solid var(--line); }
  .primary-nav.open { display: flex; }
  .primary-nav > a { padding: .8rem 0; }.language-toggle { align-self: flex-start; margin: .7rem 0; }
  .nav-cta { text-align: center; }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-visual { min-height: 500px; max-width: 680px; width: 100%; }
  .section-heading, .expertise-layout, .contact-section { grid-template-columns: 1fr; }
  .section-heading { gap: 1rem; }
  .about-card { grid-template-columns: 1fr; }
  .portrait-monogram { min-height: 360px; }
  .education-grid { grid-template-columns: 1fr; }
  .education-grid article, .education-grid article + article { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .site-header { min-height: 70px; }.primary-nav { top: 70px; }
  .brand { padding: 0; }.brand img { width: 168px; height: 46px; }
  .hero { min-height: auto; padding: 4.5rem 1.2rem; gap: 2.5rem; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.3rem); }
  .hero-visual { min-height: 430px; }.scan-frame { inset-bottom: 2rem; }.metric-card { right: -.3rem; }
  .orbit-one { width: 220px; height: 220px; }.orbit-two { width: 300px; height: 300px; }
  .section { padding: 5rem 1.2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 1.7rem; }.service-card h3 { margin-top: 2rem; }
  .expertise-section { padding-left: 1.2rem; padding-right: 1.2rem; }
  .species-panels article { grid-template-columns: 64px 1fr; }
  .about-copy { padding: 2rem 1.4rem; }
  .contact-section { padding: 5rem 1.2rem; gap: 2rem; }
  .contact-actions .button { word-break: break-word; padding-left: .7rem; padding-right: .7rem; }
  footer { padding: 2.5rem 1.2rem; }
}
.innovation-section { padding-top: 2rem; }
.innovation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.innovation-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 3rem); background: linear-gradient(145deg,#16251b,#090f0b); border: 1px solid var(--line); border-top: 3px solid var(--lime); }
.project-status { color: var(--lime); font-size: .875rem; }
.innovation-card h3 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.15; margin: 2rem 0 1rem; }
.innovation-card h3 small { display: block; font-size: 1rem; color: var(--muted); margin-top: .5rem; }
.innovation-card > p:not(.project-status) { color: var(--muted); margin-bottom: 2rem; }
.innovation-card .button { margin-top: auto; }
.project-access { color: var(--muted); font-size: .875rem; }
section[id] { scroll-margin-top: 100px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
@media (max-width: 1100px) and (min-width: 961px) { .primary-nav { gap: .7rem; } .brand img { width: 175px; } }
@media (max-width: 760px) { .innovation-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .orbit-two { animation: none; } * { transition: none !important; } }

/* Clinical portfolio: quiet dark surfaces, real imaging, brand-lime accents. */
:root { --ink: #080a09; --ink-2: #101410; --panel: #151a13; --max: 1400px; }
.site-header { background: rgba(8,10,9,.96); padding-inline: 3vw; }
.primary-nav { gap: 1rem; }
.language-toggle { direction: ltr; flex-wrap: wrap; border-radius: 8px; }
.language-toggle button { font-size: .875rem; min-height: 40px; min-width: 37px; border-radius: 5px; }
.hero { grid-template-columns: 1fr 1fr; gap: 3rem; padding-block: 6rem; min-height: 780px; }
.hero::before { display: none; }
h1 { font-size: clamp(3.2rem, 5.5vw, 5.8rem); line-height: 1.05; }
.eyebrow, .hero-credential, .trust-row { font-size: .875rem; letter-spacing: .07em; }
.hero-credential { border-left: 0; border-inline-start: 2px solid var(--lime); }
.clinical-hero { margin: 0; border: 1px solid var(--line); background: #000; min-width: 0; }
.viewer-topline { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; color: var(--muted); font: 500 .875rem monospace; border-bottom: 1px solid var(--line); direction: ltr; }
.hero-image-link { display: grid; align-items: center; min-height: 350px; }
.hero-image-link img { display: block; width: 100%; height: auto; }
.clinical-hero figcaption { padding: 1.25rem; display: flex; gap: .7rem; align-items: center; border-block: 1px solid var(--line); font-size: .95rem; }
.live-dot { flex-shrink: 0; width: 7px; height: 7px; background: var(--lime); border-radius: 50%; }
.hero-filmstrip { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); direction: ltr; }
.hero-filmstrip img { display: block; width: 100%; height: 130px; object-fit: contain; background: #000; }
.band { background: #d5dfba; padding-block: 3rem; }
.statement p { font-size: clamp(1.4rem,2.4vw,2.3rem); max-width: 1150px; }
.gallery-section { padding-bottom: 3rem; }
.gallery-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(290px,1fr); border: 1px solid var(--line); }
.gallery-stage { min-width: 0; background: #000; }
.gallery-open { position: relative; width: 100%; height: 470px; padding: 1rem; border: 0; background: #000; cursor: zoom-in; display: block; }
.gallery-open img { width: 100%; height: 100%; object-fit: contain; direction: ltr; }
.expand-label { position: absolute; inset-inline-end: 1rem; bottom: 1rem; background: var(--lime); color: var(--ink); width: 36px; height: 36px; display: grid; place-items: center; }
.gallery-caption { padding: 1.4rem; border-top: 1px solid var(--line); }
.gallery-caption h3 { margin: 0 0 .4rem; font-size: 1.3rem; }
.gallery-caption p, .gallery-note { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.gallery-note { max-width: 900px; margin-top: 1.25rem; }
.gallery-list { display: flex; flex-direction: column; border-inline-start: 1px solid var(--line); }
.gallery-choice { flex: 1; display: grid; grid-template-columns: 25px 76px minmax(0,1fr); align-items: center; gap: 1rem; text-align: start; color: var(--muted); background: #0e110e; border: 0; border-bottom: 1px solid var(--line); padding: 1rem; cursor: pointer; font-size: .925rem; }
.gallery-choice:last-child { border-bottom: 0; }
.gallery-choice img { width: 76px; height: 66px; object-fit: contain; background: #000; }
.choice-number { font: .875rem monospace; }
.gallery-choice[aria-pressed="true"] { background: #202719; color: var(--white); box-shadow: inset 3px 0 var(--lime); }
.gallery-choice:hover { color: var(--lime); }
.service-card, .innovation-card { background: #10150f; }
.service-card.featured { background: #1b2516; }
.portrait-monogram { background: #131a10; }
.portrait-monogram::before, .portrait-monogram::after { border-radius: 0; transform: rotate(35deg); }
.contact-section { background: #1b2717; }
.dialog-open { overflow: hidden; }
dialog { width: min(1200px,95vw); max-height: 95dvh; padding: 0; border: 1px solid var(--line); color: var(--white); background: #080a09; }
dialog::backdrop { background: rgba(0,0,0,.92); }
.dialog-toolbar, .dialog-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; }
.dialog-toolbar h2 { margin: 0; font-size: 1.15rem; }
dialog button { background: #171f13; border: 1px solid var(--line); color: var(--white); padding: .65rem 1rem; cursor: pointer; }
#dialog-image { display: block; width: 100%; height: 70dvh; object-fit: contain; background: #000; direction: ltr; }
.contact-actions a { direction: ltr; unicode-bidi: isolate; }
@media (max-width: 1250px) {
 .menu-toggle { display: block; }
 .primary-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1.2rem 5vw; background: var(--ink); max-height: calc(100dvh - 80px); overflow-y: auto; }
 .primary-nav.open { display: flex; }
 .primary-nav > a { padding: .8rem; }
 .language-toggle { align-self: flex-start; margin-block: .8rem; }
 .hero { gap: 2rem; }
}
@media (max-width: 960px) { .hero, .gallery-layout { grid-template-columns: 1fr; } .hero { min-height: auto; } .gallery-list { border-inline-start: 0; border-top: 1px solid var(--line); } .gallery-choice { grid-template-columns: 25px 64px 1fr; } .gallery-choice img { width: 64px; height: 50px; } }
@media (max-width: 640px) { .hero { padding-block: 3rem; } .primary-nav { top: 70px; } .hero-image-link { min-height: 220px; } .hero-filmstrip img { height: 100px; } .gallery-open { height: 350px; } .dialog-toolbar h2 { font-size: 1rem; } dialog button { padding: .6rem; } .dialog-controls { font-size: .875rem; } }
