/* Typography, palette, navigation and main sections. */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");
:root {
  --bg: #080c12;
  --panel: #101722;
  --line: #202b39;
  --text: #edf4fa;
  --muted: #8d9aaa;
  --cyan: #73e5ee;
  --blue: #3179ea;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
nav,
.wrap {
  max-width: 1320px;
  margin: auto;
  padding-left: 52px;
  padding-right: 52px;
}
nav {
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -1px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.mark {
  width: 29px;
  height: 32px;
}
.navlinks {
  display: flex;
  gap: 34px;
  color: #a5b1c0;
  font-size: 13px;
}
.navlinks a:hover {
  color: var(--cyan);
}
.navcta {
  font-size: 12px;
  border: 1px solid #394757;
  padding: 12px 18px;
  border-radius: 5px;
}
.arrow {
  margin-left: 15px;
}
.hero {
  position: relative;
  max-width: 1320px;
  margin-inline: auto;
  min-height: 720px;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  padding-top: 86px;
  pointer-events: none;
}
.hero .wrap a {
  pointer-events: auto;
}
.eyebrow {
  font:
    10px "IBM Plex Mono",
    monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 11px;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
}
h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: 1.07;
  letter-spacing: -4px;
  margin: 29px 0 25px;
  max-width: 690px;
}
h1 span {
  color: #8391a5;
}
.intro {
  color: var(--muted);
  line-height: 1.85;
  max-width: 425px;
  font-size: 16px;
}
.actions {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  background: var(--cyan);
  color: #082028;
  padding: 15px 21px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #adf5fa;
  transform: translateY(-2px);
}
.textlink {
  font-size: 13px;
  color: #bcc8d6;
}
.footnote {
  font:
    10px "IBM Plex Mono",
    monospace;
  color: #8d9aaa;
  margin-top: 28px;
}
#space {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.visual-label {
  position: absolute;
  right: 52px;
  top: 64px;
  font:
    9px "IBM Plex Mono",
    monospace;
  color: #8d9aaa;
  letter-spacing: 1.5px;
}
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.strip .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.strip span {
  color: #718297;
  font:
    9px "IBM Plex Mono",
    monospace;
  letter-spacing: 1px;
}
.strip b {
  font:
    13px "Space Grotesk",
    sans-serif;
  font-weight: 500;
  color: #b7c4d3;
}
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 42px;
}
h2 {
  font:
    500 40px/1.2 "Space Grotesk",
    sans-serif;
  letter-spacing: -1.5px;
  margin: 17px 0 0;
}
.heading p {
  max-width: 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #121b26, #0b1018);
  min-height: 234px;
}
.icon {
  color: var(--cyan);
  width: 30px;
  height: 30px;
  margin-bottom: 28px;
}
.card h3 {
  font:
    500 19px "Space Grotesk",
    sans-serif;
  margin: 0 0 12px;
}
.card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.architecture {
  border-top: 1px solid var(--line);
}
.architecture p {
  color: var(--muted);
  line-height: 1.85;
  max-width: 700px;
}
.tags {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}
.tags span {
  font:
    9px "IBM Plex Mono",
    monospace;
  color: #97adc7;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 4px;
}
.closing {
  border: 1px solid #26394b;
  border-radius: 10px;
  background: radial-gradient(ellipse at 80% 100%, #103047, #101823 65%);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.closing h2 {
  font-size: 32px;
  margin: 0 0 12px;
}
.closing p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 45px !important;
  padding-bottom: 35px !important;
  color: #8d9aaa;
  font:
    10px "IBM Plex Mono",
    monospace;
}
footer .brand {
  font-size: 19px;
  color: #a7b8cb;
}
footer a:hover {
  color: var(--cyan);
}

/* Prototype and technical specifications. */
.prototype {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px 36px;
  padding-top: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.prototype-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  font:
    9px/1.7 "IBM Plex Mono",
    monospace;
  color: var(--cyan);
  letter-spacing: 1px;
}
.prototype h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
}
.prototype p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 690px;
  margin: 0;
}
.prototype > a {
  grid-column: 2;
}
.specs {
  border-top: 1px solid var(--line);
}
.spec-list {
  margin: 0;
}
.spec-list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.spec-list dt {
  font:
    12px "IBM Plex Mono",
    monospace;
  color: var(--cyan);
}
.spec-list dd {
  margin: 0;
  color: #a9b8ca;
  font-size: 14px;
  line-height: 1.7;
}
.command {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.command > span {
  font:
    9px "IBM Plex Mono",
    monospace;
  color: #7f93ab;
  letter-spacing: 1px;
}
.command pre {
  overflow-x: auto;
  font:
    12px/1.9 "IBM Plex Mono",
    monospace;
  color: #c6d5e6;
}
.command p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .prototype {
    grid-template-columns: 1fr;
  }
  .prototype > a {
    grid-column: 1;
  }
  .spec-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .command {
    padding: 18px;
  }
}
@media (min-width: 1500px) {
  .hero {
    min-height: 790px;
  }
}
@media (max-width: 900px) {
  nav,
  .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .navlinks {
    gap: 20px;
  }
  .hero {
    min-height: 890px;
  }
  h1 {
    font-size: 64px;
    max-width: 560px;
  }
  #space {
    opacity: 0.65;
  }
  .visual-label {
    top: auto;
    bottom: 285px;
  }
  .cards {
    gap: 12px;
  }
  .card {
    padding: 22px;
  }
  .architecture {
    gap: 30px;
  }
  .strip .wrap {
    flex-wrap: wrap;
  }
  .heading {
    align-items: start;
  }
  .closing {
    padding: 32px;
  }
}
@media (max-width: 600px) {
  nav {
    height: 82px;
  }
  .brand {
    font-size: 23px;
  }
  .navlinks {
    display: none;
  }
  .navcta {
    padding: 10px;
    font-size: 11px;
  }
  .hero .wrap {
    padding-top: 52px;
  }
  h1 {
    font-size: 52px;
    letter-spacing: -2.8px;
  }
  .intro {
    font-size: 14px;
  }
  .hero {
    min-height: 850px;
  }
  .visual-label {
    right: 28px;
  }
  .actions {
    gap: 20px;
  }
  .strip b {
    font-size: 11px;
  }
  .strip span {
    width: 100%;
  }
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .heading {
    display: block;
  }
  .heading p {
    margin-top: 20px;
  }
  h2 {
    font-size: 32px;
  }
  .cards,
  .architecture {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
  }
  .icon {
    margin-bottom: 20px;
  }
  .closing {
    display: block;
    padding: 28px;
  }
  .closing .button {
    margin-top: 25px;
  }
  .closing h2 {
    font-size: 28px;
  }
  footer {
    flex-wrap: wrap;
  }
  footer .brand {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}

/* Language selection. */
.languages {
  display: flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px;
}
.languages button {
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 3px;
  padding: 7px 8px;
  font:
    11px "IBM Plex Mono",
    monospace;
  cursor: pointer;
}
.languages button[aria-pressed="true"] {
  background: #223344;
  color: var(--cyan);
}
@media (min-width: 901px) and (max-width: 1150px) {
  h1 {
    font-size: 62px;
    max-width: 570px;
  }
  .hero {
    min-height: 820px;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 820px;
  }
  .navlinks {
    gap: 14px;
  }
  .navcta {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: 820px;
  }
  .hero .wrap {
    padding-top: 45px;
  }
  h1 {
    font-size: 46px;
  }
  .actions {
    flex-wrap: wrap;
    gap: 16px;
  }
  .visual-label {
    bottom: 75px;
  }
  .tags {
    flex-wrap: wrap;
  }
}

/* Industrial research partnerships. */
.partnership-link {
  margin: 18px 0 0;
}
.partnerships {
  border-top: 1px solid var(--line);
}
.partnerships .heading {
  margin-bottom: 24px;
}
.partnership-copy {
  max-width: 800px;
  color: var(--muted);
  line-height: 1.85;
}
.protocol-title {
  font:
    500 20px "Space Grotesk",
    sans-serif;
  margin: 32px 0 20px;
}
.partnerships .card {
  min-height: 0;
}
.partnerships .card .eyebrow {
  margin-bottom: 24px;
}
.evaluation {
  display: flex;
  gap: 24px;
  margin: 28px 0 14px;
  line-height: 1.8;
  font-size: 14px;
}
.evaluation strong {
  color: var(--cyan);
  font-weight: 500;
  white-space: nowrap;
}
.evaluation span,
.research-note {
  color: var(--muted);
}
.research-note {
  font-size: 13px;
  line-height: 1.8;
}
.partnership-contact {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 30px;
}
.partnership-contact p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}
.partnership-contact p a {
  color: var(--cyan);
}
.research-owner {
  padding-top: 32px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .evaluation,
  .partnership-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .partnership-contact .button {
    max-width: 100%;
  }
  .hero {
    min-height: 950px;
  }
  .partnerships h2 {
    overflow-wrap: break-word;
  }
}

/* Organization links. */
.intro a[data-organization-link],
.research-owner a[data-organization-link] {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keyboard access and animation controls. */
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--cyan);
  color: var(--bg);
  border-radius: 5px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.motion-control {
  position: absolute;
  right: 52px;
  bottom: 22px;
  z-index: 3;
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 12px;
  font:
    11px "IBM Plex Mono",
    monospace;
  cursor: pointer;
  min-height: 40px;
}
.motion-control:hover,
.languages button:hover {
  color: var(--cyan);
}
.languages button {
  min-width: 40px;
  min-height: 40px;
}
a,
button {
  touch-action: manipulation;
}
section[id] {
  scroll-margin-top: 24px;
}
@media (max-width: 900px) {
  .visual-label,
  .motion-control {
    right: 28px;
  }
  .hero .wrap {
    padding-bottom: clamp(400px, 80vw, 640px);
  }
}

/* Apparition au défilement : ajoutée uniquement lorsque le JavaScript est actif. */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms ease-out,
    transform 600ms cubic-bezier(0.2, 0.65, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.scroll-reveal:focus-within {
  opacity: 1;
  transform: none;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
