:root {
  --site-ink: #0a0d16;
  --site-navy: #101a39;
  --site-navy-deep: #070b18;
  --site-navy-soft: #1f3566;
  --site-yellow: #f0ca45;
  --site-yellow-pale: #ffe9a0;
  --site-paper: #f3efe5;
  --site-stone: #d5d0c4;
  --site-slate: #667080;
  --site-clay: #9c6654;
  --site-moss: #71806a;
  --site-line: rgba(16, 26, 57, .16);
  --site-line-dark: rgba(222, 231, 255, .16);
  --site-shadow: 0 22px 48px rgba(6, 12, 32, .14);
  --site-shadow-deep: 0 28px 64px rgba(3, 8, 25, .28);
  --site-ease: cubic-bezier(.22, .76, .24, 1);
  --site-ease-spring: cubic-bezier(.2, .8, .2, 1);
  --site-max: 1240px;
}

img, video { max-width: 100%; }

body:not(.intro-active) { font-family: "Avenir Next", "Segoe UI", Arial, sans-serif; color: var(--site-ink); background: var(--site-navy-deep); }

.site-root {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background: var(--site-navy-deep);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .34s var(--site-ease), transform .34s var(--site-ease);
}

body.intro-active .site-root {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

body.page-leaving .site-root { opacity: 0; transform: translateY(8px); }

.site-shell { min-height: 100vh; padding-top: 12px; background: var(--site-navy-deep); }
.site-nav { position: sticky; top: 12px; z-index: 20; display: flex; align-items: center; justify-content: space-between; width: calc(100% - 20px); max-width: 1280px; min-height: 80px; margin: 0 auto 12px; padding: 16px 28px; color: var(--site-paper); background: rgba(11, 17, 36, .9); border: 1px solid rgba(240, 202, 69, .18); border-radius: 26px; box-shadow: 0 16px 42px rgba(0,0,0,.2); backdrop-filter: blur(18px); }
.site-nav { animation: nav-enter .52s cubic-bezier(.2,.8,.2,1) both; }
.site-nav__brand { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 11px; color: inherit; font-family: Rockwell, "Roboto Slab", Georgia, serif; font-size: 1.1rem; font-weight: 700; letter-spacing: .16em; text-decoration: none; }
.site-nav__brand::before { content: ""; position: absolute; z-index: -1; top: 50%; left: 50%; width: 176px; height: 76px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(31, 53, 102, .58) 0%, rgba(31, 53, 102, .28) 44%, rgba(31, 53, 102, 0) 78%); filter: blur(8px); opacity: .82; pointer-events: none; transform: translate(-50%, -50%); }
.site-nav__brand img { position: relative; z-index: 1; width: 102px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(31, 53, 102, .22)); }
.site-nav__links { display: flex; align-items: center; gap: 8px; }
.site-nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; color: rgba(243, 239, 229, .68); font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: color .22s var(--site-ease); }
.site-nav__link::before { content: ""; position: absolute; left: 13px; right: 13px; bottom: 8px; height: 2px; background: var(--site-yellow); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--site-ease); }
.site-nav__link::after { content: ""; width: 5px; height: 5px; margin-left: 7px; border-radius: 50%; background: var(--site-yellow); opacity: 0; transform: scale(0); transition: opacity .22s var(--site-ease), transform .28s var(--site-ease-spring); }
.site-nav__link:hover, .site-nav__link:focus-visible, .site-nav__link.is-active { color: var(--site-paper); }
.site-nav__link:hover::before, .site-nav__link:focus-visible::before, .site-nav__link.is-active::before { transform: scaleX(1); }
.site-nav__link.is-active::after { opacity: 1; transform: scale(1); }
.site-nav__toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid rgba(240, 202, 69, .4); border-radius: 50%; color: var(--site-yellow); background: transparent; cursor: pointer; }
.site-nav__toggle span, .site-nav__toggle span::before, .site-nav__toggle span::after { display: block; width: 16px; height: 1px; margin: auto; background: currentColor; transition: transform .24s var(--site-ease); }
.site-nav__toggle span { position: relative; }
.site-nav__toggle span::before, .site-nav__toggle span::after { content: ""; position: absolute; left: 0; }
.site-nav__toggle span::before { top: -5px; }
.site-nav__toggle span::after { top: 5px; }
.site-nav__toggle.is-open span { background: transparent; }
.site-nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.site-nav__toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

.site-main { padding: 0 12px 12px; overflow: hidden; }
.site-main > section { margin-bottom: 12px; overflow: hidden; border-radius: 30px; }
.section-wrap { width: min(100% - 56px, var(--site-max)); margin: 0 auto; }
.eyebrow { margin: 0 0 16px; color: var(--site-yellow); font-size: .72rem; font-weight: 800; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Rockwell, "Roboto Slab", Georgia, serif; font-weight: 700; }
h1 { max-width: 680px; margin-bottom: 24px; color: var(--site-paper); font-size: clamp(3.25rem, 7vw, 7.2rem); letter-spacing: -.075em; line-height: .88; }
h1 em { color: var(--site-yellow); font-style: normal; }
h2 { margin-bottom: 16px; font-size: clamp(2.1rem, 4vw, 4rem); letter-spacing: -.06em; line-height: .96; }
h3 { margin-bottom: 10px; font-size: 1.45rem; letter-spacing: -.035em; line-height: 1; }
.lede { max-width: 560px; color: rgba(243, 239, 229, .7); font-size: 1.05rem; line-height: 1.7; }
.section-intro { max-width: 620px; margin-bottom: 46px; }
.section-intro p { color: var(--site-slate); line-height: 1.7; }
.dark-section { padding: 125px 0; color: var(--site-paper); background: var(--site-navy-deep); }
.dark-section h2 { color: var(--site-paper); }
.dark-section .section-intro p { color: rgba(243,239,229,.62); }

.button { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 20px; color: var(--site-ink); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; border: 2px solid var(--site-ink); border-radius: 14px; background: var(--site-yellow); box-shadow: 5px 5px 0 var(--site-ink); transition: transform .22s var(--site-ease-spring), background-color .22s var(--site-ease), box-shadow .22s var(--site-ease); }
.button span { display: inline-block; font-size: 1.15rem; transition: transform .22s var(--site-ease-spring); }
.button:hover, .button:focus-visible { color: var(--site-ink); background: var(--site-yellow-pale); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--site-ink); }
.button:hover span, .button:focus-visible span { transform: translateX(4px); }
.button--dark { color: var(--site-paper); border-color: var(--site-paper); background: var(--site-navy); box-shadow: 5px 5px 0 var(--site-yellow); }
.button--dark:hover, .button--dark:focus-visible { color: var(--site-paper); background: var(--site-navy-soft); }

.hero { position: relative; display: grid; place-items: center; min-height: calc(100dvh - 108px); padding: clamp(48px, 8vw, 96px) 28px; color: var(--site-paper); text-align: center; background: radial-gradient(circle at 50% 42%, rgba(31,53,102,.52), transparent 46%), var(--site-navy-deep); }
.hero-lockup { display: grid; justify-items: center; width: min(88vw, 820px); }
.hero-lockup__sway { display: block; width: min(78vw, 700px); height: auto; opacity: 0; filter: drop-shadow(0 22px 34px rgba(0,0,0,.28)); transform: translate3d(0,22px,0) scale(.965); }
.eucys-lockup { display: flex; align-items: center; gap: 18px; margin-top: clamp(30px, 5vw, 48px); padding: 14px 18px; color: var(--site-navy-deep); border-radius: 18px; background: var(--site-paper); box-shadow: 0 16px 40px rgba(0,0,0,.2); opacity: 0; transform: translate3d(0,14px,0); }
.eucys-lockup img { display: block; width: clamp(130px, 15vw, 190px); height: auto; }
.eucys-lockup p { margin: 0; font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
body.site-is-ready .hero-lockup__sway { animation: hero-logo-enter .78s cubic-bezier(.2,.8,.2,1) both; }
body.site-is-ready .eucys-lockup { animation: hero-eucys-enter .58s .24s cubic-bezier(.2,.8,.2,1) both; }

.sensor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sensor-card { position: relative; min-height: 350px; padding: 28px 26px 25px; overflow: hidden; color: var(--site-paper); background: linear-gradient(145deg, #111c3a, #0b1124); border: 1px solid rgba(240,202,69,.21); box-shadow: var(--site-shadow-deep); transition: transform .34s var(--site-ease-spring), border-color .28s var(--site-ease), box-shadow .34s var(--site-ease); }
.sensor-card::before { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none; background: repeating-linear-gradient(164deg, transparent 0 28px, rgba(128,159,208,.1) 29px 30px, transparent 31px 52px); transform: translateY(22%); transition: transform .5s var(--site-ease); }
.sensor-card:hover, .sensor-card:focus-visible, .sensor-card.is-open { border-color: var(--site-yellow); box-shadow: 0 28px 65px rgba(4, 10, 35, .42), 0 0 0 1px rgba(240,202,69,.12); transform: translateY(-8px) rotate(-.4deg); }
.sensor-card:hover::before, .sensor-card:focus-visible::before, .sensor-card.is-open::before { transform: translateY(0); }
.sensor-card__index { position: absolute; top: 24px; right: 25px; color: rgba(243,239,229,.34); font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.sensor-card__icon { position: relative; width: 110px; height: 92px; margin-bottom: 30px; color: var(--site-yellow); }
.sensor-card__icon svg { width: 100%; height: 100%; overflow: visible; }
.sensor-card__icon path, .sensor-card__icon circle, .sensor-card__icon rect, .sensor-card__icon line { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sensor-card__icon .fill { fill: currentColor; stroke: none; }
.sensor-card__label { position: relative; margin-bottom: 12px; color: var(--site-yellow); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sensor-card p { position: relative; max-width: 33ch; margin-bottom: 0; color: rgba(243,239,229,.66); font-size: .95rem; line-height: 1.65; }
.sensor-card__detail { position: absolute; right: 26px; bottom: 23px; left: 26px; color: var(--site-yellow-pale); font-size: .82rem; line-height: 1.5; opacity: 0; transform: translateY(12px); transition: opacity .28s var(--site-ease), transform .28s var(--site-ease); }
.sensor-card:hover .sensor-card__detail, .sensor-card:focus-visible .sensor-card__detail, .sensor-card.is-open .sensor-card__detail { opacity: 1; transform: translateY(0); }
.sensor-card--em .sensor-card__icon { animation: icon-signal 3.8s ease-in-out infinite; }
.sensor-card--tilt .sensor-card__icon { animation: icon-tilt 4.6s ease-in-out infinite; }
.sensor-card--rain .sensor-card__icon { animation: icon-rain 4.2s ease-in-out infinite; }

.sensor-showcase { position: relative; color: var(--site-paper); background: linear-gradient(112deg, #0c1530, #070b18 67%); }
.sensor-showcase__scroll { position: relative; }
.sensor-slide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); grid-template-areas: "title title" "media copy"; grid-template-rows: auto 1fr; align-items: center; gap: clamp(24px, 4vw, 54px) clamp(32px, 6vw, 88px); min-height: calc(100dvh - 108px); padding: 64px max(56px, calc((100vw - var(--site-max)) / 2 + 56px)) 64px max(28px, calc((100vw - var(--site-max)) / 2 + 28px)); }
.sensor-slide__title { grid-area: title; width: 100%; margin: 0; color: var(--site-paper); font-size: clamp(2.4rem, 5.4vw, 5.4rem); letter-spacing: -.055em; line-height: .94; }
.sensor-slide__media { grid-area: media; position: relative; min-width: 0; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid rgba(240,202,69,.28); border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.sensor-slide__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sensor-slide__copy { grid-area: copy; max-width: 58ch; }
.sensor-slide__copy > p:last-child { margin-bottom: 0; color: rgba(243,239,229,.72); font-size: clamp(.96rem, 1.08vw, 1.06rem); line-height: 1.72; text-align: left; text-indent: 0; text-wrap: pretty; }

.snap-scroll-ready body[data-page="project"] .dark-section,
.snap-scroll-ready body[data-page="project"] .cta-section { display: flex; align-items: center; min-height: calc(100dvh - 108px); }
.snap-scroll-ready body[data-page="project"] [data-snap-panel] .snap-motion { will-change: transform, opacity; transition: opacity .44s cubic-bezier(.2,.8,.2,1), transform .62s cubic-bezier(.2,.8,.2,1); }
.snap-scroll-ready body[data-page="project"] [data-snap-panel] .snap-motion:nth-child(2) { transition-delay: .035s; }
.snap-scroll-ready body[data-page="project"] [data-snap-state="active"] .snap-motion { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.snap-scroll-ready body[data-page="project"] [data-snap-state="before"] .snap-motion { opacity: .22; transform: translate3d(0,-14px,0) scale(.994); }
.snap-scroll-ready body[data-page="project"] [data-snap-state="after"] .snap-motion { opacity: .22; transform: translate3d(0,14px,0) scale(.994); }

.connection { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: center; }
.connection__diagram { min-height: 310px; overflow: hidden; border: 1px solid rgba(243,239,229,.16); border-radius: 24px; background: radial-gradient(circle at 50% 50%, rgba(240,202,69,.08), transparent 48%), rgba(255,255,255,.02); }
.connection__diagram svg { width: 100%; height: 100%; min-height: 310px; }
.connection__diagram path, .connection__diagram line { fill: none; stroke: rgba(240,202,69,.75); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 6 10; }
.connection__diagram circle { fill: var(--site-navy-deep); stroke: var(--site-yellow); stroke-width: 2; }
.connection__diagram text { fill: rgba(243,239,229,.74); font-family: "Avenir Next", "Segoe UI", Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.connection__core { fill: var(--site-yellow) !important; stroke: var(--site-yellow) !important; }
.connection__core + text { fill: var(--site-ink); }

.cta-section { padding: 90px 0; background: var(--site-yellow); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px 42px; border: 2px solid var(--site-ink); border-radius: 22px; background: var(--site-yellow); box-shadow: 10px 10px 0 var(--site-ink); }
.cta-panel h2 { max-width: 660px; margin-bottom: 0; color: var(--site-ink); }
.page-hero { padding: 110px 0 80px; color: var(--site-paper); background: var(--site-navy-deep); }
.page-hero h1 { max-width: 840px; }
.page-hero__meta { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; color: rgba(243,239,229,.54); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.page-hero__meta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--site-yellow); box-shadow: 0 0 0 5px rgba(240,202,69,.14); }
.visualization-cards { display: grid; place-items: center; min-height: calc(100dvh - 108px); padding: clamp(40px, 8vw, 96px) 0; background: radial-gradient(circle at 50% 42%, rgba(31,53,102,.42), transparent 52%), var(--site-navy-deep); }
.visualization-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); width: min(100%, 1120px); margin: 0 auto; }
.visualization-card { position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: var(--site-paper); text-decoration: none; border: 1px solid rgba(240,202,69,.2); border-radius: 28px; background: #0b1124; box-shadow: 0 22px 48px rgba(3,8,25,.3); transition: border-color .28s var(--site-ease), box-shadow .34s var(--site-ease), transform .34s var(--site-ease-spring); }
.visualization-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--site-ease); }
.visualization-card::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(7,11,24,.94)); }
.visualization-card span { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 24px 22px 20px; font-size: clamp(.95rem, 1.25vw, 1.12rem); font-weight: 800; line-height: 1.2; }
.visualization-card:hover, .visualization-card:focus-visible { border-color: var(--site-yellow); box-shadow: 0 30px 64px rgba(3,8,25,.46), 0 0 0 1px rgba(240,202,69,.16); transform: translateY(-8px) scale(1.012); }
.visualization-card:hover img, .visualization-card:focus-visible img { transform: scale(1.035); }

.team-page { padding: 86px 0 120px; background: var(--site-paper); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 0 0 80px; }
.team-card { position: relative; display: grid; grid-template-columns: 115px 1fr; gap: 25px; min-height: 300px; padding: 27px; overflow: hidden; border: 1px solid var(--site-line); border-radius: 22px; background: #e8e2d5; box-shadow: var(--site-shadow); transition: transform .3s var(--site-ease), box-shadow .3s var(--site-ease); }
.team-card::before { content: ""; position: absolute; inset: 0; opacity: .42; background: repeating-linear-gradient(155deg, transparent 0 32px, rgba(16,26,57,.1) 33px 34px, transparent 35px 62px); transform: translateX(10%); transition: transform .5s var(--site-ease); }
.team-card:hover, .team-card:focus-within { box-shadow: 0 28px 60px rgba(16,26,57,.2); transform: translateY(-5px); }
.team-card:hover::before, .team-card:focus-within::before { transform: translateX(0); }
.team-card__motif { position: relative; z-index: 1; display: grid; place-items: center; width: 115px; height: 115px; align-self: start; color: var(--site-yellow); background: var(--site-navy); border: 2px solid var(--site-ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--site-ink); }
.team-card__motif svg { width: 82px; height: 82px; }
.team-card__motif path, .team-card__motif line, .team-card__motif circle, .team-card__motif rect { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.team-card__content { position: relative; z-index: 1; }
.team-card h2 { margin-bottom: 7px; color: var(--site-navy); font-size: 2rem; }
.team-card__role { margin-bottom: 20px; color: var(--site-clay); font-size: .72rem; font-weight: 900; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.team-card p { color: #4b5561; line-height: 1.65; }
.eucys-callout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; align-items: center; padding: 34px; color: var(--site-paper); background: var(--site-navy); border: 2px solid var(--site-ink); border-radius: 22px; box-shadow: 9px 9px 0 var(--site-yellow); }
.eucys-callout h2 { margin-bottom: 0; color: var(--site-yellow); font-size: clamp(2rem, 4vw, 3.5rem); }
.eucys-callout p { margin-bottom: 0; color: rgba(243,239,229,.72); line-height: 1.7; }

.reveal { opacity: 0; transform: translate3d(0,18px,0) scale(.996); transition: opacity .52s var(--site-ease), transform .62s var(--site-ease); }
.reveal.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.reveal-delay-1 { transition-delay: .06s; }
.reveal-delay-2 { transition-delay: .12s; }
.reveal-delay-3 { transition-delay: .18s; }
.focus-ring:focus-visible, a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--site-yellow); outline-offset: 4px; }

@keyframes nav-enter { from { opacity: 0; transform: translate3d(0,-10px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes hero-logo-enter { 0% { opacity: 0; transform: translate3d(0,22px,0) scale(.965); filter: blur(5px) drop-shadow(0 22px 34px rgba(0,0,0,.28)); } 100% { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0) drop-shadow(0 22px 34px rgba(0,0,0,.28)); } }
@keyframes hero-eucys-enter { from { opacity: 0; transform: translate3d(0,14px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes sensor-breathe { 0%, 100% { box-shadow: 0 0 0 5px rgba(240,202,69,.06); } 50% { box-shadow: 0 0 0 12px rgba(240,202,69,.02); } }
@keyframes icon-signal { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes icon-tilt { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg); } }
@keyframes icon-rain { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

@media (max-width: 980px) {
  .hero { min-height: calc(100dvh - 108px); padding: 64px 24px; }
  .hero__content { max-width: 700px; padding-right: 0; }
  .hero__art { min-height: 500px; margin-top: 24px; }
  .hero__terrain { inset: 0 -7% -9% -7%; width: 114%; height: 108%; }
  .hero__logo { left: 5%; bottom: 17%; width: clamp(170px, 28vw, 250px); }
  .sensor-grid { grid-template-columns: 1fr; }
  .sensor-card { min-height: 280px; }
  .connection { grid-template-columns: 1fr; gap: 40px; }
  .sensor-slide { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 32px; }
  .sensor-slide__title { font-size: clamp(2.5rem, 6vw, 4.6rem); }
}

@media (max-width: 768px), (pointer: coarse) {
  .visualization-card-grid { grid-template-columns: 1fr; width: min(100%, 430px); gap: 18px; }
  .sensor-slide__title, .sensor-slide__media, .sensor-slide__copy { opacity: .58; transform: translate3d(0, 14px, 0) scale(.995); transition: opacity .45s var(--site-ease), transform .55s var(--site-ease); }
  .sensor-slide.is-active .sensor-slide__title, .sensor-slide.is-active .sensor-slide__media, .sensor-slide.is-active .sensor-slide__copy { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 640px) {
  .section-wrap { width: min(100% - 36px, var(--site-max)); }
  .site-shell { padding-top: 8px; }
  .site-main { padding: 0 8px 8px; }
  .site-main > section { margin-bottom: 8px; border-radius: 22px; }
  .site-nav { top: 8px; width: calc(100% - 16px); min-height: 72px; margin-bottom: 8px; padding: 14px 18px; border-radius: 22px; }
  .site-nav__brand::before { width: 152px; height: 68px; }
  .site-nav__brand img { width: 88px; height: 30px; }
  .site-nav__toggle { display: block; }
  .site-nav__links { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: grid; gap: 0; padding: 10px; background: rgba(7,11,24,.96); border: 1px solid rgba(240,202,69,.24); border-radius: 18px; box-shadow: 0 22px 42px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .24s var(--site-ease), transform .24s var(--site-ease); }
  .site-nav__links.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav__link { min-height: 52px; padding: 0 14px; }
  .site-nav__link::before { left: 14px; right: auto; width: 28px; }
  h1 { font-size: clamp(3rem, 16vw, 5.2rem); }
  .hero { min-height: calc(100dvh - 92px); padding: 52px 18px; }
  .hero-lockup { width: 100%; }
  .hero-lockup__sway { width: min(88vw, 520px); }
  .eucys-lockup { flex-direction: column; gap: 10px; margin-top: 28px; padding: 13px 16px; }
  .eucys-lockup img { width: min(46vw, 170px); }
  .eucys-lockup p { font-size: .72rem; }
  .hero__art { min-height: 360px; margin-top: 16px; }
  .hero__terrain { inset: 0 -32% -4% -31%; width: 162%; height: 108%; }
  .hero__logo { left: 3%; bottom: 15%; width: min(42vw, 190px); }
  .hero__caption { right: 6%; bottom: 2%; font-size: .58rem; }
  .dark-section { padding: 82px 0; }
  .cta-section { padding: 58px 0; }
  .cta-panel { display: grid; padding: 26px; }
  .cta-panel h2 { font-size: 2.2rem; }
  .page-hero { padding: 74px 0 60px; }
  .visualization-cards { min-height: auto; padding: 36px 0 48px; }
  .team-page { padding: 64px 0 84px; }
  .team-grid, .eucys-callout { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 78px 1fr; gap: 18px; padding: 20px; }
  .team-card__motif { width: 78px; height: 78px; box-shadow: 4px 4px 0 var(--site-ink); }
  .team-card__motif svg { width: 58px; height: 58px; }
  .team-card h2 { font-size: 1.65rem; }
  .eucys-callout { padding: 27px; }
  .sensor-slide { grid-template-columns: 1fr; grid-template-areas: "title" "media" "copy"; align-content: center; gap: 24px; min-height: 100dvh; padding: 58px 18px; }
  .sensor-slide__title { font-size: clamp(2.4rem, 11vw, 4rem); }
  .sensor-slide__media { width: 100%; aspect-ratio: 16 / 10; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
  .sensor-slide__copy { max-width: none; }
  .sensor-slide__copy > p:last-child { font-size: .95rem; line-height: 1.62; }
}

@media (prefers-reduced-motion: reduce) {
  .site-root, .reveal, .button, .sensor-card, .team-card, .sensor-slide__title, .sensor-slide__media, .sensor-slide__copy, .site-nav__link::before, .site-nav__link::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__sensor, .sensor-card__icon { animation: none !important; }
  .sensor-slide__media, .sensor-slide__copy { opacity: 1; transform: none; }
}

/* SWAY team wall: the team page intentionally stays visual and minimal. */
.team-page {
  position: relative;
  min-height: 0;
  padding: clamp(58px, 7vw, 92px) 0 clamp(70px, 8vw, 112px);
  overflow: hidden;
  color: var(--site-paper);
  background:
    radial-gradient(circle at 18% 20%, rgba(31, 53, 102, .48), transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(240, 202, 69, .08), transparent 25%),
    linear-gradient(135deg, #0b1530 0%, #070b18 64%, #101a39 100%);
}

.team-page::before,
.team-page::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.team-page::before {
  inset: 0;
  opacity: .22;
  background:
    linear-gradient(112deg, transparent 0 19%, rgba(112, 155, 206, .22) 19.1% 19.22%, transparent 19.3% 100%),
    repeating-linear-gradient(164deg, transparent 0 46px, rgba(128, 159, 208, .08) 47px 48px, transparent 49px 92px);
  transform: translateX(-6%);
}

.team-page::after {
  top: 12%;
  right: 6%;
  width: clamp(220px, 30vw, 380px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  opacity: .66;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(120, 165, 210, .11) 23px 24px, transparent 25px 45px),
    radial-gradient(circle at 50% 50%, rgba(240, 202, 69, .09) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 34%, rgba(240, 202, 69, .35) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 66%, rgba(120, 190, 214, .34) 0 2px, transparent 3px);
  -webkit-mask-image: linear-gradient(145deg, transparent 0 4%, #000 15% 84%, transparent 96%);
  mask-image: linear-gradient(145deg, transparent 0 4%, #000 15% 84%, transparent 96%);
  transform: rotate(-18deg);
}

.team-page > .section-wrap { position: relative; z-index: 1; width: min(100% - 56px, 1120px); }
.team-page .section-intro { max-width: 760px; margin-bottom: clamp(38px, 6vw, 70px); }
.team-page .section-intro .eyebrow { color: var(--site-yellow); }
.team-page .section-intro h1 { margin-bottom: 0; color: var(--site-paper); font-size: clamp(3.2rem, 7vw, 7rem); }
.team-page .section-intro h1::after { display: inline-block; width: .18em; height: .18em; margin: 0 0 .08em .12em; border-radius: 50%; background: var(--site-yellow); content: ""; }

.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); margin: 0; }

.team-card {
  display: grid;
  grid-template-columns: minmax(190px, .86fr) minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 42px);
  min-height: 420px;
  height: 100%;
  padding: clamp(18px, 2.2vw, 28px);
  color: var(--site-paper);
  border: 1px solid rgba(133, 170, 205, .26);
  border-radius: 5px 26px 5px 26px;
  background: linear-gradient(145deg, rgba(25, 45, 80, .86), rgba(8, 16, 36, .92));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24), inset 0 1px rgba(218, 233, 247, .08);
  transform: translateY(0) rotate(-1deg);
  transition: border-color .34s var(--site-ease), box-shadow .34s var(--site-ease), transform .42s var(--site-ease-spring);
}

.team-card:nth-child(2) { border-radius: 26px 5px 26px 5px; transform: rotate(1deg); }
.team-card::before {
  inset: 12px;
  opacity: .72;
  border: 0;
  background:
    linear-gradient(var(--site-yellow), var(--site-yellow)) left top / 24px 1px no-repeat,
    linear-gradient(var(--site-yellow), var(--site-yellow)) left top / 1px 24px no-repeat,
    linear-gradient(var(--site-yellow), var(--site-yellow)) right top / 24px 1px no-repeat,
    linear-gradient(var(--site-yellow), var(--site-yellow)) right top / 1px 24px no-repeat,
    linear-gradient(var(--site-yellow), var(--site-yellow)) left bottom / 24px 1px no-repeat,
    linear-gradient(var(--site-yellow), var(--site-yellow)) left bottom / 1px 24px no-repeat,
    linear-gradient(var(--site-yellow), var(--site-yellow)) right bottom / 24px 1px no-repeat,
    linear-gradient(var(--site-yellow), var(--site-yellow)) right bottom / 1px 24px no-repeat;
  transform: none;
}
.team-card::after { content: none; }
.team-card:hover, .team-card:focus-within { border-color: rgba(240, 202, 69, .7); box-shadow: 0 32px 72px rgba(2, 8, 25, .44), 0 0 0 1px rgba(240, 202, 69, .13); transform: translateY(-8px) rotate(0deg); }
.team-card:nth-child(2):hover, .team-card:nth-child(2):focus-within { transform: translateY(-8px) rotate(0deg); }

.team-card__portrait {
  position: relative;
  z-index: 1;
  align-self: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(206, 225, 238, .42);
  border-radius: 3px 18px 3px 18px;
  background: #152b46;
  box-shadow: 8px 8px 0 rgba(3, 9, 22, .55), inset 0 0 0 5px rgba(7, 15, 30, .36);
}

.team-card:nth-child(2) .team-card__portrait { border-radius: 18px 3px 18px 3px; }
.team-card__portrait::before, .team-card__portrait::after { position: absolute; z-index: 2; content: ""; pointer-events: none; }
.team-card__portrait::before { inset: 10px; border: 1px solid rgba(240, 202, 69, .48); border-radius: inherit; }
.team-card__portrait::after { right: 17px; bottom: 18px; left: 17px; height: 1px; background: rgba(240, 202, 69, .72); box-shadow: 0 -6px rgba(240, 202, 69, .2); }
.team-card__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.84) contrast(1.04); transform: scale(1.04); transition: filter .42s var(--site-ease), transform .7s var(--site-ease); }
.team-card:first-child .team-card__portrait img { object-position: 55% 32%; }
.team-card:nth-child(2) .team-card__portrait img { object-position: 50% 30%; }
.team-card:hover .team-card__portrait img, .team-card:focus-within .team-card__portrait img { filter: saturate(1) contrast(1.08); transform: scale(1.09); }

.team-card__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-self: stretch; padding: 0 0 10px; }
.team-card__number { margin: 0 0 22px; color: var(--site-yellow); font: 800 .65rem/1.3 "SFMono-Regular", Consolas, monospace; letter-spacing: .14em; }
.team-card h2 { margin-bottom: 22px; color: var(--site-paper); font-size: clamp(2rem, 3.2vw, 3.35rem); letter-spacing: -.075em; line-height: .88; }
.team-card__tags { display: flex; flex-wrap: wrap; gap: 7px; max-width: 28ch; margin: auto 0 16px; }
.team-card__tags span { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; color: #dbe8ef; border: 1px solid rgba(240, 202, 69, .45); border-radius: 999px; background: rgba(10, 22, 47, .72); font-size: .58rem; font-weight: 800; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; }
.team-card__tags span::before { width: 4px; height: 4px; margin-right: 5px; border-radius: 50%; background: var(--site-yellow); content: ""; }
.team-card__bio { max-width: 30ch; margin: 0; padding-top: 14px; color: rgba(243, 239, 229, .66); border-top: 1px solid rgba(178, 204, 224, .28); font-size: .82rem; line-height: 1.55; }

.team-callout {
  display: grid;
  grid-template-columns: minmax(200px, .5fr) minmax(0, 1.5fr);
  gap: 30px;
  align-items: center;
  margin-top: clamp(34px, 5vw, 58px);
  padding: 22px 26px;
  color: var(--site-paper);
  border: 1px solid rgba(240, 202, 69, .42);
  border-radius: 5px 18px 5px 18px;
  background: linear-gradient(100deg, rgba(240, 202, 69, .13), rgba(17, 31, 64, .72));
  box-shadow: 7px 7px 0 rgba(3, 9, 22, .48);
}

.team-callout__eyebrow { margin: 0 0 7px; color: var(--site-yellow); font: 800 .62rem/1.3 "SFMono-Regular", Consolas, monospace; letter-spacing: .13em; text-transform: uppercase; }
.team-callout h2 { margin: 0; color: var(--site-paper); font-size: clamp(1.7rem, 3vw, 2.8rem); }
.team-callout > p { margin: 0; color: rgba(243, 239, 229, .72); font-size: .87rem; line-height: 1.6; }

body[data-page="team"] .site-nav__brand img { width: 112px; height: 36px; filter: brightness(1.18) contrast(1.08) drop-shadow(0 0 9px rgba(70, 124, 190, .26)); }

@media (max-width: 820px) {
  .team-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .team-card:nth-child(2) { transform: rotate(1deg); }
  .team-card:nth-child(2):hover, .team-card:nth-child(2):focus-within { transform: translateY(-8px) rotate(0deg); }
}

@media (max-width: 560px) {
  .team-page { padding: 64px 0 82px; }
  .team-page > .section-wrap { width: min(100% - 36px, 1120px); }
  .team-page .section-intro { margin-bottom: 34px; }
  .team-page .section-intro h1 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .team-card { grid-template-columns: 112px 1fr; gap: 18px; min-height: 320px; padding: 16px; }
  .team-card__portrait { width: 112px; }
  .team-card__content { padding-bottom: 5px; }
  .team-card__number { margin-bottom: 14px; font-size: .57rem; }
  .team-card h2 { margin-bottom: 16px; font-size: 2rem; }
  .team-card__tags { gap: 5px; margin-bottom: 13px; }
  .team-card__tags span { min-height: 22px; padding-inline: 6px; font-size: .52rem; }
  .team-card__bio { font-size: .72rem; }
  .team-callout { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
}

/* Team page editorial finish: warm, flat, and deliberately free of HUD motifs. */
body[data-page="team"] .team-page {
  background:
    linear-gradient(118deg, rgba(240, 202, 69, .055), transparent 28%),
    linear-gradient(180deg, #111c3a 0%, #0b1124 100%);
}

body[data-page="team"] .team-page::before {
  opacity: .13;
  background:
    linear-gradient(118deg, transparent 0 23%, rgba(243, 239, 229, .28) 23.1% 23.18%, transparent 23.3% 100%),
    linear-gradient(164deg, transparent 0 72%, rgba(240, 202, 69, .22) 72.1% 72.18%, transparent 72.3% 100%);
}

body[data-page="team"] .team-page::after { display: none; }

body[data-page="team"] .team-card {
  border-color: rgba(243, 239, 229, .2);
  border-radius: 2px 20px 2px 20px;
  background: #172443;
  box-shadow: 8px 8px 0 rgba(3, 8, 25, .48);
}

body[data-page="team"] .team-card:nth-child(2) { border-radius: 20px 2px 20px 2px; }
body[data-page="team"] .team-card:hover,
body[data-page="team"] .team-card:focus-within {
  border-color: rgba(240, 202, 69, .68);
  box-shadow: 10px 10px 0 rgba(3, 8, 25, .5);
}

body[data-page="team"] .team-card::before,
body[data-page="team"] .team-card::after,
body[data-page="team"] .team-card__portrait::before,
body[data-page="team"] .team-card__portrait::after {
  content: none;
}

body[data-page="team"] .team-card__portrait {
  border-color: rgba(243, 239, 229, .34);
  border-radius: 2px 14px 2px 14px;
  background: #d5d0c4;
  box-shadow: 6px 6px 0 rgba(3, 8, 25, .4);
}

body[data-page="team"] .team-card:nth-child(2) .team-card__portrait { border-radius: 14px 2px 14px 2px; }
body[data-page="team"] .team-card__tags { gap: 6px; }
body[data-page="team"] .team-card__tags span {
  min-height: 25px;
  padding: 0 9px;
  color: var(--site-navy-deep);
  border: 0;
  border-radius: 3px;
  background: var(--site-yellow);
  font-size: .57rem;
  letter-spacing: .055em;
}

body[data-page="team"] .team-card__tags span::before { display: none; }
body[data-page="team"] .team-card__bio { color: rgba(243, 239, 229, .72); }

body[data-page="team"] .team-callout {
  border: 0;
  border-radius: 2px 16px 2px 16px;
  background: var(--site-yellow);
  box-shadow: 8px 8px 0 var(--site-navy-deep);
}

body[data-page="team"] .team-callout__eyebrow {
  color: var(--site-navy-deep);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: .65rem;
  letter-spacing: .12em;
}

body[data-page="team"] .team-callout h2,
body[data-page="team"] .team-callout > p { color: var(--site-navy-deep); }

@media (max-width: 560px) {
  body[data-page="team"] .team-card__tags span { min-height: 23px; padding-inline: 8px; font-size: .52rem; }
}

/* Premium editorial-scientific poster layer for the Team section. */
body[data-page="team"] .team-page {
  background:
    linear-gradient(120deg, rgba(240, 202, 69, .06), transparent 29%),
    radial-gradient(ellipse at 85% 16%, rgba(83, 116, 157, .17), transparent 30%),
    linear-gradient(180deg, #06142a 0%, #0b1d3c 100%);
}

body[data-page="team"] .team-page::before {
  opacity: .2;
  background:
    linear-gradient(118deg, transparent 0 20%, rgba(94, 117, 148, .34) 20.1% 20.22%, transparent 20.35% 100%),
    linear-gradient(160deg, transparent 0 70%, rgba(224, 190, 67, .2) 70.1% 70.22%, transparent 70.35% 100%),
    linear-gradient(166deg, transparent 0 52%, rgba(94, 117, 148, .16) 52.1% 52.18%, transparent 52.3% 100%);
}

body[data-page="team"] .team-page .section-intro h1 {
  position: relative;
  width: fit-content;
  color: #f1ebdd;
}

body[data-page="team"] .team-page .section-intro h1::before {
  position: absolute;
  bottom: -17px;
  left: 3px;
  width: min(250px, 58%);
  height: 9px;
  border-bottom: 2px solid rgba(224, 190, 67, .86);
  border-radius: 50%;
  content: "";
  transform: rotate(-1.5deg);
}

body[data-page="team"] .team-card {
  isolation: isolate;
  min-height: 420px;
  border: 1px solid rgba(94, 117, 148, .62);
  border-radius: 3px 28px 3px 28px;
  background: #12254b;
  box-shadow: 10px 11px 0 rgba(0, 0, 0, .28);
}

body[data-page="team"] .team-card:nth-child(2) {
  border-radius: 28px 3px 28px 3px;
}

body[data-page="team"] .team-card::before {
  inset: 11px;
  z-index: 0;
  opacity: .3;
  border: 1px solid rgba(241, 235, 221, .22);
  background: none;
  content: "";
}

body[data-page="team"] .team-card::after {
  position: absolute;
  z-index: -1;
  inset: 10px -8px -10px 10px;
  display: block;
  border: 1px solid rgba(224, 190, 67, .22);
  border-radius: inherit;
  background: rgba(11, 29, 60, .38);
  content: "";
  transform: rotate(-1deg);
}

body[data-page="team"] .team-card:nth-child(2)::after { inset: 10px 10px -10px -8px; transform: rotate(1deg); }
body[data-page="team"] .team-card:hover,
body[data-page="team"] .team-card:focus-within {
  border-color: rgba(224, 190, 67, .78);
  box-shadow: 13px 14px 0 rgba(0, 0, 0, .3);
}

body[data-page="team"] .team-card__portrait {
  z-index: 2;
  border: 1px solid rgba(241, 235, 221, .48);
  border-radius: 3px 18px 3px 18px;
  background: #d5d0c4;
  box-shadow: 7px 8px 0 rgba(0, 0, 0, .28);
}

body[data-page="team"] .team-card:nth-child(2) .team-card__portrait { border-radius: 18px 3px 18px 3px; }
body[data-page="team"] .team-card__portrait img { filter: saturate(.86) contrast(1.04); }

body[data-page="team"] .team-card__portrait-sketch {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .3;
}

body[data-page="team"] .team-card__portrait-sketch path {
  fill: none;
  stroke: rgba(94, 117, 148, .72);
  stroke-width: 1.05;
  stroke-linecap: round;
}

body[data-page="team"] .team-card__sketch {
  position: absolute;
  right: -12%;
  bottom: -5%;
  z-index: 1;
  width: 78%;
  height: 76%;
  overflow: visible;
  pointer-events: none;
  opacity: .42;
}

body[data-page="team"] .team-card__sketch path,
body[data-page="team"] .team-card__sketch circle {
  fill: none;
  stroke: #7691b3;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="team"] .team-card--signal .team-card__sketch { opacity: .34; }
body[data-page="team"] .team-card--signal .team-card__sketch path:first-child { stroke: #e0be43; stroke-dasharray: 2 7; }
body[data-page="team"] .team-card--terrain .team-card__sketch { opacity: .5; right: -8%; bottom: -8%; }
body[data-page="team"] .team-card--terrain .team-card__sketch path { stroke: #8da4bf; }
body[data-page="team"] .team-card__content { z-index: 4; }
body[data-page="team"] .team-card__number { color: #91a8c3; }
body[data-page="team"] .team-card__tags span { background: #e0be43; }

body[data-page="team"] .team-callout {
  position: relative;
  overflow: hidden;
  margin-top: clamp(38px, 5vw, 60px);
  padding: 26px 30px;
  border: 1px solid rgba(6, 20, 42, .72);
  border-radius: 0 28px 0 28px;
  background: #e0be43;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .28);
}

body[data-page="team"] .team-callout::before {
  position: absolute;
  top: 18px;
  right: 25%;
  width: 82px;
  height: 1px;
  background: rgba(6, 20, 42, .42);
  content: "";
  transform: rotate(-3deg);
}

body[data-page="team"] .team-callout__eyebrow,
body[data-page="team"] .team-callout h2,
body[data-page="team"] .team-callout > p { color: #06142a; }
body[data-page="team"] .team-callout__eyebrow { font-size: .66rem; letter-spacing: .15em; }
body[data-page="team"] .team-callout h2 { font-size: clamp(1.9rem, 3vw, 3rem); letter-spacing: -.06em; }
body[data-page="team"] .team-callout > p { max-width: 52ch; font-size: .9rem; line-height: 1.65; }

@media (max-width: 560px) {
  body[data-page="team"] .team-card::after { inset: 8px -6px -8px 8px; }
  body[data-page="team"] .team-card:nth-child(2)::after { inset: 8px 8px -8px -6px; }
  body[data-page="team"] .team-card__sketch { width: 86%; height: 66%; right: -15%; }
  body[data-page="team"] .team-callout { padding: 23px 22px; }
}

/* Official EUCYS identity and the continuous exhibition strip. */
body[data-page="team"] .team-callout {
  grid-template-columns: minmax(0, 1.1fr) minmax(245px, .9fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

body[data-page="team"] .team-callout__copy > p:last-child {
  max-width: 54ch;
  margin: 15px 0 0;
  color: #06142a;
  font-size: .9rem;
  line-height: 1.65;
}

body[data-page="team"] .team-callout__marks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

body[data-page="team"] .team-mark {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 54px;
  padding: 7px;
  border: 1px solid rgba(6, 20, 42, .28);
  border-radius: 2px 10px 2px 10px;
}

body[data-page="team"] .team-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
body[data-page="team"] .team-mark--eucys { background: #f1ebdd; }
body[data-page="team"] .team-mark--kiel { background: #0b1d3c; }
body[data-page="team"] .team-flag,
body[data-page="team"] .marquee-flag { display: block; width: 34px; height: 22px; border: 1px solid rgba(6, 20, 42, .35); border-radius: 2px; }

body[data-page="team"] .team-flag--germany,
body[data-page="team"] .marquee-flag.team-flag--germany {
  background: linear-gradient(#111 0 33.33%, #d21f2b 33.33% 66.66%, #f3c43c 66.66%);
}

body[data-page="team"] .team-flag--georgia,
body[data-page="team"] .marquee-flag.team-flag--georgia {
  background:
    linear-gradient(#d92532, #d92532) center / 4px 100% no-repeat,
    linear-gradient(90deg, #d92532, #d92532) center / 100% 4px no-repeat,
    linear-gradient(#d92532, #d92532) 25% 25% / 2px 28% no-repeat,
    linear-gradient(90deg, #d92532, #d92532) 25% 25% / 28% 2px no-repeat,
    linear-gradient(#d92532, #d92532) 75% 25% / 2px 28% no-repeat,
    linear-gradient(90deg, #d92532, #d92532) 75% 25% / 28% 2px no-repeat,
    linear-gradient(#d92532, #d92532) 25% 75% / 2px 28% no-repeat,
    linear-gradient(90deg, #d92532, #d92532) 25% 75% / 28% 2px no-repeat,
    linear-gradient(#d92532, #d92532) 75% 75% / 2px 28% no-repeat,
    linear-gradient(90deg, #d92532, #d92532) 75% 75% / 28% 2px no-repeat,
    #fff;
}

body[data-page="team"] .team-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 96px);
  padding: 12px 0;
  border-top: 1px solid rgba(94, 117, 148, .42);
  border-bottom: 1px solid rgba(94, 117, 148, .42);
  background: rgba(6, 20, 42, .62);
}

body[data-page="team"] .team-marquee::before,
body[data-page="team"] .team-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 72px;
  content: "";
  pointer-events: none;
}

body[data-page="team"] .team-marquee::before { left: 0; background: linear-gradient(90deg, #07152d, transparent); }
body[data-page="team"] .team-marquee::after { right: 0; background: linear-gradient(270deg, #07152d, transparent); }
body[data-page="team"] .team-marquee__track { display: flex; width: max-content; animation: team-marquee-drift 34s linear infinite; }
body[data-page="team"] .team-marquee__set { display: flex; align-items: center; gap: 25px; min-width: max-content; padding: 0 25px; }
body[data-page="team"] .marquee-word { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 5px 9px; border-radius: 2px 8px 2px 8px; background: #f1ebdd; }
body[data-page="team"] .marquee-word img { display: block; width: 78px; height: 21px; object-fit: contain; }
body[data-page="team"] .marquee-word--sway { padding-inline: 5px; background: transparent; }
body[data-page="team"] .marquee-word--sway img { width: 70px; filter: brightness(1.15) contrast(1.05); }
body[data-page="team"] .marquee-word--kiel { background: #12254b; }
body[data-page="team"] .marquee-word--kiel img { width: 94px; }
body[data-page="team"] .marquee-label { color: #dbe2e7; font: 800 .63rem/1 "Avenir Next", "Segoe UI", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
body[data-page="team"] .marquee-flag { width: 28px; height: 18px; flex: 0 0 auto; }
body[data-page="team"] .team-marquee__set > * + *::before { display: inline-block; width: 4px; height: 4px; margin: 0 21px 2px 0; border-radius: 50%; background: #e0be43; content: ""; }
body[data-page="team"] .marquee-flag::before { display: none !important; }

@keyframes team-marquee-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  body[data-page="team"] .team-marquee__track { animation: none; }
}

@media (max-width: 560px) {
  body[data-page="team"] .team-callout { grid-template-columns: 1fr; gap: 18px; }
  body[data-page="team"] .team-callout__marks { max-width: 270px; }
  body[data-page="team"] .team-marquee__set { gap: 18px; padding-inline: 18px; }
  body[data-page="team"] .team-marquee__set > * + *::before { margin-right: 14px; }
}

/* EUCYS identity block: two clear columns, with flags reserved for the marquee. */
body[data-page="team"] .team-callout {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(34px, 6vw, 88px);
  min-height: 244px;
  padding: clamp(30px, 4vw, 48px) clamp(28px, 5vw, 62px);
}

body[data-page="team"] .team-callout__copy { max-width: 58ch; }
body[data-page="team"] .team-callout__eyebrow { margin-bottom: 12px; font-size: .72rem; }
body[data-page="team"] .team-callout h2 { font-size: clamp(2.45rem, 5vw, 4.4rem); }
body[data-page="team"] .team-callout__copy > p:last-child { max-width: 47ch; margin-top: 18px; font-size: clamp(.98rem, 1.3vw, 1.14rem); line-height: 1.65; }
body[data-page="team"] .team-callout__marks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-self: stretch; }
body[data-page="team"] .team-mark { height: 118px; padding: 17px; border-color: rgba(6, 20, 42, .4); }
body[data-page="team"] .team-mark--sway { background: rgba(6, 20, 42, .08); }
body[data-page="team"] .team-mark--sway img { width: 94%; object-fit: contain; filter: brightness(.78) contrast(1.25); }
body[data-page="team"] .team-mark--eucys img { width: 92%; }

/* Larger, calmer marquee units with designed bar separators instead of dots. */
body[data-page="team"] .team-marquee { min-height: 88px; margin-top: clamp(46px, 6vw, 72px); padding: 16px 0; }
body[data-page="team"] .team-marquee__track { animation-duration: 46s; }
body[data-page="team"] .team-marquee__set { gap: 26px; padding-inline: 30px; }
body[data-page="team"] .team-marquee__set > * + *::before { display: none; content: none; }
body[data-page="team"] .marquee-divider { width: 1px; height: 32px; flex: 0 0 1px; background: rgba(224, 190, 67, .72); }
body[data-page="team"] .marquee-word { height: 52px; padding: 8px 14px; border-radius: 3px 12px 3px 12px; }
body[data-page="team"] .marquee-word img { width: 126px; height: 34px; }
body[data-page="team"] .marquee-word--sway { padding-inline: 4px; background: transparent; }
body[data-page="team"] .marquee-word--sway img { width: 118px; height: 42px; }
body[data-page="team"] .marquee-flag { display: inline-flex; width: 62px; height: 40px; flex: 0 0 62px; overflow: hidden; border: 1px solid rgba(219, 226, 231, .5); border-radius: 3px; background: #f1ebdd; }
body[data-page="team"] .marquee-flag img { display: block; width: 100%; height: 100%; object-fit: cover; }
body[data-page="team"] .marquee-label { color: #f3efe5; font-size: .78rem; letter-spacing: .13em; }

@media (max-width: 700px) {
  body[data-page="team"] .team-callout { grid-template-columns: 1fr; gap: 26px; }
  body[data-page="team"] .team-callout__marks { max-width: none; }
}

@media (max-width: 560px) {
  body[data-page="team"] .team-callout { min-height: 0; padding: 26px 22px; }
  body[data-page="team"] .team-callout__marks { gap: 10px; }
  body[data-page="team"] .team-mark { height: 92px; padding: 12px; }
  body[data-page="team"] .team-marquee { min-height: 76px; padding: 12px 0; }
  body[data-page="team"] .team-marquee__set { gap: 18px; padding-inline: 20px; }
  body[data-page="team"] .marquee-divider { height: 26px; }
  body[data-page="team"] .marquee-word { height: 44px; padding: 6px 10px; }
  body[data-page="team"] .marquee-word img { width: 105px; height: 29px; }
  body[data-page="team"] .marquee-word--sway img { width: 96px; height: 34px; }
  body[data-page="team"] .marquee-flag { width: 50px; height: 32px; flex-basis: 50px; }
  body[data-page="team"] .marquee-label { font-size: .65rem; }
}

/* Small EUCYS-panel polish: larger marks with a soft SWAY aura. */
body[data-page="team"] .team-callout__marks { gap: 20px; }
body[data-page="team"] .team-mark { position: relative; height: 136px; padding: 13px; }
body[data-page="team"] .team-mark--sway::after {
  position: absolute;
  z-index: 0;
  inset: 18% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .62) 0%, rgba(240, 202, 69, .55) 34%, rgba(240, 202, 69, 0) 76%);
  content: "";
  filter: blur(13px);
  opacity: .92;
}
body[data-page="team"] .team-mark--sway img { position: relative; z-index: 1; width: 100%; height: 100%; filter: brightness(.92) contrast(1.3) drop-shadow(0 0 6px rgba(255, 255, 255, .68)) drop-shadow(0 0 15px rgba(240, 202, 69, .52)); }
body[data-page="team"] .team-mark--eucys img { width: 100%; height: 100%; }

@media (max-width: 560px) {
  body[data-page="team"] .team-mark { height: 108px; }
}

/* Final Team-page refinement: one calm, shared system for both profiles. */
body[data-page="team"] .team-page::before { opacity: .045; }
body[data-page="team"] .team-page .section-intro h1::before {
  bottom: -12px;
  width: min(190px, 48%);
  height: 4px;
  border-bottom-width: 1px;
  opacity: .68;
}

body[data-page="team"] .team-grid { align-items: stretch; gap: clamp(22px, 3vw, 32px); }
body[data-page="team"] .team-card,
body[data-page="team"] .team-card:nth-child(2) {
  grid-template-columns: minmax(160px, .82fr) minmax(0, 1fr);
  min-height: 430px;
  height: 100%;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(149, 174, 198, .4);
  border-radius: 16px;
  background: #12254b;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
  transform: none;
}
body[data-page="team"] .team-card:hover,
body[data-page="team"] .team-card:focus-within,
body[data-page="team"] .team-card:nth-child(2):hover,
body[data-page="team"] .team-card:nth-child(2):focus-within {
  border-color: rgba(224, 190, 67, .64);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
  transform: translateY(-5px);
}
body[data-page="team"] .team-card::before,
body[data-page="team"] .team-card::after,
body[data-page="team"] .team-card__sketch,
body[data-page="team"] .team-card__portrait-sketch { display: none; }

body[data-page="team"] .team-card__portrait,
body[data-page="team"] .team-card:nth-child(2) .team-card__portrait {
  align-self: start;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(241, 235, 221, .38);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
}
body[data-page="team"] .team-card__portrait img { transform: scale(1.02); }
body[data-page="team"] .team-card__content { min-width: 0; padding-bottom: 0; }
body[data-page="team"] .team-card__number { margin-bottom: 18px; }
body[data-page="team"] .team-card h2 { margin-bottom: 0; }
body[data-page="team"] .team-card__tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: none;
  margin: 22px 0 auto;
}
body[data-page="team"] .team-card__tags span {
  justify-content: center;
  min-width: 0;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: .56rem;
  letter-spacing: .045em;
  text-align: center;
}
body[data-page="team"] .team-card__bio {
  width: 100%;
  max-width: none;
  min-height: 78px;
  padding-top: 15px;
  border-top-color: rgba(178, 204, 224, .22);
  font-size: .8rem;
  line-height: 1.55;
}

body[data-page="team"] .team-callout { margin-top: clamp(34px, 4vw, 48px); }
body[data-page="team"] .team-callout::before { display: none; }

@media (max-width: 820px) {
  body[data-page="team"] .team-card,
  body[data-page="team"] .team-card:nth-child(2) { transform: none; }
  body[data-page="team"] .team-card:hover,
  body[data-page="team"] .team-card:focus-within,
  body[data-page="team"] .team-card:nth-child(2):hover,
  body[data-page="team"] .team-card:nth-child(2):focus-within { transform: translateY(-5px); }
}

@media (max-width: 560px) {
  body[data-page="team"] .team-card,
  body[data-page="team"] .team-card:nth-child(2) {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 340px;
    padding: 16px;
    border-radius: 14px;
  }
  body[data-page="team"] .team-card__tags { gap: 6px; margin-top: 16px; }
  body[data-page="team"] .team-card__tags span { min-height: 24px; padding-inline: 5px; font-size: .49rem; }
  body[data-page="team"] .team-card__bio { min-height: 72px; font-size: .7rem; }
}

/* Competition-page hierarchy pass: tighter hero, restrained motifs, compact support sections. */
body[data-page="team"] .site-nav {
  transition: min-height .3s var(--site-ease), padding .3s var(--site-ease), border-radius .3s var(--site-ease), box-shadow .3s var(--site-ease);
}
body[data-page="team"] .site-nav__brand img,
body[data-page="team"] .site-nav__link { transition: width .3s var(--site-ease), height .3s var(--site-ease), min-height .3s var(--site-ease), padding .3s var(--site-ease), font-size .3s var(--site-ease), color .22s var(--site-ease); }
body[data-page="team"] .site-nav.is-compact { top: 8px; min-height: 58px; padding: 8px 22px; border-radius: 18px; box-shadow: 0 10px 28px rgba(0, 0, 0, .24); }
body[data-page="team"] .site-nav.is-compact .site-nav__brand::before { width: 132px; height: 52px; opacity: .56; }
body[data-page="team"] .site-nav.is-compact .site-nav__brand img { width: 82px; height: 27px; }
body[data-page="team"] .site-nav.is-compact .site-nav__link { min-height: 36px; padding-inline: 11px; font-size: .76rem; }
body[data-page="team"] .site-nav.is-compact .site-nav__link::before { bottom: 4px; }

body[data-page="team"] .team-page { padding: clamp(40px, 4.2vw, 54px) 0 clamp(68px, 7vw, 96px); }
body[data-page="team"] .team-page::before {
  display: block;
  inset: 0;
  opacity: .055;
  background: linear-gradient(160deg, transparent 0 58%, rgba(149, 174, 198, .5) 58.08% 58.16%, transparent 58.24% 100%);
  transform: none;
}
body[data-page="team"] .team-page .section-intro { margin-bottom: clamp(28px, 3.6vw, 42px); }

body[data-page="team"] .team-card,
body[data-page="team"] .team-card:nth-child(2) {
  grid-template-columns: minmax(178px, .94fr) minmax(0, 1fr);
  gap: clamp(24px, 2.6vw, 31px);
  min-height: 350px;
  padding: 26px;
}
body[data-page="team"] .team-card__portrait,
body[data-page="team"] .team-card:nth-child(2) .team-card__portrait { width: 100%; }
body[data-page="team"] .team-card__content {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
}
body[data-page="team"] .team-card h2 { min-height: 76px; line-height: .9; }
body[data-page="team"] .team-card__tags {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 17px 0 14px;
}
body[data-page="team"] .team-card__tags span { width: 100%; min-height: 29px; }
body[data-page="team"] .team-card__tags span:last-child:nth-child(odd) { grid-column: 1 / -1; }
body[data-page="team"] .team-card__bio { min-height: 0; padding-top: 12px; }
body[data-page="team"] .team-card__portrait-sketch { display: none; }
body[data-page="team"] .team-card__sketch {
  position: absolute;
  right: -3%;
  bottom: -6%;
  z-index: 0;
  display: block;
  width: 72%;
  height: 68%;
  pointer-events: none;
  opacity: .065 !important;
}
body[data-page="team"] .team-card--signal .team-card__sketch path,
body[data-page="team"] .team-card--signal .team-card__sketch circle { stroke: #e0be43; stroke-dasharray: none; }
body[data-page="team"] .team-card--terrain .team-card__sketch { right: -2%; bottom: -5%; opacity: .06 !important; }
body[data-page="team"] .team-card--terrain .team-card__sketch path,
body[data-page="team"] .team-card--terrain .team-card__sketch circle { stroke: #b2c3d5; }

body[data-page="team"] .team-callout {
  min-height: 202px;
  margin-top: clamp(30px, 3.8vw, 44px);
  padding: clamp(24px, 3vw, 32px) clamp(28px, 4vw, 46px);
  gap: clamp(28px, 4vw, 56px);
}
body[data-page="team"] .team-callout__copy > p:last-child { margin-top: 12px; font-size: clamp(.9rem, 1.1vw, 1.02rem); }
body[data-page="team"] .team-callout__marks { gap: 14px; align-self: center; }
body[data-page="team"] .team-mark,
body[data-page="team"] .team-mark--sway,
body[data-page="team"] .team-mark--eucys {
  height: 106px;
  padding: 7px;
  border: 1px solid rgba(6, 20, 42, .28);
  border-radius: 10px;
  background: #f1ebdd;
}
body[data-page="team"] .team-mark img,
body[data-page="team"] .team-mark--sway img,
body[data-page="team"] .team-mark--eucys img { width: 100%; height: 100%; object-fit: contain; }
body[data-page="team"] .team-mark--sway::after { inset: 18% 13%; opacity: .44; filter: blur(12px); }

body[data-page="team"] .team-marquee { min-height: 96px; margin-top: clamp(40px, 5vw, 60px); padding: 19px 0; }
body[data-page="team"] .team-marquee__track { animation-duration: 58s; }
body[data-page="team"] .team-marquee__set { gap: 36px; padding-inline: 38px; }
body[data-page="team"] .marquee-divider { width: 1px; height: 30px; flex-basis: 1px; background: rgba(224, 190, 67, .46); }

@media (max-width: 820px) {
  body[data-page="team"] .team-card,
  body[data-page="team"] .team-card:nth-child(2) { grid-template-columns: minmax(178px, .72fr) minmax(0, 1fr); }
}

@media (max-width: 560px) {
  body[data-page="team"] .site-nav.is-compact { min-height: 56px; padding: 7px 14px; border-radius: 16px; }
  body[data-page="team"] .site-nav.is-compact .site-nav__brand img { width: 76px; height: 25px; }
  body[data-page="team"] .team-page { padding-top: 34px; }
  body[data-page="team"] .team-card,
  body[data-page="team"] .team-card:nth-child(2) { grid-template-columns: 126px minmax(0, 1fr); gap: 16px; min-height: 344px; padding: 16px; }
  body[data-page="team"] .team-card h2 { min-height: 58px; }
  body[data-page="team"] .team-card__tags { gap: 5px; margin: 12px 0 10px; }
  body[data-page="team"] .team-card__tags span { min-height: 25px; }
  body[data-page="team"] .team-callout { min-height: 0; padding: 24px 20px; }
  body[data-page="team"] .team-mark,
  body[data-page="team"] .team-mark--sway,
  body[data-page="team"] .team-mark--eucys { height: 94px; }
  body[data-page="team"] .team-marquee { min-height: 84px; padding: 15px 0; }
  body[data-page="team"] .team-marquee__set { gap: 24px; padding-inline: 26px; }
}

/* Team page shell: one continuous navy canvas beneath the floating navbar. */
body[data-page="team"] { background: #081426; }
body[data-page="team"] .site-root {
  background: linear-gradient(180deg, #081426 0%, #0b1a2f 100%);
}
body[data-page="team"] .site-shell,
body[data-page="team"] .site-main,
body[data-page="team"] .team-page { background: transparent; }
body[data-page="team"] .site-main { padding: 0; }
body[data-page="team"] .site-main > .team-page {
  margin-bottom: 0;
  border-radius: 0;
}
body[data-page="team"] .site-nav {
  margin-bottom: 0;
  background: rgba(5, 13, 27, .94);
  border-color: rgba(149, 174, 198, .18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}
body[data-page="team"] .team-page { padding-top: 24px; }

@media (max-width: 640px) {
  body[data-page="team"] .site-main { padding: 0; }
  body[data-page="team"] .site-main > .team-page { border-radius: 0; }
  body[data-page="team"] .team-page { padding-top: 22px; }
}

/* Team page final polish: tighter scale, softer cards, and a grouped seamless marquee. */
body[data-page="team"] .team-page { padding-top: 18px; }
body[data-page="team"] .team-page::before,
body[data-page="team"] .team-page::after { display: none; }
body[data-page="team"] .team-page .section-intro { margin-bottom: clamp(36px, 4vw, 46px); }
body[data-page="team"] .team-page .section-intro h1 { font-size: clamp(2.85rem, 5.9vw, 6.15rem); }
body[data-page="team"] .team-page .section-intro h1::before { opacity: .48; }

body[data-page="team"] .site-nav.is-compact { min-height: 66px; padding-block: 9px; }
body[data-page="team"] .site-nav.is-compact .site-nav__brand img { width: 86px; height: 28px; }
body[data-page="team"] .team-page .section-intro,
body[data-page="team"] .team-grid,
body[data-page="team"] .team-callout { scroll-margin-top: 88px; }

body[data-page="team"] .team-card,
body[data-page="team"] .team-card:nth-child(2) {
  border-color: rgba(120, 155, 190, .2);
  background: #112950;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .17);
}
body[data-page="team"] .team-card:hover,
body[data-page="team"] .team-card:focus-within,
body[data-page="team"] .team-card:nth-child(2):hover,
body[data-page="team"] .team-card:nth-child(2):focus-within {
  border-color: rgba(120, 155, 190, .34);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .21);
  transform: translateY(-3px);
}
body[data-page="team"] .team-card__sketch,
body[data-page="team"] .team-card__portrait-sketch { display: none; }
body[data-page="team"] .team-card__tags { gap: 7px; margin: 20px 0 8px; }
body[data-page="team"] .team-card__tags span {
  min-height: 25px;
  padding: 3px 7px;
  background: #d6b640;
  font-size: .53rem;
}
body[data-page="team"] .team-card__bio { padding-top: 10px; }

body[data-page="team"] .team-callout {
  min-height: 174px;
  margin-top: clamp(56px, 6vw, 68px);
  padding: 20px clamp(28px, 4vw, 42px);
}
body[data-page="team"] .team-callout h2 { font-size: clamp(2.15rem, 4.2vw, 3.7rem); }
body[data-page="team"] .team-callout__copy > p:last-child { margin-top: 9px; line-height: 1.55; }
body[data-page="team"] .team-callout__marks { gap: 12px; }
body[data-page="team"] .team-mark,
body[data-page="team"] .team-mark--sway,
body[data-page="team"] .team-mark--eucys {
  height: 92px;
  padding: 6px;
  border: 1px solid rgba(6, 20, 42, .24);
  border-radius: 9px;
  background: #f1ebdd;
}
body[data-page="team"] .team-mark--sway::after { display: none; }
body[data-page="team"] .team-mark--sway img { width: 88%; height: 88%; filter: none; }
body[data-page="team"] .team-mark--eucys img { width: 96%; height: 96%; filter: none; }

body[data-page="team"] .team-marquee { min-height: 92px; margin-top: clamp(48px, 5vw, 56px); padding: 17px 0; }
body[data-page="team"] .team-marquee__track {
  display: flex;
  width: max-content;
  animation: team-marquee-drift 62s linear infinite;
  will-change: transform;
}
body[data-page="team"] .team-marquee__set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 42px;
  min-width: max-content;
  padding: 0 42px 0 0;
}
body[data-page="team"] .marquee-group { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 28px; }
body[data-page="team"] .marquee-group > * { flex: 0 0 auto; }
body[data-page="team"] .marquee-divider { width: 1px; height: 28px; flex: 0 0 1px; background: rgba(214, 182, 64, .45); }

@media (max-width: 640px) {
  body[data-page="team"] .team-page { padding-top: 16px; }
  body[data-page="team"] .team-page .section-intro { margin-bottom: 34px; }
  body[data-page="team"] .site-nav.is-compact { min-height: 62px; padding-block: 8px; }
  body[data-page="team"] .team-callout { min-height: 0; padding: 20px; }
  body[data-page="team"] .team-mark,
  body[data-page="team"] .team-mark--sway,
  body[data-page="team"] .team-mark--eucys { height: 88px; }
  body[data-page="team"] .team-marquee__set { gap: 30px; padding-right: 30px; }
  body[data-page="team"] .marquee-group { gap: 20px; }
}

/* Cross-device responsive hardening. These rules intentionally sit last so the
   established page art direction stays intact while the layout remains fluid. */
html {
  min-width: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body:not(.intro-active) { min-width: 0; overflow-x: hidden; }
button,
a,
input { touch-action: manipulation; }

.site-shell {
  min-height: 100svh;
  padding-top: max(12px, env(safe-area-inset-top));
}

.site-nav {
  top: max(12px, env(safe-area-inset-top));
  width: min(calc(100% - 20px - env(safe-area-inset-left) - env(safe-area-inset-right)), 1280px);
}

.site-main { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.section-wrap,
.team-page > .section-wrap { max-width: calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right)); }

@media (min-width: 1600px) {
  :root { --site-max: 1320px; }
  .hero-lockup { width: min(74vw, 880px); }
  .sensor-slide { padding-inline: max(72px, calc((100vw - 1380px) / 2)); }
  .visualization-card-grid { width: min(100%, 1220px); }
  body[data-page="team"] .team-page > .section-wrap { width: min(100% - 80px, 1220px); }
}

@media (min-width: 641px) and (max-width: 980px) {
  .visualization-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 760px);
  }

  .visualization-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 365px);
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .sensor-slide {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "media" "copy";
    min-height: auto;
    padding: clamp(48px, 8vw, 70px) clamp(24px, 6vw, 48px);
  }

  .sensor-slide__media { width: 100%; }
  .sensor-slide__copy { max-width: 68ch; }
  .cta-panel { align-items: start; }
}

@media (max-width: 640px) {
  .site-shell { padding-top: max(8px, env(safe-area-inset-top)); }
  .site-nav {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 16px - env(safe-area-inset-left) - env(safe-area-inset-right));
  }

  .site-main {
    padding-right: max(8px, env(safe-area-inset-right));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    padding-left: max(8px, env(safe-area-inset-left));
  }

  .visualization-card-grid { grid-template-columns: 1fr; width: min(100%, 430px); }
  .visualization-card:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
  .sensor-card { min-height: 260px; }
  .sensor-slide { padding: 48px 18px; }
  .connection__diagram,
  .connection__diagram svg { min-height: 250px; }
}

@media (max-width: 430px) {
  .section-wrap,
  .team-page > .section-wrap { width: min(100% - 28px, var(--site-max)); }
  .site-nav { min-height: 64px; padding: 10px 13px; border-radius: 18px; }
  .site-nav__brand::before { width: 126px; height: 58px; }
  .site-nav__brand img { width: 78px; height: 27px; }
  .site-nav__toggle { min-width: 42px; min-height: 42px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.15rem); }
  h2 { font-size: clamp(1.9rem, 11vw, 3rem); }
  .hero { min-height: calc(100svh - 80px); padding: 42px 14px; }
  .eucys-lockup { width: min(100%, 290px); }
  .cta-panel { padding: 22px 20px; box-shadow: 6px 6px 0 var(--site-ink); }

  body[data-page="team"] .team-card,
  body[data-page="team"] .team-card:nth-child(2) {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 16px;
  }

  body[data-page="team"] .team-card__portrait,
  body[data-page="team"] .team-card:nth-child(2) .team-card__portrait {
    width: min(100%, 230px);
    justify-self: center;
  }

  body[data-page="team"] .team-card h2 { min-height: 0; font-size: clamp(2rem, 11vw, 2.8rem); }
  body[data-page="team"] .team-card__tags { margin-top: 15px; }
  body[data-page="team"] .team-card__tags span { min-height: 28px; font-size: .54rem; }
  body[data-page="team"] .team-card__bio { min-height: 0; font-size: .74rem; }
  body[data-page="team"] .team-callout__marks { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}

@media (max-width: 340px) {
  .section-wrap,
  .team-page > .section-wrap { width: min(100% - 20px, var(--site-max)); }
  .site-nav { width: calc(100% - 10px); padding-inline: 10px; }
  .site-nav__links { right: -1px; left: -1px; }
  .eyebrow { font-size: .64rem; letter-spacing: .15em; }
  .button { width: 100%; justify-content: center; padding-inline: 14px; }
  body[data-page="team"] .team-card__tags { grid-template-columns: 1fr; }
  body[data-page="team"] .team-card__tags span:last-child:nth-child(odd) { grid-column: auto; }
}

@media (max-height: 680px) and (min-width: 641px) {
  .hero { min-height: calc(100svh - 92px); padding-block: 34px; }
  .hero-lockup__sway { width: min(58vw, 560px); }
  .eucys-lockup { margin-top: 22px; padding-block: 10px; }
  .sensor-slide { min-height: auto; padding-block: 44px; }
  .dark-section { padding-block: 78px; }
  .cta-section { min-height: auto !important; padding-block: 58px; }
  .visualization-cards { min-height: auto; padding-block: 48px; }
}

@media (hover: none) {
  .sensor-card:hover,
  .visualization-card:hover,
  body[data-page="team"] .team-card:hover,
  body[data-page="team"] .team-card:nth-child(2):hover { transform: none; }
}

/* Performance safeguards for touch and low-refresh devices. */
.team-marquee.is-paused .team-marquee__track { animation-play-state: paused; }

@media (max-width: 640px), (pointer: coarse) {
  .site-nav { backdrop-filter: blur(10px); }
  .hero-lockup__sway { filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .24)); }
  .sensor-slide__media,
  .visualization-card,
  body[data-page="team"] .team-card { box-shadow: 0 14px 34px rgba(3, 8, 25, .25); }
}

@media (update: slow), (prefers-reduced-data: reduce) {
  .site-nav { backdrop-filter: none; }
  .team-marquee__track,
  .sensor-card__icon { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sensor-slide__video { background: #fff; }
}
