/* Tac's Ready, shared styles. A parody by The Starmeroids. */
:root {
  --tac: #1d1916;          /* Tac black, warm near black */
  --paper: #f6f0e4;        /* newsprint cream for the masthead */
  --white: #ffffff;
  --grey: #5f5a55;
  --rule: #d8d0c2;
  --amber: #b8741a;        /* Tac's eyes, used for focus */
  --panel: #fbf8f2;
}

* { box-sizing: border-box; }

html { font-size: 112.5%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--tac);
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  line-height: 1.6;
}

a { color: var(--tac); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 4px; }
a:focus-visible, button:focus-visible { outline: 4px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Parody notice: always first */
.parody {
  background: var(--tac);
  color: var(--white);
  font-size: 1rem;
  padding: 12px 0;
}
.parody p { margin: 0; }
.parody a { color: var(--white); }

/* Masthead */
.masthead {
  background: var(--paper);
  border-bottom: 4px solid var(--tac);
  padding: 18px 0 12px;
}
.site-name {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}
.site-name a { text-decoration: none; }
.strapline { margin: 4px 0 0; font-style: italic; color: var(--grey); }

/* Treats panel: a joke, not a consent banner */
.treats {
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}
.treats h2 { font-size: 1.1rem; margin: 0 0 4px; }
.treats p { margin: 0; }

/* Menu */
nav.menu { border-bottom: 1px solid var(--rule); }
nav.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
nav.menu li { padding: 10px 0; }
nav.menu a { font-weight: 700; }
nav.menu .soon { color: var(--grey); }

main.wrap { padding: 28px 16px 40px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 40px; }
.hero h1 { margin: 0; }
.hero h1 img { display: block; width: 100%; max-width: 500px; height: auto; }
.hero p { font-size: 1.15rem; margin: 0 0 14px; }
.cta { font-weight: 700; }

/* Section cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 40px; }
.card { border-top: 4px solid var(--tac); padding-top: 12px; }
.card h2, .weather h2 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 1.9rem; line-height: 1.05; letter-spacing: 0.02em; margin: 0 0 8px; }
.card img, .weather img { display: block; width: 100%; height: auto; margin-top: 12px; }
.card p { margin: 0 0 10px; }
.small { font-size: 0.9rem; color: var(--grey); }

.local { border-left: 4px solid var(--rule); padding: 4px 0 4px 16px; margin: 0 0 40px; }

.weather { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; border-top: 4px solid var(--tac); padding-top: 16px; margin-bottom: 40px; }

.danger { border: 3px solid var(--tac); padding: 16px 20px; margin-bottom: 16px; font-size: 1.15rem; }
.danger p { margin: 0; }
.danger strong { font-size: 1.3rem; }

.closing { color: var(--grey); }

footer { background: var(--paper); border-top: 4px solid var(--tac); padding: 16px 0; font-size: 0.95rem; }
footer p { margin: 0; }
.footer-links { list-style: none; margin: 0 0 12px; padding: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 28px; border-bottom: 1px solid var(--rule); }
.footer-links a { font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Inner pages */
.checklist h1, .content h1 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 2.6rem; line-height: 1; margin: 0 0 12px; }
.checklist h2, .content h2 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 1.7rem; margin: 28px 0 8px; border-bottom: 2px solid var(--tac); }
.checklist ul.ticks { list-style: none; padding: 0; margin: 0; }
.checklist ul.ticks li { margin-bottom: 10px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.checklist input[type="checkbox"] { width: 26px; height: 26px; margin: 2px 0 0; flex: 0 0 26px; accent-color: var(--tac); }
.verdict { margin-top: 28px; border: 3px solid var(--tac); padding: 14px 18px; background: var(--panel); }

.content > *, .checklist > * { max-width: 728px; }
.lede { font-size: 1.25rem; margin: 0 0 16px; }
.page-pic { display: block; width: 100%; max-width: 479px; height: auto; margin: 0 0 20px; }
.content ol li, .checklist ol li { margin-bottom: 6px; }
.appeal { font-size: 1.2rem; font-weight: 700; margin: 20px 0 6px; }

@media (max-width: 760px) {
  .hero, .weather { grid-template-columns: 1fr; gap: 18px; }
  .cards { grid-template-columns: 1fr; }
  .site-name { font-size: 2.2rem; }
}
