:root {
  --ink: #16211d;
  --ink-soft: #33423b;
  --slate: #66736d;
  --paper: #fbfcf8;
  --surface: #ffffff;
  --surface-muted: #f1f5ef;
  --line: #dbe3dc;
  --forest: #174f3f;
  --forest-dark: #0f3b2f;
  --mint: #bce6d3;
  --mint-soft: #e5f5ed;
  --amber: #f2b84b;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --serif: var(--sans);
  --shadow-sm: 0 8px 22px rgb(16 38 30 / 7%);
  --shadow-lg: 0 28px 70px rgb(16 38 30 / 13%);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --shell: min(1200px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  transition: color 160ms ease, opacity 160ms ease;
}

a:hover {
  color: var(--forest-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

p {
  margin: 0 0 1.25em;
}

.site-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-shell--article {
  max-width: 800px;
}

.screen-reader-text {
  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 {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow,
.topic-eyebrow,
.card-category,
.article-category,
.rail-label {
  display: block;
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  padding: 12px 22px;
  background: var(--forest);
  color: #fff;
}

.button--primary:hover {
  background: var(--forest-dark);
  color: #fff;
}

.button--text {
  color: var(--ink);
}

.site-header {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgb(22 33 29 / 9%);
  background: rgb(251 252 248 / 92%);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.site-brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--forest);
  color: #fff;
}

.brand-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-mark .brand-pulse {
  stroke: var(--amber);
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-navigation .menu,
.footer-navigation .menu {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 26px;
  list-style: none;
}

.primary-navigation a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
  color: var(--forest);
}

.header-search {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.header-search svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transform-origin: center;
  transition: transform 200ms ease, opacity 160ms ease;
}

.menu-is-open .menu-toggle > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-is-open .menu-toggle > span:nth-child(2) {
  opacity: 0;
}

.menu-is-open .menu-toggle > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main,
.site-footer {
  transition: opacity 150ms ease, transform 150ms ease;
}

body.page-is-ready main {
  animation: builtvitals-page-enter 280ms ease-out both;
}

body.page-is-leaving main,
body.page-is-leaving .site-footer {
  opacity: 0;
  transform: translateY(4px);
}

@keyframes builtvitals-page-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 10vw, 140px) 0 clamp(80px, 10vw, 132px);
  background:
    radial-gradient(circle at 88% 18%, rgb(188 230 211 / 70%), transparent 28%),
    linear-gradient(180deg, #fbfcf8, #f2f7f2);
}

.hero::after {
  position: absolute;
  right: -7vw;
  bottom: -28vw;
  width: 50vw;
  height: 50vw;
  border: 1px solid rgb(23 79 63 / 12%);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 900px;
}

.hero-lede {
  max-width: 690px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 450px;
}

.system-map {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(440px, 100%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(23 79 63 / 18%);
  border-radius: 50%;
}

.system-map::before,
.system-map::after {
  position: absolute;
  border: 1px dashed rgb(23 79 63 / 22%);
  border-radius: 50%;
  content: "";
  inset: 14%;
}

.system-map::after {
  border-style: solid;
  inset: 31%;
}

.map-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  width: 160px;
  height: 160px;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 38px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.map-center .brand-mark {
  width: 70px;
  height: 70px;
  border-radius: 22px;
}

.map-center .brand-mark svg {
  width: 50px;
  height: 50px;
}

.map-center .brand-name {
  display: none;
}

.map-node {
  position: absolute;
  z-index: 3;
  padding: 10px 16px;
  border: 1px solid rgb(23 79 63 / 12%);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--forest-dark);
  font-size: 0.8rem;
  font-weight: 750;
}

.map-node--air { top: 7%; left: 10%; }
.map-node--water { top: 15%; right: -2%; }
.map-node--power { right: 2%; bottom: 14%; }
.map-node--shell { bottom: 6%; left: 5%; }

.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 50px;
  gap: 50px;
  grid-template-columns: 1.45fr 0.55fr;
}

.section-heading h2 {
  max-width: 800px;
}

.section-heading > p {
  color: var(--slate);
}

.section-heading--compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.topics-section {
  background: var(--surface);
}

.topic-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.topic-card {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topic-card:hover {
  transform: translateY(-6px);
  border-color: rgb(23 79 63 / 32%);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.topic-card::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 28px solid rgb(23 79 63 / 6%);
  border-radius: 50%;
  content: "";
}

.topic-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 54px;
  border-radius: 16px;
  background: var(--mint-soft);
}

.topic-icon::before,
.topic-icon::after {
  position: absolute;
  content: "";
}

.topic-card--air .topic-icon::before {
  top: 15px;
  left: 13px;
  width: 28px;
  height: 20px;
  border: 2px solid var(--forest);
  border-radius: 6px;
}

.topic-card--air .topic-icon::after {
  bottom: 9px;
  left: 17px;
  width: 20px;
  border-bottom: 2px solid var(--forest);
  box-shadow: 0 4px 0 var(--forest);
}

.topic-card--home .topic-icon::before {
  top: 16px;
  left: 14px;
  width: 26px;
  height: 24px;
  transform: rotate(45deg);
  border: 2px solid var(--forest);
  border-radius: 3px;
}

.topic-card--energy .topic-icon::before {
  top: 9px;
  left: 20px;
  width: 17px;
  height: 35px;
  transform: skew(-13deg);
  background: var(--forest);
  clip-path: polygon(45% 0, 100% 0, 67% 43%, 100% 43%, 18% 100%, 40% 54%, 0 54%);
}

.topic-card--tools .topic-icon::before {
  top: 11px;
  left: 24px;
  width: 7px;
  height: 33px;
  transform: rotate(42deg);
  border-radius: 4px;
  background: var(--forest);
}

.topic-card--tools .topic-icon::after {
  top: 8px;
  left: 10px;
  width: 19px;
  height: 19px;
  transform: rotate(42deg);
  border: 3px solid var(--forest);
  border-radius: 50%;
  border-right-color: transparent;
}

.topic-card h3 {
  position: relative;
  z-index: 1;
}

.topic-card p {
  position: relative;
  z-index: 1;
  color: var(--slate);
  font-size: 0.94rem;
}

.card-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 750;
}

.latest-section {
  background: var(--surface-muted);
}

.article-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mint-soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.article-card:hover .card-media img {
  transform: scale(1.025);
}

.card-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: end;
  padding: 24px;
  background:
    linear-gradient(135deg, transparent 0 45%, rgb(23 79 63 / 9%) 45% 47%, transparent 47%),
    var(--mint-soft);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-body {
  padding: 26px;
}

.card-category,
.article-category {
  display: inline-block;
  text-decoration: none;
}

.card-body h3 {
  margin-bottom: 12px;
}

.card-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card-body p {
  color: var(--slate);
  font-size: 0.93rem;
}

.card-reading-time {
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 650;
}

.empty-state {
  max-width: 760px;
  padding: clamp(38px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.empty-state h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.empty-state p {
  color: var(--slate);
}

.principles-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--forest-dark);
  color: #fff;
}

.principles-section .eyebrow {
  color: var(--mint);
}

.principles-grid {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.8fr 1.2fr;
}

.principles-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: principle;
}

.principles-list li {
  display: grid;
  padding: 24px 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
  counter-increment: principle;
  gap: 22px;
  grid-template-columns: 1fr 1.4fr;
}

.principles-list li::before {
  position: absolute;
  content: counter(principle, decimal-leading-zero);
}

.principles-list strong {
  padding-left: 48px;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.principles-list span {
  color: rgb(255 255 255 / 72%);
}

.archive-main,
.page-main,
.error-main {
  min-height: 65vh;
  padding: clamp(70px, 9vw, 120px) 0;
}

.archive-header,
.page-header {
  max-width: 850px;
  margin-bottom: 58px;
}

.archive-header h1,
.page-header h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.archive-header > p,
.archive-description {
  max-width: 700px;
  color: var(--slate);
  font-size: 1.1rem;
}

.single-article {
  padding: clamp(70px, 9vw, 120px) 0 60px;
}

.article-header {
  text-align: center;
}

.article-header h1 {
  font-size: clamp(2.55rem, 6vw, 5.1rem);
}

.article-deck {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  gap: 9px;
  color: var(--slate);
  font-size: 0.82rem;
}

.article-hero {
  margin-top: 54px;
}

.article-hero img {
  width: 100%;
  max-height: 680px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.article-layout {
  display: grid;
  align-items: start;
  margin-top: 70px;
  gap: clamp(40px, 7vw, 100px);
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: center;
}

.article-rail {
  position: sticky;
  top: 30px;
}

.rail-box {
  padding: 22px;
  border-left: 2px solid var(--mint);
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li + li {
  margin-top: 10px;
}

.article-toc a {
  color: var(--slate);
  font-size: 0.8rem;
  line-height: 1.35;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--forest);
}

.entry-content {
  min-width: 0;
  color: #25332d;
  font-size: 1.075rem;
  line-height: 1.78;
}

.entry-content > * {
  max-width: 760px;
}

.entry-content > .alignwide {
  width: min(1000px, 100vw - 40px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content h2 {
  margin-top: 2.1em;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.entry-content h3 {
  margin-top: 1.8em;
}

.entry-content a {
  font-weight: 600;
}

.entry-content blockquote {
  margin: 2.2em 0;
  padding: 22px 28px;
  border-left: 4px solid var(--amber);
  background: #fff8e8;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.entry-content table {
  width: 100%;
  margin: 2em 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.entry-content th,
.entry-content td {
  padding: 13px 15px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: var(--surface-muted);
}

.entry-content pre {
  padding: 22px;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
}

.entry-content .wp-block-image img {
  border-radius: var(--radius-md);
}

.entry-content figcaption {
  color: var(--slate);
  font-size: 0.78rem;
}

.page-content {
  max-width: 760px;
}

.article-footer {
  margin-top: 60px;
}

.article-safety-note {
  padding: 28px;
  border: 1px solid #efd28f;
  border-radius: var(--radius-md);
  background: #fff9eb;
}

.article-safety-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-safety-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.article-author {
  display: grid;
  align-items: center;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  gap: 22px;
  grid-template-columns: 80px 1fr;
}

.article-author img {
  border-radius: 50%;
}

.article-author span {
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.article-author h2 {
  margin: 2px 0;
  font-family: var(--sans);
  font-size: 1.1rem;
  letter-spacing: 0;
}

.article-author p {
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.post-navigation-wrap {
  padding-bottom: 80px;
}

.post-navigation .nav-links {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.post-navigation a {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-decoration: none;
}

.nav-subtitle {
  display: block;
  color: var(--slate);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.nav-title {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
}

.search-form {
  display: flex;
  max-width: 620px;
  margin-top: 28px;
  gap: 10px;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}

.search-form button {
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
}

.pagination {
  margin-top: 50px;
}

.nav-links .page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
}

.nav-links .current {
  background: var(--forest);
  color: #fff;
}

.empty-state--404 {
  margin-inline: auto;
  text-align: center;
}

.empty-state--404 .search-form {
  margin: 30px auto;
}

.site-footer {
  padding: 70px 0 28px;
  background: #101915;
  color: #fff;
}

.footer-grid {
  display: grid;
  align-items: start;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
}

.site-brand--footer {
  color: #fff;
}

.site-brand--footer:hover {
  color: #fff;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 18px;
  color: rgb(255 255 255 / 62%);
}

.footer-navigation .menu {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-navigation a {
  color: rgb(255 255 255 / 75%);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  gap: 30px;
}

.footer-bottom p {
  margin: 0;
  color: rgb(255 255 255 / 48%);
  font-size: 0.72rem;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: block;
    padding: 26px 20px 32px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    visibility: hidden;
    transition: opacity 190ms ease, transform 220ms ease, visibility 0s linear 220ms;
  }

  .menu-is-open .primary-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .primary-navigation .menu {
    flex-direction: column;
    gap: 6px;
  }

  .primary-navigation .menu > li {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 170ms ease, transform 190ms ease;
  }

  .menu-is-open .primary-navigation .menu > li {
    opacity: 1;
    transform: translateY(0);
  }

  .menu-is-open .primary-navigation .menu > li:nth-child(1) { transition-delay: 45ms; }
  .menu-is-open .primary-navigation .menu > li:nth-child(2) { transition-delay: 70ms; }
  .menu-is-open .primary-navigation .menu > li:nth-child(3) { transition-delay: 95ms; }
  .menu-is-open .primary-navigation .menu > li:nth-child(4) { transition-delay: 120ms; }
  .menu-is-open .primary-navigation .menu > li:nth-child(5) { transition-delay: 145ms; }

  .primary-navigation a {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
  }

  .header-search {
    margin-top: 16px;
  }

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

  .hero-copy {
    max-width: 850px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .article-rail {
    position: static;
  }

  .rail-box {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-muted);
  }

  .article-toc ol {
    columns: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 28px, 1200px);
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 68px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .system-map {
    width: 320px;
  }

  .map-center {
    width: 120px;
    height: 120px;
    border-radius: 28px;
  }

  .map-node--water { right: -4%; }
  .map-node--power { right: 0; }

  .section-heading,
  .principles-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 12px;
  }

  .section-heading--compact {
    display: block;
  }

  .topic-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 340px;
  }

  .principles-grid {
    gap: 30px;
  }

  .principles-list li {
    grid-template-columns: 1fr;
  }

  .article-layout {
    margin-top: 48px;
  }

  .article-toc ol {
    columns: 1;
  }

  .entry-content {
    font-size: 1rem;
  }

  .article-author {
    align-items: start;
    grid-template-columns: 58px 1fr;
  }

  .article-author img {
    width: 58px;
    height: 58px;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .footer-navigation .menu {
    justify-content: flex-start;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }
}

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