/* Skyline's midnight and champagne visual system */
:root {
  --skyline-midnight: #080d12;
  --skyline-panel: #0c141c;
  --skyline-panel-raised: #111c25;
  --skyline-ivory: #f2eee5;
  --skyline-silver: #b8c0c3;
  --skyline-champagne: #c9a66d;
  --skyline-line: rgba(201, 166, 109, .28);
}

body { background: var(--skyline-midnight); color: var(--skyline-ivory); }
.nav { background: linear-gradient(180deg, rgba(4, 9, 13, .56), transparent); }
.brand-icon, .nav-cta span, .hero h1 em, h2 em { color: var(--skyline-champagne); }
.nav-cta { border-color: rgba(201, 166, 109, .72); text-transform: uppercase; letter-spacing: 1.2px; }
.nav-cta:hover { background: var(--skyline-champagne); color: var(--skyline-midnight); }
.nav-links { text-transform: uppercase; letter-spacing: 1px; font-size: 9px; }
.nav-links a.active:after { background: var(--skyline-champagne); }

.hero { background: var(--skyline-midnight); }
.hero-image { filter: saturate(.8) contrast(1.08); }
.hero-shade { background: linear-gradient(90deg, rgba(3, 8, 12, .91), rgba(3, 8, 12, .68) 34%, rgba(3, 8, 12, .06) 78%), linear-gradient(0deg, rgba(3, 8, 12, .76), transparent 45%); }
.hero h1 { color: var(--skyline-ivory); font-weight: 500; }
.hero-copy { color: #d2d4d2; }
.eyebrow, .hero-eyebrow { color: var(--skyline-champagne); }
.button-gold { background: var(--skyline-champagne); color: #111820; border: 1px solid var(--skyline-champagne); text-transform: uppercase; letter-spacing: .8px; }
.button-gold:hover { background: #e4c894; border-color: #e4c894; }
.button-outline { border-color: rgba(201, 166, 109, .72); }
.scroll-mouse { border-color: var(--skyline-champagne); }
.hero-bottom { border-color: var(--skyline-line); color: #c5c6c2; }

.intro, .why { background: radial-gradient(ellipse at 72% 15%, rgba(25, 42, 54, .35), transparent 46%), var(--skyline-midnight); color: var(--skyline-ivory); }
.dark-eyebrow { color: var(--skyline-champagne); }
.intro h2, .why h2, .section-head h2 { color: var(--skyline-ivory); }
.intro h2 em, .why h2 em { color: var(--skyline-champagne); }
.body-copy, .benefit p { color: var(--skyline-silver); }
.text-link { border-color: var(--skyline-line); color: var(--skyline-ivory); }
.text-link span { color: var(--skyline-champagne); }
.intro-photo, .why-photo { box-shadow: 0 22px 70px rgba(0, 0, 0, .32); }
.round-stamp { border-color: var(--skyline-champagne); color: var(--skyline-champagne); background: rgba(5, 12, 18, .88); }
.photo-caption { color: var(--skyline-ivory); }
.photo-caption small, .intro-number { color: #a5afb2; }
.caption-rule, .intro-number i { background: var(--skyline-champagne); }

.programs { background: #0b1219; color: var(--skyline-ivory); }
.section-head h2 em { color: var(--skyline-champagne); }
.section-aside { color: #aeb8bd; }
.program-card { border: 1px solid rgba(201, 166, 109, .16); padding: 0 0 16px; transition: border-color .35s, background .35s, transform .35s; }
.program-card:hover { border-color: rgba(201, 166, 109, .62); background: rgba(201, 166, 109, .035); transform: translateY(-4px); }
.program-img { margin: 0; }
.program-meta, .learn-more { color: var(--skyline-champagne); }
.program-card h3 { color: var(--skyline-ivory); font-size: 27px; }
.program-card p { color: #aeb8bd; padding-right: 12px; }
.program-meta, .program-card h3, .program-card p, .learn-more { margin-left: 16px; margin-right: 16px; }
.learn-more { border-color: var(--skyline-line); }
.card-arrow { color: var(--skyline-champagne); }

.scene-overlay { background: linear-gradient(90deg, rgba(3, 9, 14, .82), rgba(3, 9, 14, .22) 80%), linear-gradient(0deg, rgba(3, 9, 14, .82), transparent 58%); }
.scene-content h2 { color: var(--skyline-ivory); }
.scene-content h2 em { color: var(--skyline-champagne); }
.scene-stats { border-color: var(--skyline-line); }
.scene-stats strong { color: var(--skyline-ivory); }
.scene-stats span, .scene-coordinate { color: #c1c9ca; }
.scene-stats i { background: var(--skyline-line); }

.why { background-color: var(--skyline-midnight); }
.benefit { border-color: var(--skyline-line); }
.benefit-num, .benefit-icon { color: var(--skyline-champagne); }
.benefit h3 { color: var(--skyline-ivory); }
.why-tag { background: var(--skyline-champagne); color: #0b1219; }

.quote-section { background: var(--skyline-panel); }
.quote-bg { filter: saturate(.65); }
.quote-mark { color: var(--skyline-champagne); }
.avatar { border-color: var(--skyline-champagne); color: var(--skyline-champagne); }
.quote-controls button { border-color: var(--skyline-line); transition: background .25s, color .25s; }
.quote-controls button:hover { background: var(--skyline-champagne); color: var(--skyline-midnight); }

.apply-bg { filter: saturate(.72); }
.apply h2 { color: var(--skyline-ivory); }
.apply h2 em { color: var(--skyline-champagne); }
.apply-aside span { color: var(--skyline-champagne); }
.footer { background: #050a0f; border-top: 1px solid var(--skyline-line); }
.footer-links, .footer-note, .copyright, .back-top { color: #aeb8bd; }
.footer-links a:hover, .back-top:hover { color: var(--skyline-champagne); }
.flyby { filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .42)); }

@media (max-width: 640px) {
  .nav-links { background: #080d12; }
  .program-card h3 { font-size: 23px; }
}

/* Brand assets, student photography, and a more considered control treatment */
.brand { gap: 0; }
.brand-logo { display: block; width: 164px; height: 48px; object-fit: contain; border: 0; background: transparent; }
.img-management { background-image: url('assets/aviation-management.png'); background-position: center 46%; }

.hero-actions .button, .scene-content .button, .apply-inner .button {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--skyline-ivory);
  font-size: 8px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.hero-actions .button span, .scene-content .button span, .apply-inner .button span {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--skyline-champagne);
  border-radius: 50%;
  color: var(--skyline-champagne);
  font-size: 18px;
  transition: color .3s, background .3s, transform .3s;
}
.hero-actions .button:hover, .scene-content .button:hover, .apply-inner .button:hover { background: transparent; color: #fff; }
.hero-actions .button:hover span, .scene-content .button:hover span, .apply-inner .button:hover span {
  transform: rotate(45deg);
  background: var(--skyline-champagne);
  color: var(--skyline-midnight);
}

.student-life { background: #0b1219; color: var(--skyline-ivory); }
.student-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 46px; }
.student-head .eyebrow { margin-bottom: 19px; }
.student-head h2 { margin: 0; font: clamp(42px, 5vw, 66px)/1.04 var(--serif); letter-spacing: -1.5px; }
.student-head h2 em { color: var(--skyline-champagne); }
.student-head > p { width: min(330px, 34%); margin: 0 0 7px; color: var(--skyline-silver); font-size: 12px; line-height: 1.85; }
.student-grid { display: grid; grid-template-columns: 1.45fr .8fr; gap: 18px; align-items: stretch; }
.student-grid figure { position: relative; overflow: hidden; margin: 0; min-height: 360px; border: 1px solid var(--skyline-line); background: var(--skyline-panel); }
.student-grid figure:after { position: absolute; inset: 28% 0 0; content: ''; background: linear-gradient(0deg, rgba(3, 8, 12, .9), transparent); pointer-events: none; }
.student-grid img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.2,1); }
.student-feature img { object-position: center 46%; }
.student-portrait img { object-position: center 38%; }
.student-grid figure:hover img { transform: scale(1.035); }
.student-grid figcaption { position: absolute; z-index: 1; left: 24px; bottom: 23px; color: var(--skyline-ivory); }
.student-grid figcaption span { color: var(--skyline-champagne); font-size: 8px; letter-spacing: 1.7px; }
.student-grid figcaption h3 { margin: 10px 0 0; font: 27px/1.15 var(--serif); }

.footer { min-height: 220px; padding-top: 48px; padding-bottom: 30px; }
.footer .brand-logo { width: 184px; height: 55px; }
.footer-links { gap: 26px; font-size: 12px; }
.footer-note { font-size: 11px; letter-spacing: 2px; }
.copyright { font-size: 9px; letter-spacing: 1.1px; }
.back-top { font-size: 10px; letter-spacing: 1.5px; }

@media (max-width: 640px) {
  .brand-logo { width: 138px; height: 41px; }
  .student-head { display: block; margin-bottom: 28px; }
  .student-head > p { width: auto; margin-top: 18px; }
  .student-grid { grid-template-columns: 1fr; gap: 14px; }
  .student-grid figure, .student-grid img { min-height: 300px; height: 300px; }
  .student-portrait img { object-position: center 33%; }
  .footer .brand-logo { width: 158px; height: 47px; }
  .footer { min-height: 240px; }
  .footer-links { font-size: 11px; gap: 16px; }
}

/* Small-screen layout refinements */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .nav { padding: 15px 5%; min-height: 68px; align-items: center; }
  .brand-logo { width: 126px; height: 38px; }
  .nav-cta { padding: 10px 12px; margin-right: 12px; font-size: 8px; letter-spacing: .8px; white-space: nowrap; }
  .nav-cta span { margin-left: 6px; }
  .menu-toggle { width: 28px; height: 36px; }
  .nav-links { z-index: 11; padding-top: 90px; padding-bottom: 34px; }
  .nav-links a { padding: 4px 0; }

  .hero { min-height: 690px; height: 94svh; }
  .hero-image { background-position: 60% center; }
  .hero-content { top: 27%; left: 7%; right: 7%; }
  .hero-eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 19px; }
  .hero h1 { font-size: clamp(54px, 14.8vw, 66px); line-height: .98; letter-spacing: -2.8px; margin-bottom: 20px; }
  .hero-copy { max-width: 300px; font-size: 13px; line-height: 1.7; margin-bottom: 24px; }
  .hero-actions { gap: 18px; flex-wrap: wrap; }
  .watch-link { font-size: 9px; }
  .play { width: 32px; height: 32px; }
  .hero-actions .button span, .scene-content .button span, .apply-inner .button span { flex-basis: 48px; width: 48px; height: 48px; }
  .scroll-cue { bottom: 26px; font-size: 8px; }

  .section-pad { padding: 76px 6%; }
  .eyebrow { font-size: 8px; letter-spacing: 1.7px; margin-bottom: 18px; }
  .intro { gap: 34px; padding-bottom: 116px; }
  .intro h2, .section-head h2, .why h2, .student-head h2 { font-size: clamp(40px, 11.6vw, 49px); line-height: 1.05; }
  .body-copy { font-size: 13px; line-height: 1.8; }
  .intro-visual { height: 300px; }
  .intro-photo { inset: 0 0 46px 0; }
  .photo-caption { font-size: 12px; }

  .programs { padding-top: 76px; padding-bottom: 78px; }
  .section-head { margin-bottom: 30px; }
  .section-aside { font-size: 12px; line-height: 1.7; }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .program-card { padding-bottom: 13px; }
  .program-img { height: clamp(132px, 41vw, 174px); }
  .program-meta { margin: 13px 10px 8px; font-size: 7px; letter-spacing: .8px; gap: 4px; }
  .program-meta span:last-child { text-align: right; }
  .program-card h3 { margin: 0 10px 8px; font-size: clamp(18px, 5.6vw, 22px); line-height: 1.1; }
  .program-card p { min-height: 56px; margin: 0 10px 9px; padding: 0; font-size: 10px; line-height: 1.55; }
  .learn-more { margin: 10px 10px 0; padding-top: 10px; font-size: 6.5px; letter-spacing: .8px; }
  .learn-more b { font-size: 13px; }

  .flight-scene { height: 690px; }
  .scene-content { top: 21%; }
  .scene-content h2 { font-size: clamp(51px, 15vw, 62px); }
  .scene-content p:not(.eyebrow) { max-width: 300px; font-size: 13px; line-height: 1.7; }
  .scene-stats { left: 7%; right: 7%; bottom: 66px; gap: 9px; padding-top: 20px; }
  .scene-stats div { min-width: 0; flex: 1; gap: 6px; }
  .scene-stats strong { font-size: clamp(23px, 7vw, 29px); }
  .scene-stats span { max-width: 86px; font-size: 7px; line-height: 1.4; letter-spacing: .7px; }
  .scene-stats i { height: 36px; flex: 0 0 1px; }

  .why { gap: 38px; }
  .why-image { height: 320px; }
  .why-copy .eyebrow { margin-bottom: 14px; }
  .benefit { grid-template-columns: 28px minmax(0, 1fr) 14px; gap: 8px; padding: 16px 0; }
  .benefit h3 { font-size: 16px; line-height: 1.25; }
  .benefit p { font-size: 11px; line-height: 1.6; }

  .student-life { padding-top: 76px; padding-bottom: 76px; }
  .student-head { margin-bottom: 26px; }
  .student-head > p { font-size: 13px; line-height: 1.75; }
  .student-grid { gap: 13px; }
  .student-grid figure, .student-grid img { min-height: 0; height: 285px; }
  .student-grid figcaption { left: 17px; bottom: 17px; }
  .student-grid figcaption h3 { font-size: 24px; }

  .quote-section { height: 430px; }
  .quote-content { padding: 22px 7%; }
  .quote-content .eyebrow { margin-bottom: 4px; }
  .quote-mark { font-size: 76px; }
  .quote-content blockquote { font-size: clamp(25px, 7.4vw, 30px); line-height: 1.25; margin-bottom: 20px; }
  .quote-by b { font-size: 11px; }
  .quote-by small { font-size: 7px; }
  .quote-controls { margin-top: 20px; }

  .apply { min-height: 470px; }
  .apply-inner { margin-left: 7%; padding: 66px 0; }
  .apply-inner .eyebrow { max-width: 235px; line-height: 1.6; }
  .apply h2 { font-size: clamp(58px, 17vw, 70px); }
  .apply-inner > p:not(.eyebrow) { max-width: 260px; font-size: 13px; line-height: 1.65; }
  .apply-aside { font-size: 7px; }

  .footer { min-height: 0; padding: 30px 6% 22px; grid-template-columns: 1fr auto; row-gap: 18px; }
  .footer .brand-logo { width: 162px; height: 48px; }
  .footer-note { display: none; }
  .footer-links { grid-column: 1 / -1; grid-row: 2; justify-self: start; gap: 18px; font-size: 12px; flex-wrap: wrap; }
  .copyright { grid-column: 1; grid-row: 3; align-self: end; max-width: 215px; margin: 0; font-size: 8px; line-height: 1.6; letter-spacing: .8px; }
  .back-top { grid-column: 2; grid-row: 3; align-self: end; margin: 0 0 2px; font-size: 9px; white-space: nowrap; }
  .flyby { width: min(72vw, 360px); top: 23vh; }
}

@media (max-width: 380px) {
  .nav { padding-left: 4%; padding-right: 4%; }
  .brand-logo { width: 112px; height: 34px; }
  .nav-cta { margin-right: 9px; padding: 9px 10px; }
  .menu-toggle { width: 25px; }
  .program-meta { font-size: 6.5px; }
  .learn-more { font-size: 6px; letter-spacing: .5px; }
  .scene-stats span { font-size: 6.5px; }
  .footer .brand-logo { width: 146px; height: 43px; }
  .footer-links { gap: 14px; }
  .copyright { max-width: 185px; }
}

@media (max-width: 640px) {
  .nav-cta { display: none; }
  .menu-toggle { margin-left: auto; }
}

/* Keep the longer proposal navigation balanced at laptop widths. */
@media (min-width: 821px) and (max-width: 1180px) {
  .nav { padding-left: 4.5%; padding-right: 4.5%; }
  .brand-logo { width: 148px; height: 44px; }
  .nav-links { gap: 18px; margin-left: 0; font-size: 8px; letter-spacing: .7px; }
  .nav-cta { padding: 11px 13px; font-size: 8px; }
}

/* At tablet width, keep the full menu accessible without crowding the wordmark. */
@media (min-width: 641px) and (max-width: 820px) {
  .nav { padding: 16px 5%; }
  .brand-logo { width: 144px; height: 43px; }
  .nav-cta { order: 2; margin-left: auto; margin-right: 14px; padding: 11px 14px; font-size: 8px; }
  .menu-toggle { display: flex; order: 3; z-index: 12; margin: 0; width: 30px; height: 34px; padding: 0; appearance: none; -webkit-appearance: none; border: 0; border-radius: 0; outline: 0; background: transparent; box-shadow: none; flex-direction: column; align-items: flex-end; justify-content: center; gap: 7px; }
  .menu-toggle span { display: block; width: 23px; height: 1px; border: 0; border-radius: 0; background: #f2eee5; }
  .menu-toggle span:last-child { width: 16px; }
  .nav-links { position: absolute; z-index: 11; top: 0; left: 0; right: 0; width: 100%; margin: 0; padding: 94px 8% 30px; display: flex; flex-direction: column; gap: 20px; background: #080d12; font-size: 13px; transform: translateY(-120%); transition: transform .4s; }
  .nav-links.open { transform: translateY(0); }
}

.intro-photo { inset: 0 0 50px 0; background: linear-gradient(0deg, rgba(4, 15, 23, .08), rgba(4, 15, 23, .08)), url('assets/student-pilot-training.png') center 55%/cover no-repeat; }
.photo-caption { bottom: 2px; }

/* A restrained digital-glitch accent, isolated to the Cyber Aliens header link. */
.nav-cta { position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(108, 220, 215, .7); border-radius: 3px; background: linear-gradient(110deg, rgba(45, 155, 157, .11), rgba(8, 13, 18, .45)); color: #f3f1eb; box-shadow: inset 0 0 18px rgba(71, 211, 206, .06), 0 0 0 rgba(82, 226, 220, 0); transition: color .22s, border-color .22s, box-shadow .22s; }
.nav-cta::before { position: absolute; z-index: -1; top: -1px; bottom: -1px; left: 0; width: 34%; content: ''; opacity: 0; background: linear-gradient(100deg, transparent, rgba(105, 239, 231, .38), transparent); transform: translateX(-150%); }
.nav-cta::after { position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; content: ''; border-top: 1px solid #a7fff5; border-right: 1px solid #a7fff5; opacity: .72; }
.nav-cta span { color: #8be9e3; }
.nav-cta:hover { color: #fff; border-color: #a7fff5; background: rgba(16, 51, 58, .55); box-shadow: inset 0 0 20px rgba(71, 211, 206, .13), 0 0 16px rgba(71, 211, 206, .12); text-shadow: 1px 0 rgba(255, 107, 121, .65), -1px 0 rgba(103, 241, 230, .7); }
.nav-cta:hover::before { opacity: 1; animation: nav-scan .55s ease-out; }
@keyframes nav-scan { to { transform: translateX(370%); } }
@media (prefers-reduced-motion: reduce) { .nav-cta:hover::before { animation: none; } }

@media (min-width: 1101px) {
  .footer { grid-template-columns: minmax(180px, 1fr) minmax(190px, .8fr) minmax(350px, 1.45fr) auto; column-gap: 18px; }
  .footer-links { gap: clamp(14px, 1.5vw, 24px); flex-wrap: wrap; font-size: 11px; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .footer { grid-template-columns: minmax(0, 1fr) auto; row-gap: 17px; padding-top: 38px; }
  .footer .brand { grid-column: 1; }
  .footer-note { grid-column: 2; justify-self: end; }
  .footer-links { grid-column: 1 / -1; grid-row: 2; justify-self: start; flex-wrap: wrap; gap: 22px; }
  .copyright { grid-column: 1; grid-row: 3; margin-top: 8px; }
  .back-top { grid-column: 2; grid-row: 3; margin-top: 8px; }
}
