@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-black: #000000;
  --c-white: #ffffff;
  --c-ink: #000000;
  --c-gray-100: #f2f2f2;
  --c-gray-200: #e0e0e0;
  --c-gray-400: #888888;
  --c-gray-600: #444444;
  --c-accent: #cc0022;
  --c-accent-dim: #7a0013;
  --font-main: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --border: 2px solid var(--c-black);
  --radius: 0;
  --gap: 24px;
  --col-max: 1280px;
  --aside-w: 220px;
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
  line-height: 1.6;
}

body {
  font-family: var(--font-main);
  background: var(--c-white);
  color: var(--c-black);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== DOT MATRIX TEXTURE ===== */
.site-wrapper {
  position: relative;
  min-height: 100vh;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-black);
  color: var(--c-white);
  border-bottom: 3px solid var(--c-accent);
}

.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-white);
  white-space: nowrap;
}

.brand-name:hover {
  text-decoration: none;
  color: var(--c-accent);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--c-accent);
  color: var(--c-white);
  padding: 4px 10px;
}

.header-nav-row {
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-nav-row::-webkit-scrollbar {
  display: none;
}

.nav-links {
  display: flex;
  gap: 0;
  min-width: max-content;
}

.nav-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-white);
  padding: 12px 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-link:first-child {
  border-left: 1px solid rgba(255,255,255,0.1);
}

.nav-link:hover,
.nav-link--active {
  background: var(--c-white);
  color: var(--c-black);
  text-decoration: none;
}

/* ===== LAYOUT WRAP ===== */
.wrap {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
.hero-section {
  background: var(--c-black);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.hero-section > section {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  align-items: stretch;
}

.hero-media {
  overflow: hidden;
  border-right: 3px solid var(--c-accent);
}

.hero-img,
.hero-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder {
  background: linear-gradient(135deg, #111 0%, #333 50%, #111 100%);
  min-height: 300px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 48px 40px;
  gap: 20px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-accent);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-white);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 380px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  min-height: 44px;
  border: 2px solid var(--c-accent);
  transition: background var(--transition), color var(--transition);
}

.hero-cta:hover {
  background: transparent;
  color: var(--c-accent);
  text-decoration: none;
}

/* ===== CONTENT + ASIDE LAYOUT ===== */
.content-with-aside {
  display: grid;
  grid-template-columns: var(--aside-w) 1fr;
  gap: 0;
  margin-top: 0;
}

.site-aside {
  border-right: var(--border);
  padding: 32px 20px 32px 0;
  position: sticky;
  top: 90px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.site-aside--entry {
  position: relative;
  top: auto;
  max-height: none;
}

.aside-block {
  margin-bottom: 32px;
}

.aside-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-bottom: 2px solid var(--c-black);
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.aside-link {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid var(--c-gray-200);
  color: var(--c-gray-600);
  transition: color var(--transition), padding-left var(--transition);
}

.aside-link:hover,
.aside-link--active {
  color: var(--c-black);
  padding-left: 8px;
  font-weight: 700;
  text-decoration: none;
}

.main-content {
  padding: 40px 0 40px 40px;
  min-width: 0;
}

/* ===== PAGE CONTENT (prose) ===== */
.page-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-black);
  max-width: 760px;
  margin-bottom: 48px;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 40px 0 12px;
  border-left: 4px solid var(--c-accent);
  padding-left: 14px;
}

.page-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 8px;
}

.page-content p {
  margin-bottom: 18px;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5em;
  margin-bottom: 18px;
}

.page-content li {
  margin-bottom: 6px;
}

.page-content a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content blockquote {
  border-left: 4px solid var(--c-black);
  padding: 12px 20px;
  background: var(--c-gray-100);
  font-weight: 600;
  margin: 24px 0;
  font-size: 1.05rem;
}

.page-content::first-letter,
.entry-prose::first-letter {
  float: left;
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.85;
  margin: 4px 12px 0 0;
  text-transform: uppercase;
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

p.subtitle {
  font-size: 0.85rem;
  color: var(--c-gray-400);
  margin-bottom: 24px;
  font-weight: 500;
}

/* ===== CATEGORY CARDS ===== */
.cats-section,
.featured-section,
.tags-section,
.children-section,
.related-section,
.tag-entries-section,
.about-cta-row,
.siblings-block,
.other-tags-block {
  margin-bottom: 56px;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  border: var(--border);
  border-bottom: 4px solid var(--c-black);
  margin-right: -2px;
  margin-bottom: -2px;
  transition: background var(--transition), transform var(--transition);
  position: relative;
}

.cat-card:hover {
  background: var(--c-black);
  color: var(--c-white);
  text-decoration: none;
  transform: translate(-2px, -2px);
}

.cat-card-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.cat-card-desc {
  font-size: 0.82rem;
  color: var(--c-gray-600);
  line-height: 1.5;
}

.cat-card:hover .cat-card-desc {
  color: rgba(255,255,255,0.72);
}

/* ===== FEATURED GRID ===== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feat-card {
  border: var(--border);
  border-bottom: 4px solid var(--c-black);
  margin-right: -2px;
  margin-bottom: -2px;
  transition: background var(--transition);
}

.feat-card--wide {
  grid-column: span 2;
}

.feat-card-inner {
  padding: 24px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feat-card:hover {
  background: var(--c-gray-100);
}

.feat-num {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-gray-200);
  display: block;
  font-variant-numeric: tabular-nums;
}

.feat-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.feat-title a {
  color: var(--c-black);
}

.feat-title a:hover {
  color: var(--c-accent);
}

.feat-desc {
  font-size: 0.82rem;
  color: var(--c-gray-600);
  line-height: 1.5;
  margin-top: auto;
}

/* ===== TAG CHIPS ===== */
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border: 2px solid var(--c-black);
  background: transparent;
  color: var(--c-black);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), color var(--transition);
}

.tag-chip:hover,
.tag-chip--active {
  background: var(--c-black);
  color: var(--c-white);
  text-decoration: none;
}

.tag-chip--sm {
  font-size: 0.72rem;
  padding: 5px 10px;
  min-height: 32px;
}

/* ===== PAGE HERO (non-home) ===== */
.page-hero,
.tag-hero-section {
  background: var(--c-black);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.page-hero::before,
.tag-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.page-hero-inner,
.tag-hero-inner {
  position: relative;
  padding: 56px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-accent);
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--c-white);
}

.page-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  line-height: 1.7;
}

/* ===== CHILDREN GRID ===== */
.children-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.child-card {
  border: var(--border);
  border-bottom: 4px solid var(--c-black);
  margin-right: -2px;
  margin-bottom: -2px;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: box-shadow var(--transition);
}

.child-card--accent {
  grid-column: span 2;
  grid-template-columns: 280px 1fr;
  grid-template-rows: 1fr;
}

.child-card:hover {
  box-shadow: 6px 6px 0 var(--c-black);
  position: relative;
  z-index: 1;
}

.child-img-wrap {
  overflow: hidden;
  background: var(--c-gray-100);
}

.child-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.child-card--accent .child-img {
  height: 100%;
}

.child-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.child-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-gray-200);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.child-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.child-title a {
  color: var(--c-black);
}

.child-title a:hover {
  color: var(--c-accent);
}

.child-desc {
  font-size: 0.85rem;
  color: var(--c-gray-600);
  line-height: 1.6;
  flex: 1;
}

.child-more {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  display: inline-block;
  margin-top: 8px;
}

/* ===== SIBLINGS / RELATED ===== */
.siblings-list,
.related-list,
.about-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.siblings-list a,
.related-list a,
.about-cta-links a {
  display: inline-flex;
  align-items: center;
  padding: 16px 20px;
  border: var(--border);
  border-bottom: 4px solid var(--c-black);
  margin-right: -2px;
  margin-bottom: -2px;
  transition: background var(--transition), color var(--transition);
}

.siblings-list a:hover,
.related-list a:hover,
.about-cta-links a:hover {
  background: var(--c-black);
  color: var(--c-white);
  text-decoration: none;
}

.siblings-list strong,
.related-list strong,
.about-cta-links strong {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== ENTRY PAGE ===== */
.entry-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 50vh;
  border-bottom: var(--border);
  background: var(--c-black);
  color: var(--c-white);
  margin: 0 -24px 0 -24px;
}

.entry-hero {
  overflow: hidden;
  border-right: 3px solid var(--c-accent);
}

.entry-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-headline {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.breadcrumb-link {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  display: inline-block;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.78rem;
}

.meta-date {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.meta-cat {
  background: var(--c-accent);
  color: var(--c-white);
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.entry-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--c-white);
}

.entry-lead {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

.entry-body-wrap {
  display: grid;
  grid-template-columns: var(--aside-w) 1fr;
  gap: 0;
}

.entry-body {
  padding: 40px 0 40px 40px;
  min-width: 0;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-top: 16px;
  border-top: var(--border);
}

.entry-date {
  font-size: 0.75rem;
  color: var(--c-gray-400);
  font-weight: 500;
  display: block;
}

/* ===== TAG ENTRIES ===== */
.tag-entries-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tag-entry {
  padding: 20px 0;
  border-bottom: 1px solid var(--c-gray-200);
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto auto;
  gap: 0 16px;
  align-items: start;
}

.tag-entry-num {
  grid-row: 1 / 4;
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-gray-200);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}

.tag-entry time {
  font-size: 0.72rem;
  color: var(--c-gray-400);
  font-weight: 500;
}

.tag-entry-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tag-entry-title a {
  color: var(--c-black);
}

.tag-entry-title a:hover {
  color: var(--c-accent);
}

.tag-entry-desc {
  font-size: 0.82rem;
  color: var(--c-gray-600);
  line-height: 1.5;
}

/* ===== ABOUT ===== */
.about-header,
.privacy-header {
  background: var(--c-black);
  color: var(--c-white);
  padding: 56px 0 48px;
  margin: 0 -24px 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  overflow: hidden;
}

.about-header::before,
.privacy-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.about-header .page-title,
.privacy-header .page-title {
  color: var(--c-white);
}

.pull-quote-wrap {
  margin: 0 0 32px;
}

.pull-quote {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  border-left: 5px solid var(--c-accent);
  padding: 16px 24px;
  background: var(--c-gray-100);
  color: var(--c-black);
}

/* ===== PRIVACY ===== */
.privacy-prose .page-content {
  max-width: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--c-black);
  color: var(--c-white);
  padding: 40px 24px 24px;
  margin-top: 64px;
  border-top: 4px solid var(--c-accent);
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-nav {
  margin-bottom: 24px;
}

.footer-nav dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
}

.footer-nav dt,
.footer-nav dd {
  margin: 0;
}

.footer-nav dt a,
.footer-nav dd a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  min-height: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  margin-right: -1px;
  margin-bottom: -1px;
  transition: color var(--transition), background var(--transition);
}

.footer-nav dt a:hover,
.footer-nav dd a:hover {
  color: var(--c-white);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.footer-copy {
  text-align: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-copy small,
.site-footer > p:last-child small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.site-footer > p:last-child {
  text-align: center;
  margin-top: 6px;
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .feat-card,
  .cat-card,
  .child-card,
  .tag-entry {
    animation: fadeSlideUp 0.45s ease both;
  }

  .feat-card:nth-child(2) { animation-delay: 0.06s; }
  .feat-card:nth-child(3) { animation-delay: 0.12s; }
  .feat-card:nth-child(4) { animation-delay: 0.18s; }
  .feat-card:nth-child(5) { animation-delay: 0.24s; }
  .feat-card:nth-child(6) { animation-delay: 0.30s; }

  .cat-card:nth-child(2) { animation-delay: 0.08s; }
  .cat-card:nth-child(3) { animation-delay: 0.16s; }
  .cat-card:nth-child(4) { animation-delay: 0.24s; }

  .child-card:nth-child(2) { animation-delay: 0.1s; }
  .child-card:nth-child(3) { animation-delay: 0.2s; }
  .child-card:nth-child(4) { animation-delay: 0.3s; }

  @keyframes fadeSlideUp {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    border-right: none;
    border-bottom: 3px solid var(--c-accent);
    max-height: 280px;
  }

  .hero-text {
    align-items: flex-start;
    text-align: left;
    padding: 36px 24px;
  }

  .feat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feat-card--wide {
    grid-column: span 2;
  }

  .content-with-aside {
    grid-template-columns: 1fr;
  }

  .site-aside {
    border-right: none;
    border-bottom: var(--border);
    padding: 20px 0;
    position: static;
    max-height: none;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
  }

  .aside-block {
    flex: 1 1 200px;
    margin-bottom: 0;
  }

  .main-content {
    padding: 32px 0 32px 0;
  }

  .entry-header {
    grid-template-columns: 1fr;
    margin: 0 -24px 0 -24px;
  }

  .entry-hero {
    border-right: none;
    border-bottom: 3px solid var(--c-accent);
    max-height: 240px;
  }

  .entry-body-wrap {
    grid-template-columns: 1fr;
  }

  .entry-body {
    padding: 24px 0;
  }

  .child-card--accent {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .about-header,
  .privacy-header {
    margin: 0 -24px;
    padding: 40px 24px 32px;
  }
}

@media (max-width: 640px) {
  .header-brand-row {
    padding: 10px 16px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-link {
    padding: 12px 12px;
    font-size: 0.72rem;
  }

  .wrap {
    padding: 0 16px;
  }

  .feat-grid {
    grid-template-columns: 1fr;
  }

  .feat-card--wide {
    grid-column: span 1;
  }

  .children-grid {
    grid-template-columns: 1fr;
  }

  .child-card--accent {
    grid-column: span 1;
  }

  .hero-text {
    padding: 28px 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 1.7rem;
  }

  .cats-grid {
    grid-template-columns: 1fr;
  }

  .siblings-list,
  .related-list,
  .about-cta-links {
    flex-direction: column;
  }

  .pull-quote {
    font-size: 1.15rem;
  }

  .footer-nav dl {
    flex-direction: column;
  }

  .footer-nav dt a,
  .footer-nav dd a {
    width: 100%;
  }

  .tag-entry {
    grid-template-columns: 36px 1fr;
  }

  .tag-entry-num {
    font-size: 1.5rem;
  }
}
