/* ═══════════════════════════════════════════════════════════
   Chartwell Aviation — Website Stylesheet
   Design system: navy (#1B2A4A) + gold (#C8A951)
   Fonts: Inter (body) + Playfair Display (display)
   Light theme, corporate, restrained gold accents
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy: #1B2A4A;
  --navy-deep: #0F1B33;
  --navy-light: #2C3E6B;
  --gold: #C8A951;
  --gold-dim: #A8893A;
  --gold-soft: rgba(200,169,81,0.10);
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --cream: #FDFCFA;
  --gray-50: #F5F6F8;
  --gray-100: #F0F1F5;
  --gray-200: #E2E4EA;
  --gray-300: #C8CBD5;
  --gray-500: #7A7F8E;
  --gray-700: #4A4F5E;
  --green: #2E7D4F;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max: 1040px;
}

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-dim); }
a:hover { color: var(--navy); }

/* ─────────────── SKIP LINK ─────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--navy-deep);
  padding: 0.75rem 1.25rem; font-weight: 700;
  text-decoration: none; border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ─────────────── MASTHEAD ─────────────── */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.masthead-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark { text-decoration: none; display: flex; align-items: center; gap: 0.7rem; }
.wordmark img { height: 32px; border-radius: 4px; }
.wordmark .name {
  font-size: 0.72rem; font-weight: 700; color: var(--navy);
  letter-spacing: 2.2px; text-transform: uppercase;
}

.masthead nav ul { list-style: none; display: flex; gap: 1.6rem; }
.masthead nav a {
  text-decoration: none; color: var(--gray-500);
  font-size: 0.82rem; font-weight: 500;
  transition: color 0.15s;
}
.masthead nav a:hover { color: var(--navy); }

.nav-toggle {
  display: none; background: transparent;
  border: 1px solid var(--gray-300); border-radius: 4px;
  padding: 0.35rem 0.6rem; cursor: pointer;
  color: var(--navy); font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ─────────────── SECTIONS ─────────────── */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section.white { background: var(--white); }
.section.off-white { background: var(--off-white); }
.section.cream { background: var(--cream); }
.section.navy { background: var(--navy); color: var(--white); }
.section.navy-deep { background: var(--navy-deep); color: var(--white); }

/* Project section — airport aerial background */
.section.project-bg {
  background: linear-gradient(rgba(255,255,255,0.68), rgba(247,248,251,0.75)), url('../images/airport-aerial.jpg') center/cover no-repeat;
  color: var(--navy);
}

/* Gold separator line between sections */
.section.gold-top::before {
  content: ''; display: block;
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 0 auto 3rem;
}

/* ─────────────── KICKER ─────────────── */
.kicker {
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.22em; font-weight: 700;
  color: var(--gold-dim); margin-bottom: 1rem;
}

.section.navy .kicker,
.section.navy-deep .kicker { color: var(--gold); }

/* ─────────────── HEADINGS ─────────────── */
.heading {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.heading.xl { font-size: clamp(2rem, 4.5vw, 3rem); }
.heading.lg { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.heading.md { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

.section.navy .heading,
.section.navy-deep .heading { color: var(--white); }

/* ─────────────── BODY TEXT ─────────────── */
.body-text {
  font-size: 1rem; line-height: 1.8;
  color: var(--gray-700); max-width: 62ch;
}

.body-text.centered { margin-left: auto; margin-right: auto; text-align: center; }

.section.navy .body-text,
.section.navy-deep .body-text { color: rgba(255,255,255,0.72); }

/* ─────────────── HERO ─────────────── */
.hero {
  padding: 8rem 0 7rem;
  text-align: center;
  background: linear-gradient(rgba(15,27,51,0.78), rgba(15,27,51,0.88)), url('../images/hero.jpg') center/cover no-repeat;
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

.hero-logo { width: 72px; margin: 0 auto 1.8rem; border-radius: 6px; }

.hero h1 {
  font-size: 0.8rem; font-weight: 700; color: var(--white);
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 1.2rem;
}

.hero .tagline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600; color: rgba(255,255,255,0.92);
  max-width: 520px; margin: 0 auto;
  line-height: 1.35; letter-spacing: -0.01em;
}

.hero .hero-sub {
  font-size: 0.92rem; color: rgba(255,255,255,0.6);
  margin-top: 1rem; max-width: 480px;
  margin-left: auto; margin-right: auto;
}

/* ─────────────── STAT STRIP ─────────────── */
.stat-strip {
  display: flex; justify-content: center;
  gap: 3.5rem; flex-wrap: wrap;
  padding: 2.5rem 0;
}

.stat { text-align: center; }

.stat .number {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}

.section.navy .stat .number { color: var(--gold); }

.stat .label {
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 600;
  color: var(--gray-500); margin-top: 0.35rem; display: block;
}

.section.navy .stat .label { color: rgba(255,255,255,0.5); }

/* ─────────────── CARD GRID ─────────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 2.5rem;
}

.card {
  padding: 0; border-radius: 8px;
  border: 1px solid var(--gray-200); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(200,169,81,0.1);
}

.section.navy .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(200,169,81,0.18);
}
.section.navy .card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(200,169,81,0.12);
}

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* Placeholder when no image — shows a gold-tinted gradient */
.card-img-placeholder {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.card-img-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
}

.section.navy .card-img-placeholder {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(200,169,81,0.08) 100%);
}

.card-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.card .card-label {
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.18em; font-weight: 700;
  color: var(--gold-dim); margin-bottom: 0.5rem;
}

.section.navy .card .card-label { color: var(--gold); }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem;
}

.card p { font-size: 0.88rem; line-height: 1.72; color: var(--gray-700); }
.section.navy .card p { color: rgba(255,255,255,0.68); }

/* ─────────────── FEATURE ROW (text + accent) ─────────────── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: center;
  margin-top: 2.5rem;
}

.feature-row .feature-text { }
.feature-row .feature-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700; margin-bottom: 0.6rem;
}
.feature-row .feature-text p {
  font-size: 0.92rem; line-height: 1.78; color: var(--gray-700);
  margin-bottom: 0.8rem;
}
.feature-row .feature-text p:last-child { margin-bottom: 0; }

.feature-accent {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
}

.feature-accent .accent-number {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  color: var(--gold-dim); line-height: 1;
}

.feature-accent .accent-label {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 600;
  color: var(--gray-500); margin-top: 0.4rem;
}

.feature-accent .accent-sub {
  font-size: 0.85rem; color: var(--gray-500);
  margin-top: 0.8rem; line-height: 1.5;
}

/* ─────────────── PARTNERSHIP HIGHLIGHTS ─────────────── */
.partner-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.partner-card {
  padding: 1.5rem 1.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,169,81,0.12);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  transition: border-color 0.2s, background 0.2s;
}

.partner-card:hover {
  background: rgba(200,169,81,0.06);
  border-color: rgba(200,169,81,0.25);
  border-left-color: var(--gold);
}

.partner-card .partner-category {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.partner-card .partner-status {
  display: inline-block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: rgba(200,169,81,0.15);
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.partner-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.partner-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
}

/* ─────────────── NEWS LIST ─────────────── */
.news-list {
  list-style: none; max-width: 600px;
  margin: 2rem auto 0;
}

.news-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 1rem;
}

.news-list li:last-child { border-bottom: none; }

.news-list a {
  color: var(--navy); text-decoration: none;
  font-weight: 500; font-size: 0.92rem;
  transition: color 0.15s;
}

.news-list a:hover { color: var(--gold-dim); }

.news-date {
  font-size: 0.75rem; color: var(--gray-500); white-space: nowrap;
}

/* ─────────────── PARTNERSHIP MAP ─────────────── */
.partner-map {
  margin-top: 2.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(200,169,81,0.15);
}

.partner-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* Placeholder if no map image yet */
.partner-map-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, rgba(200,169,81,0.06) 0%, rgba(44,62,107,0.2) 50%, rgba(200,169,81,0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(200,169,81,0.15);
  margin-top: 2.5rem;
}

.partner-map-placeholder p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* ─────────────── CONTACT SECTION ─────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.contact-info p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.section.navy .contact-info p { color: rgba(255,255,255,0.7); }
.section.navy .contact-info a { color: var(--gold); text-decoration: none; }
.section.navy .contact-info a:hover { text-decoration: underline; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-detail .icon-circle {
  width: 36px;
  height: 36px;
  background: rgba(200,169,81,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail .icon-circle svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.contact-detail .detail-text p {
  margin-bottom: 0.15rem;
}

.contact-detail .detail-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.contact-map {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,169,81,0.15);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 260px;
}

.contact-map .map-pin {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-map .map-pin svg {
  width: 22px;
  height: 22px;
  fill: var(--navy-deep);
}

.contact-map h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.contact-map p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ─────────────── RUNWAY DIAGRAM ─────────────── */
.runway-diagram {
  margin-top: 2.5rem;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.runway-visual {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.runway-line {
  flex: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dim));
  border-radius: 2px;
  position: relative;
}

.runway-line::before,
.runway-line::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.runway-line::before { left: 0; }
.runway-line::after { right: 0; }

.runway-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.runway-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.runway-spec .spec-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.runway-spec .spec-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-top: 0.15rem;
}

/* ─────────────── FOOTER ─────────────── */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,0.6);
  padding: 2.5rem 2rem 2rem;
  border-top: 2px solid var(--gold);
}

.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 2rem; flex-wrap: wrap;
}

.footer-brand .footer-name {
  font-size: 0.72rem; font-weight: 700; color: var(--white);
  letter-spacing: 2px; text-transform: uppercase;
  display: block; margin-bottom: 0.35rem;
}

.footer-brand p { font-size: 0.82rem; line-height: 1.55; }
.footer-brand a { color: var(--gold); text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; }

.footer-contact { text-align: right; }
.footer-contact p { font-size: 0.82rem; margin-bottom: 0.25rem; line-height: 1.5; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-legal {
  width: 100%; text-align: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.3);
  margin-top: 1.5rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ─────────────── SCROLL REVEAL ─────────────── */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.65s ease, transform 0.65s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ─────────────── NEWS ARTICLE ─────────────── */
.article-container {
  max-width: 660px; margin: 0 auto; padding: 4rem 2rem;
}

.article-container h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 0.5rem;
}

.article-container .date {
  font-size: 0.82rem; color: var(--gray-500); margin-bottom: 2.5rem;
}

.article-container p {
  font-size: 0.95rem; line-height: 1.85;
  color: var(--gray-700); margin-bottom: 1.2rem;
}

.article-container .back { margin-top: 3rem; }
.article-container .back a {
  color: var(--gold-dim); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
}
.article-container .back a:hover { text-decoration: underline; }

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 768px) {
  .masthead-inner { padding: 0.8rem 1.25rem; }
  .nav-toggle { display: inline-flex; }
  .masthead nav {
    display: none; flex-basis: 100%; order: 3;
    padding-top: 0.8rem;
    border-top: 1px solid var(--gray-200); margin-top: 0.8rem;
  }
  .masthead nav.open { display: block; }
  .masthead nav ul { flex-direction: column; gap: 0; }
  .masthead nav li { border-bottom: 1px solid var(--gray-100); }
  .masthead nav li:last-child { border-bottom: none; }
  .masthead nav a { display: block; padding: 0.6rem 0; }

  .hero { padding: 5rem 0 4rem; }
  .hero-logo { width: 60px; margin-bottom: 1.4rem; }
  .section { padding: 3.5rem 0; }
  .section-inner { padding: 0 1.25rem; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .stat-strip { gap: 2rem; }
  .stat .number { font-size: 1.8rem; }
  .partner-highlights { grid-template-columns: 1fr; }
  .partner-card { padding: 1.25rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .runway-specs { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-contact { text-align: left; }
  .news-list li { flex-direction: column; gap: 0.15rem; }
  .article-container { padding: 3rem 1.25rem; }
}
