:root {
  --bg:#111318;
  --panel:#1b1f27;
  --line:#353b47;
  --text:#f1f3f7;
  --muted:#a9b1bf;
  --accent:#83b5ff;
  --ink:#111a28
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:30px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.65 Arial,Helvetica,sans-serif
}
a {
  color:inherit;
  text-underline-offset:5px
}
button,input,textarea {
  font:inherit
}
a,button,input,textarea,summary {
  outline-offset:5px
}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:2px solid var(--accent)
}
[hidden] {
  display:none!important
}
.preview {
  padding:7px 24px;
  text-align:center;
  background:var(--accent);
  color:var(--ink);
  font-size:12px;
  letter-spacing:.06em
}
header,main,footer {
  max-width:1400px;
  margin:auto
}
header {
  padding:27px 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line)
}
.wordmark {
  font-weight:900;
  letter-spacing:-.04em;
  font-size:22px;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:12px
}
.byline {
  margin-left:8px;
  font-size:9px;
  letter-spacing:.12em;
  font-weight:400;
  color:var(--muted);
  max-width:60px
}
nav {
  display:flex;
  gap:27px;
  align-items:center;
  font-size:13px
}
nav a {
  text-decoration:none
}
.nav-apply {
  border:1px solid var(--line);
  padding:10px 15px
}
.nav-apply span {
  margin-left:20px
}
.hero {
  padding:65px 5% 55px;
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:45px;
  align-items:center
}
.eyebrow {
  font:14px/1.5 'Courier New',monospace;
  letter-spacing:.13em;
  font-weight:bold;
  color:var(--muted);
  margin:0 0 25px
}
.dot {
  display:inline-block;
  width:7px;
  height:7px;
  background:var(--accent);
  border-radius:50%;
  margin-right:8px
}
h1 {
  font-size:clamp(48px,5.4vw,78px);
  letter-spacing:-.065em;
  line-height:.99;
  margin:0 0 27px;
  font-weight:900
}
h1 span {
  color:var(--accent)
}
.intro {
  max-width:400px;
  color:var(--muted);
  font-size:17px;
  line-height:1.7
}
.actions {
  display:flex;
  align-items:center;
  gap:28px;
  margin:30px 0 17px
}
.button {
  display:inline-flex;
  gap:35px;
  align-items:center;
  justify-content:space-between;
  padding:15px 22px;
  background:var(--accent);
  border:0;
  color:var(--ink);
  font-size:13px;
  font-weight:bold;
  text-decoration:none;
  cursor:pointer
}
.button:hover {
  background:#adcfff
}
.button:disabled {
  opacity:.5;
  cursor:wait
}
.text-link {
  font-size:12px
}
.small,.hint {
  font-size:11px;
  line-height:1.7;
  color:var(--muted)
}
.hero-note {
  font-family:'Courier New',monospace
}
.field {
  height:450px;
  background:#222a37;
  position:relative;
  overflow:hidden;
  border:1px solid #465268
}
.field-grid {
  position:absolute;
  inset:0;
  background-image:linear-gradient(#a2b7d018 1px,transparent 1px),linear-gradient(90deg,#a2b7d018 1px,transparent 1px);
  background-size:42px 42px
}
.map-label {
  position:absolute;
  top:24px;
  left:24px;
  font:9px/1.7 monospace;
  letter-spacing:.15em;
  color:#9aabc2
}
.map-label b {
  color:#d2dceb
}
.contour {
  position:absolute;
  border:1px solid #a5b9d440;
  border-radius:45% 60% 35% 65%;
  transform:rotate(-30deg);
  width:420px;
  height:230px;
  left:120px;
  top:60px
}
.c2 {
  width:330px;
  height:180px;
  left:150px;
  top:85px
}
.c3 {
  width:240px;
  height:125px;
  left:180px;
  top:110px
}
.c4 {
  width:150px;
  height:70px;
  left:210px;
  top:135px
}
.route {
  position:absolute;
  width:360px;
  height:280px;
  border-top:2px dashed #83b5ff80;
  border-left:2px dashed #83b5ff80;
  top:190px;
  left:100px;
  transform:rotate(27deg)
}
.rally {
  position:absolute;
  left:48%;
  top:39%;
  width:75px;
  height:75px;
  border:1px solid var(--accent);
  transform:rotate(45deg);
  display:grid;
  place-items:center;
  background:#83b5ff10;
  box-shadow:0 0 0 13px #83b5ff07
}
.rally span {
  transform:rotate(-45deg);
  color:var(--accent);
  font-size:43px;
  font-weight:200
}
.coordinate {
  position:absolute;
  font:9px monospace;
  color:var(--accent)
}
.coordinate.a {
  top:180px;
  left:25px
}
.coordinate.b {
  right:20px;
  top:290px
}
.field-bottom {
  position:absolute;
  bottom:25px;
  left:25px;
  right:25px;
  display:flex;
  justify-content:space-between;
  align-items:end
}
.field-bottom span {
  font:9px/1.7 monospace;
  color:#b0bdd0
}
.field-bottom b {
  font-size:28px;
  line-height:1;
  letter-spacing:-.05em
}
.principles {
  margin:0 5%;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:21px 0;
  font:10px monospace;
  letter-spacing:.06em
}
.principles b {
  color:var(--accent);
  margin-right:12px
}
.section {
  padding:76px 5%;
  border-bottom:1px solid var(--line)
}
h2 {
  font-size:clamp(34px,4vw,54px);
  line-height:1.05;
  letter-spacing:-.05em;
  margin:0 0 28px
}
h3 {
  font-size:21px;
  line-height:1.25;
  letter-spacing:-.035em;
  margin:0 0 16px
}
p {
  margin:0 0 20px
}
.community,.support,.apply,.reporting {
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:90px
}
.community-copy>p,.support>div>p,.apply>div>p,.reporting>div>p {
  color:var(--muted)
}
.community-copy .lead {
  font-size:23px;
  color:var(--text);
  line-height:1.4
}
.rule {
  border-left:3px solid var(--accent);
  padding-left:24px;
  margin-top:30px
}
.rule span {
  display:block;
  font:9px monospace;
  color:var(--accent);
  margin-bottom:12px
}
.rule strong {
  font-size:20px;
  font-weight:400;
  line-height:1.4
}
.steps {
  background:#171b22
}
.section-heading {
  margin-bottom:34px
}
.section-heading h2 {
  margin-bottom:0
}
.step-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:45px
}
.step-number {
  display:block;
  color:var(--accent);
  font:14px monospace;
  margin-bottom:35px
}
.step-grid p {
  color:var(--muted);
  font-size:14px
}
.split {
  display:flex;
  align-items:end;
  justify-content:space-between
}
.news-item {
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:150px 1fr;
  gap:30px;
  padding-top:28px
}
.news-item p {
  color:var(--muted);
  max-width:700px;
  font-size:14px
}
.news-item time {
  font:11px monospace;
  color:var(--muted)
}
.support {
  background:var(--text);
  color:var(--ink)
}
.support .eyebrow,.support .small,.support .hint,.support>div>p {
  color:#526078
}
.support .button {
  background:var(--ink);
  color:var(--accent);
  margin-bottom:15px
}
.funding {
  border:1px solid #b9c2d0;
  padding:28px;
  align-self:start
}
.funding-top {
  display:flex;
  justify-content:space-between;
  gap:12px
}
.funding-top .eyebrow {
  margin-bottom:20px
}
.funding-top .small {
  font-size:8px
}
.funding-total {
  display:flex;
  align-items:baseline;
  gap:15px;
  margin-bottom:15px
}
.funding-total strong {
  font-size:43px;
  letter-spacing:-.06em
}
.funding-total span {
  font-size:12px;
  color:#526078
}
progress {
  width:100%;
  height:7px;
  appearance:none;
  border:0;
  display:block;
  margin:0 0 25px
}
progress::-webkit-progress-bar {
  background:#d3dae6
}
progress::-webkit-progress-value {
  background:#365f9d
}
progress::-moz-progress-bar {
  background:#365f9d
}
.cost-row {
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:10px 0;
  border-bottom:1px solid #c9d2e0;
  font-size:12px
}
.funding-note {
  margin-top:18px
}
.funding details {
  margin-top:20px
}
.funding summary {
  font-size:12px
}
.checklist {
  list-style:none;
  padding:0;
  margin:27px 0
}
.checklist li {
  font-size:14px;
  padding:8px 0;
  border-bottom:1px solid var(--line)
}
.checklist li:before {
  content:'+';
  color:var(--accent);
  margin-right:15px
}
form {
  border:1px solid var(--line);
  padding:28px;
  background:var(--panel)
}
.form-title {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  margin-bottom:22px
}
.form-title h3 {
  margin:0
}
.form-title .small {
  font:9px monospace
}
label {
  display:block;
  font-size:12px;
  margin-bottom:20px
}
.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px
}
input:not([type=checkbox]),textarea {
  display:block;
  width:100%;
  padding:11px;
  border:1px solid #465268;
  background:#131820;
  color:var(--text);
  border-radius:0;
  margin-top:7px;
  font-size:14px
}
textarea {
  resize:vertical
}
input::placeholder,textarea::placeholder {
  color:#8592a6
}
.hint {
  display:block;
  margin-top:6px;
  font-size:10px
}
.consent {
  display:flex;
  gap:10px;
  align-items:start;
  color:var(--muted);
  font-size:11px
}
.consent input {
  accent-color:var(--accent);
  margin-top:4px
}
.trap {
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden
}
.form-status {
  margin:16px 0 0;
  font-size:13px
}
.challenge {
  margin-bottom:15px
}
.reporting details {
  align-self:start;
  border-top:1px solid var(--line)
}
summary {
  cursor:pointer;
  padding:17px 0;
  font-size:15px
}
summary span {
  float:right;
  color:var(--accent)
}
.reporting form {
  border:0
}
.privacy {
  max-width:900px;
  color:var(--muted);
  font-size:12px
}
.privacy h3 {
  color:var(--text)
}
#operator-note {
  border-left:2px solid var(--accent);
  padding-left:15px
}
footer {
  padding:32px 5%;
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center
}
footer>span,footer>a:last-child {
  font-size:10px;
  color:var(--muted)
}
.accent {
  color:var(--accent)
}
@media(min-width:1600px) {
  body {
    font-size:17px
  }
  .hero {
    padding-top:85px;
    padding-bottom:75px
  }
}
@media(max-width:900px) {
  .byline {
    display:none
  }
  nav {
    gap:15px;
    font-size:11px
  }
  .hero {
    gap:25px
  }
  .field {
    height:400px
  }
  .community,.support,.apply,.reporting {
    gap:35px
  }
  .principles {
    font-size:8px
  }
  .section {
    padding-top:55px;
    padding-bottom:55px
  }
  .funding {
    padding:20px
  }
  .funding-top {
    display:block
  }
  .funding-total {
    display:block
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0
  }
  .step-grid {
    gap:24px
  }
}
@media(max-width:620px) {
  header {
    padding:18px 6%;
    align-items:start
  }
  .wordmark {
    font-size:18px
  }
  nav {
    gap:12px;
    flex-wrap:wrap;
    justify-content:end;
    max-width:190px
  }
  nav a:first-child,nav a:nth-child(2) {
    display:none
  }
  .nav-apply {
    padding:6px 10px
  }
  .nav-apply span {
    margin-left:8px
  }
  .hero {
    grid-template-columns:1fr;
    padding:44px 6% 35px
  }
  h1 {
    font-size:59px
  }
  .field {
    height:290px
  }
  .field-bottom b {
    font-size:24px
  }
  .rally {
    top:33%;
    left:50%
  }
  .contour {
    top:10px
  }
  .c2 {
    top:35px
  }
  .c3 {
    top:60px
  }
  .c4 {
    top:85px
  }
  .route {
    top:150px
  }
  .coordinate.b {
    top:190px
  }
  .principles {
    grid-template-columns:1fr 1fr;
    gap:17px;
    padding:20px 0;
    margin:0 6%;
    font-size:9px
  }
  .section {
    padding:45px 6%
  }
  .community,.support,.apply,.reporting {
    grid-template-columns:1fr;
    gap:25px
  }
  h2 {
    font-size:40px
  }
  .step-grid {
    grid-template-columns:1fr;
    gap:28px
  }
  .step-number {
    margin-bottom:15px
  }
  .step-grid p {
    margin:0
  }
  .step-grid article {
    border-top:1px solid var(--line);
    padding-top:20px
  }
  .split {
    display:block
  }
  .split>.small {
    display:none
  }
  .news-item {
    grid-template-columns:1fr;
    gap:15px
  }
  .funding-top {
    display:flex
  }
  .funding-top .small {
    display:none
  }
  .funding-total {
    display:flex
  }
  .form-row {
    grid-template-columns:1fr
  }
  form {
    padding:20px
  }
  .form-title .small {
    font-size:8px
  }
  footer {
    flex-wrap:wrap;
    padding:28px 6%
  }
  footer>span {
    order:3;
    width:100%
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
}
.wordmark {
  letter-spacing:-.04em;
  font-size:21px;
  gap:16px
}
.byline {
  white-space:nowrap;
  max-width:none
}
.wordmark [data-community-name] {
  white-space:nowrap
}
@media(max-width:620px) {
  header .wordmark {
    font-size:16px
  }
  .hero h1 {
    font-size:clamp(44px,13vw,59px)
  }
  footer .wordmark {
    font-size:19px
  }
}

/* Visitor-facing funding details: readable at ordinary browser zoom. */
#support .small, #support .hint { font-size:14px; line-height:1.65; }
#support .cost-row { font-size:15px; padding:14px 0; }
#support .funding-total { flex-wrap:wrap; gap:8px 16px; }
#support .funding-total span { font-size:15px; }
#support .funding summary { font-size:15px; }
#support .budget-pending { color:#526078; font-size:15px; margin:18px 0; }
#support .funding-top { display:block; }
#support .funding-top .eyebrow { margin-bottom:20px; }
/* Short dispatches live beside the opening headline, not halfway down the page. */
.hero { align-items:start; grid-template-columns:1.2fr 1fr; }
.dispatch-card { background:var(--panel); border:1px solid var(--line); padding:28px; min-width:0; }
.dispatch-header { border-bottom:1px solid var(--line); padding-bottom:18px; }
.dispatch-header .eyebrow { margin-bottom:10px; }
.dispatch-header h2 { font-size:30px; margin:0; letter-spacing:-.035em; }
.dispatch-card .news-item { display:block; padding-top:20px; border-top:0; }
.dispatch-card .news-item + .news-item { margin-top:18px; border-top:1px solid var(--line); }
.dispatch-card .news-item time { display:block; font:13px/1.5 Arial,Helvetica,sans-serif; color:var(--muted); margin-bottom:8px; }
.dispatch-card .news-item h3 { font-size:20px; margin-bottom:10px; }
.dispatch-card .news-item p, .dispatch-card .small { font-size:15px; line-height:1.65; margin:0; }
.dispatch-card details { margin-top:12px; }
.dispatch-card summary { padding:0; color:var(--accent); font-size:14px; }
.dispatch-card details p { padding-top:12px; }
@media(max-width:900px) { .hero { gap:28px; } .dispatch-card { padding:22px; } }
@media(max-width:620px) {
  .hero { grid-template-columns:1fr; }
  .dispatch-card { order:-1; padding:22px; }
  .dispatch-header h2 { font-size:26px; }
  #support .funding-total strong { font-size:38px; }
}

/* Official WARDOGS imagery, served locally with the application. */
.hero { position:relative; isolation:isolate; min-height:500px; }
.hero::before {
  content:''; position:absolute; inset:0; z-index:-1;
  background-image:linear-gradient(90deg,rgba(17,19,24,.89) 0%,rgba(17,19,24,.74) 40%,rgba(17,19,24,.28) 100%),linear-gradient(0deg,rgba(17,19,24,.85),transparent 65%),url('assets/wardogs-helicopter.jpg');
  background-size:cover; background-position:center,center,center 39%;
}
.hero-copy .eyebrow,.hero-copy .intro { color:#d1d9e6; }
.dispatch-card { background:rgba(27,31,39,.97); box-shadow:0 12px 36px #0003; }
.community { row-gap:36px; }
.community-game-image { grid-column:1/-1; margin:0; border:1px solid var(--line); background:var(--panel); }
.community-game-image img { display:block; width:100%; height:320px; object-fit:cover; object-position:center 45%; }
.community-game-image figcaption { padding:13px 18px; color:var(--muted); font:12px/1.5 'Courier New',monospace; letter-spacing:.08em; }
@media(max-width:620px) {
  .hero::before { background-position:center,center,36% center; background-image:linear-gradient(90deg,rgba(17,19,24,.88),rgba(17,19,24,.65)),url('assets/wardogs-helicopter.jpg'); }
  .community-game-image img { height:auto; aspect-ratio:16/9; }
}
