/*
  Replace Cyclists With Geese
  Plain static stylesheet.

  The goal is intentionally old-fashioned:
  - one readable page container
  - ordinary blue links
  - simple ruled sections
  - small yellow labels
  - no framework layout tricks
*/

:root {
  --page: #f5f1e8;
  --ink: #1a1f3a;
  --link: #0039a6;
  --visited: #5a247a;
  --rule: #73706a;
  --cyan: #00a6b8;
  --yellow: #f1d93a;
  --soft-yellow: #fff8bf;
  --soft-panel: #e7dfcb;
}

html {
  background-color: var(--ink);
  background-image:
    radial-gradient(circle, rgba(0, 166, 184, 0.38) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(245, 241, 232, 0.36) 0 1px, transparent 1.4px),
    linear-gradient(90deg, rgba(0, 166, 184, 0.06) 1px, transparent 1px);
  background-position: 0 0, 19px 31px, 0 0;
  background-size: 53px 53px, 83px 83px, 17px 17px;
}

body {
  margin: 0;
  color: var(--ink);
  background: transparent;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.5;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.35rem 0.55rem;
  color: #000;
  background: #fff;
  border: 1px solid #000;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-window {
  width: min(760px, calc(100% - 24px));
  margin: 1.15rem auto 3rem;
  background: var(--page);
  border: 2px solid;
  border-color: #d2c8aa #766f61 #696253 #d7cfb8;
  box-shadow: 9px 11px 0 rgba(0, 0, 0, 0.28);
}

.site-header,
.site-footer,
main {
  padding-left: 1.45rem;
  padding-right: 1.45rem;
}

.site-header {
  padding-top: 1.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 3px double var(--rule);
}

.brand {
  display: block;
  color: var(--ink);
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 0.92;
  text-decoration: none;
}

.brand:visited {
  color: var(--ink);
}

.site-nav {
  margin-top: 0.8rem;
  padding: 0.25rem 0;
  border-top: 1px dotted var(--rule);
  border-bottom: 1px dotted var(--rule);
  font-size: 0.9rem;
  line-height: 1.8;
}

.site-nav a::after {
  content: ' | ';
  color: var(--rule);
  text-decoration: none;
}

.site-nav a:last-child::after {
  content: '';
}

.site-nav [aria-current='page'] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.site-status {
  margin: 0.35rem 0 0;
  color: #555148;
  font-size: 0.74rem;
}

main {
  padding-top: 1.85rem;
  padding-bottom: 2.25rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

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

a:hover {
  color: #b60000;
  background: linear-gradient(transparent 58%, rgba(241, 217, 58, 0.68) 58%);
}

a:focus-visible,
button:focus-visible {
  outline: 3px dotted var(--cyan);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
}

h1 {
  max-width: 13ch;
  margin: 0;
  color: #242047;
  font-size: clamp(2.45rem, 7.4vw, 4.75rem);
  letter-spacing: -0.025em;
  text-shadow: 2px 2px 0 #fff9d8;
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.1rem, 6.6vw, 3.7rem);
}

h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.72rem, 4.7vw, 2.65rem);
  letter-spacing: -0.015em;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.26rem;
}

p {
  margin-top: 0;
}

.lede,
.section-lede,
.plain-panel-copy {
  max-width: 60ch;
  font-size: 1.04rem;
  line-height: 1.57;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0 0.35rem 0.05rem;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid #8c7a13;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 1.75rem;
  align-items: start;
  padding-bottom: 1.85rem;
  border-bottom: 1px solid var(--rule);
}

.hero .lede {
  max-width: 46ch;
  margin-top: 0.62rem;
  font-size: 1.08rem;
}

.hero-poster {
  margin: 0.3rem 0 0;
  padding: 0.42rem;
  background: #080614;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 #b8b1a1;
}

.hero-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.honk-aside,
.honk-inline {
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid #8c7a13;
  font-size: 0.95em;
  text-transform: uppercase;
}

.honk-aside {
  display: block;
  width: fit-content;
  margin: 0.75rem 0 1rem;
  padding: 0.08rem 0.4rem 0.12rem;
}

.honk-inline {
  display: inline;
  padding: 0 0.24rem;
}

.text-links {
  margin-top: 1.1rem;
}

.text-links a {
  display: block;
  width: fit-content;
  margin: 0.18rem 0 0.36rem;
  font-weight: 700;
}

.text-links a::before {
  content: '» ';
  color: #c42566;
  text-decoration: none;
}

.notice {
  margin: 1.35rem 0 1.7rem;
  padding: 0.28rem 0.6rem 0.36rem;
  background: #fff1a6;
  border: 1px solid #9b8615;
  font-size: 0.82rem;
}

.notice strong {
  margin-right: 0.35rem;
  color: #5f2000;
  letter-spacing: 0.04em;
}

.ruled-section {
  margin: 1.85rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.honk-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: 1.4rem;
  align-items: start;
}

.honk-button {
  min-width: 9rem;
  padding: 0.35rem 1.1rem 0.42rem;
  color: var(--ink);
  background: var(--yellow);
  border: 2px outset #d8d0b8;
  border-radius: 0;
  font: 700 1.25rem/1 Georgia, 'Times New Roman', serif;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.honk-button:hover {
  color: var(--page);
  background: var(--ink);
}

.honk-button:active,
.honk-button.is-honking {
  border-style: inset;
}

.honk-count {
  max-width: 12rem;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.3;
}

.honk-count strong,
.honk-count span {
  display: inline;
}

.honk-count strong {
  margin-right: 0.2rem;
}

.stack article,
.fact-card,
.citation-card,
.enemy-card {
  margin: 0;
  padding: 0.95rem 0 1.05rem;
  border-top: 1px dotted var(--rule);
}

.fact-card::before,
.citation-card::before {
  display: inline-block;
  margin-bottom: 0.2rem;
  padding: 0.03rem 0.2rem;
  color: #555148;
  background: rgba(0, 166, 184, 0.13);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fact-card::before {
  content: 'FIELD NOTE';
}

.citation-card::before {
  content: 'SOURCE FILE';
}

.enemy-card {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 0.75rem;
}

.enemy-rank {
  padding-top: 0.05rem;
  color: #555148;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.enemy-role {
  margin: 0;
  color: #555148;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.enemy-copy h2 {
  margin-top: 0.18rem;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
}

.charge strong {
  color: #6b5600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.goose-verdict {
  margin-top: 0.75rem;
  padding: 0.6rem 0.7rem;
  background: var(--soft-yellow);
  border: 1px solid #8c7a13;
}

.goose-verdict h3 {
  margin-bottom: 0.32rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.petition-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(175px, 0.42fr);
  gap: 1.4rem;
}

.petition-form {
  padding-top: 0.65rem;
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem;
  line-height: 1.34;
}

.checkbox-row input {
  margin-top: 0.25rem;
  accent-color: #242047;
}

.petition-form button,
.button {
  display: inline-block;
  min-height: 0;
  margin-top: 0.75rem;
  padding: 0.42rem 0.8rem;
  color: var(--ink);
  background: var(--soft-panel);
  border: 2px outset #d8d0b8;
  font: 700 0.96rem/1.2 Georgia, 'Times New Roman', serif;
  text-decoration: none;
  cursor: pointer;
}

.petition-form button:hover,
.button:hover {
  color: var(--page);
  background: var(--ink);
}

.site-footer {
  padding-top: 0.92rem;
  padding-bottom: 1.25rem;
  color: #4f4b43;
  border-top: 3px double var(--rule);
  font-size: 0.78rem;
  line-height: 1.4;
}

.site-footer p {
  margin: 0 0 0.3rem;
}

.web-badge {
  display: inline-block;
  margin: 0 0.28rem 0.28rem 0;
  padding: 0.12rem 0.35rem;
  color: var(--ink);
  background: var(--soft-panel);
  border: 1px solid var(--rule);
  font-size: 0.68rem;
  font-weight: 700;
}

@media (max-width: 620px) {
  .site-window {
    width: min(100% - 12px, 760px);
    margin-top: 8px;
    box-shadow: 4px 6px 0 rgba(0, 0, 0, 0.24);
  }

  .site-header,
  .site-footer,
  main {
    padding-left: 1rem;
    padding-right: 0.9rem;
  }

  .hero,
  .honk-panel,
  .petition-panel,
  .enemy-card {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    width: min(94%, 292px);
  }
}
