@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  color-scheme: light;
  --paper: #faf9f6;
  --surface: #fff;
  --ink: #1a1624;
  --muted: #625d6b;
  --line: #e8e3ec;
  --purple: #6537e7;
  --purple-dark: #4a24b8;
  --purple-soft: #f1ebff;
  --max: 1232px;
  --font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 1.25rem; }

body {
  min-width: 280px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.58 var(--font);
}

main { min-height: 48vh; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }
p { margin: 0; }
::selection { background: #dccbff; color: var(--ink); }
:focus-visible { outline: 3px solid #a47afb; outline-offset: 4px; }
[hidden] { display: none !important; }

.shell {
  width: min(var(--max), calc(100% - 6rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  z-index: 8;
  inset: .5rem auto auto .5rem;
  padding: .6rem 1rem;
  color: white;
  background: var(--purple-dark);
  border-radius: .45rem;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }
.icon { display: block; flex: none; }

.masthead {
  position: relative;
  z-index: 3;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 75px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.15rem;
}

.wordmark {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .58rem;
  font-size: 1.76rem;
  font-weight: 800;
  letter-spacing: -.085em;
  line-height: 1;
  text-decoration: none;
}

.wordmark img { width: 37px; height: 37px; flex: none; }
.brand-period { color: var(--purple); margin-left: .025em; }

.primary-nav {
  display: flex;
  justify-content: safe center;
  align-items: center;
  column-gap: clamp(.85rem, 2vw, 1.85rem);
  overflow-x: auto;
}

.primary-nav a, .header-tool summary {
  color: #514c5a;
  font-size: .875rem;
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
}

.primary-nav a { padding-block: .8rem; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--purple-dark); }
.header-actions { display: flex; gap: .5rem; }
.header-tool { position: relative; }
.header-tool summary::-webkit-details-marker { display: none; }

.header-tool summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .42rem .7rem;
  list-style: none;
  color: var(--purple-dark);
  background: #f7f3ff;
  border: 1px solid #e8dfff;
  border-radius: .62rem;
}

.header-tool summary:hover, .header-tool[open] summary {
  color: var(--purple-dark);
  border-color: #c6b5f0;
  background: var(--purple-soft);
}

.header-language summary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.tool-popover {
  position: absolute;
  top: calc(100% + .55rem);
  right: 0;
  width: max-content;
  max-width: min(100vw - 2rem, 24rem);
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--surface);
  box-shadow: 0 10px 36px rgb(36 24 61 / 12%);
}

.language-options { min-width: 9rem; }
.language-options a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: .4rem .55rem;
  border-radius: .42rem;
  font-size: .875rem;
  font-weight: 750;
  text-decoration: none;
}
.language-options a:hover, .language-options a[aria-current] { color: var(--purple-dark); background: var(--purple-soft); }

.search-form { display: flex; align-items: stretch; gap: .5rem; }

.search-form input {
  min-width: 0;
  min-height: 45px;
  width: 18rem;
  padding: .6rem .75rem;
  border: 1px solid #cfcbdb;
  border-radius: .58rem;
  background: var(--surface);
  color: var(--ink);
}

.search-form .button { flex: none; }

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.button--outline { border-color: #ded8e7; background: var(--surface); color: var(--ink); }
.button--outline:hover { color: var(--purple-dark); border-color: #cbb8f7; background: var(--purple-soft); }
.button--accent { color: white; background: var(--purple); }
.button--accent:hover { background: var(--purple-dark); }

.page-home { padding-block: 2.1rem 5.1rem; }
.featured-section { margin-bottom: 3.2rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .48rem;
  margin-block-end: .85rem;
  color: var(--purple-dark);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.featured {
  --feature-ink: white;
  --feature-secondary: #eee7ff;
  --feature-cta: white;
  --feature-cta-ink: #4921b6;
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  min-height: 420px;
  overflow: hidden;
  border-radius: 1.25rem;
  color: var(--feature-ink);
  background: #5931cd;
}

.featured--text { grid-template-columns: minmax(0, 1fr); }

.featured-copy {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.65rem, 4.2vw, 3.9rem);
  background: linear-gradient(145deg, #5d34d5, #4923b3);
}

.featured-copy::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 23rem;
  height: 23rem;
  inset: auto -9rem -13rem auto;
  border-radius: 50%;
  pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 20px, rgb(255 255 255 / 10%) 20px 21px, transparent 21px 30px);
}

.topic-label {
  color: var(--purple-dark);
  font-weight: 800;
  text-decoration: none;
}

.topic-label:hover { text-decoration: underline; }

.featured-copy > .topic-label, .article-head > .topic-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .28rem .66rem;
  border-radius: 999px;
  color: #4a24b8;
  background: #f0e9ff;
  font-size: .8125rem;
  font-weight: 800;
}

.featured-copy h1 {
  margin-block: .95rem .9rem;
  max-width: 23ch;
  font-size: clamp(2.38rem, 3.6vw, 3.9rem);
  letter-spacing: -.074em;
  text-wrap: balance;
}

.featured-copy h1 a { text-decoration: none; }
.featured-copy h1 a:hover { text-decoration: underline; text-decoration-thickness: .055em; }

.featured-summary {
  max-width: 51ch;
  color: var(--feature-secondary);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.featured-bottom {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 1rem;
  row-gap: 1.15rem;
  margin-top: 1.65rem;
}

.featured-bottom .post-meta { color: var(--feature-secondary); }
.featured-bottom .author-avatar { color: white; background: rgb(255 255 255 / 18%); }
.button--featured { color: var(--feature-cta-ink); background: var(--feature-cta); }
.button--featured:hover { color: #33177f; background: #e8dcff; }

.author-line {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.author-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: var(--purple-dark);
  background: var(--purple-soft);
  font-size: .75rem;
  font-weight: 800;
}

.author-name { display: block; font-size: .86rem; font-weight: 780; }

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .42rem;
  color: var(--muted);
  font-size: .77rem;
  font-weight: 650;
  line-height: 1.35;
}

.meta-dot { width: 3px; height: 3px; flex: none; border-radius: 100%; background: currentColor; opacity: .65; }
.featured-photo { display: block; position: relative; min-height: 100%; background: #d7cbe6; }
.featured-photo img, .card-photo img, .article-cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-photo img { position: absolute; inset: 0; }
.featured-photo:focus-visible { z-index: 1; outline-offset: -5px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.063em; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .92rem;
  background: var(--surface);
}

.post-card:focus-within { border-color: #c5b0f8; }

.card-photo {
  display: block;
  min-width: 0;
  aspect-ratio: 1.74;
  overflow: hidden;
  background: #eee9f3;
}

.card-photo img { transition: transform 240ms ease; }
.card-photo:hover img { transform: scale(1.035); }
.card-photo:focus-visible { outline-offset: -5px; }

.card-content { flex: 1; padding: 1.12rem 1.22rem 1.3rem; }
.card-content h2, .card-content h3 { margin-top: .5rem; font-size: clamp(1.28rem, 1.8vw, 1.57rem); letter-spacing: -.055em; }
.card-content h2 a, .card-content h3 a { text-decoration: none; }
.card-content h2 a:hover, .card-content h3 a:hover { color: var(--purple-dark); text-decoration: underline; }
.card-content p { margin-top: .65rem; color: var(--muted); font-size: .94rem; overflow-wrap: anywhere; }
.post-card--no-photo { min-height: 165px; }

.topic-section { margin-top: 3.35rem; }
.page-topics .page-heading + .topic-section { margin-block-start: 1.7rem; }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  gap: .8rem;
}

.topic-tile {
  display: flex;
  min-height: 83px;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1rem;
  border: 1px solid #e9e1f6;
  border-radius: .8rem;
  color: #302147;
  background: #f5f0fd;
  text-decoration: none;
}

.topic-tile:hover { border-color: #c5b0f8; background: #eee5fe; }
.topic-tile strong, .topic-tile strong + span { display: block; }
.topic-tile strong { overflow-wrap: anywhere; line-height: 1.33; }
.topic-tile strong + span { color: #675779; font-size: .8rem; }

.tile-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: .54rem;
  color: var(--purple-dark);
  background: #e8dcfc;
  font-weight: 800;
}

.page-list, .page-static, .page-article { padding-block: 1.6rem 5rem; }
.page-error { padding-block: 5rem; }

.breadcrumbs {
  margin-bottom: 1.9rem;
  color: var(--muted);
  font-size: .85rem;
}

.breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; min-width: 0; align-items: baseline; gap: .45rem; overflow-wrap: anywhere; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--purple-dark); text-decoration: underline; }
.breadcrumb-divider { color: #9c92a8; }

.page-heading { margin-bottom: 1.75rem; }
.page-heading h1 { font-size: clamp(2.55rem, 5.5vw, 4.6rem); letter-spacing: -.075em; }
.page-heading p { margin-top: .7rem; max-width: 64ch; color: var(--muted); font-size: 1.075rem; }
.page-heading .search-form { max-width: 30rem; margin-top: 1.45rem; }
.page-heading .search-form input { width: 100%; }

.filter-nav { display: flex; flex-wrap: wrap; gap: .48rem; margin-bottom: 1.35rem; }

.filter-nav a, .tag-list a {
  padding: .42rem .78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  font-size: .875rem;
  font-weight: 750;
  text-decoration: none;
}

.filter-nav a:hover, .filter-nav a[aria-current], .tag-list a:hover { color: var(--purple-dark); background: var(--purple-soft); border-color: var(--purple); }

.tag-list { display: flex; flex-wrap: wrap; gap: .48rem; margin: 0; padding: 0; list-style: none; }
.tag-list li { min-width: 0; max-width: 100%; }
.tag-list a { display: block; overflow-wrap: anywhere; }
.tag-list a span { margin-inline-start: .36rem; font-size: .8rem; font-weight: 550; }
.text-column > .tag-list { margin-block-start: 1.75rem; }
.empty-state { padding: 1.15rem 1.3rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; }

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .65rem;
  max-width: 26rem;
  margin: 2rem auto 0;
  color: var(--muted);
  text-align: center;
  font-size: .88rem;
  font-weight: 700;
}

.article-head { max-width: 860px; margin: 0 auto 1.55rem; text-align: center; }
.article-head h1 { margin: .85rem auto; font-size: clamp(2.7rem, 5.8vw, 5rem); letter-spacing: -.075em; text-wrap: balance; }
.article-deck { max-width: 62ch; margin: .85rem auto 1.2rem; color: var(--muted); font-size: clamp(1.075rem, 1.7vw, 1.27rem); line-height: 1.58; text-wrap: pretty; }
.article-head .author-line { justify-content: center; text-align: left; }

.article-figure { max-width: 1030px; margin: 1.85rem auto 2.15rem; }
.page-article--photo .article-figure { max-width: none; }
.article-figure figcaption { margin-block-start: .45rem; color: var(--muted); font-size: .83rem; }

.article-cover {
  aspect-ratio: 2.18;
  overflow: hidden;
  border-radius: 1.12rem;
  background: #ece6f2;
}

.page-article--photo .article-cover { aspect-ratio: 1.67; }
.article-provenance { margin-top: 2rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.tag-list + .article-provenance { margin-block-start: 1rem; }
.page-article--photo .prose img { border-radius: .8rem; }
.reading { padding-top: .25rem; }
.text-column { max-width: 720px; margin-inline: auto; min-width: 0; }
.article-outline { margin-bottom: 1.55rem; padding: 1.08rem 1.25rem; border: 1px solid #e6dcf7; border-radius: .8rem; background: #f6f0ff; }
.article-outline h2 { font-size: 1.025rem; }
.article-outline ol { display: grid; gap: .15rem; margin: .45rem 0 0; padding-inline-start: 1.25rem; }
.article-outline a { color: #482787; font-size: .92rem; font-weight: 700; }
.outline-subheading { margin-inline-start: 1rem; }

.prose { color: #332d3c; font-size: 1.075rem; line-height: 1.78; overflow-wrap: anywhere; }
.prose > * + * { margin-block-start: 1.02em; }
.prose h2 { margin-block-start: 1.55em; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2rem); letter-spacing: -.045em; }
.prose h3, .prose h4, .prose h5, .prose h6 { margin-block-start: 1.3em; color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -.025em; }
.prose :first-child { margin-block-start: 0; }
.prose :last-child { margin-block-end: 0; }
.prose a { color: var(--purple-dark); }
.prose img { max-width: 100%; width: auto; margin-inline: auto; border-radius: .6rem; }
.prose ul, .prose ol { padding-inline-start: 1.45rem; }
.prose blockquote { margin-inline: 0; padding: .8rem 1rem; border-inline-start: .2rem solid var(--purple); background: var(--purple-soft); }
.prose hr { margin-block: 1.8em; border: 0; border-top: 1px solid var(--line); }
.prose pre { overflow-x: auto; padding: .8rem 1rem; border-radius: .6rem; background: #eee9f3; font-size: .86rem; line-height: 1.45; }
.prose table { width: 100%; border-collapse: collapse; font-size: .91rem; }
.prose th, .prose td { padding: .5rem .65rem; border: 1px solid var(--line); text-align: start; }
.prose th { background: var(--purple-soft); }
.related-section { margin-top: 3.7rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.page-static .text-column { margin-inline: 0 auto; }

.site-footer { padding-top: 2.7rem; color: var(--muted); background: #f0edf3; border-top: 1px solid #e7e1eb; }

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(1.5rem, 6vw, 5rem);
  padding-bottom: 1.85rem;
}

.footer-intro .wordmark { color: var(--ink); }
.footer-intro p { max-width: 47ch; margin-top: .6rem; font-size: .92rem; }
.footer-nav { display: grid; align-content: start; gap: .36rem; }
.footer-nav a, .footer-bottom a { display: flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 700; text-decoration: none; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--purple-dark); text-decoration: underline; }

.footer-external { padding-block: .9rem 1.25rem; border-block-start: 1px solid var(--line); }
.footer-external h2 { color: var(--ink); font-size: .95rem; letter-spacing: -.01em; }
.footer-external ul { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin: .45rem 0 0; padding: 0; list-style: none; }
.footer-external li { display: flex; min-width: 0; max-width: 100%; flex-wrap: wrap; align-items: baseline; gap: .4rem; overflow-wrap: anywhere; }
.footer-external a { font-size: .875rem; text-underline-offset: .15em; }
.footer-external li span { font-size: .76rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding-block: .9rem;
  border-top: 1px solid #e0d9e6;
  font-size: .8rem;
}

.layout-gallery {
  --paper: #1a1523;
  --surface: #231c2e;
  --ink: #faf8ff;
  --muted: #d3cadf;
  --line: #3f3452;
  --purple-dark: #d8c1ff;
  --purple-soft: #372655;
  color-scheme: dark;
}

.layout-gallery .featured:not(.featured--text) { position: relative; display: flex; min-height: clamp(510px, 56vw, 620px); align-items: flex-end; background: #2c2143; }
.layout-gallery .featured:not(.featured--text) .featured-photo { position: absolute; inset: 0; }
.layout-gallery .featured:not(.featured--text) .featured-copy { z-index: 1; width: 100%; background: linear-gradient(0deg, rgb(20 13 32 / 98%) 18%, rgb(20 13 32 / 79%) 56%, transparent 100%); }
.layout-gallery .featured-copy::after { content: none; }
.layout-gallery .featured-bottom { justify-content: flex-start; gap: 1.2rem 2rem; }
.layout-gallery .post-card { border-color: var(--line); }
.layout-gallery .card-photo { aspect-ratio: 1.2; background: #302541; }
.layout-gallery .post-grid { gap: 1rem; }
.layout-gallery .primary-nav a { color: var(--muted); }
.layout-gallery .primary-nav a:hover, .layout-gallery .primary-nav a[aria-current] { color: var(--ink); }
.layout-gallery .header-search summary { color: var(--ink); background: var(--purple-soft); border-color: var(--line); }
.layout-gallery .button--outline { border-color: var(--line); }
.layout-gallery .topic-tile { color: var(--ink); background: var(--surface); border-color: var(--line); }
.layout-gallery .topic-tile:hover { background: var(--purple-soft); }
.layout-gallery .topic-tile strong + span { color: var(--muted); }
.layout-gallery .tile-icon { background: var(--purple-soft); color: var(--purple-dark); }
.layout-gallery .site-footer { background: #211a2b; border-color: var(--line); }
.layout-gallery .footer-bottom { border-color: var(--line); }
.layout-gallery .author-avatar { background: #49356b; }
.layout-gallery .prose { color: #ece3f7; }
.layout-gallery .article-outline { background: #2d2140; border-color: #49355e; }
.layout-gallery .article-outline a { color: #e2d0fd; }
.layout-gallery .prose pre { background: #342444; }

.layout-classic {
  --max: 1080px;
  --paper: #fcfbf8;
  --line: #ddd5c9;
  --ink: #252027;
}

.layout-classic h1, .layout-classic .section-heading h2, .layout-classic .card-content h2, .layout-classic .card-content h3, .layout-classic .prose h2, .layout-classic .prose h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.052em;
}

.layout-classic .featured {
  --feature-ink: var(--ink);
  --feature-secondary: var(--muted);
  --feature-cta: var(--purple);
  --feature-cta-ink: white;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: 360px;
  border-block: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.layout-classic .featured--text { grid-template-columns: 1fr; }
.layout-classic .featured-copy { grid-column: 2; grid-row: 1; padding: 2.4rem 0 2.4rem 2.6rem; background: transparent; }
.layout-classic .featured--text .featured-copy { grid-column: 1; padding-inline: 0; }
.layout-classic .featured-copy::after { content: none; }
.layout-classic .featured-photo { grid-column: 1; grid-row: 1; }
.layout-classic .featured-bottom .author-avatar { color: var(--purple-dark); background: var(--purple-soft); }
.layout-classic .button--featured:hover { color: white; background: var(--purple-dark); }
.layout-classic .post-grid { max-width: 880px; display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
.layout-classic .post-card { display: grid; grid-template-columns: minmax(11rem, .38fr) minmax(0, 1fr); align-items: start; gap: 1.35rem; padding: .95rem 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.layout-classic .post-card--no-photo { min-height: 0; grid-template-columns: 1fr; }
.layout-classic .card-content { padding: .2rem 0; }
.layout-classic .card-photo { border-radius: .35rem; }
.layout-classic .prose { font-family: Georgia, "Times New Roman", serif; font-size: 1.23rem; line-height: 1.77; }

@media (max-width: 1120px) {
  .shell { width: min(var(--max), calc(100% - 4rem)); }
  .header-inner { gap: 1.2rem; }
  .primary-nav { column-gap: .85rem; }
}

@media (max-width: 930px) {
  .header-inner { grid-template-columns: 1fr auto; min-height: 64px; gap: 0; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .header-inner > .wordmark { grid-column: 1; grid-row: 1; margin-block: .65rem; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow: auto; margin-inline: -.2rem; padding-inline: .2rem; scrollbar-width: thin; }
  .primary-nav a { padding-block: .55rem .68rem; }
  .featured { min-height: 390px; }
  .featured-copy { padding: clamp(1.45rem, 3.2vw, 2.4rem); }
  .featured-copy h1 { font-size: clamp(2.05rem, 4.1vw, 3rem); }
  .post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 690px) {
  .shell { width: calc(100% - 2rem); }
  .header-tool summary { min-width: 42px; padding-inline: .48rem; }
  .header-search summary span, .header-language summary .icon { display: none; }
  .primary-nav { column-gap: 1rem; }
  .page-home { padding-block: 1.5rem 3.4rem; }
  .featured-section { margin-bottom: 2.35rem; }
  .featured { grid-template-columns: 1fr; min-height: 0; border-radius: .9rem; }
  .featured-photo { min-height: 0; grid-row: 1; aspect-ratio: 1.6; }
  .featured-copy { grid-row: 2; padding: 1.35rem; }
  .featured-copy h1 { font-size: clamp(2.05rem, 7.3vw, 3rem); }
  .featured-bottom { margin-top: 1.15rem; }
  .featured-summary { font-size: .95rem; }
  .section-heading { margin-bottom: .9rem; }
  .post-grid { gap: .85rem; }
  .post-card { border-radius: .75rem; }
  .card-content { padding: 1rem; }
  .topic-section { margin-top: 2.35rem; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-tile { min-height: 70px; padding: .55rem .7rem; }
  .page-list, .page-static, .page-article { padding-block: 1.05rem 3.5rem; }
  .breadcrumbs { margin-bottom: 1.25rem; }
  .article-head { text-align: left; }
  .article-head .author-line { justify-content: start; }
  .article-head h1 { font-size: clamp(2.25rem, 8.5vw, 3.8rem); text-wrap: wrap; }
  .article-deck { margin-inline: 0; }
  .article-figure { margin-block: 1.3rem 1.5rem; }
  .article-cover { aspect-ratio: 1.58; border-radius: .8rem; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-intro { grid-column: 1 / -1; }
  .layout-gallery .featured:not(.featured--text) { min-height: 520px; }
  .layout-gallery .featured:not(.featured--text) .featured-copy { padding-top: 3.3rem; }
  .layout-gallery .featured:not(.featured--text) .featured-photo { aspect-ratio: auto; }
  .layout-classic .featured { grid-template-columns: 1fr; min-height: 0; }
  .layout-classic .featured-copy, .layout-classic .featured--text .featured-copy { grid-column: 1; grid-row: 2; padding: 1.25rem 0; }
  .layout-classic .post-card { grid-template-columns: minmax(6.5rem, .38fr) minmax(0, 1fr); column-gap: .75rem; }
}

@media (max-width: 470px) {
  .post-grid { grid-template-columns: 1fr; }
  .layout-gallery .card-photo { aspect-ratio: 1.55; }
  .topic-tile strong { font-size: .875rem; }
  .tile-icon { width: 27px; height: 30px; }
  .section-heading .button { white-space: nowrap; }
  .layout-classic .card-content p { font-size: .875rem; }
  .layout-classic .post-card--no-photo { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
