/* TJ Aeronautical — site styles (no external fonts or scripts) */
:root {
  --navy: #0a1a3f;
  --navy-2: #12275a;
  --gold: #d9a441;
  --gold-soft: #f3dfb4;
  --teal: #2bb3b1;
  --ink: #16213a;
  --muted: #5a6478;
  --line: #e3e6ee;
  --paper: #ffffff;
  --wash: #f5f7fb;
  --radius: 14px;
  --max: 1080px;
  --text: 1.0625rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--text);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1d5fb8; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-head { background: var(--navy); color: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .04em; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; font-size: .72rem; color: var(--gold); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: #dfe5f3; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--navy-2); color: #fff; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #1d3a7a 0%, var(--navy) 60%); color: #fff; padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; margin: 0 0 12px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.12; margin: 0 0 16px; }
.hero p.lead { font-size: 1.15rem; color: #d4dbec; margin: 0 0 28px; max-width: 36em; }
.hero-art img { width: 100%; max-width: 360px; margin-left: auto; border-radius: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }

.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #e8b75a; color: var(--navy); }
.btn-line { border: 1.5px solid #8ea0c8; color: #fff; margin-left: 8px; }
.btn-line:hover { border-color: #fff; color: #fff; }

/* Sections */
section.block { padding: 64px 0; }
section.alt { background: var(--wash); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 12px; color: var(--navy); }
h3 { font-size: 1.15rem; margin: 28px 0 8px; color: var(--navy); }
.section-intro { color: var(--muted); max-width: 44em; margin: 0 0 32px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 20px; align-items: flex-start; }
.card img { width: 88px; height: 88px; border-radius: 20px; flex: none; }
.card h3 { margin-top: 0; }
.card p { margin: 0 0 12px; color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7a5a17; background: var(--gold-soft); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.features li { border-top: 3px solid var(--teal); background: var(--paper); padding: 18px 18px 20px; border-radius: 0 0 var(--radius) var(--radius); }
.features strong { display: block; color: var(--navy); margin-bottom: 4px; }
.features span { color: var(--muted); font-size: .97rem; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-grid div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.contact-grid dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-grid dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }

/* Legal / document pages */
.doc-head { background: var(--navy); color: #fff; padding: 48px 0 40px; }
.doc-head h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.15; }
.doc-head p { margin: 0; color: #cfd7ea; max-width: 44em; }
.doc { max-width: 780px; padding: 40px 20px 72px; }
.doc h2 { font-size: 1.45rem; margin: 40px 0 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.doc h2:first-of-type { border-top: 0; margin-top: 8px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.facts { background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 24px; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: .97rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.note { border-left: 4px solid var(--gold); background: #fffaf0; padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.toc { background: var(--wash); border-radius: var(--radius); padding: 14px 20px; margin: 0 0 8px; font-size: .97rem; }
.toc ol { margin: 6px 0 0; columns: 2; column-gap: 32px; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 12px 0 20px; }
table.data th, table.data td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
table.data th { background: var(--wash); color: var(--navy); }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-foot { background: var(--navy); color: #b9c3db; padding: 36px 0; font-size: .93rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-foot a { color: #e6ebf6; }
.site-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero { padding: 48px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art img { margin: 0; max-width: 220px; }
  .cards, .features, .contact-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .btn-line { margin: 10px 0 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .doc { padding: 28px 16px 56px; }
  .card { flex-direction: column; }
  .facts { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: 6px; }
}
