/* QUANTUM GENETICAI — visual identity from the supplied 2026 deck. */
:root {
  color-scheme: dark;
  --ink: #0b1015;
  --surface: #141c23;
  --paper: #f5f6f2;
  --muted: #a9b1be;
  --purple: #7255aa;
  --lavender: #aa94f0;
  --lime: #baed72;
  --line: #293139;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--lavender); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 6px; }
.section-light :focus-visible, .contact :focus-visible { outline-color: var(--ink); }
.container { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -90px; left: 16px; z-index: 100; padding: 14px 20px; color: var(--ink); background: var(--lime); border-radius: 4px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(8 11 15 / 95%); border-bottom: 1px solid rgb(255 255 255 / 7%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 96px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 187px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.main-nav > a { transition: color 160ms ease; }
.main-nav > a:hover { color: var(--lime); }
.main-nav .nav-contact { display: inline-flex; align-items: center; gap: 22px; border: 1px solid #58616a; border-radius: 4px; padding: 12px 17px; }
.nav-contact span { font-size: 19px; }
.menu-toggle { display: none; }
.header-controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.language-switcher { position: relative; }
.language-switcher > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 8px; cursor: pointer; font-size: 12px; letter-spacing: 0.04em; color: var(--paper); }
.language-switcher > summary::-webkit-details-marker { display: none; }
.language-switcher > summary:hover { color: var(--lime); }
.language-switcher[open] > summary svg { transform: rotate(180deg); }
.language-options { position: absolute; right: 0; top: calc(100% + 14px); min-width: 175px; padding: 8px; background: #14121d; border: 1px solid #50475f; border-radius: 4px; box-shadow: 0 14px 30px rgb(0 0 0 / 30%); }
.language-link { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 11px 13px; font-size: 13px; border-radius: 2px; }
.language-link:hover, .language-link[aria-current="page"] { color: var(--lime); background: #252032; }
.language-short { width: 20px; font-size: 10px; letter-spacing: 0.05em; opacity: 0.85; }
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: 735px; background: #060709; }
.hero-image { position: absolute; z-index: -3; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center right; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgb(5 7 9 / 94%) 0%, rgb(5 7 9 / 88%) 24%, rgb(5 7 9 / 52%) 44%, rgb(5 7 9 / 5%) 76%), linear-gradient(0deg, #0b1015 0%, transparent 24%); }
.hero-content { padding-block: 73px 39px; }
.eyebrow { margin: 0; font-size: 11px; line-height: 1.6; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; }
.hero-eyebrow { color: #cbc2dd; margin-bottom: 26px; }
h1 { font-size: clamp(58px, 6.5vw, 92px); font-weight: 600; letter-spacing: -0.055em; line-height: 1.04; margin: 0; max-width: 780px; }
h1 span { color: var(--lavender); }
.hero-lead { max-width: 490px; font-size: 17px; line-height: 1.7; color: #c2c4cd; margin: 27px 0 0; }
.hero-actions { margin-top: 31px; display: flex; align-items: center; flex-wrap: wrap; gap: 27px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 52px; padding: 16px 21px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; line-height: 1.4; font-weight: 700; transition: background 180ms ease, transform 180ms ease, border-color 180ms ease; }
.button span { font-size: 22px; line-height: 1; font-weight: 400; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #101511; }
.button-primary:hover { background: #caf39c; }
.text-link { display: inline-flex; gap: 15px; align-items: center; color: #e8e3f0; font-size: 13px; padding-block: 12px; }
.text-link:hover { color: var(--lime); }
.hero-signature { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 53px; color: #a6a4ae; font-size: 11px; letter-spacing: 0.02em; }
.hero-signature strong { font-weight: 600; color: #d2cfda; }
.signature-line { width: 32px; height: 1px; background: var(--purple); margin-right: 7px; }
h2 { font-size: clamp(38px, 4.4vw, 58px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.08; margin: 20px 0 0; }
.section-light { color-scheme: light; color: #13191d; background: var(--paper); }
.technology { padding-block: 99px 104px; }
.section-heading { display: grid; grid-template-columns: 1.1fr 0.9fr; column-gap: 100px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; color: #624989; }
.section-heading h2 { margin-top: 21px; }
.section-intro { margin: 0 0 3px; color: #56605d; font-size: 17px; line-height: 1.75; max-width: 350px; justify-self: end; }
.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 62px; }
.capability { padding: 2px 35px 0; border-left: 1px solid #d9deda; }
.capability:first-child { padding-left: 0; border-left: 0; }
.capability:last-child { padding-right: 0; }
.capability-number { display: block; font-size: 12px; color: #6c577f; margin-bottom: 35px; font-variant-numeric: tabular-nums; }
.capability h3 { font-size: clamp(24px, 2.3vw, 31px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.16; margin: 0 0 20px; }
.capability p { font-size: 15px; line-height: 1.8; color: #56605d; max-width: 275px; margin: 0; }
.applications { padding-block: 104px 93px; background: #0f1018; }
.applications-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 105px; }
.applications .eyebrow { color: #afa1c9; }
.applications-heading h2 { margin-top: 23px; }
.applications-heading h2 span { color: var(--lavender); }
.applications-heading > p:last-child { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 305px; margin: 28px 0 0; }
.applications-list { border-top: 1px solid #34323e; }
.application { border-bottom: 1px solid #34323e; }
.application summary { list-style: none; display: flex; align-items: center; min-height: 90px; gap: 27px; cursor: pointer; padding: 23px 0; }
.application summary::-webkit-details-marker { display: none; }
.application-number { color: #8e879e; font-size: 11px; font-variant-numeric: tabular-nums; min-width: 18px; }
.application h3 { font-size: 27px; line-height: 1.2; font-weight: 500; margin: 0; letter-spacing: -0.025em; }
.expand-icon { position: relative; width: 24px; height: 24px; margin-left: auto; flex-shrink: 0; }
.expand-icon::before, .expand-icon::after { content: ''; position: absolute; background: #bdb4ce; top: 11px; left: 5px; width: 14px; height: 1px; }
.expand-icon::after { transform: rotate(90deg); transition: transform 160ms ease; }
.application[open] .expand-icon::after { transform: rotate(0); }
.application[open] h3, .application summary:hover h3 { color: var(--lavender); }
.application-body { padding: 0 29px 27px 45px; }
.application-body p { font-size: 15px; line-height: 1.7; color: #b8b5c3; max-width: 390px; margin: 0 0 17px; }
.application-link { display: inline-flex; gap: 14px; align-items: center; color: var(--lime); font-size: 12px; padding-block: 6px; }
.application-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.principle { background: #0f1018; padding-block: 0 92px; }
.principle-inner { border-top: 1px solid #34323e; padding-top: 44px; display: grid; grid-template-columns: 0.7fr 1.3fr; align-items: start; gap: 55px; }
.principle .eyebrow { color: #9c92ad; margin-top: 6px; }
.principle-statement { font-size: clamp(20px, 2.05vw, 27px); line-height: 1.5; letter-spacing: -0.025em; margin: 0; }
.principle-statement span { color: #9a92aa; }
.team { padding-block: 89px 94px; }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 29px; margin-top: 54px; }
.team-person { min-width: 0; }
.team-photo { width: 100%; height: auto; max-width: 210px; aspect-ratio: 1; object-fit: contain; }
.team-person h3 { font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -0.025em; min-height: 3.15em; margin: 22px 0 9px; }
.team-alias { display: block; font-size: 13px; letter-spacing: 0; color: #56605d; line-height: 1.5; margin-top: 3px; }
.team-person > p { font-size: 13px; line-height: 1.6; margin: 0; color: #56605d; }
.contact { color-scheme: light; background: var(--lavender); color: #191325; padding-block: 82px; }
.contact-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 110px; align-items: center; }
.contact .eyebrow { color: #3e2e5b; }
.contact h2 { font-size: clamp(42px, 4.9vw, 65px); margin-top: 24px; }
.contact h2 + p { margin: 25px 0 0; font-size: 16px; line-height: 1.6; color: #3e2e5b; }
.contact-actions { width: 100%; max-width: 355px; justify-self: end; display: flex; flex-direction: column; gap: 12px; }
.button-dark { color: var(--paper); background: #191325; min-height: 57px; }
.button-dark:hover { background: #302046; }
.button-outline { border: 1px solid #6c5993; min-height: 57px; color: #231633; }
.button-outline:hover { background: rgb(255 255 255 / 18%); border-color: #39264e; }
.contact-person { display: flex; flex-direction: column; gap: 6px; margin-top: 15px; font-size: 13px; }
.contact-person strong { font-size: 15px; }
.contact-person > span { color: #3e2e5b; }
.contact-person a { margin-top: 3px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-panel { margin-top: 39px; padding: 29px; color: var(--paper); background: #191325; border-radius: 5px; scroll-margin-top: 105px; }
.contact-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contact-panel h3 { font-size: 25px; line-height: 1.25; margin: 0; font-weight: 500; letter-spacing: -0.025em; }
.panel-close { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; padding: 8px 0 8px 12px; background: transparent; border: 0; color: #d2c9e4; font-size: 12px; cursor: pointer; }
.panel-close span { font-size: 26px; }
.contact-panel-intro { font-size: 14px; line-height: 1.7; color: #c8c0d5; max-width: 700px; margin: 17px 0 24px; }
.contact-fields { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; }
.contact-fields label { display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: #c8c0d5; min-width: 0; }
.contact-fields input { display: block; width: 100%; min-width: 0; border: 1px solid #736382; padding: 15px 13px; border-radius: 3px; color: var(--paper); background: #251d33; font: 14px/1.5 Arial, Helvetica, sans-serif; }
.contact-copy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 19px; }
.copy-button { min-height: 44px; padding: 12px 18px; border: 0; border-radius: 3px; background: var(--lime); color: #171d12; cursor: pointer; font-size: 13px; font-weight: 700; }
.copy-button:hover { background: #caf39c; }
.contact-copy-status { font-size: 13px; line-height: 1.5; min-height: 20px; margin: 13px 0 18px; color: var(--lime); }
.contact-compose { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: #eee8f7; text-decoration: underline; text-underline-offset: 4px; padding-block: 9px; }
.contact-compose-hint { color: #bdb2cb; font-size: 11px; line-height: 1.5; margin: 4px 0 0; }
.contact .contact-panel :focus-visible { outline-color: var(--lime); }
.site-footer { background: #090c10; padding-top: 38px; }
.footer-main { display: flex; justify-content: space-between; gap: 45px; align-items: center; padding-bottom: 35px; }
.footer-brand img { width: 177px; height: auto; }
.footer-brand p { color: #93939e; font-size: 11px; margin: 8px 0 0; }
.site-footer address { display: flex; flex-direction: column; gap: 7px; font-style: normal; font-size: 12px; color: #9295a1; line-height: 1.5; }
.site-footer address strong { color: #e0e1e4; font-weight: 500; margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid #24262d; padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #858894; font-size: 10px; letter-spacing: 0.02em; }
.footer-bottom p { margin: 0; }
.footer-bottom a { padding-block: 7px; display: flex; align-items: center; gap: 12px; }
.footer-bottom a:hover { color: var(--lime); }
@media (min-width: 1600px) {
  .hero { min-height: 790px; }
  .hero-content { padding-top: 90px; }
  .hero-image { object-position: center 46%; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .hero { min-height: 720px; }
  .hero-shade { background: linear-gradient(90deg, rgb(5 7 9 / 95%), rgb(5 7 9 / 75%) 42%, rgb(5 7 9 / 8%) 90%), linear-gradient(0deg, #0b1015, transparent 30%); }
  .section-heading { gap: 50px; }
  .capability { padding-inline: 24px; }
  .applications-layout { gap: 64px; }
  .contact-inner { gap: 65px; }
  .main-nav { gap: 20px; font-size: 12px; }
  .header-inner { gap: 20px; }
  .main-nav .nav-contact { gap: 12px; padding-inline: 13px; }
  .team-grid { gap: 22px; }
  .team-person h3 { font-size: 18px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 83px; }
  .header-inner { min-height: 80px; }
  .brand img { width: 160px; }
  .header-controls { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; padding: 12px 0 12px 12px; color: var(--paper); background: transparent; min-height: 44px; }
  .menu-label { font-size: 12px; }
  .menu-icon { width: 22px; height: 16px; position: relative; display: block; }
  .menu-icon span { position: absolute; left: 0; height: 1px; width: 22px; background: var(--paper); transition: transform 160ms ease, top 160ms ease; }
  .menu-icon span:first-child { top: 4px; }
  .menu-icon span:last-child { top: 12px; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { top: 8px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { top: 8px; transform: rotate(-45deg); }
  .main-nav { display: none; position: absolute; inset: 80px 0 auto; background: #101019; border-bottom: 1px solid #36313d; padding: 19px 20px 25px; flex-direction: column; align-items: stretch; gap: 0; font-size: 18px; box-shadow: 0 20px 30px rgb(0 0 0 / 40%); max-height: calc(100dvh - 80px); overflow-y: auto; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 15px 8px; }
  .main-nav .nav-contact { display: flex; justify-content: space-between; padding: 15px 17px; margin-top: 12px; font-size: 15px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 83px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 80px; }
  .brand img { width: 160px; }
  .hero { min-height: 705px; }
  .hero-content { padding-block: 62px 34px; }
  .hero-image { object-position: 61% center; opacity: 0.7; }
  .hero-shade { background: linear-gradient(90deg, rgb(5 7 9 / 85%), rgb(5 7 9 / 50%) 60%, rgb(5 7 9 / 16%)), linear-gradient(0deg, #0b1015 0%, transparent 50%); }
  .hero-eyebrow { font-size: 10px; max-width: 300px; line-height: 1.8; margin-bottom: 25px; }
  h1 { font-size: clamp(49px, 8.9vw, 66px); }
  .hero-lead { font-size: 16px; max-width: 430px; }
  .hero-actions { column-gap: 22px; row-gap: 8px; }
  .hero-signature { margin-top: 41px; }
  .technology { padding-block: 70px; }
  .section-heading { grid-template-columns: 1fr; gap: 0; }
  .section-intro { max-width: 460px; margin: 25px 0 0; justify-self: start; font-size: 16px; }
  .capabilities { margin-top: 43px; }
  .capability { padding-inline: 20px; }
  .capability-number { margin-bottom: 26px; }
  .capability h3 { font-size: 24px; }
  .capability p { font-size: 14px; }
  .applications { padding-block: 71px 53px; }
  .applications-layout { grid-template-columns: 1fr; gap: 43px; }
  .applications-heading h2 br:nth-of-type(2) { display: none; }
  .applications-heading > p:last-child { max-width: 420px; margin-top: 23px; }
  .applications-list { width: 100%; }
  .application summary { min-height: 82px; }
  .principle { padding-bottom: 64px; }
  .principle-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 33px; }
  .principle-statement br { display: none; }
  .contact { padding-block: 63px; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact h2 { font-size: 50px; }
  .contact-actions { justify-self: start; max-width: 410px; }
  .footer-main { gap: 25px; }
  .team { padding-block: 69px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 26px; margin-top: 38px; }
  .team-photo { max-width: 195px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-panel { padding: 23px; scroll-margin-top: 89px; }
}
@media (max-width: 540px) {
  .header-inner { gap: 10px; }
  .brand img { width: 143px; }
  .header-controls { gap: 5px; }
  .menu-toggle { padding-left: 8px; }
  .menu-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .language-switcher > summary { min-width: 54px; }
  .language-options { right: -36px; }
  .hero { min-height: 695px; }
  .hero-content { padding-top: 43px; }
  .hero-eyebrow { max-width: 285px; }
  h1 { font-size: clamp(42px, 11.8vw, 61px); letter-spacing: -0.055em; }
  .hero-lead { max-width: 355px; font-size: 15px; margin-top: 25px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 27px; }
  .hero-actions .button { font-size: 13px; gap: 21px; }
  .hero-signature { margin-top: 35px; font-size: 10px; }
  .hero-image { object-position: 65% center; opacity: 0.6; }
  .capabilities { grid-template-columns: 1fr; margin-top: 35px; }
  .capability { display: grid; grid-template-columns: 33px 1fr; column-gap: 10px; padding: 25px 0 !important; border-left: 0; border-top: 1px solid #d9deda; }
  .capability-number { margin: 5px 0 0; grid-row: 1 / 3; }
  .capability h3 { font-size: 26px; margin-bottom: 12px; }
  .capability h3 br { display: none; }
  .capability p { max-width: 330px; font-size: 15px; }
  .capability:last-child { padding-bottom: 0 !important; }
  .application summary { gap: 19px; min-height: 80px; }
  .application h3 { font-size: 25px; }
  .application-body { padding-left: 37px; padding-right: 16px; }
  .contact h2 { font-size: clamp(40px, 11.7vw, 53px); }
  .contact-actions { max-width: 100%; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 31px; padding-bottom: 29px; }
  .footer-brand img { width: 165px; }
  .site-footer address { font-size: 12px; }
  .footer-bottom { align-items: flex-start; font-size: 9px; }
  .team-person h3 { min-height: 3.8em; font-size: 18px; margin-top: 17px; }
  .team-person > p { font-size: 12px; }
}
/* Longer translated headings remain readable without horizontal overflow. */
h1, h2, h3, .team-person p { overflow-wrap: break-word; }
html[lang="de"] h1 { font-size: clamp(52px, 5.65vw, 81px); }
html[lang="fr"] h1 { font-size: clamp(52px, 5.85vw, 84px); }
html[lang="de"] .capability h3 { hyphens: auto; }
@media (max-width: 760px) {
  html[lang="de"] h1, html[lang="fr"] h1 { font-size: clamp(43px, 7.5vw, 59px); }
  .capabilities { grid-template-columns: 1fr; }
  .capability { display: grid; grid-template-columns: 33px 1fr; column-gap: 10px; padding: 25px 0 !important; border-left: 0; border-top: 1px solid #d9deda; }
  .capability-number { grid-row: 1 / 3; margin: 5px 0 0; }
  .capability h3 br { display: none; }
  .capability h3 { margin-bottom: 12px; }
  .capability p { max-width: 520px; }
}
@media (max-width: 540px) {
  html[lang="de"] h1 { font-size: clamp(34px, 9.75vw, 51px); }
  html[lang="fr"] h1 { font-size: clamp(36px, 10.3vw, 53px); }
  html[lang="de"] h2, html[lang="fr"] h2 { font-size: clamp(32px, 9.5vw, 46px); }
  .team-grid { gap: 30px 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
