/* natmc - The Wire, pudding dial turned up: stickers, ticker, tilted cards, marker ink. */
:root {
  --paper: #fdf6e9;
  --ink: #14120f;
  --red: #e4572e;
  --blue: #2e5fe4;
  --green: #1f9d55;
  --purple: #7d3cff;
  --yellow: #ffc53d;
  --pink: #ff5da2;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ---------- masthead ---------- */
.masthead {
  background: var(--ink);
  color: var(--paper);
  padding: 34px 20px 30px;
  border-bottom: 8px solid var(--red);
  position: relative;
  overflow: hidden;
}
.masthead-inner { max-width: 760px; margin: 0 auto; position: relative; }
.sticker-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.sticker {
  font-family: "Space Mono", "Courier New", monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border: 2.5px solid var(--paper);
  border-radius: 999px;
  display: inline-block;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.35);
}
.sticker-yellow { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.sticker-red { background: var(--red); color: var(--paper); border-color: var(--paper); }
.sticker-blue { background: var(--blue); color: var(--paper); border-color: var(--paper); }
.sticker-ink { background: var(--ink); color: var(--yellow); border-color: var(--ink); font-size: 16px; padding: 8px 18px; }
.tilt-l { transform: rotate(-2.5deg); }
.tilt-r { transform: rotate(2deg); }
.tilt-l2 { transform: rotate(-1.2deg); }
.nameplate {
  font-family: "Shrikhand", "Arial Black", serif;
  font-weight: 400;
  font-size: clamp(64px, 15vw, 120px);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 0.95;
  text-shadow: 5px 5px 0 var(--red);
}
.nameplate .dot { color: var(--red); text-shadow: none; }
.dateline {
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 14px 0 0;
}
.dek {
  margin: 16px 0 0;
  font-size: 18px;
  font-style: italic;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  color: #d8d2c4;
  max-width: 580px;
}
.dek b { color: var(--paper); border-bottom: 3px wavy var(--pink); }
.doodle { position: absolute; pointer-events: none; }
.doodle-star.s1 { width: 44px; top: 6px; right: 90px; transform: rotate(12deg); }
.doodle-star.s2 { width: 26px; top: 64px; right: 40px; transform: rotate(-18deg); }
.doodle-squig { width: 150px; right: 10px; bottom: 8px; transform: rotate(-4deg); }

/* ---------- ticker ---------- */
.ticker {
  background: var(--yellow);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}
.ticker-track { display: inline-block; animation: tick 28s linear infinite; }
.ticker-track span {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ink);
}
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- wire ---------- */
.wire { max-width: 760px; margin: 0 auto; padding: 10px 20px 70px; }
.day { margin-top: 46px; }
.day-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.day-date {
  font-family: "Shrikhand", "Arial Black", serif;
  font-weight: 400;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.1;
}
.day-count {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b6455;
}
.day-rule { border: none; border-top: 4px solid var(--ink); margin: 8px 0 22px; }

.entry {
  position: relative;
  background: #fffdf6;
  border: 3px solid var(--ink);
  border-radius: 4px;
  padding: 20px 22px 18px;
  margin: 0 0 26px;
}
.entry.acc-red { box-shadow: 8px 8px 0 var(--red); transform: rotate(-0.6deg); }
.entry.acc-blue { box-shadow: 8px 8px 0 var(--blue); transform: rotate(0.5deg); }
.entry.acc-green { box-shadow: 8px 8px 0 var(--green); transform: rotate(-0.4deg); }
.entry.acc-purple { box-shadow: 8px 8px 0 var(--purple); transform: rotate(0.6deg); }
.entry.acc-pink { box-shadow: 8px 8px 0 var(--pink); transform: rotate(-0.5deg); }
.entry:hover { transform: rotate(0deg) translate(-2px,-2px); transition: transform 120ms ease; }

.tag {
  display: inline-block;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--blue);
  border: 2px solid var(--ink);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  transform: rotate(-1.8deg);
  box-shadow: 2.5px 2.5px 0 var(--ink);
}
.tag-newsletter { background: var(--red); }
.tag-shipped { background: var(--green); }
.tag-building { background: var(--blue); }
.tag-writing { background: var(--purple); }
.tag-reading { background: #8a6d00; }
.tag-tweet { background: #111; }
.tag-note { background: var(--pink); }

.stamp-new {
  position: absolute;
  top: -14px;
  right: 16px;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  background: var(--red);
  color: var(--paper);
  border: 2.5px dashed var(--paper);
  outline: 2.5px solid var(--red);
  border-radius: 999px;
  padding: 4px 12px;
  transform: rotate(7deg);
}

.entry-title {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.22;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.entry-title a {
  color: var(--ink);
  text-decoration: underline wavy var(--red) 2.5px;
  text-underline-offset: 4px;
}
.entry-title a:hover { background: var(--yellow); text-decoration: none; }
.entry-take {
  margin: 0;
  font-size: 18px;
}
.entry-take mark, .about-band mark {
  background: linear-gradient(100deg, rgba(255,197,61,0) 0.5%, var(--yellow) 3%, var(--yellow) 97%, rgba(255,197,61,0) 99%);
  padding: 0 3px;
  color: var(--ink);
}

/* ---------- about ---------- */
.about-band {
  background: var(--yellow);
  border-top: 8px solid var(--ink);
  border-bottom: 8px solid var(--ink);
  padding: 34px 20px 30px;
}
.about-inner { max-width: 760px; margin: 0 auto; }
.about-inner .about-lede {
  font-family: "Shrikhand", serif;
  font-weight: 400;
  font-size: clamp(24px, 5vw, 34px);
  margin: 30px 0 10px;
  line-height: 1.15;
}
.about-inner p { margin: 0 0 12px; font-size: 17px; max-width: 640px; }
.about-inner a { color: var(--ink); text-decoration: underline wavy var(--red) 2px; text-underline-offset: 3px; }
.about-fine { font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: 0.04em; }

/* ---------- footer ---------- */
.wavy-divider { display: block; width: 100%; height: 24px; margin: 18px 0 0; }
.colophon {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 20px 56px;
  font-family: "Space Mono", "Courier New", monospace;
  font-size: 13px;
  color: #6b6455;
}
.colophon a { color: var(--blue); }

/* ---------- the column (daily X debrief) ---------- */
.tag-x-debrief { background: #111; }
.entry-column { padding: 22px 24px 20px; }
.col-meta {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6455;
  margin: 2px 0 10px;
}
.col-headline {
  font-family: "Shrikhand", "Arial Black", serif;
  font-weight: 400;
  font-size: clamp(22px, 4.5vw, 30px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.col-body { margin: 0 0 10px; font-size: 18px; }
.col-body a {
  color: var(--ink);
  text-decoration: underline wavy var(--red) 2px;
  text-underline-offset: 3px;
}
.col-body a:hover { background: var(--yellow); text-decoration: none; }

/* ---------- newsletters ---------- */
.newsletters-masthead { padding-bottom: 42px; }
.sticker-link, .nameplate-link { color: inherit; text-decoration: none; display: inline-block; }
.newsletters-title { font-family: "Shrikhand", serif; font-size: clamp(38px, 8vw, 72px); line-height: 1; color: var(--paper); margin: 36px 0 8px; font-weight: 400; }
.newsletters-dek { color: #d7d0c4; font-size: clamp(18px, 3vw, 24px); max-width: 680px; margin: 0; }
.newsletter-grid { max-width: 840px; margin: 0 auto; padding: 56px 20px 36px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.newsletter-card { background: #fffdf7; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--red); padding: 26px; min-height: 280px; display: flex; flex-direction: column; align-items: flex-start; }
.newsletter-card.acc-purple { box-shadow: 8px 8px 0 var(--purple); }
.newsletter-card.acc-blue { box-shadow: 8px 8px 0 var(--blue); }
.newsletter-card.acc-green { box-shadow: 8px 8px 0 var(--green); }
.newsletter-card h2 { font-family: "Shrikhand", serif; font-weight: 400; font-size: clamp(25px, 4vw, 34px); line-height: 1.08; margin: 20px 0 12px; }
.newsletter-card p { font-size: 18px; margin: 0 0 24px; }
.newsletter-card p a { color: var(--ink); text-decoration: underline wavy var(--red) 2px; text-underline-offset: 3px; }
.subscribe-button { margin-top: auto; display: inline-block; background: var(--ink); color: var(--paper); font-family: "Space Mono", monospace; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-decoration: none; padding: 12px 14px; border: 2px solid var(--ink); }
.subscribe-button:hover { background: var(--yellow); color: var(--ink); }
.subscribe-button.disabled { background: #d7d0c4; color: #514b40; }
.newsletters-footer a { color: var(--blue); }
@media (max-width: 680px) { .newsletter-grid { grid-template-columns: 1fr; padding-top: 34px; } .newsletter-card { min-height: 0; } }

/* ---------- tag archives ---------- */
a.tag { color: var(--paper); text-decoration: none; }
a.tag:hover { background: var(--yellow); color: var(--ink); }
.hashtag-link { color: #6b6455; text-decoration: underline wavy var(--red) 1.5px; text-underline-offset: 3px; }
.hashtag-link:hover { color: var(--ink); background: var(--yellow); text-decoration: none; }
.tag-masthead { padding-bottom: 42px; }
.tag-title { font-family: "Shrikhand", serif; font-size: clamp(38px, 8vw, 72px); line-height: 1; color: var(--paper); margin: 22px 0 8px; font-weight: 400; overflow-wrap: anywhere; }
.tag-dek { color: #d7d0c4; font: 18px "Space Grotesk", "Helvetica Neue", sans-serif; margin: 0; }
