/* Aced Aviation — acedaviation.com
   Rebuilt as static HTML 2026-09-05, migrated off Google Sites.
   Palette taken from the wordmark: red chevron, navy lettering. */

:root {
  --red:      #d8232a;
  --red-dark: #b21c22;
  --navy:     #29323f;
  --ink:      #1e2530;
  --body:     #4a5563;
  --muted:    #79838f;
  --line:     #dfe4ea;
  --ground:   #ffffff;
  --panel:    #f5f7f9;
  --measure:  62ch;
  --wide:     1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--body);
  font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }

/* ── Masthead ─────────────────────────────────────────── */
.masthead {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  background: var(--ground);
}
.masthead img { width: 272px; max-width: 74vw; }

/* ── Intro ────────────────────────────────────────────── */
.intro {
  padding: 54px 0 10px;
  max-width: var(--measure);
}
.intro h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.intro p { margin: 0; font-size: 1.1rem; }

/* ── Sections ─────────────────────────────────────────── */
.section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 52px;
  align-items: center;
  padding: 54px 0;
  border-top: 1px solid var(--line);
  margin-top: 46px;
}
.section:first-of-type { margin-top: 34px; }
.section .figure img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(30, 37, 48, .13), 0 8px 24px rgba(30, 37, 48, .07);
}
.section.flip .figure { order: 2; }

.section h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 4px;
  text-wrap: balance;
}
.section h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--red);
  margin: 14px 0 18px;
}
.section p { margin: 0 0 14px; }
.section p:last-child { margin-bottom: 0; }

.communities {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.communities li { margin: 0; border-top: 1px solid var(--line); }
.communities li:last-child { border-bottom: 1px solid var(--line); }
.communities a {
  display: block;
  padding: 11px 2px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.communities a::after {
  content: "→";
  color: var(--red);
  margin-left: 8px;
  display: inline-block;
  transition: transform .15s ease;
}
.communities a:hover { color: var(--red-dark); }
.communities a:hover::after { transform: translateX(3px); }

.more {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
  color: var(--red-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 1px;
}
.more:hover { color: var(--red); }

/* ── Footer ───────────────────────────────────────────── */
footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 34px 0;
  font-size: .94rem;
  color: var(--muted);
}
footer p { margin: 0 0 6px; }
footer p:last-child { margin-bottom: 0; }
footer a { color: var(--body); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; margin-top: 26px; }
  .section.flip .figure { order: 0; }
  .intro { padding-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
