/* Real Facts for Fred Hutch APPs — original stylesheet.
   Deliberately distinct look from any other site: deep union red + charcoal + cream,
   serif display headings, no gradient/white-on-blue scheme, no third-party theme. */

:root {
  --red: #9d1c2e;
  --red-dark: #6f0f1d;
  --ink: #1c1a17;
  --paper: #f6f1e7;
  --paper-2: #efe7d6;
  --gold: #c9962b;
  --line: #d8cdb6;
  --maxw: 1040px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

/* affiliation bar — always visible, top of every page */
.affil-bar {
  background: var(--ink); color: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .8rem; letter-spacing: .02em; text-align: center;
  padding: .45rem 1rem;
}

/* header */
.site-header { background: var(--red); color: #fff; }
.header-inner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: .85rem 1.25rem;
}
.wordmark {
  color: #fff; text-decoration: none; font-weight: 700;
  font-size: 1.5rem; line-height: 1.05; letter-spacing: .01em;
  display: flex; flex-direction: column; margin-right: auto;
}
.wm-sub {
  font-family: system-ui, sans-serif; font-weight: 600;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-top: .15rem;
}
.nav {
  display: flex; flex-wrap: wrap; gap: .25rem 1.1rem;
  font-family: system-ui, sans-serif; font-size: .92rem;
}
.nav a { color: #f3dede; text-decoration: none; padding: .2rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a.active { color: #fff; border-bottom-color: var(--gold); }
.vote-pill {
  background: var(--gold); color: var(--ink); font-family: system-ui, sans-serif;
  font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding: .5rem .9rem; border-radius: 999px;
}
.vote-pill:hover { background: #e0aa3a; }

/* bands */
.band { padding: 2.6rem 0; border-bottom: 1px solid var(--line); }
.band:nth-of-type(even) { background: var(--paper-2); }
.band.hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-bottom: 4px solid var(--red);
}

.eyebrow {
  font-family: system-ui, sans-serif; font-weight: 700; font-size: .72rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin: 0 0 .5rem;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.1; margin: 0 0 1rem; color: var(--red-dark); }
h2 { font-size: 1.6rem; color: var(--red-dark); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.lede { font-size: 1.2rem; max-width: 62ch; }
.note {
  font-size: .95rem; background: #fff; border-left: 4px solid var(--gold);
  padding: .9rem 1.1rem; max-width: 70ch; margin-top: 1.4rem;
}
.btn {
  display: inline-block; background: var(--red); color: #fff; text-decoration: none;
  font-family: system-ui, sans-serif; font-weight: 700; padding: .7rem 1.3rem;
  border-radius: 4px; margin-top: .5rem;
}
.btn:hover { background: var(--red-dark); }

/* cards */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.4rem; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.3rem; }
.card .stat { font-size: 2rem; font-weight: 700; color: var(--red); margin: .2rem 0 .4rem; line-height: 1; }
.card .tag {
  font-family: system-ui, sans-serif; font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); font-weight: 700; margin: 0 0 .3rem;
}
.card a { color: var(--red); font-weight: 600; text-decoration: none; }
.card a:hover { text-decoration: underline; }
.card .addr { font-size: .9rem; color: #5a544a; }
.times, .calc { margin: .3rem 0 1rem; padding-left: 1.1rem; }
.times li { font-variant-numeric: tabular-nums; }

/* wage calculator */
.calc-form { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem; max-width: 460px; }
.calc-form label { display: block; font-family: system-ui, sans-serif; font-weight: 600; font-size: .9rem; }
.calc-form input {
  display: block; width: 100%; margin-top: .4rem; padding: .6rem .7rem;
  font-size: 1.1rem; border: 1px solid var(--line); border-radius: 4px;
}
.source { font-size: .85rem; color: #6b6457; font-style: italic; }

/* FAQ */
.faq { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: .6rem; }
.faq summary {
  cursor: pointer; padding: .9rem 1.1rem; font-weight: 700; list-style: none;
  font-family: system-ui, sans-serif; font-size: 1.02rem; color: var(--red-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "\2013"; }
.faq > div { padding: 0 1.1rem 1rem; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: .6rem; padding: 1rem 1.1rem; }
.qa h3 { color: var(--red-dark); margin: 0 0 .4rem; }
.qa p { margin: 0; }

/* footer */
.site-footer {
  background: var(--ink); color: #cfc7b6;
  font-family: system-ui, sans-serif; font-size: .85rem; padding: 2rem 0;
}
.site-footer .disclaimer { max-width: 80ch; }
.site-footer strong { color: #fff; }
.copyline { color: #9b9384; margin-top: 1rem; }

a { color: var(--red); }
