:root {
  --shell: min(1220px, calc(100% - clamp(32px, 10vw, 136px)));
  font-family: var(--sans);
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; min-width: 0; background: var(--page); color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1 { letter-spacing: -.02em; }
h2, h3 { letter-spacing: -.01em; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: .7rem 1rem;
  background: var(--accent);
  color: var(--navy);
  border-radius: 6px;
}

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 78px;
}
.site-nav, .header-actions, .footer-inner nav { display: flex; align-items: center; gap: clamp(1rem, 2.7vw, 2.25rem); }
.site-nav a, .about-link, .footer-inner nav a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--muted);
}
.site-nav a[aria-current], .about-link[aria-current], .site-nav a:hover, .about-link:hover, .footer-inner nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .26em;
}
.header-actions { justify-content: end; gap: .7rem; }
.search-trigger, .search-close {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
}
.search-trigger:hover, .search-close:hover { background: var(--pale-green); }
.search-icon { position: relative; width: 15px; height: 15px; margin: -3px 3px 0 0; border: 1.7px solid; border-radius: 50%; }
.search-icon::after { content: ""; position: absolute; right: -5px; bottom: -2px; width: 7px; height: 1.7px; background: currentColor; transform: rotate(45deg); }

.article-site-header { border-bottom: 0; }
.article-site-header .header-inner { grid-template-columns: 1fr auto 1fr; min-height: clamp(4.25rem, 7vw, 6rem); }
.article-site-header .logo { grid-column: 2; }
.article-site-header .header-actions { grid-column: 3; gap: clamp(.35rem, 1.3vw, 1rem); }
.post-archive-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  color: var(--green);
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: none;
}
.post-archive-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.article-menu { position: relative; }
.article-menu summary {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding-inline: .75rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  cursor: pointer;
  list-style: none;
  font-size: .9375rem;
  font-weight: 700;
}
.article-menu summary::-webkit-details-marker { display: none; }
.article-menu summary::before { content: ""; width: .95rem; height: .56rem; border-block: 1.5px solid currentColor; }
.article-menu[open] summary, .article-menu summary:hover { background: var(--pale-green); }
.article-menu nav {
  position: absolute;
  z-index: 3;
  inset: calc(100% + .45rem) 0 auto auto;
  display: grid;
  width: 13rem;
  padding: .4rem;
  background: var(--page);
  border: 1px solid var(--rule-strong);
  box-shadow: 0 8px 24px var(--shadow);
}
.article-menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .75rem;
  font-weight: 650;
  text-decoration: none;
}
.article-menu nav a:hover { background: var(--pale-green); }
.article-menu nav a:focus-visible { outline-offset: -3px; }

.hero {
  padding-block: clamp(1.5rem, 3.4vw, 3.5rem);
}
.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: .55rem clamp(1.5rem, 5vw, 4.75rem);
  padding-bottom: clamp(1.2rem, 2.6vw, 2.25rem);
}
.hero h1 {
  max-width: 22ch;
  font: 740 clamp(2rem, 3.4vw, 3.15rem)/1.12 var(--display);
  text-wrap: balance;
}
.hero h1 em { color: var(--green); font-style: normal; font-weight: inherit; }
.hero-intro p {
  max-width: 51ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.5;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.22rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
}
.button-primary { background: var(--accent); color: var(--navy); }
.button-primary:hover { background: var(--accent-hover); }
.hero-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  grid-template-areas: "image copy";
  align-items: stretch;
  gap: clamp(1.25rem, 3.8vw, 3.5rem);
  border-block: 1px solid var(--rule-strong);
  padding-block: clamp(.85rem, 1.7vw, 1.45rem);
}
.hero-feature:not(:has(.hero-photo)) { grid-template-columns: 1fr; grid-template-areas: "copy"; }
.hero-photo, .card-photo { display: block; overflow: hidden; background: var(--pale-green); }
.cover { display: block; width: 100%; height: auto; object-fit: cover; }
.hero-photo { grid-area: image; position: relative; min-height: clamp(17rem, 31vw, 25rem); }
.hero-photo .cover, .post-image .cover { position: absolute; inset: 0; height: 100%; }
.hero-feature-copy { grid-area: copy; align-self: center; padding-block: .8rem; }
.feature-link { display: block; text-decoration: none; }
.hero-feature-copy h2 {
  max-width: 19ch;
  margin-top: .38rem;
  font: 750 clamp(1.85rem, 3.25vw, 3.2rem)/1.12 var(--display);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero-feature-copy p { max-width: 43ch; margin-top: .85rem; color: var(--muted); font-size: 1.075rem; line-height: 1.55; }
.feature-action { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.15rem; color: var(--green); font-weight: 700; }
.feature-action span { font-size: 1.2em; line-height: 1; }
.feature-link:hover .feature-action, .card-title a:hover { text-decoration: underline; text-underline-offset: .18em; }
.card-title a { text-decoration: none; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .75rem; font-size: .875rem; }
.topic-label { display: inline-flex; align-items: center; min-height: 28px; color: var(--green); font-weight: 700; text-decoration: none; }
.topic-label:hover { text-decoration: underline; }
.article-meta time, .post-byline time { color: var(--muted); }
.article-meta time::before { content: "·"; padding-right: .75rem; }

.starting-points { margin-bottom: clamp(1.5rem, 3.6vw, 3rem); }
.starting-panel {
  display: grid;
  grid-template-columns: minmax(8rem, .85fr) minmax(0, 3fr);
  align-items: center;
  gap: 1.1rem 1.75rem;
  padding: clamp(1.1rem, 2.5vw, 1.85rem);
  background: var(--pale-green);
}
.starting-panel h2 { font: 720 clamp(1.35rem, 2vw, 1.95rem)/1.15 var(--display); }
.starting-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.starting-grid li { border-left: 1px solid var(--rule-strong); }
.starting-grid a {
  display: grid;
  gap: .32rem;
  min-height: 100%;
  padding: .65rem clamp(.7rem, 1.5vw, 1.25rem);
  text-decoration: none;
}
.starting-grid strong { max-width: 26ch; font-size: 1.025rem; font-weight: 700; line-height: 1.25; }
.starting-grid span { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.starting-grid a:hover strong { color: var(--green); text-decoration: underline; text-underline-offset: .2em; }
.starting-grid a:focus-visible { outline-offset: -3px; }

.catalog { padding-block: 2rem 3.5rem; border-top: 1px solid var(--rule); }
.catalog:has(h1) { padding-top: clamp(2rem, 6vw, 4.75rem); border-top: 0; min-height: 62dvh; }
.catalog h1, .not-found h1, .author-page h1 {
  font: 750 clamp(2.55rem, 4.85vw, 4.35rem)/1.1 var(--display);
}
.catalog h1 + p { max-width: 56ch; margin-top: .7rem; color: var(--muted); line-height: 1.6; }
.catalog-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.1rem 2rem; margin-bottom: 1.75rem; }
.catalog-heading h2, .related > h2 { font: 720 clamp(1.95rem, 3.65vw, 3rem)/1.12 var(--display); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(.85rem, 2vw, 1.45rem); }
.filters a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-bottom: 2px solid transparent;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.filters a[aria-current], .filters a:hover { color: var(--green); border-color: currentColor; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.1rem clamp(1.15rem, 2.65vw, 2.25rem); }
.article-grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-grid--single { grid-template-columns: minmax(0, 1fr); }
.article-card { min-width: 0; }
.article-grid--single .article-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; align-items: center; }
.article-grid--single .article-card:not(:has(.card-photo)) { grid-template-columns: 1fr; }
.article-grid--single .card-photo { margin-bottom: 0; }
.card-photo { margin-bottom: .94rem; }
.card-photo .cover { aspect-ratio: 1.5; }
.card-title { margin-block: .4rem .55rem; font: 700 clamp(1.3rem, 1.95vw, 1.75rem)/1.2 var(--display); }
.article-card p { color: var(--muted); line-height: 1.6; }
.cover { transition: transform 200ms ease-out; }
.hero-photo:hover .cover, .card-photo:hover .cover { transform: scale(1.025); }

.home-author { padding-bottom: clamp(2.5rem, 5.5vw, 5rem); }
.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  border-radius: 12px;
  background: var(--pale-green);
  border: 1px solid var(--rule);
}
.monogram {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  background: var(--accent);
  color: var(--navy);
  font: 750 1.15rem/1 var(--display);
}
.author-name { display: inline-flex; align-items: center; min-height: 24px; font-weight: 700; text-underline-offset: .2em; }
.author-bio p, .post-content .author-bio p { margin-top: .22rem; max-width: 63ch; color: var(--muted); font: 400 1rem/1.6 var(--sans); }
.author-page {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3.8vw, 3rem);
  max-width: 900px;
  padding-block: clamp(2rem, 6vw, 5rem) 2.5rem;
}
.author-page .monogram { width: clamp(4rem, 10vw, 8rem); height: clamp(4rem, 10vw, 8rem); font-size: clamp(1.65rem, 4.1vw, 3.5rem); border-radius: 16px; }
.author-page p { margin-top: .8rem; max-width: 65ch; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.author-page .author-page-lead { color: var(--ink); font-weight: 600; }
.author-page .button { margin-top: 1.25rem; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; min-height: 90px; }
.footer-inner nav { flex-wrap: wrap; }
.site-address { color: var(--muted); font-size: .875rem; }

.post-header, .reading {
  --post-gutter: clamp(1.5rem, 7vw, 7rem);
  width: min(1600px, 100%);
  margin-inline: auto;
}
.post-header {
  display: grid;
  grid-template-columns: minmax(0, .61fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.7vw, 4rem);
  margin-top: clamp(1rem, 3vw, 3rem);
  padding-inline-start: var(--post-gutter);
}
.post-header:not(:has(.post-image)) { grid-template-columns: minmax(0, min(100%, 50rem)); }
.post-opening {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-inline-start: 2px solid var(--green);
  padding: clamp(.5rem, 1.1vw, 1rem) 0 clamp(1.15rem, 3.2vw, 3.15rem) clamp(1rem, 2.1vw, 2.5rem);
}
.post-topic {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: .55rem;
  color: var(--green);
  font-size: .9375rem;
  font-weight: 750;
  text-decoration: none;
}
.post-topic:hover { text-decoration: underline; text-underline-offset: .2em; }
.post-header h1 { font: 750 clamp(2.25rem, 3.65vw, 3.75rem)/1.1 var(--display); text-wrap: balance; }
.post-lead {
  max-width: 38ch;
  margin-top: clamp(1.25rem, 3vw, 3rem);
  color: var(--green);
  font: italic 500 clamp(1.1875rem, 1.9vw, 1.5rem)/1.38 var(--sans);
}
.post-byline {
  display: grid;
  justify-items: start;
  margin-top: auto;
  padding-top: clamp(1.2rem, 3vw, 2.7rem);
  font-size: .9375rem;
  line-height: 1.3;
}
.post-byline a { display: inline-flex; align-items: center; min-height: 27px; font-weight: 700; text-underline-offset: .2em; }
.post-image { position: relative; aspect-ratio: 4 / 3; min-height: 22rem; background: var(--pale-green); }
.reading {
  padding-block: clamp(1.65rem, 4.5vw, 4rem) clamp(2rem, 4vw, 3.4rem);
  padding-inline: var(--post-gutter);
}
.post-content {
  max-width: 70ch;
  font-size: clamp(1.1875rem, 1rem + .47vw, 1.375rem);
  line-height: 1.52;
}
.post-content > section + section, .post-content > .post-intro + section {
  margin-top: clamp(2.1rem, 3.5vw, 3rem);
}
.post-content > section > h2 {
  margin-bottom: clamp(.85rem, 1.5vw, 1.4rem);
  font: 650 clamp(1.85rem, 1.35rem + 1.3vw, 2.5rem)/1.14 var(--display);
  text-wrap: pretty;
}
.post-content p + p { margin-top: clamp(1.1rem, 1.8vw, 1.5rem); }
.references {
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
  font-size: 1rem;
}
.post-content > .references > h2 {
  margin-bottom: .55rem;
  font: 700 1.18rem/1.25 var(--display);
}
.references ul { margin-block: .65rem 0; padding-left: 1.2rem; }
.references a { text-underline-offset: .19em; }
.references li + li { margin-top: .5rem; }
.article-comments {
  margin-top: 1.7rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule);
  font-size: 1rem;
}
.post-content > .article-comments > h2 {
  margin-bottom: .55rem;
  font: 700 1.4rem/1.25 var(--display);
}
.comment-details summary {
  width: fit-content;
  min-height: 44px;
  padding-block: .6rem;
  color: var(--green);
  cursor: pointer;
  font-weight: 680;
}
.comment-form { display: grid; gap: .85rem; margin-top: .4rem; }
.comment-form label { display: grid; gap: .25rem; font-weight: 650; }
.comment-form input, .comment-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
}
.comment-form textarea { resize: vertical; }
.comment-form .button { justify-self: start; }
.comment-form-note, .comment-byline time { color: var(--muted); font-size: .9375rem; }
.comment-feedback { padding: .6rem .8rem; border-inline-start: 3px solid var(--green); background: var(--pale-green); }
.comment-list { list-style: none; margin: .6rem 0; padding: 0; }
.comment-list li { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.comment-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .7rem; overflow-wrap: anywhere; }
.post-content .comment-byline + .comment-body { margin-top: .25rem; }
.comment-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-pagination { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--green); }
.comment-pagination a { padding-block: .4rem; }
.related { padding-block: 2rem 2.5rem; border-top: 1px solid var(--rule); }
.related .article-grid { margin-top: 1.6rem; }
.updates {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.1rem 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.1rem, 3vw, 2.5rem);
  background: var(--pale-green);
}
.updates h2 { font: 720 clamp(1.6rem, 3vw, 2.45rem)/1.12 var(--display); }
.updates p { max-width: 65ch; margin-top: .45rem; color: var(--muted); line-height: 1.6; }
.not-found { min-height: 64vh; padding-block: 4rem; }
.not-found p { margin-block: 1rem 1.5rem; color: var(--muted); }

.privacy-page { padding-block: clamp(2rem, 6vw, 4.5rem); }
.privacy-page h1 { font: 750 clamp(2.2rem, 5vw, 4.2rem)/1.1 var(--display); }
.privacy-content { max-width: 71ch; margin-top: 1.75rem; font-size: 1.125rem; line-height: 1.65; }
.privacy-content section + section { margin-top: 2rem; }
.privacy-content h2 { margin-bottom: .55rem; font: 700 clamp(1.3rem, 2.4vw, 1.75rem)/1.2 var(--display); }
.privacy-content p + p { margin-top: .7rem; }
.privacy-content a { color: var(--green); text-underline-offset: .16em; overflow-wrap: anywhere; }
.privacy-storage { margin: 0 0 1rem; }
.privacy-storage dt { font-weight: 700; }
.privacy-storage dd { margin: 0 0 .65rem; }
.privacy-storage code { overflow-wrap: anywhere; }
.privacy-reset { margin-top: .7rem; border: 1px solid var(--control-border); background: var(--pale-green); color: var(--ink); }
.privacy-reset:hover { background: var(--paper); }
.privacy-status:not(:empty) { margin-top: .4rem; color: var(--green); }

.cookie-notice {
  position: fixed;
  z-index: 4;
  bottom: max(.9rem, env(safe-area-inset-bottom));
  left: max(.9rem, env(safe-area-inset-left));
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  width: min(25rem, calc(100% - 1.8rem));
  padding: .8rem .55rem .8rem .9rem;
  border: 1px solid var(--rule-strong);
  border-radius: 9px;
  background: var(--paper);
  box-shadow: 0 9px 30px var(--shadow);
  font-size: .9375rem;
  line-height: 1.4;
}
.cookie-illustration {
  flex: none;
  align-self: center;
  width: clamp(2.25rem, 12vw, 3rem);
  height: auto;
  margin-right: .25rem;
}
.cookie-notice a { display: inline-flex; align-items: center; min-height: 27px; color: var(--green); font-weight: 650; text-underline-offset: .16em; }
.cookie-close {
  flex: none;
  width: 40px;
  height: 40px;
  margin: -.3rem -.18rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  color: var(--ink);
  background: transparent;
  font-size: 1.55rem;
  line-height: 1;
}
.cookie-close:hover { background: var(--pale-green); }

.search-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: min(84dvh, 710px);
  margin: min(12dvh, 100px) auto auto;
  padding: clamp(1.1rem, 4vw, 1.8rem);
  border: 1px solid var(--rule);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: 0 16px 50px var(--shadow);
  color: var(--ink);
}
.search-dialog::backdrop { background: var(--overlay); }
.search-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .9rem; }
.search-top h2 { font: 720 clamp(1.5rem, 3.65vw, 2.15rem)/1.12 var(--display); }
.search-close { font-size: 1.55rem; }
.search-dialog input { width: 100%; min-height: 48px; border: 1px solid var(--control-border); border-radius: 7px; padding: .6rem .8rem; color: var(--ink); background: var(--paper); }
.search-status { min-height: 1.3rem; margin-top: .85rem; color: var(--muted); font-size: .875rem; }
.search-results { margin: .5rem 0 0; padding: 0; list-style: none; }
.search-results li { border-top: 1px solid var(--rule); }
.search-results a { display: grid; gap: .16rem; padding: .73rem .25rem; text-decoration: none; }
.search-results a:hover { background: var(--pale-green); }
.search-results span { color: var(--muted); font-size: .875rem; }

@media (max-width: 980px) {
  .starting-panel { grid-template-columns: minmax(0, 1fr); }
  .starting-grid li:first-child { border-left: 0; }
  .starting-grid li:first-child a { padding-left: 0; }
}

@media (max-width: 860px) {
  .post-header { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; margin-top: .8rem; padding-inline: 0; }
  .post-opening { width: var(--shell); margin-inline: auto; padding-block: .15rem .05rem; }
  .post-topic { margin-bottom: .3rem; }
  .post-header h1 { font-size: clamp(1.9rem, 7.8vw, 3.3rem); }
  .post-lead { max-width: 48ch; margin-top: .85rem; }
  .post-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 0 .65rem; padding-top: .75rem; }
  .post-image { aspect-ratio: auto; min-height: clamp(155px, 43vw, 350px); }
  .reading { width: var(--shell); padding-top: 1.25rem; padding-inline: 0; }
}

@media (max-width: 820px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 0 .8rem; padding-top: .58rem; }
  .header-actions { grid-row: 1; grid-column: 2; gap: .55rem; }
  .site-nav { grid-column: 1 / -1; justify-content: space-between; gap: .62rem; }
  .site-nav a { min-height: 42px; font-size: .875rem; }
  .article-site-header .header-inner { padding-top: 0; }
}

@media (max-width: 720px) {
  .hero-intro { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 22ch; font-size: clamp(1.75rem, 6vw, 2.6rem); text-wrap: initial; }
  .hero-feature { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "image"; gap: .9rem; }
  .hero-feature-copy { padding-block: 0; }
  .hero-feature-copy h2 { text-wrap: initial; }
  .hero-feature-copy p { margin-top: .55rem; }
  .feature-action { margin-top: .65rem; }
  .hero-photo { min-height: clamp(9.5rem, 48vw, 18rem); }
  .catalog { padding-block: 1.5rem 2.5rem; }
  .catalog-heading { margin-bottom: 1.25rem; }
  .article-grid:not(.article-grid--single) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { padding-block: 1rem; gap: .9rem; }
  .footer-inner nav { gap: .85rem; }
}

@media (max-width: 580px) {
  .article-site-header .header-inner { grid-template-columns: 1fr auto; }
  .article-site-header .logo { grid-column: 1; }
  .article-site-header .header-actions { grid-column: 2; }
  .post-archive-link { display: none; }
  .article-menu summary { width: 44px; justify-content: center; padding: 0; }
  .article-menu summary span { display: none; }
}

@media (max-width: 465px) {
  .article-grid:not(.article-grid--single), .article-grid--single .article-card { grid-template-columns: minmax(0, 1fr); }
  .article-grid--single .article-card { gap: 1rem; }
  .author-page { grid-template-columns: minmax(0, 1fr); }
  .site-nav { gap: .45rem; }
  .starting-grid { grid-template-columns: minmax(0, 1fr); }
  .starting-grid li, .starting-grid li:first-child { border-left: 0; border-top: 1px solid var(--rule-strong); }
  .starting-grid a, .starting-grid li:first-child a { padding: .85rem 0; }
  .starting-grid li:last-child a { padding-bottom: .25rem; }
  .about-link { font-size: .875rem; }
}

@media (max-width: 365px) {
  .header-actions, .article-site-header .header-actions { gap: .32rem; }
  .header-inner { gap: 0 .4rem; }
  .header-inner .brand-lockup { font-size: 1rem; }
  .header-inner .brand-lockup img { width: 27px; height: 27px; }
  .header-actions .theme-toggle, .header-actions .search-trigger, .article-menu summary {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }
  .about-link { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cover { transition: none; }
}
