/* ==========================================================
   Caesar Krupp – website styles
   Colours: change the variables below to restyle the site.
   ========================================================== */
:root {
  --bg: #000000;
  --bg-alt: #0f0f0f;
  --surface: #161616;
  --border: #262626;
  --border-strong: #4d4d4d;
  --text: #e0e0e0;
  --text-muted: #a6a6a6;
  --text-faint: #8c8c8c;
  --white: #ffffff;
  --red: #b83a3a;        /* buttons, accent lines */
  --red-text: #e06464;   /* red text on black */
  --red-logo: #d9534f;   /* "KRUPP" in the wordmark */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-logo: "Marcellus SC", Georgia, serif;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--red-text); }
a:hover { color: #f08c8c; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Typography ---------- */
.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-text);
}
h1, h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
h1 { font-size: clamp(44px, 7vw, 72px); line-height: 0.98; }
h2 { font-size: clamp(36px, 5vw, 48px); }
h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--white); }
.lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--text-muted); max-width: 600px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-head p:not(.eyebrow) { margin: 0; font-size: 17px; color: var(--text-muted); max-width: 600px; }

.wordmark { font-family: var(--font-logo); letter-spacing: 0.06em; color: var(--text); }
.wordmark span { color: var(--red-logo); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 4px;
  border: 1px solid transparent;
  font: 600 16px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: #a03030; color: var(--white); }
.btn--ghost { border-color: var(--border-strong); color: var(--white); }
.btn--ghost:hover { border-color: var(--text); color: var(--white); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 88px; height: auto; }
.brand .wordmark { font-size: 24px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a:not(.btn) { color: #bdbdbd; text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 72px; }
.hero-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero-img { flex: 0 1 420px; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }

/* ---------- Cards ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.card-body p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.card-body .grow { flex-grow: 1; }
.card-body .meta { font-size: 14px; color: var(--text-faint); }
.card-body .price { font-size: 22px; font-weight: 600; color: var(--white); }

.card--service { flex: 1 1 240px; border-top: 3px solid var(--red); }
.card--tac { flex: 1 1 300px; }
.card--tac .card-media { height: 200px; width: 100%; object-fit: contain; background: #000; padding: 24px; }
.card-placeholder { height: 200px; display: flex; align-items: center; justify-content: center; background: #222; color: var(--text-faint); font-size: 14px; }
.card--level { flex: 1 1 280px; }
.card--level .card-media { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- STANAG intro ---------- */
.stanag-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; margin-bottom: 48px; }
.stanag-intro .section-head { flex: 1 1 440px; margin-bottom: 0; }
.stanag-poster { flex: 0 1 340px; width: 100%; max-width: 340px; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 14px; color: var(--text); }

/* ---------- References ---------- */
.refs { display: flex; flex-wrap: wrap; gap: 20px; }
.ref { flex: 1 1 220px; padding: 24px 0; border-top: 2px solid var(--red); }
.ref p { margin: 0; }
.ref .sector { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.ref .company { font-size: 19px; font-weight: 600; color: var(--white); }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.contact-text .lead { font-size: 17px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.social {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--border-strong);
  color: var(--white); font-size: 15px; font-weight: 500; text-decoration: none;
}
.social:hover { border-color: var(--red-text); color: var(--white); }
.form {
  flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; padding: 32px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
}
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: #bdbdbd; }
.form input, .form select, .form textarea {
  min-height: 44px; padding: 10px 14px; border-radius: 4px; border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--white); font: 16px var(--font-body);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--red-text); }
.form .btn { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--text-faint); }
.footer-inner p { margin: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links { gap: 14px 18px; font-size: 14px; }
  .hero { padding-top: 32px; }
  .hero-img, .stanag-poster { max-width: 100%; }
}
