/* Typography and proportions studied from entrepreneursatberkeley.com.
   Aero SAE's official identity remains navy #001941, white, and aircraft blue. */
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('/assets/airbnb-cereal-book.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f8fafc;
  --ink: #001941;
  --navy: #001941;
  --gold: #84b7ff;
  --muted: #536174;
  --line: #0019411c;
  --body: 'Airbnb Cereal', Arial, sans-serif;
  --display: var(--body);
  --mono: var(--body);
  --gutter: max(32px, calc((100vw - 1200px) / 2));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--body);
  letter-spacing: -0.01em;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
  background: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
#lab-canvas:focus-visible {
  outline: 2px solid #478fe9;
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
p,
h1,
h2,
h3 {
  margin: 0 0 20px;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
em {
  font-style: normal;
}
.mono {
  font: 400 13px/1.5 var(--body);
  letter-spacing: 0;
}
.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--muted);
}
.large-copy {
  font-size: 21px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  z-index: 100;
  background: white;
}
.skip-link:focus {
  top: 10px;
}
.header {
  height: 88px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(248, 250, 252, 0.94);
  background-image:
    radial-gradient(circle at 12% 20%, rgba(0, 25, 65, 0.045) 0 0.8px, transparent 1px),
    radial-gradient(circle at 74% 76%, rgba(0, 25, 65, 0.035) 0 0.7px, transparent 0.9px),
    linear-gradient(105deg, rgba(255, 255, 255, 0.55), rgba(224, 232, 243, 0.3));
  background-size: 7px 7px, 11px 11px, 100% 100%;
  box-shadow: 0 1px 0 rgba(0, 25, 65, 0.08), 0 12px 30px rgba(0, 25, 65, 0.05);
  backdrop-filter: blur(16px) saturate(1.15);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand img {
  width: 66px;
  height: 66px;
  border-radius: 10px;
}
.brand-name {
  font-size: 16px;
  line-height: 1.35;
}
.brand-name > span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.header nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
}
.header nav a:hover {
  color: #366eb8;
}
.header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav-join,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  padding: 11px 24px;
  line-height: 1.5;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}
.nav-join,
.dark {
  color: #fff;
  background: linear-gradient(#304668, #001941);
  border-color: #001941;
  box-shadow:
    inset 0 1px 0 #ffffff3b,
    0 5px 14px #00194116;
}
.nav-join:hover,
.dark:hover {
  background: #234874;
  box-shadow: 0 5px 18px #00194124;
}
.button:hover {
  transform: translateY(-2px);
}
.button span {
  font-size: 18px;
}
.secondary {
  border-color: var(--line);
  background: #ffffff9c;
  box-shadow: inset 0 1px 0 #fff;
}
.secondary:hover {
  background: white;
}
.menu-toggle {
  display: none;
}
.hero {
  min-height: min(760px, calc(100svh - 88px));
  height: clamp(590px, calc(100svh - 88px), 760px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: #001941;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 15, 42, 0.96) 0%, rgba(0, 21, 56, 0.82) 34%, transparent 68%),
    linear-gradient(0deg, rgba(0, 13, 35, 0.72), transparent 48%);
  z-index: 2;
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  top: 48%;
  left: var(--gutter);
  width: min(47%, 620px);
  z-index: 4;
  transform: translateY(-50%);
  pointer-events: none;
  animation: hero-copy-enter 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-copy .eyebrow {
  color: #c2d7f2;
}
.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(54px, 6.6vw, 94px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero h1 span {
  color: #b7d6ff;
}
.hero-copy p {
  color: #d0dcec;
  font-size: clamp(17px, 1.4vw, 20px);
  margin: 0;
  max-width: 440px;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.94) contrast(1.04) brightness(0.88);
  animation: hero-arrival 6.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-art:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 20, 54, 0.15), transparent 38%, rgba(71, 143, 233, 0.08)),
    radial-gradient(ellipse at 75% 59%, transparent 0 22%, rgba(0, 12, 32, 0.16) 70%);
}
.runway-speed-lines {
  position: absolute;
  inset: 60% -10% 0 26%;
  z-index: 2;
  opacity: 0.55;
  transform: perspective(500px) rotateX(64deg);
  transform-origin: bottom;
  overflow: hidden;
  mix-blend-mode: screen;
}
.runway-speed-lines span {
  position: absolute;
  left: 35%;
  width: 2px;
  height: 42%;
  background: linear-gradient(transparent, rgba(183, 214, 255, 0.8), transparent);
  filter: blur(0.4px);
  animation: runway-streak 1.8s linear infinite;
}
.runway-speed-lines span:nth-child(2) {
  left: 52%;
  animation-delay: -0.45s;
}
.runway-speed-lines span:nth-child(3) {
  left: 68%;
  animation-delay: -0.9s;
}
.runway-speed-lines span:nth-child(4) {
  left: 83%;
  animation-delay: -1.35s;
}
.aircraft-canvas,
#lab-canvas {
  position: absolute;
  inset: 0;
}
.aircraft-canvas {
  z-index: 2;
}
.aircraft-canvas canvas,
#lab-canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: var(--gutter);
  right: var(--gutter);
  min-height: 67px;
  border-top: 1px solid #ffffff26;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  color: #d0dcec;
  z-index: 5;
}
.hero-bottom > a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.scroll-icon {
  font-size: 18px;
}
.replay-flight,
.motion-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 10px 0;
  min-height: 44px;
}
.replay-flight {
  border: 1px solid #ffffff42;
  border-radius: 12px;
  padding: 7px 14px;
}
.replay-flight:hover {
  background: #ffffff12;
}
.replay-flight:disabled {
  opacity: 0.4;
  cursor: default;
}
.club-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding: 46px var(--gutter) 50px;
  border-bottom: 1px solid var(--line);
}
.club-intro > div:first-child {
  max-width: 625px;
}
.club-intro .eyebrow {
  margin-bottom: 12px;
}
.club-intro p {
  font-size: 20px;
  line-height: 1.65;
  color: #3d4e63;
  margin-bottom: 0;
}
.intro-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.section {
  padding: 80px var(--gutter);
}
.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.section-kicker > span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 10%;
  margin-bottom: 40px;
}
.mission-copy > p:not(.large-copy),
.team-details > p:not(.large-copy) {
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 14px;
}
.text-link:hover {
  border-color: currentColor;
}
.text-link span {
  font-size: 18px;
}
.mission-photo {
  margin: 0;
}
.mission-photo img {
  width: 100%;
  height: clamp(280px, 37vw, 460px);
  object-position: center 48%;
  border-radius: 18px;
}
.mission-photo figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}
.mission-foot {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
  margin-top: 44px;
}
.mission-foot h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.mission-foot p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 10px;
}
.club-banner {
  margin: 0;
}
.club-banner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.aircraft-section {
  padding: 58px var(--gutter) 76px;
  background: #071d42;
  color: white;
  position: relative;
  overflow: clip;
  min-height: 0;
}
.aircraft-section .section-kicker {
  color: #a8bdd7;
}
.aircraft-stage {
  position: static;
}
.aircraft-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 0 24px;
}
.aircraft-heading h2 {
  margin: 0;
}
.aircraft-heading > p {
  color: #b7c8de;
  font-size: 15px;
  margin: 0;
}
.aircraft-lab {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 5%;
  min-height: 470px;
}
.lab-view {
  position: relative;
  min-height: 470px;
  border: 1px solid #ffffff18;
  border-radius: 18px;
  touch-action: pan-y;
  background: radial-gradient(ellipse at center, #1b3c6838, transparent 70%);
}
.lab-fallback {
  position: absolute;
  top: 15%;
  width: 100%;
  height: 65%;
  object-fit: contain;
}
.lab-mark {
  position: absolute;
  top: 20px;
  left: 22px;
  color: #a8bdd7;
  font-size: 12px;
  pointer-events: none;
}
.lab-hint {
  position: absolute;
  bottom: 72px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: #b7c8de;
  pointer-events: none;
}
.view-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.view-controls button {
  border: 1px solid #ffffff35;
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 13px;
  background: #071d42b3;
}
.view-controls button.active {
  background: #b7d6ff;
  color: #001941;
  border-color: #b7d6ff;
}
.system-panel {
  padding-top: 10px;
}
.system-panel > .mono {
  display: flex;
  justify-content: space-between;
  color: #b7c8de;
  padding-bottom: 20px;
}
.system {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #ffffff24;
  padding: 15px 0;
  width: 100%;
  text-align: left;
  font-size: 21px;
}
.system .mono {
  color: #a8bdd7;
  font-size: 12px;
}
.system.active {
  color: #b7d6ff;
}
.system-symbol {
  margin-left: auto;
  font-size: 18px;
}
.system-description {
  padding: 0 0 18px 32px;
}
.system-description p {
  color: #c4d0e0;
  font-size: 15px;
  margin-bottom: 12px;
}
.system-description .mono {
  font-size: 12px;
  color: #a8c9f3;
}
.concept-note {
  color: #a8bdd7;
  font-size: 12px;
  margin: 22px 0 0;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: start;
}
.team-title p {
  color: var(--muted);
  max-width: 470px;
}
.team-details {
  padding-top: 32px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.work-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  background: linear-gradient(145deg, #fff, #f0f4fa);
  box-shadow: 0 4px 14px #00194105;
}
.work-index {
  display: inline-flex;
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 24px;
  color: #53719c;
}
.work-grid h3 {
  margin-bottom: 12px;
}
.work-grid p {
  color: var(--muted);
  font-size: 15px;
}
.work-tools {
  font-size: 12px;
  color: #45658c;
}
.gallery-section {
  padding: 64px 0;
  background: #eaf0f8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery-section .section {
  padding: 0 var(--gutter);
}
.gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  margin-bottom: 28px;
}
.gallery-heading h2 {
  margin: 0;
}
.gallery-controls {
  display: flex;
  gap: 8px;
}
.gallery-controls button,
.dialog-bottom button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 20px;
}
.gallery-controls button:hover {
  background: var(--navy);
  color: white;
}
.gallery-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}
.gallery-track {
  display: flex;
  gap: 24px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-card {
  flex: 0 0 37%;
  min-width: 0;
  padding: 0;
  scroll-snap-align: center;
  text-align: left;
}
.gallery-card img {
  width: 100%;
  height: clamp(230px, 24vw, 340px);
  border-radius: 16px;
  transition: filter 0.2s;
}
.gallery-card:hover img {
  filter: brightness(1.05);
}
.gallery-card > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}
.gallery-card .mono {
  font-size: 13px;
}
.gallery-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.gallery-footer > span {
  color: var(--muted);
}
.sponsor-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding: 26px 0 36px;
}
.sponsor-heading h2 {
  max-width: 410px;
}
.sponsor-heading p {
  color: var(--muted);
  max-width: 500px;
}
.sponsor-logos {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding: 32px 0;
  align-items: center;
}
.sponsor-logos a {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 86px;
  padding: 14px;
  border-radius: 12px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.sponsor-logos a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.78);
}
.sponsor-logos img {
  width: 100%;
  height: 54px;
  object-fit: contain;
}
.sponsor-logos .solidworks img {
  height: 38px;
}
.sponsor-logos .boeing img {
  height: 44px;
}
.sponsor-logos .berkeley img {
  height: 42px;
}
.sponsor-logos .asuc img {
  height: 64px;
}
.sponsor-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 0;
}
.join-section {
  background: var(--navy);
  color: #fff;
  padding: 50px var(--gutter) 0;
}
.join-section .section-kicker {
  color: #b6c8e1;
}
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  padding: 32px 0 60px;
}
.join-grid h2 {
  font-size: clamp(36px, 4vw, 52px);
}
.join-content > p:not(.large-copy) {
  color: #c4d0e0;
}
.gold {
  background: white;
  color: var(--navy);
  border-color: white;
}
.gold:hover {
  background: #deecff;
}
.join-content .button {
  margin: 4px 0 16px;
}
.email-link {
  display: block;
  font-size: 15px;
  margin-bottom: 20px;
}
.join-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: #c4d0e0;
  margin-bottom: 28px;
}
details {
  border-top: 1px solid #ffffff26;
  font-size: 14px;
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  font-size: 18px;
  color: #a9ceff;
}
details p {
  font-size: 14px;
  color: #c4d0e0;
}
details[open] summary span {
  transform: rotate(45deg);
}
footer {
  border-top: 1px solid #ffffff26;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
}
.footer-logo {
  width: 80px;
  height: 80px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 24px;
}
.footer-brand span {
  color: #a9ceff;
  font-size: 22px;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #ffffff26;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  gap: 28px;
  color: #b6c8e1;
  align-items: start;
}
.footer-bottom p,
.footer-bottom .mono {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
.back-top {
  text-align: right;
}
dialog {
  max-width: min(1100px, 95vw);
  width: 1100px;
  max-height: 95svh;
  border: 1px solid #ffffff26;
  border-radius: 18px;
  background: var(--navy);
  color: white;
  padding: 24px;
}
dialog::backdrop {
  background: #00102ae8;
  backdrop-filter: blur(8px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.dialog-top button {
  width: 36px;
  height: 36px;
  font-size: 20px;
}
#photo-image {
  width: 100%;
  height: min(68svh, 690px);
  object-fit: contain;
}
.dialog-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
}
.dialog-bottom button {
  border-color: #ffffff40;
  flex-shrink: 0;
}
.dialog-bottom p {
  font-size: 14px;
  text-align: center;
  margin: 0;
}
.archive-page .header > .text-link {
  margin-left: auto;
}
.archive-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10%;
  padding: 32px 0 48px;
}
.archive-intro p:not(.large-copy) {
  color: var(--muted);
}
.archive-roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.person {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  overflow: hidden;
}
.person > img {
  width: 100%;
  height: 300px;
  object-position: 50% 30%;
}
.person-content {
  padding: 22px;
}
.person-content > .mono {
  color: var(--muted);
  font-size: 12px;
}
.person h2 {
  font-size: 25px;
  line-height: 1.15;
  margin: 10px 0;
}
.person-role {
  font-size: 15px;
  margin: 0 0 6px;
}
.person-degree {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.person details {
  border-color: var(--line);
}
.person summary {
  padding: 12px 0;
  font-size: 13px;
}
.person summary span {
  color: #3b6aa4;
}
.person details p,
.archive-note {
  font-size: 14px;
  color: var(--muted);
}
.archive-note {
  margin-bottom: 0;
}
.alumni {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-top: 65px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.alumni > .mono {
  grid-column: 1/-1;
  color: var(--muted);
}
.alumni-list p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
  font-size: 18px;
}
.alumni-list span {
  font-size: 13px;
  color: var(--muted);
  align-self: center;
}
.archive-source {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 28px;
}
.archive-source p {
  max-width: 650px;
  font-size: 13px;
  color: var(--muted);
}
.archive-source p a {
  text-decoration: underline;
}
.archive-source .button {
  flex-shrink: 0;
}
.archive-footer {
  padding: 26px var(--gutter);
  background: var(--navy);
  color: white;
  font-size: 13px;
}
.motion-paused * {
  animation-play-state: paused !important;
}
.reveal {
  transform: translateY(14px);
  transition:
    opacity 0.55s,
    transform 0.55s;
}
.reveal.visible {
  transform: none;
}

@keyframes hero-arrival {
  0% {
    transform: translate3d(0, -2.5%, 0);
    filter: saturate(0.72) contrast(1.08) brightness(0.62) blur(2px);
  }
  56% {
    filter: saturate(0.96) contrast(1.04) brightness(0.88) blur(0);
  }
  100% {
    transform: translate3d(0, 0, 0);
    filter: saturate(0.94) contrast(1.04) brightness(0.88) blur(0);
  }
}
@keyframes hero-copy-enter {
  from {
    opacity: 1;
    transform: translateY(calc(-50% + 28px));
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}
@keyframes runway-streak {
  0% {
    transform: translateY(-170%) scaleY(0.35);
    opacity: 0;
  }
  35% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(320%) scaleY(1.8);
    opacity: 0;
  }
}
[hidden] {
  display: none !important;
}
@media (max-width: 1050px) {
  .header {
    gap: 20px;
  }
  .header nav {
    gap: 17px;
  }
  .brand-name {
    display: none;
  }
  .club-intro {
    gap: 35px;
  }
  .intro-actions {
    flex-direction: column;
  }
  .mission-foot {
    gap: 35px;
  }
  .work-grid article {
    padding: 23px;
  }
  .sponsor-logos {
    gap: 20px;
  }
  .solidworks {
    font-size: 14px;
  }
  .northrop {
    font-size: 14px;
  }
}
@media (max-height: 760px) and (min-width: 761px) {
  .aircraft-stage {
    top: 14px;
  }
  .aircraft-heading {
    padding: 18px 0;
  }
  .aircraft-heading h2 {
    font-size: 32px;
  }
  .aircraft-lab,
  .lab-view {
    min-height: 370px;
  }
  .system {
    padding: 11px 0;
  }
  .system-description {
    padding-bottom: 12px;
  }
  .system-description p {
    font-size: 14px;
  }
  .concept-note {
    margin-top: 12px;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 22px;
  }
  .header {
    height: 78px;
    gap: 14px;
  }
  .brand img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
  }
  .brand-name {
    display: block;
    font-size: 14px;
  }
  .brand-name > span {
    font-size: 11px;
  }
  .nav-join {
    margin-left: auto;
    padding: 9px 17px;
    font-size: 14px;
  }
  .nav-join span {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 7px;
    width: 36px;
    height: 40px;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .header nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 24px var(--gutter);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 30px #00194112;
  }
  .header nav.open {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 17px;
  }
  .hero {
    min-height: 0;
    height: 590px;
  }
  .hero-copy {
    bottom: 87px;
    top: auto;
    width: calc(100% - 44px);
    transform: none;
    animation: hero-copy-mobile-enter 0.75s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-copy .eyebrow {
    display: none;
  }
  .hero h1 {
    font-size: clamp(42px, 12vw, 52px);
    line-height: 0.98;
    margin-bottom: 14px;
  }
  .hero-copy p {
    font-size: 16px;
  }
  .hero-art {
    inset: 0;
  }
  .hero-photo {
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    height: 58%;
    object-fit: contain;
    object-position: center top;
    filter: saturate(0.9) contrast(1.05) brightness(0.73);
  }
  .hero:before {
    background:
      linear-gradient(0deg, rgba(0, 16, 43, 0.97) 0%, rgba(0, 17, 46, 0.7) 41%, transparent 76%),
      linear-gradient(90deg, rgba(0, 19, 52, 0.24), transparent 72%);
  }
  .runway-speed-lines {
    inset: 58% -22% 0 10%;
  }
  .hero-bottom {
    gap: 14px;
    min-height: 64px;
    font-size: 12px;
  }
  .hero-bottom > a {
    gap: 6px;
  }
  .replay-flight,
  .motion-toggle {
    font-size: 12px;
    gap: 6px;
  }
  .replay-flight {
    padding: 6px 9px;
  }
  .replay-flight > span {
    display: none;
  }
  .club-intro {
    display: block;
    padding-top: 30px;
    padding-bottom: 34px;
  }
  .club-intro p {
    font-size: 18px;
  }
  .intro-actions {
    flex-direction: row;
    margin-top: 25px;
    gap: 10px;
  }
  .intro-actions .button {
    font-size: 14px;
    padding: 11px 17px;
    gap: 12px;
  }
  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .mission-grid,
  .team-grid,
  .sponsor-heading,
  .join-grid,
  .archive-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .mission-grid {
    margin-bottom: 28px;
  }
  .mission-photo img {
    height: 280px;
    border-radius: 14px;
  }
  .mission-photo figcaption {
    font-size: 12px;
  }
  .mission-foot {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 32px;
  }
  .club-banner img {
    border-radius: 8px;
  }
  .large-copy {
    font-size: 20px;
  }
  .aircraft-section {
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 44px;
  }
  .aircraft-stage {
    position: static;
  }
  .aircraft-heading {
    display: block;
    padding: 26px 0;
  }
  .aircraft-heading h2 {
    margin-bottom: 18px;
  }
  .aircraft-heading p {
    font-size: 14px;
  }
  .aircraft-lab {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
  }
  .lab-view {
    min-height: 340px;
  }
  .system-description {
    padding-left: 30px;
  }
  .team-details {
    padding-top: 0;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }
  .work-grid article {
    position: relative;
    padding: 25px;
  }
  .work-index {
    position: absolute;
    top: 25px;
    right: 25px;
    margin: 0;
  }
  .work-grid h3 {
    margin-bottom: 16px;
  }
  .work-grid p {
    margin-bottom: 16px;
  }
  .gallery-section {
    padding: 45px 0;
  }
  .gallery-card {
    flex-basis: 84%;
  }
  .gallery-card img {
    height: 260px;
  }
  .gallery-heading h2 {
    font-size: 29px;
  }
  .gallery-footer {
    display: block;
    margin-top: 24px;
  }
  .gallery-footer > span {
    display: block;
    font-size: 12px;
    margin-bottom: 12px;
  }
  .sponsor-heading {
    padding-bottom: 26px;
  }
  .sponsor-heading h2 {
    margin: 0;
  }
  .sponsor-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 28px 0;
  }
  .sponsor-logos a {
    min-height: 76px;
    padding: 10px;
  }
  .sponsor-logos img {
    height: 48px;
  }
  .sponsor-logos .solidworks img {
    height: 32px;
  }
  .sponsor-logos .boeing img {
    height: 38px;
  }
  .sponsor-logos .berkeley img {
    height: 36px;
  }
  .sponsor-logos .asuc img {
    height: 58px;
  }
  .sponsor-note {
    text-align: left;
    line-height: 1.6;
  }
  .join-section {
    padding-top: 36px;
  }
  .join-grid {
    padding: 28px 0 42px;
  }
  .join-grid h2 {
    font-size: 36px;
    margin: 0;
  }
  .footer-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-bottom p {
    grid-column: 1/-1;
    grid-row: 2;
    max-width: 420px;
  }
  .footer-bottom .back-top {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-bottom > a:not(.back-top) {
    grid-row: 3;
  }
  .archive-intro {
    padding: 28px 0 36px;
  }
  .archive-roster {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .person > img {
    height: 240px;
  }
  .person-content {
    padding: 18px;
  }
  .person h2 {
    font-size: 23px;
  }
  .alumni {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 45px;
  }
  .alumni-list p {
    font-size: 17px;
  }
  .archive-source {
    flex-direction: column;
    gap: 20px;
  }
  .archive-page .header > .text-link {
    font-size: 12px;
    gap: 8px;
  }
  dialog {
    padding: 16px;
  }
  .dialog-top {
    font-size: 12px;
  }
  #photo-image {
    height: 60svh;
  }
  .dialog-bottom {
    gap: 12px;
  }
  .dialog-bottom p {
    font-size: 12px;
  }
}

@keyframes hero-copy-mobile-enter {
  from {
    opacity: 1;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 390px) {
  :root {
    --gutter: 18px;
  }
  .brand {
    gap: 8px;
  }
  .brand-name {
    font-size: 13px;
  }
  .header {
    gap: 8px;
  }
  .hero-copy {
    width: calc(100% - 36px);
  }
  .hero-bottom {
    gap: 8px;
  }
  .hero-bottom > a {
    font-size: 11px;
  }
  .motion-toggle {
    font-size: 11px;
  }
  .intro-actions {
    flex-wrap: wrap;
  }
  .archive-roster {
    grid-template-columns: 1fr;
  }
  .person > img {
    height: 340px;
  }
  .gallery-controls button {
    width: 36px;
    height: 36px;
  }
  .section-kicker {
    font-size: 11px;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Centered identity with navigation on either side, as requested. */
@media (min-width: 961px) {
  .header > .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header .brand-name {
    display: block;
  }
  .header nav {
    flex: 1;
    margin: 0;
  }
  .header nav a:nth-child(4) {
    margin-left: auto;
  }
  .header {
    gap: 25px;
  }
}
.gallery-controls button,
.dialog-bottom button {
  width: auto;
  min-width: 58px;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 13px;
}
.footer-brand {
  font-size: 24px;
}
@media (max-width: 960px) {
  .header > .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header {
    height: 78px;
  }
  .header .brand-name {
    display: block;
    font-size: 14px;
  }
  .header .brand-name > span {
    font-size: 11px;
  }
  .header .brand img {
    width: 56px;
    height: 56px;
  }
  .nav-join {
    margin-left: auto;
    padding: 9px 17px;
    font-size: 14px;
  }
  .menu-toggle {
    position: absolute;
    left: var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 7px;
    width: 36px;
    height: 40px;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .header nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 24px var(--gutter);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 30px #00194112;
  }
  .header nav.open {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 17px;
  }
  .hero {
    min-height: 0;
    height: 590px;
  }
  .hero-copy {
    top: auto;
    bottom: 87px;
    width: calc(100% - (2 * var(--gutter)));
    transform: none;
    animation: hero-copy-mobile-enter 0.75s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-copy .eyebrow {
    display: none;
  }
  .hero h1 {
    font-size: clamp(42px, 7vw, 58px);
    line-height: 0.98;
    margin-bottom: 14px;
  }
  .hero-photo {
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    height: 58%;
    object-fit: contain;
    object-position: center top;
    filter: saturate(0.9) contrast(1.05) brightness(0.73);
  }
  .hero:before {
    background:
      linear-gradient(0deg, rgba(0, 16, 43, 0.97) 0%, rgba(0, 17, 46, 0.7) 41%, transparent 76%),
      linear-gradient(90deg, rgba(0, 19, 52, 0.24), transparent 72%);
  }
  .runway-speed-lines {
    inset: 58% -22% 0 10%;
  }
}
@media (max-width: 480px) {
  .header .brand-name {
    display: none;
  }
  .gallery-heading {
    gap: 16px;
  }
  .gallery-controls {
    gap: 5px;
  }
  .gallery-controls button {
    padding: 8px 10px;
    min-width: 0;
  }
}
