/* ==========================================================================
   Yellow Jacket Aviation — site styles
   Palette and type lifted from the original Wix Studio site.
   ========================================================================== */

:root {
  --ink:    #171200;  /* near-black brown, body text          */
  --cream:  #fffeed;  /* page background                      */
  --gold:   #b3a369;  /* Georgia Tech gold, primary accent    */
  --sand:   #d6cead;  /* alternating band background          */
  --olive:  #847539;  /* footer                               */
  --olive-text: #5c5124; /* darkened olive, legible on cream    */
  --navy:   #00203a;  /* solid buttons + inner header         */
  --sky:    #bacaf7;  /* tint behind the GT Giving screenshot */
  --white:  #ffffff;

  --maxw: 1200px;
  --gutter: 24px;
  --header-h: 88px;
  --radius: 10px;

  --shadow-sm: 0 1px 3px rgba(23,18,0,.10), 0 6px 18px rgba(23,18,0,.06);
  --shadow-md: 0 4px 12px rgba(23,18,0,.12), 0 18px 40px rgba(23,18,0,.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------- header -- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--navy);
  transition: background-color .3s ease, box-shadow .3s ease;
}

/* the home page floats the header over the hero photo */
/* a soft scrim keeps the nav legible over the hero photo, and survives JS being off */
.site-header--transparent {
  background: linear-gradient(to bottom, rgba(23,18,0,.78) 0%, rgba(23,18,0,.35) 60%, rgba(23,18,0,0) 100%);
}
.site-header--transparent.is-scrolled { background: var(--navy); box-shadow: var(--shadow-sm); }

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }

.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; padding: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; margin-inline: auto;
  background: var(--cream); border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn--gold  { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #c2b27c; border-color: #c2b27c; }

.btn--ghost { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--ink); }

/* outline variant for light backgrounds, where gold-on-cream is too faint */
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--navy  { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--navy:hover { background: #0a3358; border-color: #0a3358; }

.btn--sm { padding: 10px 20px; font-size: 14px; }

/* --------------------------------------------------------------- layout -- */

main { padding-top: var(--header-h); }
body.has-hero main { padding-top: 0; }

.section { padding-block: 96px; }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--white { background: var(--white); }

.eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive-text);
  margin: 0 0 14px;
}

.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 600; margin: 0 0 28px; }
.section-title--sm { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 22px; }
.lede { font-size: clamp(24px, 2.4vw, 30px); font-weight: 400; line-height: 1.3; margin: 0 0 18px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--narrow-media { grid-template-columns: 1.1fr .9fr; }
.split__media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.stack > * + * { margin-top: 18px; }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-center { max-width: 62ch; margin-inline: auto; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.btn-row--center { justify-content: center; }

/* ------------------------------------------------------------------ hero -- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: 120px 90px;
  color: var(--cream);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(23,18,0,.55) 0%, rgba(23,18,0,.42) 35%, rgba(23,18,0,.86) 100%),
    linear-gradient(to right, rgba(23,18,0,.72) 0%, rgba(23,18,0,.38) 50%, rgba(23,18,0,0) 100%);
}

.hero .container { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 600;
  max-width: 16ch;
  margin: 0 0 20px;
  text-shadow: 0 2px 24px rgba(23,18,0,.55);
}
.hero h1 .accent { color: var(--gold); }

.hero p.hero__sub {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 300;
  max-width: 40ch;
  margin: 0;
  text-shadow: 0 2px 18px rgba(23,18,0,.6);
}

.hero .btn-row { margin-top: 36px; }
.hero .btn--gold { color: var(--ink); }

/* ----------------------------------------------------------- people grid -- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.person__photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--sand);
}

.person h3 { font-size: 20px; font-weight: 600; margin: 18px 0 2px; }
.person p  { font-size: 16px; font-weight: 400; color: var(--olive-text); margin: 0; }

.advisor__photo {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------- sponsors -- */

.tier { margin-top: 72px; }
.tier:first-of-type { margin-top: 0; }

.tier__label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.tier__label--platinum { background: #e6e6e6; color: #40403a; }
.tier__label--gold     { background: var(--gold); color: var(--ink); }
.tier__label--silver   { background: var(--sand); color: var(--ink); }

.sponsor {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px;
  background: var(--white);
  border: 1px solid rgba(23,18,0,.08);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.sponsor__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.sponsor__logo img { max-height: 130px; width: auto; object-fit: contain; }
.sponsor h3 { font-size: 24px; margin: 0 0 12px; }
.sponsor p  { font-size: 17px; margin: 0; }

/* ------------------------------------------------------------ steps list -- */

.steps { list-style: none; margin: 0 0 8px; padding: 0; counter-reset: step; }
.steps li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
  font-size: 18px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.screenshot-frame {
  background: var(--sky);
  border-radius: 16px;
  padding: 28px;
}
.screenshot-frame img { border-radius: 8px; box-shadow: var(--shadow-md); }

/* ---------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--olive);
  color: var(--white);
  padding-block: 56px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand span { font-size: 22px; font-weight: 500; }

.footer-links { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; font-size: 16px; }
.footer-links a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; transition: border-color .2s ease; }
.footer-links a:hover { border-bottom-color: var(--white); }

.footer-note {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 22px;
  font-size: 14px;
  opacity: .85;
}

/* ------------------------------------------------------------- animation -- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 960px) {
  .split, .split--narrow-media { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: -1; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .sponsor__logo { min-height: 0; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 8px 24px 28px;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,254,237,.12); }
  .nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav .btn { margin-top: 18px; }

  .section { padding-block: 64px; }
  .hero { min-height: 88svh; padding-block: 100px 64px; }
  .people-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .container { grid-template-columns: 1fr; }
}
