/* ---------- Theme tokens (matched to the CWA crest) ---------- */
:root {
  --bg:        #0b0d12;
  --bg-alt:    #10131b;
  --surface:   #181c27;
  --border:    #2a3040;
  --text:      #e9ebf1;
  --muted:     #9aa2b4;
  --accent:    #c93a2f;   /* gang-gang crimson */
  --accent-hi: #e04b3d;
  --gold:      #e0a63a;   /* brass / banner gold */
  --radius:    14px;
  --wrap:      1080px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: "Oswald", "Inter", sans-serif; line-height: 1.1; letter-spacing: 0.5px; }

.accent { color: var(--accent-hi); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 13, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-logo { height: 42px; width: 42px; object-fit: contain; }

.brand-text { font-weight: 600; font-size: 0.98rem; color: var(--text); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-weight: 500; transition: color 0.15s; }
.nav a:hover { color: var(--text); }

.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-cta:hover { background: var(--accent); color: #fff !important; }

/* ---------- Hero (crest centrepiece) ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 96px) 0 clamp(64px, 10vw, 120px);
  text-align: center;
  background:
    radial-gradient(760px 520px at 50% 8%, rgba(201, 58, 47, 0.20), transparent 62%),
    radial-gradient(680px 480px at 50% 6%, rgba(224, 166, 58, 0.12), transparent 58%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-inner { display: flex; flex-direction: column; align-items: center; }

.crest {
  position: relative;
  margin-bottom: 30px;
}

.crest img {
  width: clamp(240px, 42vw, 400px);
  height: auto;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  animation: crest-in 0.7s ease-out both;
}

@keyframes crest-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; margin-bottom: 18px; }

.motto {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.5px;
  color: var(--gold);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  margin-bottom: 22px;
}

.lede {
  max-width: 620px;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--muted);
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hi); }

.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-hi);
  margin-bottom: 12px;
}

.section h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 18px; }

.section-lede { max-width: 640px; color: var(--muted); font-size: 1.08rem; margin-bottom: 44px; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }

.card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text); }
.card p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--accent); background: #1d2230; }

.contact-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
}
.contact-value { font-weight: 600; font-size: 1.05rem; color: var(--text); }

.note { margin-top: 22px; font-size: 0.9rem; color: var(--muted); font-style: italic; }

/* ---------- Contact form ---------- */
.contact-form { max-width: 560px; }

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input::placeholder,
.field textarea::placeholder { color: #6b7385; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 58, 47, 0.22);
}

.field textarea { resize: vertical; min-height: 120px; }

.cf-turnstile { margin-bottom: 22px; }

#cf-submit { border: none; cursor: pointer; font: inherit; font-weight: 600; }
#cf-submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.form-status { margin-top: 16px; font-size: 0.95rem; min-height: 1.2em; }
.form-status.success { color: #4ac26b; font-weight: 600; }
.form-status.error { color: var(--accent-hi); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-tag { color: var(--gold); }

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .brand-text { display: none; }
  .nav { gap: 16px; }
}
