/* =========================================================
   Daily Issue — style.css
   Military "field dispatch" theme: olive + gold + cream.
   Oswald (condensed display) + Stardos Stencil (labels)
   + Source Sans 3 (body).
   ========================================================= */

:root {
  --olive:      #4b5320;
  --olive-dk:   #363c17;
  --olive-900:  #262b10;
  --olive-2:    #5c6a2f;
  --khaki:      #b3a678;
  --tan:        #cabf9a;
  --gold:       #c9a227;
  --gold-2:     #e0be4b;
  --gold-dk:    #9c7d19;
  --cream:      #f5f2e9;
  --paper:      #faf8f1;
  --card:       #ffffff;
  --ink:        #23251c;
  --muted:      #61654f;
  --line:       #e4dfcf;
  --brick:      #8b2e2a;

  --maxw: 1140px;
  --disp: "Oswald", "Arial Narrow", sans-serif;
  --stencil: "Stardos Stencil", "Oswald", sans-serif;
  --body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 16px 40px -20px rgba(38, 43, 16, 0.5);
  --shadow-sm: 0 8px 20px -12px rgba(38, 43, 16, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--olive); }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 700; line-height: 1.08; margin: 0; text-transform: uppercase; letter-spacing: 0.01em; color: var(--olive-dk); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

.stencil { font-family: var(--stencil); letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--disp); font-weight: 600; font-size: 0.98rem; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 13px 26px; border-radius: 3px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--olive-900); border-color: var(--gold-dk); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-2); }
.btn-olive { background: var(--olive); color: #fff; border-color: var(--olive-dk); }
.btn-olive:hover { background: var(--olive-2); }
.btn-outline { background: transparent; color: var(--olive); border-color: var(--olive); }
.btn-outline:hover { background: var(--olive); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.06rem; }

/* ---------- Top ribbon ---------- */
.ribbon { height: 5px; background: repeating-linear-gradient(45deg, var(--gold) 0 14px, var(--olive) 14px 28px); }

/* ---------- Header ---------- */
.site-header { background: var(--olive-900); position: sticky; top: 0; z-index: 60; border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 26px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand .wm { display: flex; flex-direction: column; line-height: 1; }
.brand .wm .t { font-family: var(--disp); font-weight: 700; font-size: 1.4rem; color: #fff; text-transform: uppercase; letter-spacing: 0.02em; }
.brand .wm .t b { color: var(--gold-2); font-weight: 700; }
.brand .wm .s { font-family: var(--stencil); font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--khaki); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 3px; }
.nav a.navlink { color: #e6e3d3; text-decoration: none; font-family: var(--disp); font-weight: 500; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.03em; padding: 9px 13px; border-radius: 3px; transition: background .15s, color .15s; }
.nav a.navlink:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav .btn { margin-left: 8px; }
.header-cta { display: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--gold-2); display: block; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; background:
    linear-gradient(150deg, var(--olive-900) 0%, var(--olive) 60%, var(--olive-2) 100%);
  overflow: hidden; border-bottom: 4px solid var(--gold); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 22px 22px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; padding: 60px 26px 66px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,162,39,0.16); border: 1px solid rgba(201,162,39,0.4); color: var(--gold-2); font-family: var(--stencil); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 14px; border-radius: 3px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.7rem); margin: 20px 0 0; }
.hero h1 .gold { color: var(--gold-2); }
.hero .lead { color: #e7e4d4; font-size: 1.18rem; max-width: 52ch; margin: 18px 0 0; }
.hero ul.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 9px; }
.hero ul.points li { display: flex; align-items: flex-start; gap: 10px; color: #f2efe2; font-weight: 600; }
.hero ul.points .st { color: var(--gold-2); flex: 0 0 auto; }

/* signup card */
.signup-card { background: var(--cream); border-radius: 6px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.signup-card .head { background: var(--olive-dk); color: #fff; padding: 18px 26px; text-align: center; position: relative; }
.signup-card .head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(45deg, var(--gold) 0 12px, var(--olive-900) 12px 24px); }
.signup-card .head h2 { color: #fff; font-size: 1.5rem; }
.signup-card .head p { margin: 4px 0 0; color: var(--khaki); font-size: 0.9rem; font-family: var(--body); }
.signup-card .body { padding: 24px 26px 26px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--disp); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--olive-dk); margin-bottom: 6px; }
.field input { width: 100%; padding: 13px 14px; font-family: var(--body); font-size: 1rem; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(75,83,32,0.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 16px; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--olive); flex: 0 0 auto; }
.consent label { font-size: 0.76rem; line-height: 1.5; color: var(--muted); }
.consent a { color: var(--olive); font-weight: 600; }
.form-error { color: var(--brick); font-size: 0.85rem; font-weight: 600; min-height: 1px; margin-bottom: 8px; }
.form-note { font-size: 0.75rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.signup .success { display: none; text-align: center; }
.signup.is-done .body form { display: none; }
.signup.is-done .success { display: block; padding: 6px 4px; }
.signup .success .st { font-size: 2.4rem; color: var(--gold-dk); }
.signup .success h3 { font-size: 1.4rem; margin: 6px 0 8px; }
.signup .success p { color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--olive-dk); color: var(--khaki); font-family: var(--stencil); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.trust-strip .wrap { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; padding: 10px 26px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .st { color: var(--gold-2); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section.alt { background: var(--cream); }
.section.olive { background: linear-gradient(160deg, var(--olive) 0%, var(--olive-dk) 100%); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head .kicker { display: inline-block; font-family: var(--stencil); color: var(--gold-dk); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; }
.section.olive .section-head .kicker { color: var(--gold-2); }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin: 10px 0 0; }
.section.olive .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 12px 0 0; }
.section.olive .section-head p { color: #e0dcc9; }
.rule { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px auto 0; }
.rule i { height: 3px; width: 44px; background: var(--gold); display: block; }
.rule b { color: var(--gold-dk); }
.section.olive .rule b { color: var(--gold-2); }

/* ---------- Topics ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.topic { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 22px 18px; text-align: center; transition: transform .15s, border-color .15s, box-shadow .15s; }
.topic:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.topic .ic { width: 46px; height: 46px; margin: 0 auto 12px; }
.topic .nm { font-family: var(--disp); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; color: var(--olive-dk); }
.topic .ds { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }

/* ---------- Article cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.card .thumb { aspect-ratio: 8 / 5; background: var(--olive); border-bottom: 3px solid var(--gold); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card .tag { align-self: flex-start; background: var(--olive); color: var(--gold-2); font-family: var(--stencil); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.card h3 { font-size: 1.28rem; margin: 12px 0 8px; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }
.card .more { margin-top: auto; font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.88rem; color: var(--gold-dk); }
.center-row { text-align: center; margin-top: 44px; }

/* ---------- Resources ---------- */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.res { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; padding: 18px 20px; text-decoration: none; transition: background .15s; }
.res:hover { background: rgba(255,255,255,0.1); }
.res .st { color: var(--gold-2); font-size: 1.2rem; flex: 0 0 auto; }
.res h4 { color: #fff; font-size: 1.05rem; }
.res p { color: #d7d3c1; font-size: 0.86rem; margin: 3px 0 0; }
.res .ext { color: var(--gold-2); font-size: 0.8rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: var(--olive-900); border-radius: 8px; padding: 50px 40px; text-align: center; border: 2px solid var(--gold-dk); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--olive-900); font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-band p { max-width: 52ch; margin: 12px auto 24px; font-weight: 600; }

/* ---------- Article page ---------- */
.article-hero { background: linear-gradient(150deg, var(--olive-900), var(--olive)); border-bottom: 4px solid var(--gold); color: #fff; padding: 46px 0 0; }
.article-hero .crumb { font-size: 0.85rem; color: var(--khaki); }
.article-hero .crumb a { color: var(--gold-2); text-decoration: none; }
.article-hero .tag { display: inline-block; margin: 16px 0 0; background: var(--gold); color: var(--olive-900); font-family: var(--stencil); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 12px; border-radius: 3px; }
.article-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin: 14px 0 0; max-width: 22ch; }
.article-hero .meta { color: var(--khaki); font-size: 0.9rem; margin: 14px 0 0; font-family: var(--body); }
.article-hero .banner { max-width: 760px; margin: 32px auto 0; aspect-ratio: 16 / 9; border-radius: 6px 6px 0 0; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); border-bottom: none; }
.article-hero .banner img { width: 100%; height: 100%; object-fit: cover; }

.article { max-width: 720px; margin: 0 auto; padding: 52px 26px 24px; }
.article p { margin: 0 0 18px; }
.article h2 { font-size: 1.55rem; margin: 36px 0 12px; }
.article ul { margin: 0 0 18px; padding-left: 22px; }
.article li { margin: 7px 0; }
.article blockquote { margin: 26px 0; padding: 16px 24px; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 6px 6px 0; font-size: 1.08rem; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; background: var(--olive); color: #fff; border-radius: 6px; padding: 24px 28px; margin: 34px 0; }
.inline-cta h3 { color: #fff; font-size: 1.3rem; }
.inline-cta p { color: #e0dcc9; margin: 6px 0 0; font-size: 0.95rem; }
.back-link { display: inline-block; margin-top: 12px; font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--olive); text-decoration: none; }

/* mini signup */
.mini { background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 28px; margin: 40px 0; text-align: center; }
.mini h3 { font-size: 1.4rem; }
.mini p { color: var(--muted); margin: 6px 0 16px; }
.mini form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.mini input { flex: 1 1 240px; min-width: 0; max-width: 340px; padding: 13px 14px; font-family: var(--body); font-size: 1rem; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; }
.mini input:focus { outline: none; border-color: var(--olive); }

/* ---------- Legal ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 52px 26px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.legal h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.legal .crumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.legal .crumb a { color: var(--olive); text-decoration: none; }
.legal .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-900); color: #b9bca6; padding: 48px 0 26px; font-size: 0.92rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px; }
.site-footer .brand .wm .t, .site-footer .brand .wm .t b { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--disp); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #b9bca6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .fbrand p { margin: 12px 0 0; max-width: 300px; color: #9ba086; }
.site-footer .disclaimer { font-size: 0.8rem; color: #7f8468; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); line-height: 1.6; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: 0.82rem; color: #7f8468; }
.site-footer .bottom a { color: #9ba086; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero .signup-card { order: -1; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--olive-900); border-bottom: 3px solid var(--gold); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a.navlink { padding: 14px 26px; border-top: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .nav .btn { display: none; }
  .header-bar { padding: 10px 18px; gap: 12px; }
  .header-cta { display: inline-flex; margin-left: auto; padding: 10px 18px; font-size: 0.9rem; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 22px; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
}
