/* One palette and one spacing system for the current website. */
@font-face { font-family:Outfit; src:url('../assets/fonts/Outfit-ExtraBold.woff2') format('woff2'); font-weight:800; font-display:swap; }
body[class] main h1,body[class] main h2 { font-weight:800 !important; }
body { --navy:#172b46; --deep:#172b46; --paper:#fff; --pad:clamp(20px,2.5vw,48px); --display:Outfit,sans-serif; color:#172b46; background:#fff; }
body .subpage-main { background:#fff; }
body .scroll-progress { background:rgba(23,43,70,.12); }
body .scroll-progress span { background:#172b46; box-shadow:none; }
body .skip-link { color:#fff; background:#172b46; z-index:220; }
::selection { color:#fff; background:#172b46; }
body .contrast-dark ::selection,body .site-footer ::selection { color:#172b46; background:#fff; }
body mark { color:#fff; background:#172b46; font-weight:400; padding:.04em .16em; border-radius:.08em; white-space:nowrap; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
body .contrast-dark mark { color:#172b46; background:#fff; }
body .nav-side { gap:clamp(16px,1.8vw,28px); }
body .nav-side a { min-height:44px; display:inline-flex; align-items:center; white-space:nowrap; font-size:.75rem; letter-spacing:.1em; }
body .nav-side a::after { bottom:9px; }
body .brand img,body .footer-brand img { width:100%; height:auto; }
body .brand img,body .site-header.header-glass .brand img,body.menu-open .site-header .brand img { filter:none !important; }
body.wind-page.wind-complete:not(.menu-open) .site-header:not(.header-glass) .brand img { filter:brightness(0) invert(1) !important; }
body.wind-page.wind-complete:not(.menu-open) .site-header:not(.header-glass) .nav-side a,body.wind-page.wind-complete:not(.menu-open) .site-header:not(.header-glass) .menu-toggle { text-shadow:0 1px 2px rgba(23,43,70,.5); }
body .site-footer .footer-brand img { filter:brightness(0) invert(1) !important; }
body.wind-page .video-credit-right { background:rgba(23,43,70,.55); }
body .team-roster .soft,body .team-roster .bio,body .role-note,body .project-report p { color:inherit; }
body .footer-grid > div > span,body .footer-legal { opacity:1; }
body .footer-grid a { width:fit-content; min-height:32px; }
body .footer-grid a:hover,body .footer-grid a:focus-visible { text-decoration:underline; text-underline-offset:4px; }
body .site-footer .footer-callout p { max-width:20ch; font-size:clamp(2rem,3vw,3rem); text-transform:none; }
body .site-footer .footer-actions a { font-size:.75rem; letter-spacing:.07em; }
body .footer-grid { gap:32px; padding-block:32px; }
body .site-footer.footer-compact { padding-top:0; }
body .site-footer.footer-compact .footer-grid { border-top:0; }
body .compact-sponsors { padding:36px var(--pad); }
body .compact-sponsor-tier { margin:0; }
body .compact-sponsors-head > a { min-height:44px; display:inline-flex; align-items:center; }
body .compact-sponsor-logos { gap:48px; }
body .compact-sponsor-logos .eth-mark img { width:220px; height:48px; }
body .compact-sponsor-logos .pdz-mark img { width:124px; height:60px; }
body .compact-sponsor-logos .eth-mark { width:220px; height:48px; }
body .compact-sponsor-logos .pdz-mark { width:124px; height:60px; }
body .simple-content { min-height:0; padding:64px var(--pad); }
body.page-drones .simple-content { min-height:35svh; }
body .simple-resource { border:2px solid #172b46; border-radius:12px; transition:transform .16s ease,box-shadow .16s ease; }
body .simple-resource:hover { transform:translateY(-2px); box-shadow:0 4px 16px rgba(23,43,70,.1); }
body .simple-links a,body .sponsor-contact a { min-height:44px; display:inline-flex; align-items:center; }
body .simple-links a:hover,body .sponsor-contact a:hover,body .ethics-right-copy > a:hover { text-decoration:underline; text-underline-offset:4px; }
body .project-description h1 { margin:0 0 24px; font-size:clamp(2rem,3vw,3.3rem); line-height:1.1; font-weight:300; }
body .project-animation-layout { padding:64px var(--pad); }
body .project-description { align-self:start; padding-top:24px; }
body .project-visual iframe { aspect-ratio:13/8; height:auto; min-height:300px; }
.component-key { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px 16px; margin:12px 0 24px; padding:0; list-style:none; font-size:.8125rem; line-height:1.45; }
.component-key b { font-weight:500; margin-right:6px; }
body .fixed-parameter-label { font-size:.75rem; letter-spacing:.04em; }
body .fixed-parameter-label strong { font-size:.7rem; }
.fixed-parameter.previous-change .fixed-parameter-track::before { content:""; position:absolute; left:52%; top:-4px; width:7px; height:7px; border:1px solid #172b46; background:#fff; transform:translateX(-50%) rotate(45deg); }
body .fixed-parameter-marker { background:#172b46; }
.parameter-note { font-size:.8125rem; line-height:1.5; }
body .team-roster { padding:64px var(--pad); }
body .team-roster h2 { font-size:clamp(2rem,3vw,3.3rem); line-height:1.1; }
body .team-roster .sec-head { grid-template-columns:.2fr 1fr .8fr; gap:24px; margin-bottom:32px; }
body .team-roster .people.three .person { max-width:320px; }
body .team-introduction { padding:48px var(--pad) 0; }
body .team-introduction p { margin:0; max-width:42rem; }
body .snapshot-section { color:#172b46; background:#fff; padding:36px var(--pad); }
body .snapshot-section h2 { color:#172b46; margin-bottom:0; }
body .snapshot-empty { min-height:48px; }
body .amz-social-space > h2 { text-align:left; margin:0 0 24px; }
body .amz-social-card { border:1px solid rgba(23,43,70,.25); box-shadow:none; transition:transform .16s ease,box-shadow .16s ease; }
body .amz-social-card:hover { transform:translateY(-2px); box-shadow:0 4px 18px rgba(23,43,70,.1); }
body .amz-social-photo { aspect-ratio:3/2; }
/* Use original alpha masks so institutional marks use the exact brand ink. */
.institution-mark { position:relative; display:block; }
.institution-mark img { opacity:0; filter:none !important; }
.institution-mark::before { content:""; position:absolute; inset:0; background:#000; mask:var(--institution-mask) center / contain no-repeat; -webkit-mask:var(--institution-mask) center / contain no-repeat; }
.institution-mark.eth-mark { --institution-mask:url('../assets/logos/eth-mark.svg'); }
.institution-mark.pdz-mark { --institution-mask:url('../assets/logos/pdz-mark.svg'); }
/* The same cloud accent ties all sponsor tier headings together. */
body .sponsor-introduction { padding:48px var(--pad) 32px; }
body .sponsor-introduction p { max-width:40rem; line-height:1.6; }
body .sponsor-tier { margin:0; }
.sponsor-tier-list { display:grid; grid-template-columns:1fr 1fr; gap:20px; padding:20px var(--pad) 0; }
body .academic-tier { margin-inline:var(--pad); }
body.page-sponsoring .academic-logos .sponsor-logo img { height:80px; }
body.page-sponsoring .academic-logos .sponsor-logo:first-child img { width:min(100%,280px); }
body.page-sponsoring .academic-logos .pdz-mark { width:min(100%,150px); height:80px; }
body.page-sponsoring .academic-logos .sponsor-logo:first-child .institution-mark { width:min(100%,280px); height:80px; }
body.page-sponsoring .academic-logos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
body.page-sponsoring .academic-logos .ipz-partner { display:flex; flex-direction:column; justify-content:center; gap:6px; min-width:0; }
body.page-sponsoring .academic-logos .ipz-partner img { width:min(100%,240px); height:auto; max-height:110px; object-fit:contain; filter:none; }
.ipz-partner small { font-size:9px; line-height:1.3; text-align:center; }
body .compact-sponsor-logos .ipz-partner { display:flex; flex-direction:column; align-items:center; gap:4px; }
body .compact-sponsor-logos .ipz-partner img { width:160px; max-width:100%; height:80px; object-fit:contain; filter:none; }
body.page-sponsoring .premium-logos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:center; gap:28px; padding:36px 28px; }
body.page-sponsoring .premium-logos .sponsor-logo { grid-template-columns:1fr; min-width:0; min-height:72px; }
body.page-sponsoring .premium-logos .sponsor-logo img { display:block; width:100%; height:auto; max-height:64px; object-fit:contain; filter:none; }
@media(max-width:600px) { body.page-sponsoring .premium-logos { grid-template-columns:1fr; gap:24px; padding:28px 32px; } body.page-sponsoring .premium-logos .sponsor-logo img { width:min(100%,260px); max-height:72px; } }
.premium-sponsor:focus-visible { outline:2px solid #172b46; outline-offset:6px; border-radius:4px; }
.tier-heading { position:relative; overflow:hidden; border-bottom:2px solid #172b46; }
body .sponsor-tier .tier-heading h2 { position:relative; z-index:2; margin:0; padding:22px 20px; border:0; font-size:1.125rem; }
.tier-clouds { position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; background:#172b46 url('../assets/media/clouds-tier-poster.jpg') center / cover; isolation:isolate; }
.tier-clouds video { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; filter:grayscale(1); mix-blend-mode:screen; }
.tier-clouds::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 28%,rgba(255,255,255,.88) 48%,rgba(255,255,255,.58) 76%,rgba(255,255,255,.38) 100%); }
.tier-heading h2 { width:fit-content; max-width:100%; }
.sponsor-page-main { isolation:isolate; }
.cloud-play-toggle { position:absolute; z-index:3; right:12px; top:50%; transform:translateY(-50%); min-height:44px; padding:8px 12px; border:1px solid #172b46; border-radius:22px; color:#172b46; background:#fff; font:400 .75rem Outfit,sans-serif; cursor:pointer; }
.cloud-play-toggle[hidden] { display:none; }
body .sponsor-tier-list .tier-heading h2 { min-height:56px; padding:16px 20px; font-size:1rem; max-width:70%; }
.aircraft-display { position:relative; width:100%; min-width:0; aspect-ratio:13/8; min-height:300px; }
.aircraft-preview { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; transition:opacity .18s; }
body .project-visual .aircraft-display iframe { position:absolute; inset:0; width:100%; height:100%; min-height:0; aspect-ratio:auto; opacity:0; transition:opacity .18s; }
body .project-visual .aircraft-display.aircraft-loaded iframe { opacity:1; }
.aircraft-loaded .aircraft-preview { opacity:0; }
@media(max-width:1024px) { .aircraft-display { min-height:220px; } }
.tier-empty { margin:0; padding:24px 20px; font-size:.9375rem; }
body .sponsor-contact { padding:48px var(--pad); }
body .sponsor-contact h2 { margin:0 0 20px; font-size:clamp(2rem,3vw,3.3rem); }
body .sponsor-contact p { color:#172b46; }
body .sponsor-contact mark { color:#fff; }
body .page-sponsoring .sponsor-contact a { color:#172b46; }
@media(min-width:851px) {
  body .project-description { padding-top:48px; }
}
@media(min-width:1025px) {
  body .site-header,body .site-header.is-scrolled { grid-template-columns:1fr 12rem 1fr; min-height:80px; }
  body .subpage-main { padding-top:83px; }
  body .team-cover { height:calc(100svh - 83px); }
}
@media(max-width:1024px) {
  body .site-header,body .site-header.is-scrolled { min-height:calc(64px + env(safe-area-inset-top)); padding-top:env(safe-area-inset-top); }
  body .subpage-main { padding-top:calc(67px + env(safe-area-inset-top)); }
  body .team-roster .sec-head { grid-template-columns:1fr; }
  body .component-key { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px) {
  body .simple-content,body .project-animation-layout { padding:36px 20px; }
  body .project-description { padding-top:0; }
  body.page-drones .simple-content { min-height:0; }
  body .project-visual iframe { min-height:220px; }
  body mark { white-space:normal; }
  .component-key { gap:12px 16px; margin-block:16px 28px; font-size:.875rem; line-height:1.5; }
  .component-key li { display:flex; gap:8px; min-width:0; }
  .component-key b { flex:none; min-width:1em; margin:0; }
  body .fixed-parameter-label { flex-direction:column; align-items:flex-start; gap:4px; min-height:42px; }
  body .fixed-parameter-label > span { max-width:none; }
  body .fixed-parameter-label strong { font-size:.75rem; }
  body .team-roster { padding:32px 20px; }
  body .team-introduction { padding:24px 20px 0; }
  body .team-roster .sec-head { gap:12px; margin-bottom:24px; }
  body .snapshot-section { padding:28px 20px; }
  body .compact-sponsors { padding:28px 20px; }
  body .compact-sponsor-logos { gap:20px; }
  body .compact-sponsor-logos .eth-mark img { width:100%; max-width:144px; height:44px; }
  body .compact-sponsor-logos .pdz-mark img { width:100%; max-width:88px; height:44px; }
  body .compact-sponsor-logos .eth-mark { width:min(100%,144px); height:44px; }
  body .compact-sponsor-logos .pdz-mark { width:min(100%,88px); height:44px; }
  body .footer-grid { gap:24px 16px; padding-block:24px; }
  body .footer-grid a { min-height:44px; }
  body[class] .site-footer { padding-bottom:max(20px,env(safe-area-inset-bottom)); }
  body .sponsor-introduction { padding:32px 20px 24px; }
  .sponsor-tier-list { grid-template-columns:1fr; gap:16px; padding:16px 20px 0; }
  body .sponsor-tier .tier-heading h2 { padding:18px 16px; font-size:1rem; }
  .tier-heading h2 { max-width:100%; }
  body.page-sponsoring .academic-logos .sponsor-logo img { height:56px; }
  body.page-sponsoring .academic-logos .sponsor-logo:first-child img { width:min(100%,160px); }
  body.page-sponsoring .academic-logos .pdz-mark { width:min(100%,90px); height:56px; }
  body.page-sponsoring .academic-logos .sponsor-logo:first-child .institution-mark { width:min(100%,160px); height:56px; }
  body.page-sponsoring .academic-logos { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.page-sponsoring .academic-logos .ipz-partner { grid-column:1/-1; }
  body.page-sponsoring .academic-logos .ipz-partner img { width:200px; height:auto; }
  body .compact-sponsor-logos { flex-wrap:wrap; }
  body .compact-sponsor-logos .ipz-partner { flex-basis:100%; }
  body .sponsor-tier-list .tier-heading h2 { min-height:0; padding:12px 16px; }
  .tier-empty { padding:20px 16px; font-size:.875rem; }
  body .sponsor-contact { padding:32px 20px; }
  body .sponsor-contact a { display:flex; }
}
#wind-text-vector { display:block; width:100%; height:100%; overflow:visible; }
/* Native scrolling keeps the partner row flush with the fixed header. */
body.wind-page.has-partner-rail { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto; }
body.wind-page.has-partner-rail > main { grid-column:1; grid-row:1; min-width:0; }
body.wind-page.has-partner-rail > .site-footer { grid-column:1; grid-row:2; min-width:0; }
.sponsor-rail-slot { grid-column:1; grid-row:1/3; align-self:start; width:100%; position:sticky; top:var(--site-header-height,83px); margin-top:max(100svh,var(--home-hero-min-height,560px)); z-index:101; }
.sponsor-rail-space { width:100%; }
body.wind-page .sponsor-rail .marquee-track { gap:0; padding-left:0; animation-play-state:paused; }
body.wind-page .sponsor-rail.rail-active .marquee-track { animation-play-state:running; }
body.wind-page .sponsor-rail .marquee-track.rail-motion-track { animation:rail-travel var(--rail-duration,24s) linear infinite; animation-play-state:paused; will-change:transform; }
body.wind-page .sponsor-rail.rail-active .marquee-track.rail-motion-track { animation-play-state:running; }
@keyframes rail-travel { to { transform:translate3d(calc(-1 * var(--rail-distance,0px)),0,0); } }
body.drone-home .sponsor-rail { grid-template-columns:auto minmax(0,1fr); }
body.drone-home .sponsor-rail .marquee { min-width:0; }
body.drone-home .sponsor-rail .marquee-logo-ipz { display:flex; flex-direction:column; gap:2px; width:140px; }
body.drone-home .sponsor-rail .marquee-logo-ipz img { max-height:54px; object-fit:contain; filter:none; }
body.drone-home .sponsor-rail .marquee-logo-ipz small { font-size:6px; line-height:1.2; letter-spacing:0; white-space:nowrap; }
@media(hover:hover) {
  body.wind-page .sponsor-rail.rail-active .marquee:hover .marquee-track { animation-play-state:paused; }
}
.rail-partner-set,.rail-partner-unit { display:flex; flex:0 0 auto; align-items:center; }
.rail-partner-unit { gap:clamp(24px,3vw,40px); padding-right:clamp(24px,3vw,40px); }
body.wind-page .sponsor-rail { position:relative; top:auto; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; overscroll-behavior-y:none; }
html.menu-open,html.intro-active { overflow:hidden; }
html.menu-restoring { scroll-behavior:auto !important; }
body.menu-open { position:fixed; top:var(--menu-scroll-top,0px); left:0; right:0; width:100%; }
.video-play-toggle { position:absolute; z-index:3; left:var(--pad); bottom:24px; min-height:44px; padding:10px 18px; border:1px solid #fff; border-radius:24px; color:#fff; background:rgba(23,43,70,.8); font:400 .875rem Outfit,sans-serif; cursor:pointer; }
.video-play-toggle[hidden] { display:none; }
@media(max-width:1024px) {
  /* Clipping on the root avoids creating a second body scroll container. */
  body.drone-home .sponsor-rail { grid-template-columns:148px minmax(0,1fr); }
  body.drone-home .sponsor-rail .rail-label { width:100%; max-width:none; min-width:0; min-height:0; height:100%; padding:0 12px; line-height:1.4; letter-spacing:.06em; white-space:normal; border:0; border-right:1px solid rgba(23,43,70,.15); }
  body.drone-home .sponsor-rail .marquee { min-height:0; height:100%; }
  body.drone-home .sponsor-rail .marquee-logo-ipz img { max-height:38px; }
  html { overflow-x:clip; }
  body { overflow-x:visible; }
  body .mobile-nav { bottom:auto; height:100vh; height:100dvh; overscroll-behavior-y:contain; touch-action:pan-y pinch-zoom; }
  body .home-design-introduction,body .simple-ethics,body .social-space,body .project-animation-layout,body .simple-content,body .team-introduction,body .team-roster,body .snapshot-section,body .sponsor-introduction,body .sponsor-contact,body .compact-sponsors,body[class] .site-footer,.sponsor-tier-list {
    padding-left:max(var(--pad),env(safe-area-inset-left));
    padding-right:max(var(--pad),env(safe-area-inset-right));
  }
  body .academic-tier { margin-left:max(var(--pad),env(safe-area-inset-left)); margin-right:max(var(--pad),env(safe-area-inset-right)); }
  a,button,summary { touch-action:manipulation; }
}
@media(max-width:700px) {
  body .video-play-toggle { left:50%; bottom:max(132px,calc(112px + env(safe-area-inset-bottom))); transform:translateX(-50%); white-space:nowrap; }
}
@media(max-width:700px) {
  body.drone-home .sponsor-rail { grid-template-columns:132px minmax(0,1fr); }
}
@media(max-height:500px) and (max-width:1024px) {
  body .mobile-nav { padding-top:calc(72px + env(safe-area-inset-top)); }
  body.wind-page .sponsor-rail,body.wind-page .sponsor-rail .marquee { height:48px; min-height:48px; }
  body.wind-page .sponsor-rail .rail-label { min-height:48px; padding-inline:12px; font-size:.5rem; }
  body.wind-page .sponsor-rail .marquee-logo img { max-height:26px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  body .simple-resource,body .amz-social-card { transition:none; }
  body .simple-resource:hover,body .amz-social-card:hover { transform:none; }
}

/* Homepage partner bar: every partner and sponsor at once, fixed in the page flow. */
body.wind-page .sponsor-rail.sponsor-rail-static { display:block; position:relative; top:auto; height:auto; min-height:0; padding:20px var(--pad,48px); background:#fff; }
.sponsor-rail-static .rail-logos { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-evenly; gap:20px 40px; }
body.wind-page .sponsor-rail.sponsor-rail-static .marquee-logo { display:flex; align-items:center; justify-content:center; width:auto; flex:0 1 auto; }
body.wind-page .sponsor-rail.sponsor-rail-static .marquee-logo img[alt] { width:auto; max-width:200px; height:44px; max-height:none; object-fit:contain; }
body.wind-page .sponsor-rail.sponsor-rail-static .marquee-logo-pdz img[alt] { height:52px; }
body.wind-page .sponsor-rail.sponsor-rail-static .marquee-logo-ipz { flex-direction:column; gap:2px; }
body.wind-page .sponsor-rail.sponsor-rail-static .marquee-logo-ipz img[alt] { height:56px; filter:none; }
body.wind-page .sponsor-rail.sponsor-rail-static .marquee-logo-ipz small { font-size:7px; line-height:1.2; letter-spacing:0; white-space:nowrap; }
body.wind-page .sponsor-rail.sponsor-rail-static .rail-sponsor img[alt] { height:36px; filter:none; }
body.wind-page .sponsor-rail.sponsor-rail-static .rail-sponsor img[alt="CADFEM"] { height:50px; }
@media(max-width:760px) {
  body.wind-page .sponsor-rail.sponsor-rail-static { padding:16px 20px; }
  .sponsor-rail-static .rail-logos { gap:14px 24px; }
  body.wind-page .sponsor-rail.sponsor-rail-static .marquee-logo img[alt] { max-width:120px; height:28px; }
  body.wind-page .sponsor-rail.sponsor-rail-static .marquee-logo-pdz img[alt] { height:34px; }
  body.wind-page .sponsor-rail.sponsor-rail-static .marquee-logo-ipz img[alt] { height:38px; }
  body.wind-page .sponsor-rail.sponsor-rail-static .marquee-logo-ipz small { font-size:5px; }
  body.wind-page .sponsor-rail.sponsor-rail-static .rail-sponsor img[alt] { height:24px; }
  body.wind-page .sponsor-rail.sponsor-rail-static .rail-sponsor img[alt="CADFEM"] { height:34px; }
}

/* Hidden for now; the pages stay reachable by URL. Remove a selector to show its link again. */
.site-header .nav-side a:is([href^="/education"],[href^="/join"]),
#mobile-nav a:is([href^="/education"],[href^="/join"]) { display:none !important; }
