@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: Lora;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lora-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Lora;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lora-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}
:root {
  --paper: #f4efe3;
  --light: #fbf9f3;
  --ink: #2d2a27;
  --dark: #37332f;
  --muted: #706c65;
  --rule: #bdb7ac;
  --seo: #ae3f47;
  --ai: #6d5f92;
  --news: #a47796;
  --tech: #4f7185;
  --writing: #657b65;
  --accent: #ad7a18;
  --accent-text-light: #895b00;
  --accent-text-dark: #e3ad43;
  --seo-text: #ae3f47;
  --ai-text: #6d5f92;
  --news-text: #815a73;
  --tech-text: #4f7185;
  --writing-text: #526952;
  --category-color: var(--accent);
  --category-text-color: var(--accent-text-light);
  --wide: 1440px;
  --reading: 720px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 16px/1.6 Manrope,
    system-ui,
    sans-serif;
}
a {
  color: inherit;
}
.shell {
  width: min(calc(100% - 64px), var(--wide));
  margin: auto;
}
.shell-narrow {
  width: min(calc(100% - 64px), 1120px);
  margin: auto;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px;
  z-index: 100;
}
.screen-reader-text {
  position: absolute;
  left: -9999px;
}
.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 239, 227, 0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
  font-weight: 500;
}
.masthead-inner {
  height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.wordmark {
  font-weight: 500;
  letter-spacing: -0.055em;
  text-decoration: none;
}
.sections,
.tools {
  display: flex;
  gap: 22px;
}
.sections a,
.tools a,
.tools button {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.sections .cat-seo {
  color: var(--seo-text);
}
.sections .cat-intelligenza-artificiale {
  color: var(--ai-text);
}
.sections .cat-news {
  color: var(--news-text);
}
.sections .cat-tecnologia {
  color: var(--tech-text);
}
.sections .cat-scrittura {
  color: var(--writing-text);
}
.tools {
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}
.tools button {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  font: inherit;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.collab {
  color: var(--accent-text-light) !important;
}
.search-panel,
.mobile-menu {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  background: var(--light);
}
.search-form {
  display: flex;
  gap: 10px;
}
.search-field {
  width: 100%;
  border: 0;
  background: var(--paper);
  padding: 14px;
  font: inherit;
}
.search-submit {
  border: 0;
  background: var(--ink);
  color: var(--light);
  padding: 0 22px;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
}
.opening {
  min-height: calc(100vh - 62px);
  padding: 4vw 0 5vw;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: clamp(40px, 4vw, 72px);
  align-items: end;
}
.statement {
  font-size: clamp(4rem, 7vw, 7.25rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.065em;
  max-width: 15ch;
  margin: 0;
  text-wrap: balance;
}
.statement em {
  font-family: Lora, serif;
  font-size: 1em;
  font-style: italic;
  font-weight: 400;
  line-height: inherit;
  color: var(--accent);
}
.opening-note {
  align-self: end;
  width: min(35ch, 100%);
  font-size: clamp(1.15rem, 1.45vw, 1.5rem);
  font-weight: 500;
  margin: 0 0 0.35em;
}
.editorial-label {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 34px;
  color: var(--accent-text-light);
}
.featured-section {
  background: var(--light);
  padding: 68px 0 100px;
}
.home-featured {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 42px;
  align-items: center;
}
.featured-media {
  display: block;
  aspect-ratio: 16/9;
  background: #ddd4c6;
  overflow: hidden;
}
.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-featured h2 {
  font-size: clamp(3rem, 5.3vw, 6.1rem);
  line-height: 0.88;
  letter-spacing: -0.072em;
  font-weight: 500;
  margin: 0.18em 0;
}
.home-featured h2 a {
  text-decoration: none;
}
.home-featured p {
  max-width: 44ch;
}
.category-label {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: var(--term-text-light);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}
.meta {
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.latest-section {
  background: var(--dark);
  color: var(--paper);
  padding: 22px 0 70px;
}
.latest-section .editorial-label {
  color: var(--accent-text-dark);
}
.latest-section .category-label {
  color: var(--term-text-dark);
}
.latest-list {
  border-top: 1px solid #5d5852;
}
.latest-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 25px 0;
  border-bottom: 1px solid #5d5852;
}
.latest-title {
  font-size: clamp(1.35rem, 2.5vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.latest-row time {
  font-size: 0.65rem;
  color: #aaa39a;
}
.topics {
  padding: 48px 0 115px;
}
.topic-list {
  border-top: 1px solid var(--rule);
}
.topic {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.8rem, 4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.topic i {
  width: 72px;
  height: 5px;
  background: currentColor;
}
.topic-seo {
  color: var(--seo);
}
.topic-intelligenza-artificiale {
  color: var(--ai);
}
.topic-news {
  color: var(--news);
}
.topic-tecnologia {
  color: var(--tech);
}
.topic-scrittura {
  color: var(--writing);
}
.site-footer {
  background: var(--dark);
  color: var(--paper);
  padding: 80px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
}
.site-footer h2 {
  font-size: clamp(2.5rem, 5vw, 5.35rem);
  line-height: 0.91;
  letter-spacing: -0.067em;
  font-weight: 500;
  margin: 0;
  max-width: 12ch;
}
.site-footer h2 em {
  font-family: Lora, serif;
  font-size: 1em;
  font-style: italic;
  font-weight: 400;
  line-height: inherit;
  color: var(--accent-text-dark);
}
.footer-copy {
  color: #d1c9bd;
  max-width: 42ch;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}
.footer-links a {
  font-size: 0.78rem;
}
.disclosure {
  border-top: 1px solid #5d5852;
  margin-top: 70px;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  font-size: 0.67rem;
  color: #aaa39a;
}
.disclosure a {
  color: inherit;
}
.single-article {
  padding-bottom: 100px;
}
.article-head {
  width: min(calc(100% - 64px), 1120px);
  padding: 54px 0 42px;
}
.article-hero {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark);
}
.article-hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-head-panel {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  width: min(48%, 560px);
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 3.4vw, 48px);
  background: rgba(32, 28, 24, 0.78);
  background: color-mix(in srgb, var(--category-color) 78%, transparent);
  backdrop-filter: brightness(0.72);
  color: var(--light);
}
.article-head-panel .category-label {
  color: currentColor;
}
.article-head h1 {
  color: currentColor;
  font-family: Lora, serif;
  font-size: clamp(3.4rem, 4.5vw, 5.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.064em;
  margin: auto 0;
  text-wrap: balance;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
  margin-top: 28px;
  color: currentColor;
  font-size: 0.68rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.article-caption {
  margin: 8px 0 0;
  color: var(--muted);
  font:
    italic 400 0.72rem Lora,
    serif;
  text-align: right;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) 310px;
  gap: 64px;
  align-items: start;
}
.mobile-toc-slot {
  display: none;
}
.article-body,
.article-author,
.article-toc,
.article-glossary {
  background: var(--light);
}
.article-body {
  padding: 40px;
}
.article-sidebar {
  position: sticky;
  top: 98px;
}
.article-author {
  padding: 24px;
}
.article-author h2,
.article-toc strong,
.article-glossary h2 {
  margin: 0;
  color: var(--category-text-color);
  font-family: Manrope, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-author-profile {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 18px;
}
.article-author-profile img {
  width: 64px;
  height: 64px;
  margin-top: 2px;
  border-radius: 50%;
  object-fit: cover;
}
.article-author-profile strong {
  display: block;
}
.article-author-profile strong {
  line-height: 1.3;
}
.article-author-description {
  margin-top: 2px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}
.article-toc {
  margin-top: 18px;
  padding: 24px;
}
.article-glossary {
  margin-top: 18px;
  padding: 24px;
}
.article-glossary-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.article-glossary-terms a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--category-color) 48%, transparent);
  color: var(--category-text-color);
  font-size: 0.74rem;
  line-height: 1.25;
  text-decoration: none;
}
.article-glossary-terms a:hover,
.article-glossary-terms a:focus-visible {
  background: var(--category-color);
  color: var(--light);
}
.article-toc > div {
  display: flex;
  justify-content: space-between;
}
.article-toc button {
  display: none;
  border: 0;
  background: none;
  color: var(--accent-text-light);
}
.article-toc ol {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.article-toc li.sub {
  padding-left: 16px;
}
.article-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-decoration: none;
}
.article-toc a:hover {
  color: var(--category-text-color);
}
.prose {
  font-size: 17px;
  line-height: 1.72;
}
.prose h2,
.prose h3 {
  color: var(--category-color);
  font-family: Lora, serif;
  font-weight: 400;
}
.prose h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 1.2em 0 0.58em;
}
.prose h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 1.35em 0 0.58em;
}
.prose a {
  font-family: Manrope, sans-serif;
  text-decoration-color: var(--category-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  transition: color 0.18s ease;
}
.prose a:hover,
.prose a:focus-visible {
  color: var(--category-text-color);
}
.prose strong,
.prose b {
  color: var(--category-text-color);
  font-family: Manrope, sans-serif;
  font-weight: 600;
}
.prose em,
.prose i {
  font-family: Manrope, sans-serif;
  font-size: 1em;
  font-style: italic;
  font-weight: 400;
}
.prose strong em,
.prose strong i,
.prose b em,
.prose b i {
  font-weight: 600;
}
.prose blockquote {
  margin: 2em 0;
  padding: 28px;
  background: color-mix(in srgb, var(--category-color) 14%, var(--light));
  font:
    italic 400 1.35rem/1.45 Lora,
    serif;
}
.prose pre {
  white-space: pre-wrap;
  background: #ebe4d7;
  padding: 20px;
  font:
    400 0.82rem/1.6 IBM Plex Mono,
    monospace;
}
.prose ul {
  padding-left: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 28px;
}
.prose ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--category-text-color);
}
.prose ol {
  padding-left: 1.7em;
}
.prose ol li {
  padding-left: 0.3em;
}
.prose ol li::marker {
  color: var(--category-text-color);
  font-family: Manrope, sans-serif;
  font-weight: 400;
}
.article-notes {
  margin-top: 80px;
  background: var(--paper);
  padding: 30px;
}
.article-notes section + section {
  margin-top: 30px;
}
.article-notes h2 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.article-notes .sources h2 {
  color: var(--category-text-color);
}
.source-link {
  display: inline-flex;
  align-items: center;
  margin-left: 0.18em;
  color: var(--category-text-color);
  font-family: Manrope, sans-serif;
  font-size: 1.05em;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease;
}
.source-link svg {
  width: 0.92em;
  height: 0.92em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.source-link:hover,
.source-link:focus-visible {
  transform: translate(2px, -2px);
}
.share {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 38px 0;
}
.share-label {
  color: var(--muted);
  font:
    600 0.68rem Manrope,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.share-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.share a,
.share button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--category-color) 55%, transparent);
  border-radius: 50%;
  background: transparent;
  color: var(--category-text-color);
  padding: 9px;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.share a:hover,
.share a:focus-visible,
.share button:hover,
.share button:focus-visible,
.share button.is-copied {
  background: var(--category-text-color);
  color: var(--light);
  transform: translateY(-1px);
}
.share button {
  cursor: pointer;
}
.share svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.next-article {
  display: block;
  background: color-mix(in srgb, var(--category-color) 14%, var(--light));
  padding: 28px;
  margin-bottom: 110px;
  text-decoration: none;
}
.next-article span {
  color: var(--category-text-color);
  font-size: 0.7rem;
  text-transform: uppercase;
}
.next-article h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  margin: 12px 0 0;
}
.archive-head {
  min-height: calc(100vh - 62px);
  padding: 72px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr);
  grid-template-rows: auto 1fr;
  gap: 48px clamp(45px, 7vw, 120px);
  align-items: end;
}
.kicker {
  grid-column: 1/-1;
  align-self: start;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--category-text-color);
  margin: 0;
}
.archive-head h1 {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  font:
    400 clamp(6rem, 11vw, 12.5rem)/0.86 Lora,
    serif;
  letter-spacing: -0.065em;
  color: var(--category-color);
  margin: 0;
}
.term-head h1 {
  font-size: clamp(6rem, 16vw, 15rem);
  font-weight: 500;
  line-height: 0.78;
  letter-spacing: -0.085em;
  margin: 0.22em 0;
}
.archive-summary {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
}
.archive-summary > span {
  display: block;
  margin-bottom: 26px;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
}
.archive-description {
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
}
.archive-description p {
  margin: 0;
}
.archive-featured {
  background: var(--light);
  padding: 68px 0 86px;
}
.archive-featured .editorial-label {
  color: var(--category-text-color);
}
.archive-featured article {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 42px;
  align-items: center;
}
.archive-featured-media {
  display: block;
  aspect-ratio: 16/9;
  background: #ddd4c6;
  overflow: hidden;
}
.archive-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.archive-featured article h2 {
  font-size: clamp(2.7rem, 5.2vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  margin: 0.2em 0;
}
.archive-featured article h2 a {
  text-decoration: none;
}
.archive-list {
  padding: 76px 0 110px;
}
.archive-list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 30px;
}
.archive-list-head h2 {
  font-size: 1.2rem;
  margin: 0;
}
.archive-list-head span {
  font-size: 0.68rem;
  color: var(--muted);
}
.article-row {
  display: grid;
  grid-template-columns: 130px 1fr 160px;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid var(--rule);
}
.article-row:last-of-type {
  border-bottom: 1px solid var(--rule);
}
.article-row h2 {
  font-size: clamp(1.6rem, 3vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 400;
  margin: 0 0 11px;
}
.article-row h2 a {
  text-decoration: none;
}
.article-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.article-row > .meta {
  text-align: right;
}
.navigation.pagination {
  margin-top: 55px;
}
.nav-links {
  display: flex;
  gap: 8px;
}
.page-numbers {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  background: var(--light);
  text-decoration: none;
}
.page-numbers.current {
  background: var(--category-text-color);
  color: var(--light);
}
.term-head {
  padding: 72px 0 76px;
}
.term-head .kicker {
  color: var(--accent-text-light);
}
.term-head h1 {
  font-size: clamp(4.2rem, 10vw, 10.5rem);
}
.pronunciation {
  color: var(--muted);
}
.term-content {
  background: var(--paper);
  padding: 72px 0;
}
.reading {
  width: min(calc(100% - 64px), var(--reading));
  margin: auto;
}
.reading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  color: var(--accent-text-light);
  margin: 1.75em 0 28px;
}
.reading h2:first-child {
  margin-top: 0;
}
.related a {
  display: inline-block;
  background: var(--light);
  padding: 9px 12px;
  margin: 4px;
  text-decoration: none;
}
.glossary-page .page-numbers.current {
  background: var(--accent-text-light);
}

/* Boxed editorial system: home, category archives and glossary terms. */
.home-page,
.category-page,
.glossary-page {
  padding: 48px 0 110px;
}
.home-page .shell {
  width: min(calc(100% - 64px), 1120px);
}
.home-page .opening {
  min-height: 620px;
  padding: 56px;
  background: var(--light);
}
.home-page .featured-section,
.home-page .latest-section {
  padding: 28px 0 0;
  background: transparent;
}
.home-page .featured-section > .shell {
  padding: 48px;
  background: var(--light);
}
.home-page .latest-section > .shell {
  padding: 48px;
  background: var(--dark);
}
.home-page .home-featured h2 {
  font-size: clamp(2.8rem, 4.2vw, 4.8rem);
}
.home-page .topics {
  margin-top: 28px;
  padding: 48px;
  background: var(--light);
}
.category-page .archive-head {
  min-height: 480px;
  padding: 48px;
  background: var(--category-color);
  color: var(--light);
}
.category-page .archive-head .kicker,
.category-page .archive-head h1,
.category-page .archive-summary > span {
  color: currentColor;
}
.category-page .archive-summary > span {
  opacity: 0.72;
}
.category-page .archive-featured {
  padding: 28px 0 0;
  background: transparent;
}
.category-page .archive-featured > .shell-narrow,
.category-page .archive-list,
.glossary-page .term-box,
.glossary-page .archive-list {
  padding: 48px;
  background: var(--light);
}
.category-page .archive-featured article h2 {
  font-size: clamp(2.6rem, 4.3vw, 4.8rem);
}
.category-page .archive-list,
.glossary-page .archive-list {
  margin-top: 28px;
}
.glossary-page .term-head {
  padding: 0 0 44px;
}
.glossary-page .term-content {
  padding: 0;
  background: transparent;
}
.glossary-page .term-content .reading {
  width: min(100%, var(--reading));
  margin: 0;
}
.simple-head,
.page-head {
  padding: 72px 0;
}
.simple-head h1,
.page-head h1,
.error-page h1 {
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.85;
  letter-spacing: -0.075em;
}
.page-main {
  padding-bottom: 100px;
}
.error-page {
  min-height: 70vh;
  padding-top: 90px;
}
.empty {
  padding: 80px 0;
}
@media (max-width: 960px) {
  .sections {
    display: none;
  }
  .masthead-inner {
    grid-template-columns: 1fr auto;
  }
  .home-featured,
  .archive-featured article,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .article-toc {
    margin-top: 0;
  }
  .article-toc button {
    display: block;
  }
  .article-toc ol {
    display: none;
  }
  .article-toc.open ol {
    display: block;
  }
  .opening {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    align-items: end;
  }
  .opening-note {
    width: min(40ch, 100%);
  }
  .archive-head {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
  }
  .archive-head h1 {
    grid-column: 1;
    grid-row: 2;
  }
  .archive-summary {
    grid-column: 1;
    grid-row: 3;
  }
  .article-row {
    grid-template-columns: 100px 1fr;
  }
  .article-row > .meta {
    display: none;
  }
}
@media (max-width: 600px) {
  .shell,
  .shell-narrow,
  .reading {
    width: calc(100% - 28px);
  }
  .masthead-inner {
    height: 55px;
  }
  .tools {
    gap: 12px;
  }
  .collab {
    display: none;
  }
  .opening {
    min-height: calc(100svh - 55px);
    min-height: calc(100dvh - 55px);
    gap: 32px;
    padding-top: 36px;
    padding-bottom: max(96px, calc(64px + env(safe-area-inset-bottom)));
  }
  .opening.shell {
    width: calc(100% - 44px);
  }
  .statement {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(3.45rem, 15.25vw, 5.35rem);
  }
  .featured-section {
    padding: 42px 0 58px;
  }
  .featured-section .editorial-label {
    margin-bottom: 22px;
  }
  .home-featured {
    gap: 0;
    align-items: stretch;
    background: var(--paper);
  }
  .home-featured > div {
    padding: 22px;
  }
  .home-featured h2 {
    margin: 0.28em 0 0.35em;
    font-size: clamp(2.55rem, 11vw, 3.4rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
  }
  .home-featured p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }
  .home-featured .meta {
    display: block;
    margin-top: 18px;
  }
  .latest-row {
    grid-template-columns: 1fr;
  }
  .latest-row time {
    display: none;
  }
  .topics {
    padding: 40px 0 80px;
  }
  .topic i {
    width: 46px;
  }
  .footer-grid {
    gap: 38px;
  }
  .disclosure {
    grid-template-columns: 1fr;
  }
  .article-head {
    width: calc(100% - 28px);
    padding: 28px 0 30px;
  }
  .article-head h1 {
    font-size: clamp(2.7rem, 13vw, 4.6rem);
  }
  .article-hero {
    aspect-ratio: auto;
    min-height: 0;
    overflow: visible;
    background: transparent;
  }
  .article-hero-media {
    display: none;
  }
  .article-head-panel {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 0;
    padding: 28px;
    background: var(--category-color);
    backdrop-filter: none;
  }
  .article-head-panel .category-label {
    margin-bottom: 24px;
  }
  .article-meta {
    margin-top: 30px;
  }
  .article-caption {
    display: none;
  }
  .article-sidebar {
    grid-template-columns: 1fr;
  }
  .mobile-toc-slot {
    display: block;
  }
  .mobile-toc-slot:empty {
    display: none;
  }
  .article-sidebar .article-toc {
    display: none;
  }
  .mobile-toc-slot .article-toc {
    display: block;
    margin: 0;
  }
  .article-body {
    padding: 26px 22px;
  }
  .prose {
    font-size: 16px;
  }
  .archive-head {
    min-height: calc(100svh - 55px);
    padding-top: 42px;
    padding-bottom: 38px;
    gap: 30px;
  }
  .archive-head h1 {
    font-size: clamp(5rem, 24vw, 8.5rem);
  }
  .archive-featured {
    padding: 48px 0 62px;
  }
  .archive-list {
    padding: 58px 0 80px;
  }
  .article-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 25px 0;
  }
  .term-head h1 {
    font-size: clamp(3.5rem, 17vw, 6rem);
  }
  .term-content {
    padding: 52px 0;
  }
  .home-page,
  .category-page,
  .glossary-page {
    padding: 28px 0 70px;
  }
  .home-page .shell {
    width: calc(100% - 44px);
  }
  .home-page .opening {
    min-height: 0;
    padding: 88px 22px max(96px, calc(64px + env(safe-area-inset-bottom)));
  }
  .home-page .featured-section,
  .home-page .latest-section {
    padding: 20px 0 0;
  }
  .home-page .featured-section > .shell,
  .home-page .latest-section > .shell,
  .home-page .topics {
    padding: 22px;
  }
  .home-page .topics {
    margin-top: 20px;
  }
  .category-page .archive-head {
    min-height: 0;
    padding: 28px;
  }
  .category-page .archive-head h1 {
    font-size: clamp(3.8rem, 16vw, 6.2rem);
  }
  .category-page .archive-featured {
    padding: 20px 0 0;
  }
  .category-page .archive-featured > .shell-narrow,
  .category-page .archive-list,
  .glossary-page .term-box,
  .glossary-page .archive-list {
    padding: 22px;
  }
  .category-page .archive-featured article {
    gap: 0;
  }
  .category-page .archive-featured article > div {
    padding-top: 22px;
  }
  .category-page .archive-featured article h2 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }
  .category-page .archive-list,
  .glossary-page .archive-list {
    margin-top: 20px;
  }
  .glossary-page .term-head {
    padding-bottom: 34px;
  }
  .glossary-page .term-content {
    padding: 0;
  }
}

/* Desktop navigation already exposes all sections. */
.menu-toggle {
  display: none;
}
@media (max-width: 960px) {
  .menu-toggle {
    display: inline-block;
  }
  .desktop-search-toggle,
  .desktop-collab {
    display: none;
  }
  .mobile-menu-actions {
    display: flex;
    gap: 22px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
  }
  .mobile-menu-actions button,
  .mobile-menu-actions a {
    appearance: none;
    border: 0;
    background: none;
    padding: 10px 0;
    color: var(--ink);
    font: inherit;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
  }
  .mobile-menu-actions .collab {
    color: var(--accent-text-light);
  }
}
