/* Conington site.css v14 */

:root{
  --bg:#0b0c0f;
  --panel:#101217;
  --text:#ffffff;
  --muted:rgba(255,255,255,0.75);
  --lime:#7ddc4c;
  --shadow: 0 10px 35px rgba(0,0,0,0.35);

  --light-bg:#ffffff;
  --light-panel:#ffffff;
  --light-text:#101217;
  --light-muted:rgba(16,18,23,0.72);
  --light-border:rgba(16,18,23,0.10);
  --light-shadow: 0 12px 30px rgba(16,18,23,0.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body.theme-dark{
  background: var(--bg);
  color: var(--text);
}

body.theme-light{
  background: var(--light-bg);
  color: var(--light-text);
}

/* ===============================
   HEADER
================================= */

.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  padding: 18px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0));
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:1200px;
  margin:0 auto;
}

.brand{
  text-decoration:none;
  font-weight:900;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:12px;
  opacity:0.92;
  color:#fff;
}

/* Desktop nav */
.desktop-nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.desktop-nav a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:12px;
  opacity:0.88;
}

.desktop-nav a:hover{opacity:1}

/* Burger */
.menu-toggle{
  display:none;
  width:46px;
  height:46px;
  align-items:center;
  justify-content:center;
  font-size:28px;
  line-height:1;
  color:#fff;
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  cursor:pointer;
}

/* Mobile menu dropdown */
.mobile-menu{
  max-width:1200px;
  margin:10px auto 0 auto;
  background:rgba(10,10,12,0.95);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  overflow:hidden;
  display:none;
  box-shadow:var(--shadow);
}

.mobile-menu.open{display:block}

.mobile-menu a{
  display:block;
  padding:14px 16px;
  color:#fff;
  text-decoration:none;
  border-top:1px solid rgba(255,255,255,0.06);
  font-weight:600;
}

.mobile-menu a:first-child{border-top:0}
.mobile-menu a:hover{background:rgba(255,255,255,0.06)}
.mobile-menu .menu-cta{background:rgba(125,220,76,0.16)}

/* ===============================
   LIGHT THEME HEADER OVERRIDES
================================= */

body.theme-light .site-header{
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--light-border);
  backdrop-filter: blur(10px);
}

body.theme-light .brand{
  color: var(--light-text);
  opacity: 0.95;
}

body.theme-light .desktop-nav a{
  color: var(--light-text);
  opacity: 0.75;
}

body.theme-light .desktop-nav a:hover{
  opacity: 1;
}

body.theme-light .menu-toggle{
  color: var(--light-text);
  background: rgba(16,18,23,0.04);
  border: 1px solid var(--light-border);
}

body.theme-light .mobile-menu{
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--light-border);
  box-shadow: var(--light-shadow);
}

body.theme-light .mobile-menu a{
  color: var(--light-text);
  border-top: 1px solid var(--light-border);
}

body.theme-light .mobile-menu a:hover{
  background: rgba(16,18,23,0.04);
}

body.theme-light .mobile-menu .menu-cta{
  background: rgba(125,220,76,0.22);
}

/* ===============================
   GENERIC PAGE LAYOUT
================================= */

main{display:block}

.page{
  padding-top: 110px;
  padding-bottom: 80px;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 18px;
}

.card{
  border-radius: 16px;
  padding: 26px 22px;
}

/* Dark theme cards */
body.theme-dark .card{
  background: rgba(16,18,23,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

/* Light theme cards */
body.theme-light .card{
  background: var(--light-panel);
  border: 1px solid var(--light-border);
  box-shadow: var(--light-shadow);
}

.page h1{
  margin: 0 0 14px 0;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.08;
  font-size: clamp(28px, 4vw, 44px);
}

.page h2{
  margin: 22px 0 10px 0;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 22px;
}

.page h3{
  margin: 18px 0 8px 0;
  font-weight: 800;
  letter-spacing: 0.1px;
  font-size: 18px;
}

.page p{
  margin: 0 0 12px 0;
  line-height: 1.65;
}

body.theme-dark .page p,
body.theme-dark .page ul,
body.theme-dark .page li{
  color: rgba(255,255,255,0.88);
}

body.theme-light .page p,
body.theme-light .page ul,
body.theme-light .page li{
  color: rgba(16,18,23,0.85);
}

.page ul{
  margin: 10px 0 14px 18px;
  padding: 0;
}

.page li{margin: 6px 0}

.page strong{
  color: inherit;
  font-weight: 800;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:16px;
  font-weight:800;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:12px;
  color: var(--light-muted);
  margin-bottom: 28px; /* adds space before the H1 on all pages */
}
.page h1{
  margin-top:0;
}

body.theme-dark .kicker{color: rgba(255,255,255,0.72)}

.hr{
  height:1px;
  background: var(--light-border);
  margin: 18px 0;
}

body.theme-dark .hr{
  background: rgba(255,255,255,0.10);
}

.grid-2{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

@media (max-width: 900px){
  .grid-2{grid-template-columns: 1fr}
}

.info-list{
  list-style:none;
  margin: 0;
  padding: 0;
}

.info-list li{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--light-border);
}

body.theme-dark .info-list li{
  border-top: 1px solid rgba(255,255,255,0.10);
}

.info-list li:first-child{border-top:0}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  background: rgba(125,220,76,0.18);
  border: 1px solid rgba(125,220,76,0.35);
  color: var(--light-text);
}

body.theme-dark .badge{
  color:#fff;
}

.figure{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--light-shadow);
  background: #fff;
}

body.theme-dark .figure{
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
  background: rgba(16,18,23,0.92);
}

.figure img{
  display:block;
  width:100%;
  height:auto;
}

.caption{
  padding: 10px 12px;
  font-size: 13px;
  color: var(--light-muted);
}

body.theme-dark .caption{
  color: rgba(255,255,255,0.72);
}

/* Readability and desktop layout improvements for long-form pages */
.prose{
  max-width: 68ch;
}

.callout{
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--light-border);
  background: rgba(125,220,76,0.08);
}

body.theme-dark .callout{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(125,220,76,0.10);
}

.content-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items:start;
}

/* ===============================
   HOME ONLY (HERO + TILES)
================================= */

.hero{
  position:relative;
  min-height:92vh;
  display:flex;
  align-items:center;
  background:url('/assets/images/hero.jpg') center/cover no-repeat;
}

.hero-overlay{
  /* position:absolute; */
  inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.32));
}

.hero-content{
  position:relative;
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:110px 18px 80px 18px;
  margin-top:-160px;
}

.hero-logo{
  width:380px;
  height:auto;
  margin-bottom:22px;
  display:block;
  filter:drop-shadow(0 8px 22px rgba(0,0,0,0.45));
}

.hero-kicker{
  font-weight:700;
  letter-spacing:2.4px;
  font-size:13px;
  opacity:0.85;
  margin-bottom:18px;
  color:#fff;
}

.hero-title{
  margin:0;
  line-height:0.95;
  font-weight:900;
  letter-spacing:1px;
  font-size:clamp(42px, 8vw, 92px);
  text-transform:uppercase;
  text-shadow:0 18px 55px rgba(0,0,0,0.55);
  color:#fff;
}

.t-white{color:#fff}
.t-lime{color:var(--lime)}

.hero-cta{
  display:none;
  gap:12px;
  margin-top:26px;
  flex-wrap:wrap;
}

.btn-primary{
  background:var(--lime);
  color:#0b0c0f;
  text-decoration:none;
  padding:12px 16px;
  border-radius:10px;
  font-weight:800;
}

.btn-ghost{
  background:rgba(255,255,255,0.10);
  color:#fff;
  text-decoration:none;
  padding:12px 16px;
  border-radius:10px;
  font-weight:700;
  border:1px solid rgba(255,255,255,0.18);
}

.home-tiles{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  max-width:1200px;
  margin:-55px auto 0 auto;
  padding:0 18px 70px 18px;
  position:relative;
  z-index:5;
}

.tile{
  position:relative;
  height:160px;
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,0.08);
}

.tile-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}

.tile::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.10));
}

.tile-label{
  position:absolute;
  left:16px;
  bottom:14px;
  z-index:2;
  font-weight:900;
  letter-spacing:1px;
  color:#fff;
  text-transform:uppercase;
}

.tile-1{background-image:url('/assets/images/tile-flight-training.jpg')}
.tile-2{background-image:url('/assets/images/tile-experiences.jpg')}
.tile-3{background-image:url('/assets/images/tile-hangarage.jpg')}

/* ===============================
   FOOTER
================================= */

.site-footer{
  border-top:1px solid rgba(255,255,255,0.08);
  background:#0a0b0d;
}

body.theme-light .site-footer{
  background:#ffffff;
  border-top:1px solid var(--light-border);
}

.footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:48px 18px 28px 18px;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:22px;
}

.footer-title{
  color:var(--lime);
  font-weight:900;
  letter-spacing:1px;
  margin-bottom:10px;
  text-transform:uppercase;
}

.footer-text{
  line-height:1.6;
  color: rgba(255,255,255,0.85);
}

body.theme-light .footer-text{
  color: rgba(16,18,23,0.80);
}

.footer-col a{
  text-decoration:none;
  display:block;
  padding:6px 0;
  color: rgba(255,255,255,0.85);
}

body.theme-light .footer-col a{
  color: rgba(16,18,23,0.80);
}

.footer-col a:hover{color:#fff}
body.theme-light .footer-col a:hover{color: rgba(16,18,23,1)}

.footer-bottom{
  text-align:center;
  padding:16px 18px 28px 18px;
  font-size:14px;
  color: rgba(255,255,255,0.65);
}

body.theme-light .footer-bottom{
  color: rgba(16,18,23,0.65);
}

/* ===============================
   MOBILE
================================= */

@media (max-width:900px){
  .desktop-nav{display:none}
  .menu-toggle{display:inline-flex}

  .hero{min-height:88vh}

  .hero-content{
    padding-top:92px;
    padding-left:28px;
    padding-right:18px;
  }
  /* Header visibility rules that override older CSS safely */
.desktop-only{display:inline-flex !important;}

@media (max-width: 900px){
  .desktop-only{display:none !important;}
}

  .hero-logo{width:240px}
  .hero-cta{display:flex}

  .home-tiles{
    grid-template-columns:1fr;
    margin-top:-40px;
  }

  .tile{height:140px}

  .footer-inner{grid-template-columns:1fr}

  .page{
    padding-top: 96px;
    padding-bottom: 60px;
  }

  .card{
    padding: 20px 16px;
  }

  .prose{
    max-width: none;
  }

  .content-grid{
    grid-template-columns: 1fr;
  }
}
/* Header actions alignment */
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

/* Force the PPR CTA to look like the green button on desktop */
.ppr-cta{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 14px;
  border-radius:10px;
  background: var(--lime) !important;
  color:#0b0c0f !important;
  text-decoration:none !important;
  font-weight:900;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-size:12px;
}

/* Never show the desktop PPR button on mobile */
@media (max-width: 900px){
  .ppr-cta{
    display:none !important;
  }
}