/* =========================================================
   Dishart Aviation website
   One flat background color, no gradients. All colors and
   fonts live in the variables below.
   ========================================================= */
:root {
  --bg: #07101F;          /* near-black navy: the only background color */
  --white: #F4F5F7;       /* headlines */
  --text: #AFB6C0;        /* body text */
  --muted: #8B94A1;       /* small labels */
  --silver: #C9CED6;      /* buttons and accents */
  --line: rgba(201, 206, 214, 0.14);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --space: 80px;          /* vertical space between sections */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
}

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

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--silver);
  color: var(--bg);
  border: 1px solid var(--silver);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--white); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--silver); border-color: rgba(201, 206, 214, 0.5); padding: 0.75rem 1.25rem; }
.btn--outline:hover { background: var(--silver); color: var(--bg); border-color: var(--silver); }
.btn:focus-visible, .brand:focus-visible, .contact a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

/* ---------- Top bar ---------- */
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__emblem { height: 36px; width: auto; }
.brand__wordmark { height: 28px; width: auto; }
.topbar .btn--outline { padding: 0.65rem 0.85rem; font-size: 0.72rem; letter-spacing: 0.12em; }

/* ---------- Hero photo (full width, black and white) ---------- */
.hero {
  position: relative;
  height: min(112vw, 76vh);   /* phones: slightly tall photo */
  overflow: hidden;
  background: var(--bg);
}
/* Flat, even tint over the photo so the headline reads (no gradient). */
.hero__tint {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);   /* raise to darken the photo, lower to brighten it */
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero__content .eyebrow {
  color: var(--silver);
  font-weight: 500;
  margin-bottom: 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.04;
  max-width: 11em;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45), 0 4px 28px rgba(0, 0, 0, 0.6);
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide--jets img { filter: brightness(0.72); }   /* the jets photo is brighter, so darken it more */

/* ---------- Sections ---------- */
.section {
  padding: var(--space) 0;
  border-top: 1px solid var(--line);
}
.intro { border-top: 0; padding: 48px 0; text-align: center; }
.intro__grid p { max-width: 30em; margin: 0 auto 1.75rem; font-size: 1.125rem; }

.cols { display: grid; gap: 56px; }
.section--compact { padding: 56px 0; }
.item + .item { margin-top: 1.5rem; }
.cols--3 { gap: 24px; }
.cols--3 .item + .item { margin-top: 0; }

/* Call + Email button pair */
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Framed button (thin silver outline), used on the photo and in the seller/buyer sections */
.btn--frame { background: transparent; color: #fff; border-color: rgba(201, 206, 214, 0.75); }
.btn--frame:hover { background: var(--silver); color: var(--bg); border-color: var(--silver); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1.75rem;
}
.hero__actions .btn {
  padding: 0.85rem 1.1rem;
  font-size: 0.75rem;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
}
.hero__actions .btn:hover { background: #fff; color: var(--bg); border-color: #fff; }

/* Selling / buying sections */
.path { scroll-margin-top: 0; }
.path .eyebrow { margin-bottom: 0.75rem; }
.path h2 { font-size: clamp(2rem, 4.5vw, 2.75rem); margin-bottom: 0.75rem; }
.path__intro { max-width: 34em; margin-bottom: 2rem; }
.path .btn { margin-top: 2rem; }
.steps { counter-reset: step; }
.steps .item { padding-top: 24px; border-top: 1px solid var(--line); }
.steps .item h3::before { counter-increment: step; content: "0" counter(step) "  "; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.16em; color: var(--muted); vertical-align: middle; }
.item h3 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.item p { max-width: 28em; margin: 0; }

/* About */
.about { display: grid; gap: 40px; }
.about__photo img { width: 100%; max-width: 360px; }
.about__name { font-size: clamp(2.25rem, 5vw, 3rem); margin-bottom: 0.5rem; }
.about__role {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.about__text p { max-width: 34em; }

/* Closing */
.closing { text-align: center; }
.closing h2 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  max-width: 14em;
  margin: 0 auto 2.5rem;
  text-wrap: balance;
}
.contact {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  font-size: 0.95rem;
}
.contact a { text-decoration: none; }
.contact a:hover { color: var(--white); text-decoration: underline; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}
.footer p { margin: 0; }

/* ---------- Gentle fade-in (only when JavaScript runs and motion is OK) ---------- */
.can-reveal .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.can-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide, .btn { transition: none; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 701px) {
  .hero { height: min(50vw, 86vh); }   /* larger screens: wide 2:1 photo */
}

@media (min-width: 768px) {
  :root { --gutter: 48px; --space: 128px; }
  .topbar__inner { height: 112px; }
  .brand { gap: 14px; }
  .brand__emblem { height: 56px; }
  .brand__wordmark { height: 44px; }
  .topbar .btn--outline { padding: 0.85rem 1.4rem; font-size: 0.8rem; letter-spacing: 0.16em; }
  .intro { padding: 64px 0; }
  .cols--2 { grid-template-columns: repeat(2, 1fr); gap: 80px; }
  .cols--3 { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .hero__actions { gap: 16px; margin-top: 2.25rem; }
  .hero__actions .btn { padding: 1rem 2rem; font-size: 0.8rem; }
  .section--compact { padding: 80px 0; }
  .about { grid-template-columns: 4fr 8fr; gap: 80px; align-items: center; }
}
