/* ECN shell — "Field Grade" direction: dark earth, bone text, wheat-gold accent.
   Faction-neutral: no national symbols; the mark is the ECN stencil wordmark. */
:root {
  --bg: #1E1C16;
  --surface: #2B281F;
  --surface-2: #35311F;
  --line: #3A3529;
  --text: #EDE6D3;
  --muted: #B3AA94;
  --accent: #C9A44C;
  --accent-ink: #1E1C16;
  --danger: #E0705F;
  --ok: #8FB46A;
  --radius: 4px;
  --display: "Saira Stencil One", "Arial Black", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.5; }
a { color: var(--accent); }
a:hover { color: #E2C57A; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

/* top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 24px; border-bottom: 1px solid var(--line); background: #191710; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--text); }
.brand .mark { font-family: var(--display); font-size: 30px; letter-spacing: 2px; }
.brand .full { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 3px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--cond); font-weight: 600; letter-spacing: 1.2px; font-size: 16px; }
.nav a { color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.who { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.who img { width: 32px; height: 32px; border-radius: 50%; }

/* buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px;
  border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); border-radius: var(--radius);
  font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 1.5px; text-decoration: none; cursor: pointer; }
.btn:hover { background: #D8B562; color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--text); border-color: #6B634F; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
label { display: block; font-family: var(--cond); font-weight: 600; letter-spacing: 1px; font-size: 15px; color: var(--muted); margin-bottom: 6px; }
input[type=text], textarea, select { width: 100%; padding: 12px; background: #15130E; border: 1px solid #4A4535; color: var(--text);
  border-radius: var(--radius); font: inherit; }
input:focus, textarea:focus, select:focus, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-family: var(--body); font-size: 16px; letter-spacing: 0; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); }
.field { margin-bottom: 18px; }
.msg { padding: 10px 14px; border-radius: var(--radius); margin: 12px 0; font-size: 15px; }
.msg.err { background: #3A1F1A; border: 1px solid var(--danger); }
.msg.ok { background: #233019; border: 1px solid var(--ok); }

/* layout */
.wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px 64px; }
.narrow { max-width: 560px; }
.wrap > section.card { margin-bottom: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.eyebrow { font-family: var(--cond); font-weight: 700; letter-spacing: 3px; font-size: 13px; color: var(--accent); text-transform: uppercase; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.15; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6vw, 56px); letter-spacing: 1px; }
h2 { font-family: var(--cond); font-weight: 700; font-size: 26px; letter-spacing: 1.5px; text-transform: uppercase; }
.muted { color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* hero */
.hero { position: relative; min-height: 440px; display: flex; align-items: stretch; background: #2b281f url("/assets/field.jpg") 65% 60% / cover no-repeat; border-bottom: 3px solid var(--accent); }
.hero-panel { width: 100%; display: flex; align-items: center; padding: 40px 24px; background: linear-gradient(90deg, rgba(20,18,13,.92) 0%, rgba(20,18,13,.78) 40%, rgba(20,18,13,.15) 72%, rgba(20,18,13,0) 100%); }
.hero-inner { width: 100%; }
.hero-inner { max-width: 1100px; margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 8vw, 84px); margin-bottom: 4px; }
.hero .full { font-family: var(--cond); font-weight: 600; letter-spacing: 6px; font-size: clamp(14px, 2vw, 20px); color: var(--text); margin-bottom: 16px; }
.hero p { max-width: 640px; color: #D7CFBA; font-size: 19px; }

/* profile */
.profile-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.profile-head img { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--accent); }
.badge { display: inline-block; padding: 3px 10px; border: 1px solid var(--accent); color: var(--accent); border-radius: 999px;
  font-family: var(--cond); font-weight: 700; letter-spacing: 1.5px; font-size: 13px; text-transform: uppercase; }

/* tables */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-family: var(--cond); letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-size: 13px; background: #24211A; }
td select { width: auto; padding: 6px 8px; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.tabs button { min-height: 40px; }
.tabs button[aria-selected=true] { background: var(--accent); color: var(--accent-ink); }

.footer { border-top: 1px solid var(--line); padding: 20px 24px; color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 640px) {
  .hero-panel { background: linear-gradient(0deg, rgba(20,18,13,.95) 0%, rgba(20,18,13,.7) 60%, rgba(20,18,13,.35) 100%); align-items: flex-end; }
  .topbar { padding: 12px 16px; }
  .wrap { padding: 24px 16px 48px; }
  .brand .full { display: none; }
  .hero { min-height: 340px; }
}
