/* ==========================================================================
   Maisie MacDonald / We Don't Steal Babies
   The site borrows the book's cover: yellow paper, black ink, one red car.
   ========================================================================== */

@font-face { font-family: "Archivo Black"; src: url("/assets/fonts/archivo-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/assets/fonts/eb-garamond.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/assets/fonts/eb-garamond-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/assets/fonts/eb-garamond-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Special Elite"; src: url("/assets/fonts/special-elite.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Reenie Beanie"; src: url("/assets/fonts/reenie-beanie.woff2") format("woff2"); font-display: swap; }

:root {
  --yellow: #f6be2c;
  --yellow-deep: #e9ac12;
  --ink: #16130f;
  --ink-soft: #453e33;
  --red: #cd261e;
  --red-deep: #961912;   /* red that can be read on the yellow */
  --cream: #f4ecdb;
  --paper: #fbf7ee;
  --line: #d9cfb8;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --type: "Special Elite", "Courier New", monospace;
  --hand: "Reenie Beanie", "Comic Sans MS", cursive;
  --wrap: 1120px;
  --prose: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.08; }
h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 0.96; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.01em; }
h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.45em; }
hr { border: 0; height: 40px; margin: 2.2rem 0; background: url("/assets/img/road.png") center / 1200px 20px no-repeat; }
blockquote { margin: 1.6em 0; padding: 0 0 0 1.1em; border-left: 5px solid var(--yellow); font-style: italic; }
table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6em 0.8em 0.6em 0; border-bottom: 1px solid var(--line); }
th { width: 9em; font-weight: 700; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6em 1em; z-index: 50; }
.skip:focus { left: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.prose { max-width: var(--prose); margin-left: auto; margin-right: auto; }
.kicker { font-family: var(--sans); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin: 0 0 0.9em; }
.lede { font-size: 1.42rem; line-height: 1.45; }
.small { font-family: var(--sans); font-size: 0.92rem; line-height: 1.5; color: var(--ink-soft); }
.hand { font-family: var(--hand); font-size: 1.9rem; line-height: 1; color: var(--ink); }
.center { text-align: center; }

/* ------------------------------------------------------------- top strip */
.strip { background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 0.92rem; text-align: center; padding: 0.55em 1em; }
.prices { margin: 1rem 0 0; color: var(--ink); }
.strip a { color: var(--yellow); font-weight: 700; margin-left: 0.5em; white-space: nowrap; }

/* -------------------------------------------------------------- masthead */
.masthead { background: var(--yellow); border-bottom: 3px solid var(--ink); position: sticky; top: 0; z-index: 20; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.02em; }
.brand img { width: 54px; }
.brand:hover { color: var(--ink); }
.brand:hover img { transform: translateX(4px); transition: transform 0.25s; }
.nav ul { list-style: none; display: flex; gap: 0.2rem; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: block; padding: 0.5em 0.75em; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; text-decoration: none; border-radius: 3px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--ink); color: var(--yellow); }
.nav-toggle { display: none; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; background: var(--ink); color: var(--yellow); border: 0; padding: 0.55em 0.9em; border-radius: 3px; cursor: pointer; }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 1.02rem; text-decoration: none; padding: 0.8em 1.25em; border: 3px solid var(--ink); border-radius: 4px; background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--red); transition: transform 0.12s, box-shadow 0.12s; cursor: pointer; }
.btn:hover { color: var(--paper); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--red); }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.btn-light:hover { color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-soon { background: transparent; color: var(--ink); border-style: dashed; box-shadow: none; cursor: default; }
.btn-soon:hover { color: var(--ink); transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.1rem; align-items: center; margin: 1.5rem 0 0; }

/* ----------------------------------------------------------------- bands */
.band { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; }
.band-yellow { background: var(--yellow); }
.band-cream { background: var(--cream); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink a:hover { color: var(--yellow); }
.band-ink .kicker { color: var(--yellow); }
.hero .kicker, .page-head .kicker, .band-yellow .kicker, .quiz-result .kicker { color: var(--red-deep); }
.band-yellow .card .kicker { color: var(--red); }
.band-yellow::after, .band-cream::after, .hero::after { content: ""; position: absolute; inset: 0; background: url("/assets/img/grain.png"); mix-blend-mode: multiply; opacity: 0.55; pointer-events: none; }
.band > .wrap, .hero > .wrap { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ hero */
.hero { background: var(--yellow); position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(3rem, 9vw, 6.6rem); line-height: 0.9; margin-bottom: 0.25em; }
.hero h1 span { display: block; }
.hero .sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.25; margin: 0 0 1rem; }
.hero .strap { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; max-width: 30em; margin: 0; }
.cover { position: relative; justify-self: center; transform: rotate(2.5deg); box-shadow: 0 1px 0 #0002, 14px 18px 0 rgba(22, 19, 15, 0.9); max-width: 330px; transition: transform 0.3s; }
.cover:hover { transform: rotate(0.5deg) translateY(-4px); }
.cover img { width: 100%; }
.road { position: relative; height: 120px; margin-top: clamp(1rem, 3vw, 2.5rem); z-index: 1; }
.road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 26px; height: 20px; background: url("/assets/img/road.png") left center / 1200px 20px repeat-x; }
.road .car { position: absolute; bottom: 33px; left: 8%; width: clamp(130px, 17vw, 200px); animation: drive 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes drive { from { transform: translateX(-60vw); } 80% { transform: translateX(10px); } to { transform: translateX(0); } }
.road-thin { height: 104px; margin: 0.4rem 0 0; }
.road-thin .car { width: 110px; left: auto; right: 10%; animation: none; }

/* ----------------------------------------------------------- page header */
.page-head { background: var(--yellow); padding: clamp(2.2rem, 5vw, 3.6rem) 0 0; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset: 0; background: url("/assets/img/grain.png"); mix-blend-mode: multiply; opacity: 0.55; pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 14em; margin-bottom: 0.3em; }
.page-head .lede { max-width: 32em; margin-bottom: 0; }
.page-body { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.page-body h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-top: 1.8em; }
.page-body h3 { margin-top: 1.6em; }
.page-body > .prose > :first-child { margin-top: 0; }

/* ----------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.cards li { margin: 0; }
.card { display: block; height: 100%; background: var(--paper); border: 3px solid var(--ink); border-radius: 4px; padding: 1.4rem 1.4rem 1.5rem; text-decoration: none; box-shadow: 6px 6px 0 var(--ink); transition: transform 0.12s, box-shadow 0.12s; }
a.card:hover { color: var(--ink); transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.card h3 { margin: 0 0 0.4em; font-size: 1.2rem; }
.card p { margin: 0; font-size: 1.08rem; line-height: 1.45; }
.card .kicker { margin-bottom: 0.6em; }
.cards li:nth-child(3n+1) .card { transform: rotate(-0.6deg); }
.cards li:nth-child(3n+2) .card { transform: rotate(0.5deg); }
.cards li:nth-child(3n+1) a.card:hover, .cards li:nth-child(3n+2) a.card:hover { transform: translate(3px, 3px) rotate(0deg); }
.band-ink .card { color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); }

/* ---------------------------------------------------------- diary pieces */
.stats { list-style: none; margin: 0 0 1.6em; padding: 1rem 1.2rem; font-family: var(--type); font-size: 1.05rem; line-height: 1.55; background: #fff8dc; border-left: 6px solid var(--yellow); }
.stats li { margin: 0 0 0.15em; }
.entry-date { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-bottom: 0.6em; }
.scene-break { text-align: center; letter-spacing: 0.5em; color: var(--ink-soft); margin: 2em 0; }
.sheet { background: #fffdf6; border: 1px solid var(--line); box-shadow: 0 2px 0 #0001, 8px 10px 0 rgba(22, 19, 15, 0.12); padding: clamp(1.4rem, 4vw, 3rem); }
.pull { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 4.2vw, 3rem); line-height: 1.02; margin: 0 0 0.6em; }
.pull em { font-style: normal; color: var(--red); }
.note { display: inline-block; font-family: var(--hand); font-size: 1.7rem; line-height: 1.05; background: #fff3a8; padding: 0.7rem 1rem 0.8rem; transform: rotate(-2deg); box-shadow: 3px 4px 0 #0002; max-width: 18em; }
.casefile { font-family: var(--sans); font-size: 0.98rem; line-height: 1.5; border: 2px solid var(--ink); padding: 1.1rem 1.3rem; background: #fff; margin: 1.6em 0; }
.casefile .case-head { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.7em; }

/* ------------------------------------------------------------ notebook */
.posts { list-style: none; margin: 0; padding: 0; }
.posts li { margin: 0; border-bottom: 1px solid var(--line); }
.posts a { display: grid; grid-template-columns: 7.5em 1fr; gap: 1rem; padding: 1.2rem 0; text-decoration: none; }
.posts time { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); padding-top: 0.45em; }
.posts h2, .posts h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 0 0 0.15em; text-transform: none; letter-spacing: 0; line-height: 1.2; }
.posts p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.posts a:hover h2, .posts a:hover h3 { color: var(--red); }
.post-meta { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0; }
.signoff { font-family: var(--hand); font-size: 2.1rem; line-height: 1; margin-top: 1.4em; }
.share { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; }
.share button, .share a { font: inherit; font-weight: 700; background: none; border: 2px solid var(--ink); border-radius: 3px; padding: 0.35em 0.8em; cursor: pointer; text-decoration: none; color: var(--ink); }
.share button:hover, .share a:hover { background: var(--ink); color: var(--yellow); }
.next { margin-top: 2.2rem; }

/* ------------------------------------------------------------- glossary */
.glossary { margin: 0; }
.glossary div { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9.5em 1fr; gap: 1rem; }
.glossary dt { font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; line-height: 1.2; }
.glossary dt small { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.78rem; text-transform: none; letter-spacing: 0; color: var(--ink-soft); margin-top: 0.3em; }
.glossary dd { margin: 0; }
.glossary dd p:last-child { margin-bottom: 0; }
.glossary .from-book { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.az { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-family: var(--sans); font-weight: 700; }
.az li { margin: 0; }
.az a { display: block; padding: 0.2em 0.6em; border: 2px solid var(--ink); border-radius: 3px; text-decoration: none; }
.az a:hover { background: var(--ink); color: var(--yellow); }

/* ----------------------------------------------------------------- quiz */
.quiz { border: 3px solid var(--ink); background: #fffdf6; padding: clamp(1.2rem, 4vw, 2.2rem); box-shadow: 8px 8px 0 var(--ink); }
.quiz fieldset { border: 0; margin: 0 0 1.8rem; padding: 0; }
.quiz legend { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; margin-bottom: 0.7rem; padding: 0; }
.quiz label { display: block; padding: 0.55em 0.8em; margin-bottom: 0.4rem; border: 2px solid var(--line); border-radius: 3px; cursor: pointer; font-size: 1.1rem; line-height: 1.35; }
.quiz label:hover { border-color: var(--ink); }
.quiz input { margin-right: 0.6em; accent-color: var(--red); }
.quiz input:checked + span { font-weight: 600; }
.quiz label:has(input:checked) { border-color: var(--ink); background: #fff3a8; }
.quiz-result { margin-top: 2rem; padding: 1.6rem; background: var(--yellow); border: 3px solid var(--ink); }
.quiz-result h2 { margin-top: 0; }
.quiz-result[hidden] { display: none; }

/* ---------------------------------------------------------------- forms */
.form { max-width: 34rem; }
.form label { display: block; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; margin: 1.1rem 0 0.35rem; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea { width: 100%; font-family: var(--sans); font-size: 1.05rem; padding: 0.7em 0.8em; border: 3px solid var(--ink); border-radius: 3px; background: #fff; color: var(--ink); }
.form textarea { min-height: 9rem; resize: vertical; }
.form .check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.98rem; line-height: 1.45; }
.form .check input { margin-top: 0.3em; accent-color: var(--red); }
.form button { margin-top: 1.4rem; }
.hidden { position: absolute; left: -9999px; }
.signup { display: flex; flex-wrap: wrap; gap: 0.8rem; max-width: 36rem; }
.signup input[type="email"] { flex: 1 1 16rem; font-family: var(--sans); font-size: 1.05rem; padding: 0.8em; border: 3px solid var(--ink); border-radius: 3px; background: #fff; }

/* ----------------------------------------------------- archive teaser */
.browser { border: 3px solid var(--ink); border-radius: 6px; overflow: hidden; background: #ecf0f1; box-shadow: 8px 8px 0 var(--ink); max-width: 560px; color: var(--ink); text-decoration: none; display: block; transform: rotate(-1.2deg); }
.browser:hover { color: var(--ink); transform: rotate(0deg); transition: transform 0.2s; }
.browser-bar { background: #d8d8d8; border-bottom: 2px solid var(--ink); padding: 0.45rem 0.7rem; display: flex; align-items: center; gap: 0.5rem; font-family: Arial, sans-serif; font-size: 0.75rem; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #999; display: inline-block; }
.browser-bar span { flex: 1; background: #fff; border: 1px solid #aaa; border-radius: 3px; padding: 0.15rem 0.5rem; color: #555; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-page { padding: 1.4rem 1.4rem 1.6rem; font-family: Georgia, serif; }
.browser-page .b-title { font-family: "Trebuchet MS", Arial, sans-serif; font-weight: 700; font-size: 1.35rem; color: #2c3e50; margin: 0 0 0.2rem; text-transform: none; letter-spacing: 0; }
.browser-page .b-tag { font-style: italic; color: #7f8c8d; font-size: 0.9rem; margin: 0 0 1rem; }
.browser-page .b-post { background: #fff; border: 1px solid #ddd; padding: 0.9rem 1rem; font-size: 0.95rem; line-height: 1.5; }
.browser-page .b-post b { font-family: "Trebuchet MS", Arial, sans-serif; display: block; color: #2c3e50; margin-bottom: 0.2rem; }
.browser-page .b-post small { color: #999; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }

/* ------------------------------------------------ Maisie, as drawn */
.maisie-fig { float: right; width: 200px; margin: 0.2rem 0 1rem 1.8rem; }
.maisie-fig img { display: block; width: 100%; height: auto; }
.maisie-fig figcaption { font-family: var(--hand); font-size: 1.5rem; line-height: 1.05; text-align: center; margin-top: 0.5rem; }
.prose::after { content: ""; display: table; clear: both; }
.prose .casefile { display: flow-root; }
.cast-fig { float: left; margin: 0.1rem 0 0.6rem 0; }
.prose p:has(> .cast-fig) { display: flow-root; margin-bottom: 1.6em; }
.meet { display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem, 6vw, 4.5rem); align-items: center; max-width: 880px; }
.meet-fig { width: 200px; height: auto; }

/* ------------------------------------------------- links page, posters */
.linkpage { padding-top: clamp(1.5rem, 4vw, 3rem); }
.linkhead { text-align: center; max-width: 34rem; margin: 0 auto 1.6rem; }
.linkhead img { width: 150px; margin: 0 auto 0.6rem; }
.linkhead h1 { font-size: clamp(2rem, 7vw, 3.4rem); margin-bottom: 0.3em; }
.linkhead .sub { font-size: 1.25rem; margin: 0; }
.linklist { list-style: none; margin: 0 auto; padding: 0; max-width: 34rem; }
.linklist li { margin: 0 0 1rem; }
.linklist .btn { display: block; text-align: center; font-size: 1.1rem; }
.linksignup { margin: 2rem auto 0; max-width: 34rem; }
.posters { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem 1.6rem; }
.posters li { margin: 0; }
.posters a { display: block; text-decoration: none; font-family: var(--sans); font-weight: 700; font-size: 1rem; }
.posters img { width: 100%; border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); margin-bottom: 0.9rem; transition: transform 0.12s, box-shadow 0.12s; }
.posters a:hover img { transform: translate(3px, 3px); box-shadow: 4px 4px 0 var(--ink); }
.posters span::after { content: "  PDF"; color: var(--red); white-space: nowrap; }

/* -------------------------------------------------------------- numbers */
.numbers { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.3rem; }
.numbers li { margin: 0; background: #fffdf6; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 1.1rem 1.2rem 1.2rem; }
.numbers li:nth-child(3n+1) { transform: rotate(-0.6deg); }
.numbers li:nth-child(3n+2) { transform: rotate(0.5deg); background: var(--yellow); }
.numbers b { display: block; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; margin-bottom: 0.2em; }
.numbers span { font-family: var(--type); font-size: 1rem; line-height: 1.4; display: block; }

/* --------------------------------------------------------------- footer */
.footer { background: var(--ink); color: var(--paper); padding: 3rem 0 2.2rem; font-family: var(--sans); font-size: 0.98rem; }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer .foot-head { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin: 0 0 0.9em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.4em; }
.footer .brandline { font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; line-height: 1.05; margin-bottom: 0.7rem; }
.fiction { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid #ffffff2a; font-size: 0.88rem; line-height: 1.55; color: #d9d2c2; max-width: 60rem; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 860px) {
  body { font-size: 1.15rem; }
  .hero-grid, .two, .meet { grid-template-columns: 1fr; }
  .meet-fig { width: 150px; margin: 0 auto; }
  .cover { max-width: 240px; margin-top: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--yellow); border-bottom: 3px solid var(--ink); padding: 0.5rem 24px 1rem; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 0.7em 0.6em; font-size: 1.05rem; }
  .glossary div { grid-template-columns: 1fr; gap: 0.3rem; }
  .posts a { grid-template-columns: 1fr; gap: 0.2rem; }
  .posts time { padding-top: 0; }
  th { width: 6.5em; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .maisie-fig { width: 120px; margin-left: 1rem; }
  .wrap { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .road .car { animation: none; }
  .btn, .card, .cover, .browser { transition: none; }
}
@media print {
  .strip, .masthead, .footer, .share, .road, .btn-row { display: none; }
  body { background: #fff; font-size: 11.5pt; }
  .page-head { background: none; padding-top: 0; }
}
