/* The One Hub — theonehub.app
   モチーフ: ネットワークハブ。各プロダクト = ポート、LED = 稼働ランプ。
   ライト(既定) = スペックシートの紙、ダーク = 筐体のフロントパネル。 */

:root {
  --bg: #f3f6f4;
  --surface: #ffffff;
  --surface-soft: #e8efeb;
  --ink: #14231d;
  --ink-soft: #53635c;
  --line: rgba(20, 35, 29, 0.13);
  --accent: #116b49;
  --accent-soft: #dcefe6;
  --shadow: 0 20px 60px rgba(20, 35, 29, 0.08);

  --c-note: #a06e12;
  --led-note: #e8a21c;
  --c-keyboard: #1e7a4d;
  --led-keyboard: #23a05f;
  --c-clipshare: #2d62c4;
  --led-clipshare: #3e7edc;
  --c-store-pop: #bd4025;
  --led-store-pop: #e05537;
  --c-webmaster: #6d45b8;
  --led-webmaster: #8b5cf6;

  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1713;
    --surface: #16221c;
    --surface-soft: #1c2b23;
    --ink: #edf3ef;
    --ink-soft: #a4b2aa;
    --line: rgba(237, 243, 239, 0.14);
    --accent: #65d7a2;
    --accent-soft: #173d2c;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.22);

    --c-note: #f2b13d;
    --led-note: #f2b13d;
    --c-keyboard: #41c784;
    --led-keyboard: #41c784;
    --c-clipshare: #6aa1f2;
    --led-clipshare: #6aa1f2;
    --c-store-pop: #f07452;
    --led-store-pop: #f07452;
    --c-webmaster: #b89af4;
    --led-webmaster: #b89af4;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  color-scheme: light dark;
}

body {
  background: radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 32rem), var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
  line-break: strict;
}

.wrap {
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- ヘッダー ---- */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  padding-block: 1.4rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  margin-inline: auto 1.6rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

@media (max-width: 680px) {
  .site-nav {
    order: 3;
    width: 100%;
    margin-inline: 0;
    padding-top: 0.2rem;
    gap: 0.3rem 1rem;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.brand-name {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-tld {
  color: var(--ink-soft);
  font-weight: 400;
}

.lang {
  font-family: var(--mono);
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.lang a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.15rem 0.1rem;
}

.lang a:hover {
  color: var(--ink);
}

.lang a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.4em;
}

.lang-sep {
  color: var(--line);
}

/* ---- ヒーロー ---- */

.hero {
  padding-block: clamp(3.5rem, 10vw, 6.5rem) clamp(3rem, 8vw, 5rem);
}

.hero-domain {
  font-family: var(--mono);
  font-size: clamp(1.3rem, 4.6vw, 2.5rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.slot-wrap {
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
  transition: width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.slot {
  display: inline-block;
  font-weight: 600;
  color: var(--ink);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.slot.swap {
  opacity: 0;
  transform: translateY(0.3em);
}

.slot.is-note { color: var(--c-note); }
.slot.is-keyboard { color: var(--c-keyboard); }
.slot.is-clipshare { color: var(--c-clipshare); }
.slot.is-store-pop { color: var(--c-store-pop); }

.slot-measure {
  position: absolute;
  left: -9999px;
  top: 0;
  visibility: hidden;
  white-space: pre;
  font-weight: 600;
}

.tail {
  display: inline-block;
}

.hero h1 {
  margin-top: 1.6rem;
  font-size: clamp(1.8rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: balance;
}

.hero .lead {
  margin-top: 1.4rem;
  max-width: 42em;
  color: var(--ink-soft);
}

/* ---- ポート一覧 ---- */

.ports {
  padding-block-end: clamp(3rem, 8vw, 5rem);
}

.ports-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block-end: 0.9rem;
}

.ports-head h2 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
}

.ports-count {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.port-list {
  list-style: none;
  padding: 0;
}

.port-list > li {
  border-top: 1px solid var(--line);
}

.port-list > li:last-child {
  border-bottom: 1px solid var(--line);
}

.port {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.5rem 0.75rem;
  margin-inline: -0.75rem;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.port:hover {
  background: var(--surface);
}

.port-main {
  display: block;
  text-decoration: none;
  color: inherit;
}

.led {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  margin-top: 0.45rem;
  transition: box-shadow 0.3s ease;
}

.port[data-port="note"] .led { background: var(--led-note); }
.port[data-port="keyboard"] .led { background: var(--led-keyboard); }
.port[data-port="clipshare"] .led { background: var(--led-clipshare); }
.port[data-port="store-pop"] .led { background: var(--led-store-pop); }

@supports (color: color-mix(in srgb, red 50%, transparent)) {
  .port[data-port="note"] .led { box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-note) 20%, transparent); }
  .port[data-port="keyboard"] .led { box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-keyboard) 20%, transparent); }
  .port[data-port="clipshare"] .led { box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-clipshare) 20%, transparent); }
  .port[data-port="store-pop"] .led { box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-store-pop) 20%, transparent); }

  .port[data-port="note"].active .led,
  .port[data-port="note"]:hover .led { box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-note) 30%, transparent), 0 0 14px 2px color-mix(in srgb, var(--led-note) 55%, transparent); }
  .port[data-port="keyboard"].active .led,
  .port[data-port="keyboard"]:hover .led { box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-keyboard) 30%, transparent), 0 0 14px 2px color-mix(in srgb, var(--led-keyboard) 55%, transparent); }
  .port[data-port="clipshare"].active .led,
  .port[data-port="clipshare"]:hover .led { box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-clipshare) 30%, transparent), 0 0 14px 2px color-mix(in srgb, var(--led-clipshare) 55%, transparent); }
  .port[data-port="store-pop"].active .led,
  .port[data-port="store-pop"]:hover .led { box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-store-pop) 30%, transparent), 0 0 14px 2px color-mix(in srgb, var(--led-store-pop) 55%, transparent); }
}

.port-domain {
  display: block;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.port[data-port="note"].active .port-domain,
.port[data-port="note"]:hover .port-domain { color: var(--c-note); }
.port[data-port="keyboard"].active .port-domain,
.port[data-port="keyboard"]:hover .port-domain { color: var(--c-keyboard); }
.port[data-port="clipshare"].active .port-domain,
.port[data-port="clipshare"]:hover .port-domain { color: var(--c-clipshare); }
.port[data-port="store-pop"].active .port-domain,
.port[data-port="store-pop"]:hover .port-domain { color: var(--c-store-pop); }

.port-name {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  font-feature-settings: "palt";
}

.port-desc {
  display: block;
  margin-top: 0.3rem;
  max-width: 44em;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.port-meta {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.port-tags {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.port-more {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.port-more:hover {
  color: var(--ink);
}

.port-arrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 0.3rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.port-main:hover .port-arrow {
  transform: translate(2px, -2px);
  color: var(--ink);
}

/* ---- フッター ---- */

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 2.2rem 3rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.site-foot a {
  color: inherit;
  text-underline-offset: 0.3em;
}

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

.copyright {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ---- 404 ---- */

.notfound {
  padding-block: clamp(4rem, 12vw, 8rem);
}

.notfound .code {
  font-family: var(--mono);
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
}

.notfound p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.notfound .back {
  display: inline-block;
  margin-top: 1.8rem;
  font-family: var(--mono);
  font-size: 0.9375rem;
  color: var(--ink);
}

/* ---- モーション低減 ---- */

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- 下層ページ(プロダクト紹介 / About / プライバシー) ---- */

.page {
  max-width: 46rem;
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(3rem, 8vw, 5rem);
}

.crumb {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.crumb:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.2rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.page-eyebrow .led {
  margin-top: 0;
}

.page-eyebrow.is-note { color: var(--c-note); }
.page-eyebrow.is-keyboard { color: var(--c-keyboard); }
.page-eyebrow.is-clipshare { color: var(--c-clipshare); }
.page-eyebrow.is-store-pop { color: var(--c-store-pop); }
.page-eyebrow.is-webmaster { color: var(--c-webmaster); }

.page-eyebrow.is-note .led { background: var(--led-note); }
.page-eyebrow.is-keyboard .led { background: var(--led-keyboard); }
.page-eyebrow.is-clipshare .led { background: var(--led-clipshare); }
.page-eyebrow.is-store-pop .led { background: var(--led-store-pop); }
.page-eyebrow.is-webmaster .led { background: var(--led-webmaster); }

.page h1 {
  margin-top: 0.6rem;
  font-size: clamp(1.7rem, 4.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: balance;
}

.page .lead {
  margin-top: 1.1rem;
  color: var(--ink-soft);
}

.prose h2 {
  margin-top: clamp(2.4rem, 6vw, 3.2rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
}

.prose h3 {
  margin-top: 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.prose p {
  margin-top: 1rem;
}

.prose ul {
  margin-top: 1rem;
  padding-left: 1.3em;
}

.prose li {
  margin-top: 0.5rem;
}

.prose li::marker {
  color: var(--ink-soft);
}

.prose a {
  color: inherit;
  text-underline-offset: 0.3em;
}

.prose .note {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.prose ol {
  margin-top: 1rem;
  padding-left: 1.5em;
}

.prose code {
  font-family: var(--mono);
  font-size: 0.875em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--surface-soft);
}

.prose pre {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
}

.prose pre code {
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: inherit;
}

.prose .table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.prose table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.6;
}

.prose th,
.prose td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  font-weight: 700;
  background: var(--surface-soft);
  white-space: nowrap;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose blockquote {
  margin: 1rem 0 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 3px solid var(--line);
  color: var(--ink-soft);
}

.prose blockquote p {
  margin-top: 0.4rem;
}

.author-box {
  margin-top: clamp(2.4rem, 6vw, 3.2rem);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-size: 0.9rem;
  line-height: 1.8;
}

.author-box-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.author-box-name {
  margin-top: 0.3rem;
  font-weight: 700;
  font-size: 1rem;
}

.author-box p + p {
  margin-top: 0.5rem;
}

.author-box a {
  color: inherit;
  text-underline-offset: 0.3em;
}

.product-cta {
  margin-top: clamp(2.4rem, 6vw, 3.2rem);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: 16px;
  background: var(--surface);
  font-size: 0.9rem;
  line-height: 1.8;
}

.product-cta-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.product-cta p + p {
  margin-top: 0.6rem;
}

.product-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.product-cta-site {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink);
  text-underline-offset: 0.35em;
}

.product-cta + .author-box {
  margin-top: 1rem;
}

.journal-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.journal-topics > a {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  line-height: 1.7;
  font-size: 0.9rem;
}

.journal-topics b {
  font-size: 1.05rem;
}

.journal-topic-eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.journal-topic-eyebrow.is-note { color: var(--c-note); }
.journal-topic-eyebrow.is-keyboard { color: var(--c-keyboard); }

@media (max-width: 680px) {
  .journal-topics {
    grid-template-columns: 1fr;
  }
}

.index-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.index-links a {
  color: var(--ink);
  text-underline-offset: 0.35em;
}

.fact-list {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}

.fact-list li {
  display: flex;
  gap: 1rem;
  padding-block: 0.6rem;
  border-bottom: 1px solid var(--line);
  margin-top: 0;
}

.fact-list b {
  flex: none;
  width: 9em;
  font-weight: 600;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

/* .prose a より詳細度を上げる(a.cta-btn)。色が inherit に負けると文字が消える */
a.cta-btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  transition: opacity 0.2s ease;
}

a.cta-btn:hover {
  opacity: 0.85;
}

.cta-sub {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* ---- ブログ(読みもの) ---- */

.article-date {
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.blog-section {
  margin-top: clamp(2.4rem, 6vw, 3.4rem);
}

.blog-section .page-eyebrow {
  margin-top: 0;
}

.section-more {
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.section-more a {
  color: var(--ink);
  text-underline-offset: 0.35em;
}

.blog-section h2 {
  margin-top: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-feature-settings: "palt";
}

.blog-list {
  list-style: none;
  margin-top: 0.8rem;
  padding: 0;
}

.blog-list > li {
  border-top: 1px solid var(--line);
}

.blog-list > li:last-child {
  border-bottom: 1px solid var(--line);
}

a.blog-item {
  display: block;
  padding: 1.1rem 0.75rem;
  margin-inline: -0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

a.blog-item.has-thumb {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1.1rem;
  align-items: start;
}

.blog-item-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}

@media (max-width: 520px) {
  a.blog-item.has-thumb {
    grid-template-columns: 7rem 1fr;
    gap: 0.8rem;
  }
}

.article-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-top: 1.4rem;
}

a.blog-item:hover {
  background: var(--surface);
}

.blog-item-title {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
}

.blog-item-desc {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.blog-item-date {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* トップの「読みもの」導線 */

.reading {
  padding-block-end: clamp(3rem, 8vw, 5rem);
}

.reading .lead {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  max-width: 42em;
}

.reading-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--ink);
  text-underline-offset: 0.35em;
}

/* ---- フッターのサイト内リンク ---- */

.foot-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.foot-nav a {
  text-decoration: none;
  color: inherit;
}

.foot-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* ---- 2026 リデザイン: TOP ---- */

body {
  background-color: var(--bg);
}

.home {
  padding-block-end: clamp(2rem, 6vw, 4rem);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3.2rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem);
}

.hero-kicker,
.section-kicker,
.hub-panel-label,
.sidebar-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent);
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.home-hero h1 {
  margin-top: 1.25rem;
  max-width: 15em;
  font-size: clamp(2.15rem, 5.2vw, 4rem);
  line-height: 1.26;
  letter-spacing: -0.025em;
}

.home-hero .lead {
  max-width: 42em;
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.primary-action,
.product-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.primary-action {
  min-height: 3.1rem;
  padding: 0.8rem 1.35rem;
}

.text-action,
.product-detail,
.reading-link {
  font-weight: 700;
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

.hub-panel {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow);
}

.hub-panel::before {
  position: absolute;
  inset: -30% -20% auto auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  content: "";
  filter: blur(4px);
}

.hub-panel-label {
  position: relative;
  color: var(--ink-soft);
}

.hub-panel ul {
  position: relative;
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}

.hub-panel li {
  display: grid;
  grid-template-columns: 2.65rem 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.hub-panel b,
.hub-panel small,
.home-nav b,
.home-nav small {
  display: block;
}

.hub-panel b {
  font-size: 0.9rem;
  line-height: 1.35;
}

.hub-panel small {
  margin-top: 0.05rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.4;
}

.mini-icon,
.nav-icon,
.product-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  border-radius: 12px;
}

.mini-icon {
  width: 2.65rem;
  height: 2.65rem;
  color: var(--ink);
  background: var(--surface-soft);
}

.mini-icon svg,
.nav-icon svg,
.product-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

[data-product="note"] .mini-icon,
[data-product="note"] .product-icon { color: var(--c-note); }
[data-product="keyboard"] .mini-icon,
[data-product="keyboard"] .product-icon { color: var(--c-keyboard); }
[data-product="clipshare"] .mini-icon,
[data-product="clipshare"] .product-icon { color: var(--c-clipshare); }
[data-product="store-pop"] .mini-icon,
[data-product="store-pop"] .product-icon { color: var(--c-store-pop); }
[data-product="webmaster"] .mini-icon,
[data-product="webmaster"] .product-icon { color: var(--c-webmaster); }

.home-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(20, 35, 29, 0.05);
}

.home-nav > a {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
}

.home-nav > a + a {
  border-left: 1px solid var(--line);
}

@media (min-width: 901px) {
  .home-nav > a:nth-child(3n + 1) { border-left: 0; }
  .home-nav > a:nth-child(n + 4) { border-top: 1px solid var(--line); }
}

.nav-icon {
  width: 2.8rem;
  height: 2.8rem;
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-icon.is-notes { color: var(--c-note); }
.nav-icon.is-input { color: var(--c-keyboard); }
.nav-icon.is-about { color: var(--c-clipshare); }
.nav-icon.is-files, .page-eyebrow.is-files { color: #36747b; }
.nav-icon.is-devices, .page-eyebrow.is-devices { color: var(--c-clipshare); }
.nav-icon.is-store, .page-eyebrow.is-store { color: var(--c-store-pop); }
.nav-icon.is-web, .page-eyebrow.is-web { color: var(--c-webmaster); }
.page-eyebrow.is-files .led { background: #36747b; }
.page-eyebrow.is-devices .led { background: var(--led-clipshare); }
.page-eyebrow.is-store .led { background: var(--led-store-pop); }
.page-eyebrow.is-web .led { background: var(--led-webmaster); }

.home-nav b {
  font-size: 0.9rem;
  line-height: 1.35;
}

.home-nav small {
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.73rem;
  line-height: 1.45;
}

.home-section {
  padding-block: clamp(4.2rem, 9vw, 7rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-kicker {
  color: var(--accent);
}

.section-heading h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.section-heading > p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(20, 35, 29, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card[data-product="note"] { border-top-color: var(--c-note); }
.product-card[data-product="keyboard"] { border-top-color: var(--c-keyboard); }
.product-card[data-product="clipshare"] { border-top-color: var(--c-clipshare); }
.product-card[data-product="store-pop"] { border-top-color: var(--c-store-pop); }
.product-card[data-product="webmaster"] { border-top-color: var(--c-webmaster); }

@media (min-width: 681px) {
  .product-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-icon {
  width: 3.25rem;
  height: 3.25rem;
  background: var(--surface-soft);
}

.product-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-status::before {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.product-domain,
.product-platform {
  font-family: var(--mono);
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.product-domain {
  margin-top: 1.4rem;
  font-size: 0.73rem;
}

.product-card h3 {
  margin-top: 0.15rem;
  font-size: 1.55rem;
  line-height: 1.35;
}

.product-tagline {
  margin-top: 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.product-description {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.product-platform {
  margin-top: 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1.35rem;
}

.product-primary {
  min-height: 2.6rem;
  padding: 0.62rem 1rem;
  font-size: 0.84rem;
}

.product-detail {
  font-size: 0.82rem;
}

/* トップの「読みもの」: カテゴリ別ブロック */

.journal-block + .journal-block {
  margin-top: 2.8rem;
}

.journal-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.journal-block-head .page-eyebrow {
  margin-top: 0;
}

.journal-block-head h3 {
  margin-top: 0.35rem;
  font-size: 1.3rem;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.journal-more {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  white-space: nowrap;
}

.featured-blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.featured-blog-list > li,
.featured-blog-list > li:last-child {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.featured-blog-list a.blog-item.has-thumb {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

.featured-blog-list .blog-item-thumb img {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.featured-blog-list .blog-item-body {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.featured-blog-list .blog-item-title {
  font-size: 0.98rem;
}

.featured-blog-list .blog-item-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.featured-blog-list .blog-item-date {
  margin-top: auto;
  padding-top: 0.8rem;
}

.home .reading-link {
  margin-top: 1.4rem;
}

@media (hover: hover) {
  .primary-action:hover,
  .product-primary:hover { transform: translateY(-2px); opacity: 0.9; }
  .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .home-nav > a:hover { background: var(--surface-soft); }
}

/* ---- 記事: PC 左サイドバー / モバイル下部 ---- */

.article-page {
  max-width: 76rem;
  padding-block: clamp(2.2rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem);
}

.article-layout {
  display: grid;
  grid-template-areas: "sidebar article";
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 46rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  justify-content: center;
  align-items: start;
}

.article-main {
  grid-area: article;
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.article-main h1 {
  margin-top: 0.6rem;
  font-size: clamp(1.8rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.005em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: balance;
}

.article-meta {
  display: flex;
  gap: 0.65rem 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.article-sidebar {
  grid-area: sidebar;
  min-width: 0;
}

.sidebar-sticky {
  position: sticky;
  top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}

.sidebar-label {
  color: var(--ink-soft);
}

.sidebar-links {
  display: grid;
  margin-top: 0.65rem;
}

.sidebar-links a {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
}

.sidebar-link-type {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.sidebar-all {
  display: inline-block;
  margin-top: 0.9rem;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-underline-offset: 0.3em;
}

.sidebar-products {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.sidebar-products a {
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.5;
  text-decoration: none;
}

.sidebar-products a:hover,
.sidebar-links a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.75fr);
    gap: 2rem;
  }

  .home-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-nav > a + a {
    border-left: 0;
  }

  .home-nav > a:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .home-nav > a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .article-layout {
    grid-template-areas: "article" "sidebar";
    grid-template-columns: minmax(0, 46rem);
  }

  .sidebar-sticky {
    position: static;
    padding-top: 1.25rem;
  }

  .sidebar-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.25rem;
  }
}

@media (max-width: 680px) {
  .site-head {
    padding-block: 1rem;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding-block-start: 2.5rem;
  }

  .home-hero h1 br {
    display: none;
  }

  .hub-panel {
    padding: 1rem;
    border-radius: 18px;
  }

  .hub-panel ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-panel li {
    grid-template-columns: 2.45rem minmax(0, 1fr);
    padding: 0.6rem;
  }

  .mini-icon {
    width: 2.45rem;
    height: 2.45rem;
  }

  .home-nav {
    border-radius: 16px;
  }

  .home-nav > a {
    grid-template-columns: 2.45rem minmax(0, 1fr);
    padding: 0.8rem;
  }

  .nav-icon {
    width: 2.45rem;
    height: 2.45rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .product-grid,
  .featured-blog-list {
    grid-template-columns: 1fr;
  }

  .featured-blog-list a.blog-item.has-thumb {
    grid-template-columns: 8rem minmax(0, 1fr);
    align-items: stretch;
  }

  .featured-blog-list .blog-item-thumb {
    display: block;
    height: 100%;
  }

  .featured-blog-list .blog-item-thumb img {
    height: 100%;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .featured-blog-list .blog-item-desc {
    display: none;
  }

  .sidebar-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  .brand-name {
    font-size: 0.86rem;
  }

  .home-nav {
    grid-template-columns: 1fr;
  }

  .home-nav > a:nth-child(even) {
    border-left: 0;
  }

  .home-nav > a:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .hub-panel ul {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .primary-action {
    width: 100%;
  }

  .text-action {
    margin-inline: auto;
  }

  .featured-blog-list a.blog-item.has-thumb {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }
}

/* 読みもの主体のトップ。アプリは補助情報として右側へ。 */
.journal-home { max-width: 78rem; }
.journal-home .home-hero { display: block; padding-block: 2.8rem 2rem; }
.journal-home .home-hero h1 { max-width: 25em; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.45; }
.journal-home .home-hero h1 br { display: none; }
.journal-home .home-hero .lead { max-width: 54em; font-size: 1rem; margin-top: 1rem; }
.journal-home .hero-actions { margin-top: 1.25rem; }
.home-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 2.5rem; align-items: start; }
.home-content-layout > * { min-width: 0; }
.home-content-layout .home-section { margin-top: 2.5rem; }
.home-content-layout .section-heading { display: block; margin-bottom: 1.5rem; }
.home-content-layout .section-heading p { margin-top: .65rem; }
.journal-home .featured-blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journal-home .featured-blog-list .blog-item-title { font-size: 1.03rem; line-height: 1.65; }
.journal-home .featured-blog-list .blog-item-desc { display: block; overflow: visible; font-size: .86rem; }
.home-products { position: sticky; top: 1.5rem; max-height: calc(100dvh - 3rem); overflow-y: auto; scrollbar-width: none; scroll-padding-block: .75rem; border-left: 1px solid var(--line); padding-left: 1.5rem; }
.home-products::-webkit-scrollbar { display: none; }
.home-products .section-heading h2 { font-size: 1rem; }
.home-products .section-heading p { font-size: .8rem; line-height: 1.8; }
.home-products .product-grid { display: block; }
.home-products .product-card { display: block; padding: 1rem 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; transform: none; }
.home-products .product-card-head { margin: 0 0 .55rem; }
.home-products .product-icon { width: 2rem; height: 2rem; border-radius: 8px; }
.home-products .product-icon svg { width: 1.3rem; height: 1.3rem; }
.home-products .product-status { font-size: .65rem; }
.home-products .product-card h3 { font-size: 1rem; margin-top: .2rem; }
.home-products .product-domain, .home-products .product-tagline { display: none; }
.home-products .product-description { margin-top: .4rem; font-size: .8rem; }
.home-products .product-platform { font-size: .7rem; margin-top: .55rem; }
.home-products .product-actions { margin-top: .6rem; gap: .75rem; flex-wrap: wrap; }
.home-products .product-primary { display: inline; min-height: 0; border: 0; padding: 0; background: none; color: var(--ink); font-size: .78rem; text-decoration: underline; text-underline-offset: .2em; border-radius: 0; }
.home-products .product-detail { font-size: .78rem; }
.article-standfirst { margin-block: 1.3rem; color: var(--ink-soft); line-height: 1.95; }
.article-toc { margin-block: 1.5rem 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.article-toc summary { cursor: pointer; font-weight: 700; }
.article-toc ol { margin: .8rem 0 0; padding-left: 1.5rem; }
.article-toc li { padding-block: .22rem; line-height: 1.7; font-size: .9rem; }
.article-toc a { color: var(--ink); text-underline-offset: .2em; }
.prose h2[id] { scroll-margin-top: 2rem; }
.article-main .author-box { margin-top: 2.5rem; }
@media (max-width: 980px) {
  .home-content-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-products { position: static; max-height: none; overflow: visible; border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; }
  .home-products .product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (max-width: 600px) {
  .journal-home .home-hero { padding-block: 1.8rem 1.5rem; }
  .journal-home .featured-blog-list { grid-template-columns: minmax(0, 1fr); }
  .journal-home .featured-blog-list a.blog-item.has-thumb { grid-template-columns: 1fr; }
  .journal-home .featured-blog-list .blog-item-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .journal-home .featured-blog-list .blog-item-body { padding: 1rem; }
  .journal-home .home-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journal-home .home-nav > a { padding: .9rem; gap: .65rem; align-items: start; }
  .journal-home .home-nav > a:nth-child(even) { border-left: 1px solid var(--line); }
  .journal-home .home-nav > a:nth-child(2) { border-top: 0; }
  .journal-home .home-nav .nav-icon { display: none; }
  .journal-home .home-nav b { font-size: .82rem; }
  .journal-home .home-nav small { font-size: .72rem; }
  .home-products .product-grid { grid-template-columns: 1fr; gap: 0; }
}
.reader-kit { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.reader-kit h2 { font-size: 1.1rem; }
.reader-kit p { margin-top: .5rem; color: var(--ink-soft); font-size: .9rem; }
.reader-kit ul { margin: .75rem 0 0; padding-left: 1.25rem; }
.reader-kit li { margin-top: .5rem; font-size: .9rem; }
.reader-kit a { color: var(--ink); text-underline-offset: .25em; }
.home-products .product-description { display: none; }
.home-products .product-tagline { display: block; font-size: .8rem; margin-top: .4rem; line-height: 1.7; font-weight: 400; }
.home-products .product-card { padding-block: .85rem; }

.journal-home .journal-all-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  min-height: 4.5rem;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-family: inherit;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.journal-all-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (hover: hover) { .journal-all-link:hover { opacity: .85; } }
.article-figure { margin: 2rem 0; }
.article-figure img { display: block; width: 100%; height: auto; aspect-ratio: auto 16 / 9; border: 1px solid var(--line); border-radius: 10px; }
.article-figure figcaption { margin-top: .75rem; color: var(--ink-soft); font-size: .85rem; line-height: 1.8; }

.category-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.category-filters[hidden], .journal-listing li[hidden] { display: none; }
.category-filters button { padding: .65rem 1rem; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: .85rem; line-height: 1.5; cursor: pointer; }
.category-filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.category-filters button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.article-list-count { margin-top: 1rem; color: var(--ink-soft); font-size: .8rem; }
.journal-listing { scroll-margin-top: 2rem; }
.article-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .45rem; margin: 2rem 0; }
.article-pagination[hidden] { display: none; }
.article-pagination a, .article-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: .5rem; color: var(--ink); font-size: .9rem; line-height: 1.5; text-decoration: none; }
.article-pagination a:hover { background: var(--surface); border-color: var(--ink); }
.article-pagination [aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
.article-pagination [aria-disabled="true"] { color: var(--ink-soft); border-color: transparent; }
.article-pagination .pagination-gap { min-width: 0; padding-inline: 0; border-color: transparent; }
.article-pagination a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.blog-item-category { display: block; margin-bottom: .55rem; font-size: .75rem; font-weight: 700; color: var(--ink-soft); }
