:root {
  --black: #080808;
  --white: #f7f7f2;
  --paper: #ffffff;
  --yellow: #ffeb00;
  --blue: #1d4eff;
  --red: #ff3b30;
  --green: #00d084;
  --gray: #d9d9d4;
  --max: 80rem;
  --border: 4px solid var(--black);
  --shadow: 8px 8px 0 var(--black);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--black); background: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.5; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 4px; }
a:focus-visible { outline: 5px solid var(--red); outline-offset: 4px; }
::selection { color: var(--white); background: var(--blue); }
.wrap { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -8rem; z-index: 50; padding: .75rem 1rem; color: var(--white); background: var(--black); border: 3px solid var(--white); font-weight: 900; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  overflow: hidden;
  min-height: 46rem;
  color: var(--black);
  background-color: var(--yellow);
  background-image: linear-gradient(var(--black) 2px, transparent 2px), linear-gradient(90deg, var(--black) 2px, transparent 2px);
  background-size: 52px 52px;
  border-bottom: 6px solid var(--black);
}
.site-header::before {
  content: "106";
  position: absolute;
  right: -1.5rem;
  bottom: -6rem;
  color: var(--yellow);
  background: var(--blue);
  border: 6px solid var(--black);
  padding: 0 .35em;
  font-size: clamp(11rem, 32vw, 28rem);
  font-weight: 1000;
  line-height: .75;
  letter-spacing: -.1em;
  transform: rotate(-4deg);
}
.site-header::after { display: none; }
.nav { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: stretch; min-height: 5.5rem; color: var(--white); background: var(--black); border-right: 4px solid var(--black); border-left: 4px solid var(--black); }
.brand { display: flex; align-items: center; padding: 0 1.25rem; color: var(--black); background: var(--yellow); border-right: 4px solid var(--white); font-family: "Arial Black", Arial, sans-serif; font-size: 1.4rem; font-weight: 1000; letter-spacing: -.03em; text-decoration: none; }
.nav-links { display: flex; }
.nav-links a { display: flex; align-items: center; padding: 0 1.2rem; border-left: 2px solid #555; font-family: "Courier New", monospace; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.nav-links a:hover { color: var(--black); background: var(--green); }
.hero { position: relative; z-index: 1; padding: 5.5rem 0 7rem; }
.eyebrow { display: inline-block; margin: 0 0 1rem; padding: .35rem .6rem; color: var(--white); background: var(--black); border: 3px solid var(--black); font-family: "Courier New", monospace; font-size: .875rem; font-weight: 900; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.hero .eyebrow { color: var(--white); background: var(--blue); }
.hero h1 { max-width: 8ch; margin: 0; color: var(--black); font-family: "Arial Black", Impact, sans-serif; font-size: clamp(4rem, 11vw, 9.5rem); font-weight: 1000; line-height: .78; letter-spacing: -.08em; text-transform: uppercase; }
.hero h1 span { display: inline-block; color: var(--white); background: var(--black); padding: .08em .12em .12em; }
.lede { max-width: 38rem; margin: 2.25rem 0 0; padding: 1rem 1.2rem; background: var(--paper); border: var(--border); box-shadow: var(--shadow); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: .75rem 1.1rem; border: var(--border); border-radius: 0; box-shadow: 6px 6px 0 var(--black); font-family: "Courier New", monospace; font-weight: 900; text-decoration: none; text-transform: uppercase; transition: transform 90ms linear, box-shadow 90ms linear; }
.button:hover { text-decoration: none; transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--black); }
.button-primary { color: var(--white); background: var(--blue); }
.button-secondary { color: var(--black); background: var(--paper); }

.section { padding-block: 6rem; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(18rem, .7fr); gap: 2rem; max-width: none; margin-bottom: 3rem; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; justify-self: start; margin-bottom: -1rem; }
.section-heading.narrow { max-width: none; }
.section-heading h2, .blog-section h2 { margin: 0; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 1000; line-height: .82; letter-spacing: -.065em; text-transform: uppercase; }
.section-heading > p:last-child { margin: 0; padding: 1rem; color: var(--black); background: var(--yellow); border: var(--border); font-size: 1.05rem; font-weight: 700; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: var(--border); }
.module { min-height: 27rem; padding: 1.5rem; border: 0; border-right: var(--border); border-radius: 0; display: flex; flex-direction: column; justify-content: space-between; }
.module:last-child { border-right: 0; }
.module-one { background: var(--paper); }
.module-two { background: var(--green); }
.module-three { background: var(--yellow); }
.module-number { margin: 0; font-family: "Arial Black", Impact, sans-serif; font-size: 5rem; font-weight: 1000; line-height: 1; letter-spacing: -.08em; }
.module-medium { display: inline-block; margin: 0 0 .75rem; padding: .25rem .45rem; color: var(--white); background: var(--black); font-family: "Courier New", monospace; font-size: .875rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.module h3 { margin: 0 0 .8rem; font-family: "Arial Black", Impact, sans-serif; font-size: 2.1rem; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; }
.module p:last-child { margin: 0; font-weight: 650; }

.blog-section { color: var(--white); background: var(--black); border-top: 6px solid var(--black); border-bottom: 6px solid var(--black); padding-block: 6rem; }
.blog-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.eyebrow.light { color: var(--black); background: var(--green); border-color: var(--green); }
.blog-copy { max-width: 38rem; color: var(--white); font-size: 1.12rem; font-weight: 650; }
.principles { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 4px solid var(--white); }
.principles li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 4px solid var(--white); font-family: "Courier New", monospace; font-weight: 900; text-transform: uppercase; }
.principles span { color: var(--yellow); }
.site-card { overflow: visible; color: var(--black); background: var(--paper); border: 5px solid var(--white); border-radius: 0; box-shadow: 12px 12px 0 var(--blue); transform: rotate(1deg); }
.site-card-bar { display: flex; align-items: center; gap: .9rem; padding: 1.2rem 1.3rem; background: var(--yellow); border-bottom: var(--border); }
.site-mark { width: 3rem; height: 3rem; display: grid; place-items: center; color: var(--white); background: var(--blue); border: 3px solid var(--black); border-radius: 0; font-family: "Arial Black", Impact, sans-serif; font-weight: 1000; }
.site-card-bar p { margin: 0; }
.site-card-label { font-family: "Courier New", monospace; font-size: .875rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.site-card-title { font-size: 1.2rem; font-weight: 900; }
.site-outline { padding: 0 1.4rem; }
.site-outline > div { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 3px solid var(--black); }
.site-outline > div:last-child { border-bottom: 0; }
.site-outline span { font-family: "Courier New", monospace; font-weight: 900; }
.site-outline p { margin: 0; }
.site-outline strong { font-family: "Arial Black", Impact, sans-serif; text-transform: uppercase; }
.site-note { margin: 0; padding: 1rem 1.4rem; color: var(--white); background: var(--blue); border-top: var(--border); font-family: "Courier New", monospace; font-size: .9rem; font-weight: 900; }

.webmentions-section { padding-block: 5rem; color: var(--white); background: var(--blue); border-bottom: 6px solid var(--black); }
.webmentions-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(20rem, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.webmentions-section h2 { margin: 0; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 1000; line-height: .84; letter-spacing: -.06em; text-transform: uppercase; }
.webmentions-copy { max-width: 38rem; font-size: 1.08rem; font-weight: 700; }
.webmentions-panel { color: var(--black); background: var(--paper); border: var(--border); box-shadow: 10px 10px 0 var(--black); }
.webmentions-status { margin: 0; padding: .9rem 1rem; color: var(--black); background: var(--yellow); border-bottom: 3px solid var(--black); font-family: "Courier New", monospace; font-weight: 900; text-transform: uppercase; }
.webmention-list { list-style: none; margin: 0; padding: 0; }
.webmention-item { padding: 1rem; border-bottom: 3px solid var(--black); }
.webmention-item:last-child { border-bottom: 0; }
.webmention-item p { margin: .35rem 0 0; }
.webmention-item a { font-weight: 900; }
.webmention-meta { font-family: "Courier New", monospace; font-size: .875rem; font-weight: 700; text-transform: uppercase; }
.webmentions-empty { margin: 0; padding: 1.2rem; font-weight: 750; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); border: var(--border); }
.steps li { display: flex; gap: 1.2rem; min-height: 11rem; padding: 1.5rem; border: 0; border-right: var(--border); border-bottom: var(--border); border-radius: 0; background: var(--paper); }
.steps li:nth-child(2n) { border-right: 0; }
.steps li:nth-last-child(-n+2) { border-bottom: 0; }
.step-number { flex: 0 0 3rem; height: 3rem; display: grid; place-items: center; color: var(--black); background: var(--yellow); border: 3px solid var(--black); border-radius: 0; font-family: "Arial Black", Impact, sans-serif; font-weight: 1000; }
.steps h3 { margin: .1rem 0 .4rem; font-family: "Arial Black", Impact, sans-serif; font-size: 1.4rem; line-height: 1; text-transform: uppercase; }
.steps p { margin: 0; }
.prompt-card { margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; gap: 2rem; justify-content: space-between; align-items: center; color: var(--white); background: var(--red); border: var(--border); border-radius: 0; box-shadow: var(--shadow); }
.prompt-card > div { max-width: 46rem; }
.prompt-card .eyebrow { color: var(--black); background: var(--yellow); }
.prompt-card p:last-child { margin: 0; font-size: 1.05rem; font-weight: 800; }
.button-dark { flex: 0 0 auto; color: var(--black); background: var(--paper); }

.site-footer { color: var(--white); background: var(--black); border-top: 6px solid var(--blue); padding-block: 2.5rem; }
.footer-layout { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.footer-layout p { margin: .2rem 0; }
.footer-brand { color: var(--yellow); font-family: "Courier New", monospace; font-weight: 900; text-transform: uppercase; }

.reader-page { background: var(--gray); }
.reader-page .nav { width: 100%; }
.reader-header { color: var(--white); background: var(--blue); border-bottom: 6px solid var(--black); }
.reader-header-inner { padding-block: 4.5rem; }
.reader-header h1 { max-width: 9ch; margin: 0; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(4.5rem, 13vw, 11rem); line-height: .78; letter-spacing: -.08em; text-transform: uppercase; }
.reader-header h1 span { color: var(--black); background: var(--yellow); padding: 0 .08em .06em; }
.reader-intro { max-width: 43rem; margin: 2rem 0 0; padding: 1rem 1.2rem; color: var(--black); background: var(--paper); border: var(--border); box-shadow: var(--shadow); font-size: 1.15rem; font-weight: 750; }
.reader-layout { display: grid; grid-template-columns: minmax(15rem, .32fr) minmax(0, 1fr); gap: 2rem; padding-block: 3rem 6rem; align-items: start; }
.reader-sidebar { position: sticky; top: 1rem; background: var(--yellow); border: var(--border); box-shadow: 7px 7px 0 var(--black); }
.reader-sidebar h2 { margin: 0; padding: 1rem; color: var(--white); background: var(--black); font-family: "Arial Black", Impact, sans-serif; font-size: 1.35rem; text-transform: uppercase; }
.blog-list { list-style: none; padding: 0; margin: 0; }
.blog-list li { border-top: 3px solid var(--black); }
.blog-list li:first-child { border-top: 0; }
.blog-list a { display: block; padding: 1rem; font-family: "Courier New", monospace; font-weight: 900; text-transform: uppercase; }
.blog-list a:hover { color: var(--white); background: var(--blue); text-decoration: none; }
.sidebar-note { margin: 0; padding: 1rem; border-top: var(--border); font-size: .9rem; font-weight: 700; }
.reader-main { min-width: 0; }
.reader-sections { display: grid; gap: 4.5rem; }
.class-feed { scroll-margin-top: 1rem; }
.class-feed + .class-feed { padding-top: 4rem; border-top: 6px solid var(--black); }
.class-feed:nth-child(2) .feed-toolbar h2 { color: var(--white); background: var(--blue); }
.class-feed:nth-child(3) .feed-toolbar h2 { background: var(--green); }
.feed-toolbar { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.feed-toolbar h2 { margin: 0; padding: .25rem .45rem .4rem; background: var(--yellow); border: var(--border); font-family: "Arial Black", Impact, sans-serif; font-size: clamp(2.5rem, 7vw, 5rem); line-height: .85; letter-spacing: -.06em; text-transform: uppercase; }
.feed-status { margin: 0; padding: .4rem .6rem; color: var(--white); background: var(--black); font-family: "Courier New", monospace; font-size: .875rem; font-weight: 900; text-transform: uppercase; }
.section-blog-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: -0.5rem 0 1.5rem; padding: 0; }
.section-blog-list li { padding: .4rem .6rem; background: var(--paper); border: 3px solid var(--black); font-family: "Courier New", monospace; font-size: .875rem; font-weight: 900; text-transform: uppercase; }
.section-blog-list a:hover { color: var(--blue); }
.feed-items { display: grid; gap: 1.25rem; }
.feed-card { padding: 1.4rem; background: var(--paper); border: var(--border); box-shadow: 7px 7px 0 var(--black); }
.feed-card:nth-child(4n+2) { box-shadow: 7px 7px 0 var(--green); }
.feed-card:nth-child(4n+3) { box-shadow: 7px 7px 0 var(--yellow); }
.feed-card:nth-child(4n+4) { box-shadow: 7px 7px 0 var(--red); }
.feed-source { display: inline-block; margin: 0 0 .8rem; padding: .25rem .45rem; color: var(--white); background: var(--blue); font-family: "Courier New", monospace; font-size: .875rem; font-weight: 900; text-transform: uppercase; }
.feed-card h3 { margin: 0; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1; letter-spacing: -.035em; }
.feed-card h3 a { text-decoration: none; }
.feed-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.feed-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: .8rem 0; font-family: "Courier New", monospace; font-size: .875rem; font-weight: 700; }
.feed-excerpt { margin: 0; font-size: 1.05rem; }
.feed-empty, .feed-error { padding: 1.2rem; background: var(--paper); border: var(--border); font-weight: 750; }
.feed-error { background: #ffd9d6; }

@media (max-width: 850px) {
  .wrap { width: min(calc(100% - 2rem), var(--max)); }
  .site-header { min-height: 42rem; }
  .site-header::before { right: -4rem; bottom: -3rem; opacity: .28; }
  .nav-links { display: none; }
  .nav { border-bottom: var(--border); }
  .brand { border-right: 0; }
  .section-heading, .blog-layout, .webmentions-layout { grid-template-columns: 1fr; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .module-grid { grid-template-columns: 1fr; }
  .module { min-height: 19rem; border-right: 0; border-bottom: var(--border); }
  .module:last-child { border-bottom: 0; }
  .site-card { transform: none; }
  .reader-layout { grid-template-columns: 1fr; }
  .reader-sidebar { position: static; }
}

@media (max-width: 620px) {
  .hero { padding: 4rem 0 5rem; }
  .hero h1 { font-size: clamp(3.7rem, 20vw, 6rem); }
  .hero-actions .button { width: 100%; }
  .section, .blog-section { padding-block: 4.25rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(2n), .steps li:nth-last-child(-n+2) { border-right: 0; border-bottom: var(--border); }
  .steps li:last-child { border-bottom: 0; }
  .prompt-card, .footer-layout { align-items: stretch; flex-direction: column; }
  .button-dark { align-self: stretch; }
  .reader-header-inner { padding-block: 3.5rem; }
  .reader-header h1 { font-size: clamp(4rem, 21vw, 7rem); }
  .feed-toolbar { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
