/* Aeroneering Consult — brand mark v1.0 palette and type */
:root {
  --navy: #0B2239;
  --blue: #1668E3;
  --sky: #6FB0FF;
  --mist: #F5F8FC;
  --ink: #0B2239;
  --muted: #52657A;
  --line: #DFE6EF;
  --white: #FFFFFF;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
section { padding: 88px 0; }
.alt { background: var(--mist); }

/* Placeholder marker: anything still to fill in. Must be gone before go-live. */
.tk { background: #FFF3B0; color: #6B5600; padding: 0 4px; border-radius: 3px; font-family: var(--mono); font-size: 0.85em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand-text small { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.45em; color: var(--blue); margin-top: 3px; }
nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
nav a:hover { color: var(--blue); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  white-space: nowrap;
}
.btn:hover { background: #0F56C2; border-color: #0F56C2; }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn.ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn.small { padding: 8px 16px; font-size: 0.9rem; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 96px 0 104px; position: relative; overflow: hidden; }
.hero .label { color: var(--sky); }
.hero p.lead { font-size: 1.2rem; color: #C9D6E6; max-width: 620px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 620px; opacity: 0.9; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-content { max-width: 640px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); }
.card ul { margin: 0 0 20px; padding: 0; list-style: none; font-size: 0.95rem; }
.card li { padding: 6px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.card li span:last-child { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.price { margin-top: auto; font-family: var(--mono); font-weight: 500; color: var(--navy); }
.price b { color: var(--blue); font-size: 1.25rem; }
.fineprint { margin-top: 24px; font-size: 0.9rem; color: var(--muted); }
.lead-dark { font-size: 1.1rem; color: var(--muted); max-width: 720px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; counter-reset: step; padding: 0; list-style: none; }
.steps li { border-top: 3px solid var(--blue); padding-top: 16px; }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--mono); color: var(--blue); font-size: 0.85rem; display: block; margin-bottom: 6px;
}
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Why */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; margin-top: 36px; }
.why p { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* About */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--mist); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact { background: var(--navy); color: var(--white); text-align: center; }
.contact .label { color: var(--sky); }
.contact p { color: #C9D6E6; max-width: 560px; margin-left: auto; margin-right: auto; }
.contact .btn { font-size: 1.05rem; padding: 16px 28px; margin: 12px 0 28px; }
.contact-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-family: var(--mono); font-size: 0.9rem; }
.contact-lines a { color: var(--white); }

/* Footer */
footer { background: #071829; color: #8DA2B8; font-size: 0.85rem; padding: 28px 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer a { color: #C9D6E6; }

/* Legal page */
.legal { padding: 64px 0; max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }

/* Phone and tablet */
@media (max-width: 1180px) {
  .hero-art { opacity: 0.18; right: -160px; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  nav { display: none; }
  .cards, .why, .about { grid-template-columns: 1fr; }
  .about .portrait { max-width: 220px; }
  .hero { padding: 64px 0 72px; }
}
@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
  .card { padding: 22px; }
}
