:root {
  --ink: #092c3e;
  --ink-deep: #041f2d;
  --blue: #0a5871;
  --teal: #087e78;
  --leaf: #5e8b68;
  --sun: #f3c541;
  --sun-soft: #fff2b8;
  --paper: #f7f8f3;
  --white: #fff;
  --mist: #dce9e7;
  --line: #c7d7d4;
  --muted: #5c7078;
  --shadow: 0 22px 60px rgb(4 31 45 / 12%);
  --radius: 1.1rem;
  --shell: min(1180px, calc(100vw - 2.5rem));
  --reading: min(730px, calc(100vw - 2.5rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--teal); }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { width: var(--reading); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 100; inset: .75rem auto auto .75rem; padding: .7rem 1rem; background: var(--sun); color: var(--ink-deep); }

.eyebrow {
  margin: 0 0 .8rem; color: var(--teal); font-size: .73rem; font-weight: 800;
  letter-spacing: .15em; line-height: 1.3; text-transform: uppercase;
}

.site-header {
  position: sticky; z-index: 50; top: 0; color: var(--white);
  background: rgb(4 31 45 / 95%); border-bottom: 1px solid rgb(255 255 255 / 12%);
  backdrop-filter: blur(12px);
}
.header-primary { min-height: 4.6rem; display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; margin-right: auto; color: var(--white); text-decoration: none; line-height: 1.1; }
.brand:hover { color: var(--white); }
.brand strong { display: block; letter-spacing: .02em; }
.brand small { display: block; margin-top: .28rem; color: #a9c3c7; font-size: .67rem; letter-spacing: .11em; text-transform: uppercase; }
.brand-mark { position: relative; width: 2.45rem; height: 2.45rem; border: 1px solid #4e8991; border-radius: 50%; }
.brand-mark::before, .brand-mark::after, .brand-mark i { position: absolute; content: ""; border-radius: 50%; }
.brand-mark::before { width: .62rem; height: .62rem; inset: .9rem; background: var(--sun); }
.brand-mark::after { width: 2rem; height: .75rem; left: .18rem; top: .78rem; border: 1px solid #75aaa8; transform: rotate(-27deg); }
.brand-mark i { width: .23rem; height: .23rem; background: var(--white); }
.brand-mark i:nth-child(1) { left: .25rem; top: .75rem; }
.brand-mark i:nth-child(2) { right: .27rem; bottom: .62rem; }
.brand-mark i:nth-child(3) { right: .45rem; top: .25rem; background: var(--teal); }
.header-search { display: flex; width: 10rem; border-bottom: 1px solid #5e7e86; }
.header-search input { width: 100%; padding: .35rem 0; color: var(--white); background: transparent; border: 0; outline: 0; }
.header-search input::placeholder { color: #91a9af; }
.header-search button { color: var(--sun); background: none; border: 0; cursor: pointer; }
.topic-nav { display: flex; align-items: center; gap: 1.55rem; overflow-x: auto; padding-block: .65rem .75rem; border-top: 1px solid rgb(255 255 255 / 9%); scrollbar-width: none; }
.topic-nav::-webkit-scrollbar { display: none; }
.topic-nav a { flex: 0 0 auto; color: #bed1d3; font-size: .74rem; font-weight: 750; letter-spacing: .045em; text-decoration: none; text-transform: uppercase; }
.topic-nav a:hover, .topic-nav a[aria-current="page"] { color: var(--sun); }

.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: var(--ink-deep);
  background-image: radial-gradient(circle at 1px 1px, rgb(124 183 180 / 17%) 1px, transparent 0);
  background-size: 29px 29px;
}
.hero::before { position: absolute; content: ""; width: 38rem; height: 38rem; right: -15rem; top: -19rem; border-radius: 50%; background: rgb(8 126 120 / 24%); filter: blur(3px); }
.hero::after { position: absolute; content: ""; width: 20rem; height: .35rem; right: 15%; bottom: 0; background: var(--sun); }
.hero-grid { min-height: 31rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4rem; padding-block: 4.5rem; }
.hero-copy { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--sun); }
.hero h1, .page-hero h1, .index-hero h1, .article-hero h1, .error-page h1 {
  margin: 0; font-family: ui-serif, Charter, Georgia, serif; font-weight: 500; letter-spacing: -.045em; line-height: .98;
}
.hero h1 { max-width: 15ch; font-size: clamp(3.1rem, 6vw, 5.8rem); }
.hero-lede { max-width: 43rem; margin: 2rem 0 0; color: #c8dbdc; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.3rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.2rem; color: var(--ink-deep); background: var(--sun); border: 1px solid var(--sun); border-radius: 999px; font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.button:hover { color: var(--white); background: var(--teal); border-color: var(--teal); }
.hero-portrait { position: relative; z-index: 2; width: clamp(9rem, 15vw, 15rem); margin: 0 1rem 0 0; opacity: 1 }
.hero-portrait img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 1.2rem 1.5rem rgb(0 0 0 / 25%)); }

.home-intro { padding-block: 5rem 1rem; }
.explore-projects { padding-top: 4.5rem; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.quick-links a { position: relative; min-height: 8.5rem; display: flex; flex-direction: column; padding: 1.1rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.quick-links a:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.quick-links span {  font: 600 1.25rem/1.05 ui-serif, Charter, Georgia, serif; }
.quick-links small { margin-top: auto; padding-top: 1rem; color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.quick-links b { position: absolute; right: 1rem; bottom: .85rem; color: var(--teal); }
.latest { padding-block: 5rem 7rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.3rem; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0 0 1.5rem; font: 500 clamp(2rem, 4vw, 3.7rem)/1 ui-serif, Charter, Georgia, serif; letter-spacing: -.035em; }
.text-link { margin-bottom: 1.7rem; font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.text-link span { margin-left: .35rem; color: var(--teal); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.article-card, .list-card { --category: var(--teal); }
.article-card[data-category="energy"], .list-card[data-category="energy"] { --category: #d08a16; }
.article-card[data-category="iot"], .list-card[data-category="iot"] { --category: #087e78; }
.article-card[data-category="software"], .list-card[data-category="software"] { --category: #2875a8; }
.article-card[data-category="sustainable-homes"], .list-card[data-category="sustainable-homes"] { --category: #5e8b68; }
.article-card[data-category="outdoors"], .list-card[data-category="outdoors"] { --category: #648446; }
.article-card[data-category="workshop"], .list-card[data-category="workshop"] { --category: #b85d32; }
.article-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 rgb(4 31 45 / 3%); transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { display: block; height: 13.5rem; overflow: hidden; background: var(--mist); border-top: .35rem solid var(--category); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.article-card:hover .card-media img { transform: scale(1.025); }
.card-placeholder { position: relative; display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--ink), var(--category)); }
.card-placeholder::before { position: absolute; content: ""; inset: 1.3rem; background-image: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 22%) 1px, transparent 0); background-size: 18px 18px; }
.card-placeholder i { position: absolute; width: 4rem; height: 4rem; inset: 50% auto auto 50%; border: 1px solid rgb(255 255 255 / 60%); border-radius: 50%; transform: translate(-50%, -50%); }
.card-placeholder i::before, .card-placeholder i::after { position: absolute; content: ""; background: var(--sun); border-radius: 50%; }
.card-placeholder i::before { width: .7rem; height: .7rem; inset: 1.55rem; }
.card-placeholder i::after { width: .35rem; height: .35rem; top: -.18rem; left: 1.8rem; }
.card-content { padding: 1.35rem 1.45rem 1.65rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 .75rem; color: var(--muted); font-size: .69rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.card-meta span::before { content: "/"; margin-right: .7rem; color: var(--sun); }
.article-card h3 { margin: 0; font: 600 1.42rem/1.2 ui-serif, Charter, Georgia, serif; }
.article-card h3 a, .list-card h2 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover, .list-card h2 a:hover { color: var(--teal); }
.article-card .card-content > p:last-child { color: var(--muted); font-size: .92rem; }
.empty-state { padding: 2.5rem; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }

.styleguide { padding-block: 4rem 7rem; }
.styleguide-section { padding-block: 2.8rem; border-bottom: 1px solid var(--line); }
.styleguide-section > h2 { margin: 0 0 1.4rem; font: 500 clamp(2rem, 4vw, 3.2rem)/1 ui-serif, Charter, Georgia, serif; letter-spacing: -.035em; }
.styleguide-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.styleguide-swatch { min-height: 7.5rem; display: flex; flex-direction: column; justify-content: end; padding: .9rem; border-radius: .7rem; }
.styleguide-swatch code { margin-top: .25rem; font-size: .75rem; opacity: .8; }
.swatch-ink { color: var(--white); background: var(--ink); }
.swatch-blue { color: var(--white); background: var(--blue); }
.swatch-teal { color: var(--white); background: var(--teal); }
.swatch-leaf { color: var(--white); background: var(--leaf); }
.swatch-sun { color: var(--ink-deep); background: var(--sun); }
.swatch-paper { color: var(--ink); background: var(--paper); border: 1px solid var(--line); }
.styleguide-type-sample { max-width: 48rem; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.styleguide-type-sample h1 { margin: 0; font: 500 clamp(2.5rem, 6vw, 4.6rem)/.98 ui-serif, Charter, Georgia, serif; letter-spacing: -.045em; }
.styleguide-type-sample p:last-child, .styleguide-note { color: var(--muted); }
.styleguide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.styleguide-actions .text-link { margin: 0; }

.page-hero, .index-hero, .article-hero { position: relative; overflow: hidden; background: #e8f0ed; border-bottom: 1px solid var(--line); }
.page-hero-inner { position: relative; z-index: 2; padding-block: 7rem 5rem; }
.page-hero h1, .index-hero h1 { max-width: 16ch; font-size: clamp(3rem, 6vw, 5.8rem); }
.page-hero-inner > p:last-child { max-width: 47rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.2rem; }
.page-hero-image { position: absolute; inset: 0; background-position: center; background-size: cover; }
.page-hero.has-image::after { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg, rgb(4 31 45 / 95%), rgb(4 31 45 / 25%)); }
.page-hero.has-image { color: var(--white); }
.page-hero.has-image .eyebrow { color: var(--sun); }
.page-hero.has-image .page-hero-inner > p:last-child { color: #d4e4e4; }
.index-hero { background-color: var(--ink-deep); color: var(--white); background-image: linear-gradient(115deg, transparent 55%, rgb(8 126 120 / 22%)), radial-gradient(circle at 1px 1px, rgb(255 255 255 / 10%) 1px, transparent 0); background-size: auto, 28px 28px; }
.index-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 4rem; padding-block: 6rem 4.5rem; }
.index-hero .eyebrow { color: var(--sun); }
.index-hero .intro { color: #c5d7d9; font-size: 1.08rem; }
.index-hero .intro p:last-child { margin-bottom: .4rem; }

.archive { padding-block: 4rem 7rem; }
.category-filters { margin-bottom: 2.5rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.category-filter-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.category-filter-heading h2 { margin: 0; font: 600 1.35rem ui-serif, Charter, Georgia, serif; }
.category-filter-heading > a { font-size: .76rem; font-weight: 750; }
.primary-filters, .detail-filters { display: flex; flex-wrap: wrap; gap: .55rem; }
.primary-filters a { padding: .48rem .8rem; color: var(--ink); background: var(--mist); border-radius: 999px; font-size: .76rem; font-weight: 750; text-decoration: none; }
.primary-filters a span { margin-left: .25rem; color: var(--muted); }
.primary-filters a:hover, .primary-filters a[aria-current="page"] { color: var(--ink-deep); background: var(--sun); }
.detail-filters { align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.detail-filters > span { margin-right: .25rem; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-filters a { color: var(--blue); font-size: .75rem; text-decoration: none; }
.detail-filters a::after { content: "·"; margin-left: .55rem; color: var(--line); }
.detail-filters a:last-child::after { display: none; }
.detail-filters a[aria-current="page"] { color: var(--ink); font-weight: 800; text-decoration: underline; }
.detail-filters small { color: var(--muted); }
.active-filter { padding: .8rem 1rem; background: var(--sun-soft); border-left: .25rem solid var(--sun); }
.active-filter a { float: right; }
.article-list { display: grid; gap: 1rem; }
.list-card { display: grid; grid-template-columns: 18rem 1fr; gap: 2rem; align-items: center; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.list-media { height: 12rem; overflow: hidden; border-top: .35rem solid var(--category); border-radius: calc(var(--radius) - .35rem); }
.list-media img { width: 100%; height: 100%; object-fit: cover; }
.list-card h2 { margin: .25rem 0 .65rem; font: 600 clamp(1.5rem, 3vw, 2.1rem)/1.1 ui-serif, Charter, Georgia, serif; letter-spacing: -.02em; }
.list-card > div > p:not(.card-meta) { margin: 0; color: var(--muted); }
.topic-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.topic-row a { padding: .23rem .6rem; color: var(--blue); background: #e8f1ef; border-radius: 999px; font-size: .68rem; font-weight: 750; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.topic-row a:hover { color: var(--ink-deep); background: var(--sun-soft); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1.4rem; margin-top: 3rem; font-size: .8rem; font-weight: 700; }
.pagination a { padding: .5rem .8rem; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; }

.article-hero { padding-block: 5.5rem; background: var(--ink-deep); color: var(--white); }
.article-header-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr); align-items: center; gap: 4.5rem; }
.article-hero .eyebrow { color: var(--sun); }
.article-hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
.article-deck { max-width: 45rem; color: #bdd0d2; font-size: 1.18rem; }
.article-hero figure { overflow: hidden; margin: 0; border-radius: var(--radius); transform: rotate(1.2deg); box-shadow: 1.2rem 1.2rem 0 rgb(8 126 120 / 30%); }
.article-hero figure img { width: 100%; }
.article-layout { display: grid; grid-template-columns: 10rem minmax(0, 730px); justify-content: center; gap: 4rem; padding-block: 5.5rem; }
.article-rail { position: sticky; top: 7.5rem; align-self: start; display: grid; color: var(--muted); font-size: .78rem; }
.article-rail span { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .63rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-rail time, .article-rail strong { color: var(--ink); }

.prose { font-size: clamp(1.02rem, 1.3vw, 1.13rem); }
.content-stream { padding-block: 5rem 7rem; }
.article-layout .content-stream { width: auto; padding: 0; }
.prose > * + * { margin-top: 1.55rem; }
.prose h2, .prose h3, .prose h4 { margin: 2.8rem 0 1rem; font-family: ui-serif, Charter, Georgia, serif; line-height: 1.15; letter-spacing: -.025em; }
.prose h2 { font-size: clamp(2rem, 4vw, 3rem); }
.prose h3 { font-size: 1.65rem; }
.prose p { margin: 0 0 1.45rem; }
.prose a { font-weight: 600; }
.prose blockquote { margin: 2.5rem 0; padding: 1rem 0 1rem 2rem; color: var(--blue); border-left: .35rem solid var(--sun); font: 500 1.45rem/1.45 ui-serif, Charter, Georgia, serif; }
.prose img { margin-inline: auto; border-radius: .6rem; }
.prose figcaption { margin-top: .55rem; color: var(--muted); font-size: .78rem; text-align: center; }
.graphviz-figure { margin: 2.5rem auto; max-width: 100%; }
.graphviz-figure img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: .6rem; background: var(--white); }
.graphviz-error { margin: 1.5rem 0; padding: 1rem; color: var(--sun-soft); background: rgba(9, 44, 62, 0.9); border: 1px solid var(--line); border-radius: .4rem; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .88rem; }
.prose th, .prose td { padding: .55rem .75rem; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--mist); }
.prose pre, .code-block { overflow-x: auto; color: #dbeceb; background: var(--ink-deep); border-radius: .65rem; }
.prose pre { padding: 1.2rem; }
.code-block { margin-block: 2.5rem; }
.code-block figcaption { padding: .55rem 1rem; color: var(--sun); background: #063249; text-align: left; font: 700 .7rem ui-monospace, monospace; text-transform: uppercase; }
.code-block pre { margin: 0; border-radius: 0; }
.stream-gallery > div, .gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stream-gallery figure, .gallery-grid figure { margin: 0; }
.stream-gallery img, .gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid { padding-block: 3rem 7rem; }
.gallery-grid figure { display: flex; flex-direction: column; overflow: hidden; min-height: 20rem; background: var(--white); border-radius: .7rem; }
.gallery-grid figure img { min-height: 0; flex: 1; }
.gallery-grid figcaption { padding: .7rem 1rem; color: var(--muted); font-size: .8rem; }

.comments { padding-block: 1rem 7rem; }
.comments h2 { font: 500 2.2rem ui-serif, Charter, Georgia, serif; }
.comment { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.comment header { display: flex; justify-content: space-between; gap: 1rem; }
.comment time, .comment small { color: var(--muted); font-size: .75rem; }
.comment p:last-child { margin-bottom: 0; }

.search-page { padding-block: 4rem 7rem; }
.search-page form label { display: block; margin-bottom: .5rem; font-weight: 750; }
.search-page form > div { display: flex; gap: .7rem; }
.search-page input { width: 100%; padding: .8rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; outline: none; }
.search-page input:focus { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgb(8 126 120 / 15%); }
.result-count { color: var(--muted); }
.search-results article { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.search-results article h2 { margin: 0; font: 600 1.7rem ui-serif, Charter, Georgia, serif; }
.search-results article h2 a { color: var(--ink); }
.error-page { min-height: 65vh; display: grid; place-content: center; justify-items: start; padding-block: 5rem; }
.error-page h1 { max-width: 12ch; font-size: clamp(3rem, 7vw, 6rem); }

.site-footer { color: #b9ced0; background: var(--ink-deep); border-top: .4rem solid var(--sun); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2.3rem; }
.footer-inner p { margin: 0; font-size: .8rem; }
.footer-links { display: flex; gap: 1.3rem; }
.footer-links a { color: #b9ced0; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero-grid, .article-header-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
  .hero-portrait { grid-row: 1; width: 6.5rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-rail { position: static; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
  .article-rail span { margin: 0; padding: 0; border: 0; }
}

@media (max-width: 650px) {
  :root { --shell: min(100% - 1.5rem, 1180px); --reading: min(100% - 1.5rem, 730px); }
  .header-primary { min-height: 4.4rem; }
  .brand small, .header-search { display: none; }
  .hero-grid { min-height: 34rem; padding-block: 4rem; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero::after { width: 8rem; right: 1rem; }
  .card-grid { grid-template-columns: 1fr; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .styleguide-swatches { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: start; flex-direction: column; gap: 0; }
  .text-link { margin-top: 0; }
  .index-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .list-card { grid-template-columns: 1fr; gap: 1rem; }
  .list-media { height: 13rem; }
  .article-hero { padding-block: 4rem; }
  .article-header-grid { gap: 2.5rem; }
  .article-layout { gap: 2rem; padding-block: 3.5rem; }
  .stream-gallery > div, .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: start; flex-direction: column; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
