:root {
  --ink: #15201b;
  --muted: #657069;
  --paper: #f3f0e7;
  --card: #fffdf8;
  --accent: #156044;
  --accent-soft: #dfeadf;
  --warm: #d9a457;
  --line: #d8d7cd;
  --max: 1180px;
  --font-main: "Zen Maru Gothic", Meiryo, "メイリオ", sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --ink: #e8ece8;
  --muted: #a4afa8;
  --paper: #111714;
  --card: #1b231f;
  --accent: #82c9a6;
  --accent-soft: #263c31;
  --warm: #d6ae70;
  --line: #354139;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-main);
  line-height: 1.8;
  transition:
    background-color 0.2s,
    color 0.2s;
}
button,
input,
select,
textarea {
  font-family: var(--font-main);
}
a {
  color: inherit;
}
main,
.site-header,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}
.site-header {
  position: relative;
  padding: 24px 0 0;
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-main);
  font-size: 1.25rem;
}
.brand strong,
.footer-brand {
  font-family: var(--font-main);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  margin-top: -5px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 5px 9px;
  background: color-mix(in srgb, var(--card) 72%, transparent);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    transform 0.2s;
}
.theme-toggle:hover {
  background: var(--card);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  transform: translateY(-1px);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.theme-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  transition:
    color 0.2s,
    opacity 0.2s;
}
.theme-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-icon-sun {
  width: 21px;
  height: 21px;
  color: var(--accent);
}
.theme-icon-moon {
  width: 19px;
  height: 19px;
  opacity: 0.52;
}
.toggle-track {
  position: relative;
  width: 30px;
  height: 16px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  border-radius: 20px;
}
.toggle-track span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 20%, transparent);
  transition: transform 0.22s ease;
}
.theme-toggle[aria-pressed="true"] .toggle-track span {
  transform: translateX(14px);
}
.theme-toggle[aria-pressed="true"] .theme-icon-sun {
  color: var(--muted);
  opacity: 0.52;
}
.theme-toggle[aria-pressed="true"] .theme-icon-moon {
  color: var(--warm);
  opacity: 1;
}
.primary-nav {
  display: flex;
  gap: 26px;
  font-size: 0.82rem;
  font-weight: 700;
}
.primary-nav a,
.category-nav a,
.site-footer a {
  text-decoration: none;
}
.primary-nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}
.nav-trigger {
  display: none;
  padding: 6px;
  background: none;
  color: var(--ink);
  border: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.category-nav {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.category-nav a {
  padding: 11px 4px;
  text-align: center;
  font-size: 0.69rem;
  color: var(--muted);
  border-right: 1px solid var(--line);
}
.category-nav a:last-child {
  border-right: 0;
}
.category-nav a:hover {
  background: var(--card);
  color: var(--ink);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 6vw, 86px);
  padding: 92px 0 54px;
}
.hero-copy {
  max-width: 760px;
}
.eyebrow,
.meta {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1 {
  margin: 0.12em 0 0.35em;
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-tools {
  display: grid;
  gap: 18px;
  align-content: center;
}
.hero-tools > .button {
  justify-self: start;
}
.button {
  display: inline-block;
  padding: 13px 24px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
}
.text-link {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}
.category-section,
.latest-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}
.section-heading h2,
.promise h2 {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
}
.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.category-card {
  position: relative;
  min-height: 250px;
  padding: 22px;
  text-decoration: none;
  background: color-mix(in srgb, var(--card) 38%, transparent);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: 0.2s ease;
}
.category-card:hover {
  background: var(--card);
  transform: translateY(-3px);
}
.category-index,
.category-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}
.category-index {
  color: var(--muted);
}
.category-label {
  margin-top: 28px;
  color: var(--accent);
  font-weight: 800;
}
.category-card h3 {
  margin: 0.15em 0 0.7em;
  font-family: var(--font-main);
  font-size: 1.35rem;
  line-height: 1.35;
}
.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.category-card .arrow {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-size: 1.1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}
.card {
  min-height: 230px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.card h2 {
  margin: 0.4em 0;
  font-family: var(--font-main);
  font-size: 1.35rem;
  line-height: 1.45;
}
.card h2 a {
  text-decoration: none;
}
.card h2 a:hover {
  text-decoration: underline;
}
.card > p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.principles {
  padding: 82px 0 100px;
  border-top: 1px solid var(--line);
}
.article-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  margin: 0;
  padding: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 62%, var(--card)), var(--card));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 22px 8px 22px 8px;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--ink) 5%, transparent);
}
.search-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.search-heading .eyebrow {
  margin: 0;
}
.search-heading h2 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.4;
}
.search-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 20px;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: 18px;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 5%, transparent);
}
.search-icon {
  color: var(--accent);
  font-size: 1.7rem;
  line-height: 1;
  transform: rotate(-18deg);
}
.search-box input {
  min-width: 0;
  padding: 11px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1rem;
}
.search-box input::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}
.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}
.search-box button {
  padding: 9px 14px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}
.search-status {
  grid-column: 1;
  min-height: 1em;
  margin: 0 2px;
  color: var(--muted);
  font-size: 0.78rem;
}
.search-status:empty {
  display: none;
}
.search-results {
  grid-column: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 6px;
}
.search-result {
  display: grid;
  gap: 5px;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px 7px 18px 7px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.search-result:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.search-result span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.search-result strong {
  line-height: 1.55;
}
.search-result small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}
.search-results[hidden],
.search-result[hidden],
.search-box button[hidden] {
  display: none;
}
.principles-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}
.principles-heading h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.3;
}
.principles-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.principle-card {
  position: relative;
  min-height: 220px;
  padding: 30px 28px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--card), color-mix(in srgb, var(--accent-soft) 48%, var(--card)));
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 30px 10px 30px 10px;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--ink) 6%, transparent);
}
.principle-card::after {
  position: absolute;
  right: -32px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  content: "";
  background: color-mix(in srgb, var(--warm) 18%, transparent);
  border-radius: 50%;
}
.principle-number {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  color: var(--accent);
  background: color-mix(in srgb, var(--card) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.principle-card h3 {
  position: relative;
  z-index: 1;
  margin: 34px 0 12px;
  font-size: 1.35rem;
}
.principle-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.promise {
  margin: 20px 0 90px;
  padding: 70px;
  background: #15201b;
  color: white;
  border-radius: 6px;
}
.promise .eyebrow {
  color: #b8d9c8;
}
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 34px 0;
}
.promise-grid p {
  color: #d9e1dc;
}
.promise .text-link {
  color: #d6bd8a;
}
.page-hero {
  max-width: 900px;
  padding: 90px 0 55px;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}
.page-hero > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}
.content-section {
  padding-bottom: 90px;
}
.empty-state {
  grid-column: 1/-1;
  padding: 40px;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: color-mix(in srgb, var(--card) 45%, transparent);
}
article:not(.card) {
  max-width: 840px;
  margin: 50px auto 90px;
  padding: clamp(25px, 5vw, 56px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
}
article:not(.card) h1 {
  position: relative;
  isolation: isolate;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.7vw, 3.2rem);
  line-height: 1.25;
  padding-block: 18px;
}
article:not(.card) h1::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -18px;
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--card));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-left: 4px solid var(--accent);
  border-radius: 16px 5px 16px 5px;
}
article:not(.card) h2 {
  margin-top: 2.2em;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.65rem;
}
.lead {
  font-size: 1.12rem;
  color: var(--muted);
}
.article-visual {
  margin: 30px 0 38px;
}
.article-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f7f3e9;
  box-shadow: 0 14px 38px rgb(27 45 38 / 9%);
}
.article-visual figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}
.related-reading {
  margin-top: 48px;
  padding: 25px 28px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-soft) 54%, var(--card));
}
.related-reading .related-label {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
article:not(.card) .related-reading h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}
.related-reading ul {
  margin: 0;
  padding-left: 1.2rem;
}
.related-reading li + li {
  margin-top: 7px;
}
.disclosure {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
}
.affiliate-mid-action {
  display: flex;
  justify-content: center;
  margin: 32px 0 40px;
  overflow-x: auto;
}
.affiliate-mid-action a,
.affiliate-mid-action a img {
  display: block;
}
.affiliate-action {
  margin: 42px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent-soft) 50%, var(--card));
}
article:not(.card) .affiliate-action h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}
.affiliate-action p {
  margin: 0 0 16px;
}
.affiliate-action a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--card);
  font-weight: 700;
  text-decoration: none;
}
.affiliate-action a:hover { opacity: 0.88; }
.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  font-size: 0.9rem;
}
.prose {
  margin-top: 0 !important;
}
.prose p,
.prose li {
  color: var(--muted);
}
.profile {
  border-top: 1px solid var(--line);
}
.profile div {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.profile dt {
  color: var(--muted);
}
.profile dd {
  margin: 0;
  font-weight: 700;
}
.policy-date {
  margin-top: 50px;
  font-size: 0.85rem;
}
.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap: 50px;
  padding: 42px 0 54px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
.site-footer > div p {
  max-width: 300px;
}
.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px 24px;
}
.copyright {
  white-space: nowrap;
}
.footer-brand {
  color: var(--ink);
  text-decoration: none;
}
@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }
  .nav-trigger {
    display: block;
  }
  .nav-open .primary-nav {
    position: absolute;
    z-index: 10;
    top: 78px;
    right: 0;
    display: grid;
    width: min(320px, 100%);
    padding: 22px;
    background: var(--card);
    border: 1px solid var(--line);
  }
  .category-nav {
    overflow: auto;
    grid-template-columns: repeat(9, minmax(130px, 1fr));
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 65px 0;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .copyright {
    grid-column: 1/-1;
  }
  .promise {
    padding: 45px;
  }
  .promise-grid {
    gap: 30px;
  }
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .search-results {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 15px;
    line-height: 1.75;
  }
  main,
  .site-header,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }
  .site-header {
    padding-top: 15px;
  }
  .header-main {
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .brand strong {
    font-size: 1rem;
    letter-spacing: 0;
  }
  .brand small {
    font-size: 0.48rem;
  }
  .header-actions {
    gap: 4px;
  }
  .theme-toggle {
    gap: 5px;
    min-height: 35px;
    padding: 4px 7px;
  }
  .theme-icon-sun {
    width: 20px;
    height: 20px;
  }
  .theme-icon-moon {
    width: 18px;
    height: 18px;
  }
  .toggle-track {
    width: 27px;
    height: 15px;
  }
  .toggle-track span {
    top: 2px;
    left: 2px;
    width: 9px;
    height: 9px;
  }
  .theme-toggle[aria-pressed="true"] .toggle-track span {
    transform: translateX(13px);
  }
  .nav-trigger {
    padding-left: 8px;
  }
  .primary-nav {
    order: 3;
    flex-basis: 100%;
  }
  .nav-open .primary-nav {
    position: static;
    display: grid;
    width: 100%;
    padding: 14px 0;
    border: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    gap: 0;
  }
  .nav-open .primary-nav a {
    padding: 8px 4px;
  }
  .category-nav {
    display: none;
    overflow: visible;
    margin-top: 8px;
  }
  .nav-open .category-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-nav a {
    padding: 8px 5px;
    text-align: left;
    font-size: 0.69rem;
    border-bottom: 1px solid var(--line);
  }
  .hero {
    padding: 50px 0 32px;
  }
  .hero h1 {
    font-size: clamp(2.05rem, 9.2vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
  }
  .hero br {
    display: block;
  }
  .hero-lead {
    font-size: 0.94rem;
    line-height: 1.85;
  }
  .hero-tools {
    gap: 14px;
  }
  .button {
    padding: 11px 18px;
    font-size: 0.78rem;
  }
  .text-link {
    font-size: 0.76rem;
  }
  .category-section,
  .latest-section {
    padding: 55px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  .section-heading h2,
  .promise h2 {
    font-size: 2rem;
  }
  .section-heading > p {
    margin-top: 10px;
    font-size: 0.82rem;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-card {
    min-height: 180px;
    padding: 16px;
  }
  .category-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
    min-height: 150px;
  }
  .category-label {
    margin-top: 18px;
  }
  .category-card h3 {
    font-size: 1.02rem;
  }
  .category-card p {
    font-size: 0.72rem;
    line-height: 1.6;
  }
  .category-card .arrow {
    right: 12px;
    bottom: 9px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
    padding: 22px;
  }
  .card h2 {
    font-size: 1.2rem;
  }
  .promise {
    margin-bottom: 60px;
    padding: 32px 24px;
  }
  .promise-grid {
    grid-template-columns: 1fr;
    gap: 5px;
    margin: 22px 0;
  }
  .principles {
    padding: 55px 0 65px;
  }
  .article-search {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
    border-radius: 20px 7px 20px 7px;
  }
  .search-heading {
    display: flex;
    gap: 10px;
    margin: 0;
  }
  .search-heading .eyebrow {
    margin: 0;
  }
  .search-heading h2 {
    font-size: 1.05rem;
  }
  .search-box {
    gap: 8px;
    padding-left: 14px;
  }
  .search-box input {
    font-size: 0.9rem;
  }
  .search-box button {
    padding: 8px 10px;
  }
  .search-results {
    grid-column: 1;
    gap: 10px;
  }
  .search-status {
    grid-column: 1;
  }
  .search-result {
    padding: 16px;
  }
  .principles-heading {
    display: block;
    margin-bottom: 24px;
  }
  .principles-heading h2 {
    font-size: 2rem;
  }
  .principles-heading > p {
    margin-top: 10px;
    font-size: 0.82rem;
  }
  .principles-grid {
    gap: 14px;
  }
  .principle-card {
    min-height: 0;
    padding: 24px 22px;
    border-radius: 24px 8px 24px 8px;
  }
  .principle-card h3 {
    margin-top: 24px;
    font-size: 1.2rem;
  }
  .page-hero {
    padding: 58px 0 35px;
  }
  .page-hero h1 {
    font-size: 2.35rem;
  }
  .page-hero > p:last-child {
    font-size: 0.94rem;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  .site-footer nav {
    grid-template-columns: 1fr 1fr;
  }
  .profile div {
    grid-template-columns: 1fr;
  }
  .profile dt {
    font-size: 0.75rem;
  }
  article:not(.card) {
    margin: 25px auto 55px;
    padding: 24px 20px;
  }
  article:not(.card) h1 {
    font-size: clamp(1.12rem, 5.6vw, 1.35rem);
    padding-block: 15px;
  }
  article:not(.card) h1::before {
    inset-inline: -10px;
  }
  article:not(.card) h2 {
    font-size: 1.4rem;
  }
  .article-visual {
    margin: 24px -4px 30px;
  }
  .article-visual img {
    border-radius: 6px;
  }
  .article-visual figcaption {
    margin-inline: 4px;
    font-size: 0.72rem;
  }
  .related-reading {
    margin-top: 38px;
    padding: 21px 19px 18px;
  }
}
@media (max-width: 340px) {
  article:not(.card) {
    padding-inline: 14px;
  }
}

