/* PlainBTC — "signal, not noise".
   Paper, ink and one line of Bitcoin orange. Source of truth: this file.
   tools/build_i18n.py publishes it as assets/styles.<hash>.css and links every page to that copy. */

/* ------------------------------------------------------------------ fonts (self-hosted, OFL) */
@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/assets/fonts/source-serif-4-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("/assets/fonts/source-serif-4-latin-ext-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("/assets/fonts/source-serif-4-cyrillic-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Metric-matched fallback so the swap to the webfont does not shift the layout. */
@font-face {
  font-family: "PlainBTC Fallback"; src: local("Georgia");
  size-adjust: 107%; ascent-override: 97%; descent-override: 31%; line-gap-override: 0%;
}

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light;
  --paper: #f4efe4;
  --paper-2: #ebe4d4;
  --card: #fbf8f1;
  --ink: #0b1630;
  --ink-2: #2f3b57;
  --muted: #636c82;
  --line: rgba(11, 22, 48, 0.14);
  --line-2: rgba(11, 22, 48, 0.3);
  --accent: #f7931a;
  --accent-ink: #a65200;
  --on-accent: #0b1630;
  --panel: #0b1630;
  --panel-ink: #f3eee2;
  --panel-muted: #aab2c5;
  --panel-line: rgba(243, 238, 226, 0.18);
  --ok: #1c7a45;
  --err: #b3261e;
  --shadow: 0 1px 0 rgba(11, 22, 48, 0.04), 0 18px 40px -24px rgba(11, 22, 48, 0.35);
  --serif: "Source Serif 4", "PlainBTC Fallback", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 14px;
  --max: 1180px;
  --measure: 720px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #080e1d; --paper-2: #0c1528; --card: #0f1930;
    --ink: #f3eee2; --ink-2: #cfd2da; --muted: #8f98ae;
    --line: rgba(243, 238, 226, 0.13); --line-2: rgba(243, 238, 226, 0.3);
    --accent-ink: #ffab40;
    --panel: #111c36; --panel-ink: #f3eee2; --panel-muted: #9aa3b8; --panel-line: rgba(243, 238, 226, 0.16);
    --ok: #5fd08e; --err: #ff8a80;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 22px 48px -26px rgba(0, 0, 0, 0.8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #080e1d; --paper-2: #0c1528; --card: #0f1930;
  --ink: #f3eee2; --ink-2: #cfd2da; --muted: #8f98ae;
  --line: rgba(243, 238, 226, 0.13); --line-2: rgba(243, 238, 226, 0.3);
  --accent-ink: #ffab40;
  --panel: #111c36; --panel-ink: #f3eee2; --panel-muted: #9aa3b8; --panel-line: rgba(243, 238, 226, 0.16);
  --ok: #5fd08e; --err: #ff8a80;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 22px 48px -26px rgba(0, 0, 0, 0.8);
}
/* Japanese and Korean read better in the system gothic faces than in a Latin serif. */
:lang(ja) { --serif: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif; }
:lang(ko) { --serif: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--paper);
}
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  font-family: var(--serif); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  font-optical-sizing: auto; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
:lang(ja) body, :lang(ko) body { line-height: 1.8; }
:lang(ko) body { word-break: keep-all; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
:lang(ja) .logo, :lang(ko) .logo { font-family: Georgia, "Times New Roman", serif; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 0.6rem 0.9rem; border-radius: 8px;
  background: var(--ink); color: var(--paper); font: 600 0.8rem/1 var(--mono); text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
  view-transition-name: site-header;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .inner { height: 100%; display: flex; align-items: center; gap: clamp(12px, 2.4vw, 32px); }
.logo {
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 1.32rem; letter-spacing: -0.02em; line-height: 1;
}
.logo:hover { color: var(--ink); }
.logo-word > span { color: var(--accent-ink); }
.logo-mark { width: 38px; height: 19px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.logo:hover .logo-mark path { animation: logo-draw 0.9s var(--ease); }
.logo-mark path { stroke-dasharray: 90; stroke-dashoffset: 0; }
@keyframes logo-draw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.nav a, .footer-nav a {
  font: 600 0.74rem/1 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-2); padding: 0.55rem 0; position: relative; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-burger { display: none; }

.lang-menu { position: relative; }
.lang-menu summary, .theme-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem; height: 38px; padding: 0 0.7rem; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2);
  font: 600 0.74rem/1 var(--mono); letter-spacing: 0.04em; list-style: none; user-select: none;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .theme-toggle:hover, .lang-menu[open] summary { border-color: var(--line-2); color: var(--ink); }
.lang-code { display: none; }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; margin: 0; padding: 6px; list-style: none;
  min-width: 190px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  animation: pop 0.22s var(--ease);
}
.lang-menu li a {
  display: block; padding: 0.5rem 0.7rem; border-radius: 8px; text-decoration: none; font-size: 0.95rem; color: var(--ink-2);
}
.lang-menu li a:hover { background: var(--paper-2); color: var(--ink); }
.lang-menu li a[aria-current="true"] { color: var(--accent-ink); font-weight: 700; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.theme-toggle { width: 38px; padding: 0; justify-content: center; }
.theme-toggle .ico { width: 18px; height: 18px; }
.ico-moon { display: none; }
:root[data-theme="dark"] .ico-sun { display: none; }
:root[data-theme="dark"] .ico-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ico-sun { display: none; }
  :root:not([data-theme="light"]) .ico-moon { display: block; }
}

@media (max-width: 860px) {
  .lang-name { display: none; }
  .lang-code { display: inline; }
  .header-tools { margin-left: auto; }
  .nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 38px; height: 38px;
    padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; order: 3;
  }
  .nav-burger span { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
  .nav-toggle:checked + .nav-burger span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--accent); outline-offset: 3px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px var(--gutter) 18px;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav-toggle:checked ~ .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a { padding: 1rem 0; font-size: 0.82rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* ------------------------------------------------------------------ buttons */
.btn, .cta-button, .newsletter-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px;
  padding: 0.8rem 1.35rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 700 0.78rem/1.2 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: transform 0.35s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.3s;
  will-change: transform;
}
.btn-primary, .cta-button, .newsletter-form button { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover, .cta-button:hover, .newsletter-form button:hover {
  color: var(--on-accent); background: #ffa63a; box-shadow: 0 10px 26px -12px rgba(247, 147, 26, 0.9);
}
.btn-primary::after, .cta-button::after { content: "→"; font-family: system-ui, sans-serif; transition: transform 0.35s var(--ease); }
.btn-primary:hover::after, .cta-button:hover::after { transform: translateX(4px); }
.btn-primary[href^="#"]::after { content: "↓"; }
.btn-primary[href^="#"]:hover::after { transform: translateY(3px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn:active, .cta-button:active { transform: scale(0.97); }

/* ------------------------------------------------------------------ ticker */
.ticker {
  display: flex; align-items: stretch; border-block: 1px solid var(--line); background: var(--paper-2);
  font: 500 0.76rem/1 var(--mono); letter-spacing: 0.02em;
}
.ticker-label {
  flex: none; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 0.9rem 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
  background: var(--ink); color: var(--paper); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.ticker-viewport { display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ticker-viewport::-webkit-scrollbar { display: none; }
.ticker-track { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.ticker-track li { display: flex; align-items: center; white-space: nowrap; }
.ticker-track li::after { content: ""; width: 18px; height: 1.5px; background: var(--accent); margin: 0 0.2rem; flex: none; }
.ticker-track a { display: block; padding: 0.82rem 0.9rem; text-decoration: none; color: var(--ink-2); }
.ticker-track a:hover { color: var(--accent-ink); }
.ticker.is-live .ticker-viewport { overflow: hidden; }
.ticker.is-live .ticker-track { animation: ticker var(--ticker-time, 60s) linear infinite; }
.ticker.is-live:hover .ticker-track, .ticker.is-live:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding-top: clamp(40px, 7vw, 96px); overflow: clip; }
.hero-copy { position: relative; z-index: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1.1rem; padding: 0.42rem 0.75rem;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2);
  font: 600 0.7rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.hero h1 {
  margin: 0; max-width: 13ch; font-weight: 800; font-size: clamp(2.7rem, 9.2vw, 7rem); line-height: 0.96; letter-spacing: -0.03em;
}
:lang(ja) .hero h1, :lang(ko) .hero h1 { font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1.12; letter-spacing: -0.01em; max-width: 12em; }
:lang(de) .hero h1, :lang(ru) .hero h1, :lang(id) .hero h1, :lang(tr) .hero h1 { font-size: clamp(2.3rem, 7.8vw, 6rem); max-width: 15ch; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.06em 0.02em 0.14em; margin-bottom: -0.14em; position: relative; }
.hero h1 .w > span { display: inline-block; animation: word-up 0.85s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 60ms); }
@keyframes word-up { from { transform: translateY(112%) rotate(4deg); } }
.hero h1 .w-last { color: var(--accent-ink); }
.hero h1 .w-last::after {
  content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: 0.1em; height: 0.07em; border-radius: 99px;
  background: var(--accent); transform-origin: 0 50%; animation: underline 0.9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 520ms);
}
@keyframes underline { from { transform: scaleX(0); } }
.hero-lead { max-width: 58ch; margin: clamp(1.2rem, 2.4vw, 2rem) 0 0; font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: clamp(1.4rem, 2.6vw, 2.2rem); }
.hero-lead, .hero-actions, .hero .badge { animation: rise 0.9s var(--ease) both; }
.hero-lead { animation-delay: 0.32s; }
.hero-actions { animation-delay: 0.44s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-art { position: relative; height: clamp(120px, 19vw, 250px); margin-top: clamp(8px, 2vw, 28px); }
.wave { display: block; width: 100%; height: 100%; overflow: visible; }
.wave path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wave-noise { stroke: var(--ink); stroke-opacity: 0.42; stroke-width: 1.4; }
.wave-plain { stroke: var(--accent); stroke-width: 4; }
.wave-lens { position: absolute; top: 6%; bottom: 6%; left: var(--lens, 58.333%); width: 1px; background: var(--line-2); pointer-events: none; }
.wave-lens::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent);
}
.wave-chip {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 0.32rem 0.6rem; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 700 0.64rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: clamp(8px, 2vw, 24px) 0; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; gap: 0.3rem; padding: clamp(14px, 2.2vw, 26px) 0; }
.stat + .stat { padding-left: clamp(12px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.stat dt { font: 600 0.68rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat dd { margin: 0; font-size: clamp(1.9rem, 5vw, 3.4rem); font-weight: 750; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; }

/* ------------------------------------------------------------------ sections */
.section { padding-block: clamp(44px, 7vw, 96px) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(18px, 2.6vw, 32px); padding-bottom: 0.9rem; border-bottom: 2px solid var(--ink); }
.section-head h2 { margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.section-link { font: 600 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--muted); white-space: nowrap; }
.section-link::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 0.45rem; border-radius: 2px; background: var(--accent); }

/* ------------------------------------------------------------------ cards */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
@media (max-width: 1000px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .article-grid { grid-template-columns: minmax(0, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%);
}
.card:hover, .card:focus-within { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card:hover::before, .card:focus-within::before { opacity: 1; }
.card-thumb { display: block; overflow: hidden; background: #0b1630; aspect-ratio: 16 / 9; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card-thumb img, .card:focus-within .card-thumb img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 0.6rem; padding: clamp(16px, 1.8vw, 22px); }
.meta { font: 500 0.7rem/1.5 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.kicker { color: var(--accent-ink); font-weight: 700; }
.card h3 { margin: 0; font-size: clamp(1.18rem, 1.5vw, 1.36rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.012em; }
.card h3 a { text-decoration: none; color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size 0.5s var(--ease); }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover h3 a, .card h3 a:focus-visible { background-size: 100% 2px; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.98rem; line-height: 1.5; }
.read-more {
  margin-top: auto; padding-top: 0.5rem; font: 700 0.7rem/1 var(--mono); letter-spacing: 0.09em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); display: inline-block; transition: transform 0.4s var(--ease), color 0.2s;
}
.card:hover .read-more { color: var(--accent-ink); transform: translateX(4px); }
.card-lead { grid-column: 1 / -1; }
@media (min-width: 800px) {
  .card-lead { flex-direction: row; align-items: stretch; }
  /* Thumbnails carry their own composition (logos, captions): show them whole, never cropped. */
  .card-lead .card-thumb { flex: 0 0 56%; aspect-ratio: auto; display: flex; align-items: center; }
  .card-lead .card-thumb img { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  .card-lead .card-body { flex: 1; justify-content: center; gap: 0.8rem; padding: clamp(22px, 2.8vw, 40px); }
  .card-lead h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.022em; }
  .card-lead p { font-size: 1.05rem; }
  .card-lead .read-more { margin-top: 0.4rem; }
}
.older { grid-column: 1 / -1; }
.older summary {
  cursor: pointer; list-style: none; padding: 1rem 0; border-block: 1px solid var(--line);
  font: 700 0.76rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
}
.older summary::-webkit-details-marker { display: none; }
.older summary::after { content: " +"; color: var(--accent-ink); }
.older[open] summary::after { content: " −"; }
.older .article-grid { margin-top: clamp(16px, 2.2vw, 28px); }

/* ------------------------------------------------------------------ guides index */
.guide-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 4vw, 56px); }
@media (max-width: 800px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }
.guide-list a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0.9rem 1rem; padding: 1.05rem 0.4rem;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative;
  transition: padding 0.4s var(--ease), background-color 0.3s;
}
.guide-list a::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease); }
.guide-list a:hover { padding-inline: 0.9rem 0.4rem; background: color-mix(in srgb, var(--accent) 7%, transparent); color: var(--ink); }
.guide-list a:hover::before { transform: scaleX(1); }
.guide-n { font: 600 0.72rem/1 var(--mono); color: var(--muted); letter-spacing: 0.06em; }
.guide-list a:hover .guide-n { color: var(--accent-ink); }
.guide-t { font-size: 1.12rem; font-weight: 650; line-height: 1.28; letter-spacing: -0.008em; }
.guide-m { font: 500 0.68rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 520px) { .guide-m { display: none; } .guide-list a { grid-template-columns: auto 1fr; } }

/* ------------------------------------------------------------------ community + newsletter */
.loop { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(16px, 2.2vw, 28px); padding-block: clamp(44px, 7vw, 96px) 0; align-items: stretch; }
.loop .newsletter-box { order: -1; }
@media (max-width: 860px) { .loop { grid-template-columns: minmax(0, 1fr); } }
.newsletter-box, .community-box { position: relative; overflow: hidden; isolation: isolate; border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 3vw, 40px); margin: 0; }
.newsletter-box { background: var(--panel); color: var(--panel-ink); }
.newsletter-box::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.9;
  background: radial-gradient(520px circle at var(--mx, 85%) var(--my, 0%), rgba(247, 147, 26, 0.26), transparent 60%);
}
.newsletter-box h2, .community-box h2 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
.newsletter-box > p { margin: 0 0 1.2rem; color: var(--panel-muted); max-width: 46ch; }
.newsletter-form .nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter-form .nl-label { display: block; margin-bottom: 0.45rem; font: 600 0.68rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--panel-muted); }
.newsletter-form .nl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0.7rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--panel-line); background: rgba(255, 255, 255, 0.06); color: var(--panel-ink); font: inherit; font-size: 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.newsletter-form input[type="email"]::placeholder { color: var(--panel-muted); opacity: 0.8; }
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.1); }
.newsletter-form button:disabled { opacity: 0.6; cursor: progress; }
.newsletter-box .nl-status { margin: 0.8rem 0 0; font-size: 0.95rem; font-weight: 600; }
.newsletter-box .nl-status:empty { display: none; }
.newsletter-box .nl-status.ok { color: #7be0a4; }
.newsletter-box .nl-status.err { color: #ff9d94; }
.newsletter-box .nl-note { margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--panel-muted); }
.newsletter-box .nl-note a { color: var(--panel-ink); }
.community-box { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.community-box p { margin: 0 0 1.2rem; color: var(--ink-2); }
.community-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.community-link {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-2); text-decoration: none; color: var(--ink);
  font: 700 0.72rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 0.35s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.community-link svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.community-link:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }

.about-box { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 7vw, 96px); }
.disclosure {
  padding: 1.1rem 1.2rem; border: 1px dashed var(--line-2); border-radius: var(--radius);
  font-size: 0.92rem; line-height: 1.55; color: var(--ink-2);
}
.disclosure strong { color: var(--ink); }

/* ------------------------------------------------------------------ article + prose pages */
.article-page, .prose-page { padding: clamp(28px, 5vw, 64px) var(--gutter) clamp(56px, 8vw, 110px); }
.content { max-width: var(--measure); margin-inline: auto; font-size: clamp(1.09rem, 1.02rem + 0.3vw, 1.22rem); line-height: 1.68; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.4rem; font: 600 0.7rem/1.4 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs [aria-current] { color: var(--ink); }
.crumb-sep { color: var(--accent); }
.content h1 { margin: 0 0 1rem; font-size: clamp(2.05rem, 5.4vw, 3.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.028em; }
:lang(ja) .content h1, :lang(ko) .content h1 { line-height: 1.25; font-size: clamp(1.8rem, 4.6vw, 2.8rem); letter-spacing: -0.01em; }
.article-head .badge { margin-bottom: 0.9rem; color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.article-head .meta { font-size: 0.72rem; }
.article-head { margin-bottom: clamp(18px, 3vw, 30px); }
.share { display: flex; align-items: center; gap: 8px; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.share-label { font: 600 0.68rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 0.3rem; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2); transition: transform 0.35s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.share-btn svg { width: 16px; height: 16px; fill: currentColor; }
.share-btn .ico { fill: none; width: 17px; height: 17px; }
.share-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }
.share-status { font: 600 0.7rem/1 var(--mono); letter-spacing: 0.06em; color: var(--ok); }
.og-hero {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #0b1630;
  margin: 0 0 clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow);
}
.tagline { margin: -0.3rem 0 1.6rem; font-size: 1.2rem; color: var(--muted); font-style: italic; }

.content p { margin: 0 0 1.25em; }
.content > p:first-of-type, .article-page .content > .og-hero + p { font-size: 1.1em; }
.content h2 { margin: 2.3em 0 0.7em; font-size: clamp(1.45rem, 3vw, 1.95rem); font-weight: 750; line-height: 1.14; letter-spacing: -0.018em; }
.content h3 { margin: 1.9em 0 0.5em; font-size: 1.22em; font-weight: 700; line-height: 1.25; }
.article-page .content { counter-reset: sec; }
.article-page .content > h2 { counter-increment: sec; padding-top: 1.1em; border-top: 1px solid var(--line); }
.article-page .content > h2::before {
  content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 0.55em;
  font: 700 0.68rem/1 var(--mono); letter-spacing: 0.14em; color: var(--accent-ink);
}
.content a:not(.cta-button):not(.community-link):not(.share-btn) { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; transition: background-color 0.2s, color 0.2s; }
.content a:not(.cta-button):not(.community-link):not(.share-btn):hover { color: var(--ink); background: color-mix(in srgb, var(--accent) 28%, transparent); }
.content .crumbs a { text-decoration: none !important; background: none !important; }
.content strong { font-weight: 700; }
.content code { font: 0.86em var(--mono); padding: 0.1em 0.35em; border-radius: 5px; background: var(--paper-2); }
.content ul, .content ol { margin: 0 0 1.3em; padding-left: 1.35em; }
.content li { margin-bottom: 0.5em; padding-left: 0.2em; }
.content ul > li::marker { content: "—  "; color: var(--accent-ink); font-weight: 700; }
.content ul { padding-left: 1.7em; }
.content ol > li::marker { font: 700 0.8em var(--mono); color: var(--accent-ink); }
.content blockquote { margin: 1.8em 0; padding: 0.2em 0 0.2em 1.2em; border-left: 3px solid var(--accent); font-size: 1.12em; font-style: italic; color: var(--ink-2); }

.takeaways { margin: 1.9em 0; padding: clamp(18px, 2.6vw, 28px); background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 4px var(--radius) var(--radius) 4px; }
.takeaways h2 { margin: 0 0 0.8rem; font: 700 0.74rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.takeaways ul { margin: 0; padding: 0; list-style: none; }
.takeaways li { display: block; position: relative; margin: 0; padding: 0.55em 0 0.55em 1.7em; border-top: 1px solid var(--line); font-size: 0.97em; line-height: 1.5; }
.takeaways li:first-child { border-top: 0; }
.takeaways li::before { content: ""; position: absolute; left: 0.1em; top: 1.15em; width: 0.85em; height: 2px; background: var(--accent); }

.article-figure { margin: 2em 0; padding: 0; }
.article-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #0b1630; }
.article-figure figcaption { margin-top: 0.7rem; font: 500 0.7rem/1.5 var(--mono); letter-spacing: 0.04em; color: var(--muted); text-align: center; }

.mid-cta, .cta {
  position: relative; overflow: hidden; isolation: isolate; margin: 2.2em 0; padding: clamp(20px, 3vw, 32px);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
}
.mid-cta::before, .cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(460px circle at var(--mx, 100%) var(--my, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%);
}
.mid-cta h2, .cta h2 { margin: 0 0 0.5rem; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.018em; }
.mid-cta p, .cta p { margin: 0 0 1.1rem; font-size: 0.97em; color: var(--ink-2); line-height: 1.55; }
.cta p:last-child { margin-bottom: 0; }
.mid-cta-label { display: inline-block; margin-bottom: 0.8rem; padding: 0.3rem 0.55rem; border-radius: 5px; background: var(--ink); color: var(--paper); font: 700 0.62rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.partners-cta .partner-slot { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.partners-cta .partner-slot h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.partner-list ul { margin-top: 0.6rem; }
.soft-guide { margin: 2em 0; padding: 1rem 1.2rem; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: 0.98em; }
.content .disclosure { margin: 2em 0; font-size: 0.82em; }

.content .community-box, .content .newsletter-box { margin: 1.4em 0; }
.content .community-box h2, .content .newsletter-box h2 { margin: 0 0 0.5rem; }
.content .community-links { margin-top: 0.4rem; }
.related, .sources { margin-top: 2.6em; padding-top: 1.4em; border-top: 2px solid var(--ink); }
.related h2, .sources h2 { margin: 0 0 0.6rem; font: 700 0.76rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.related ul { margin: 0; padding: 0; list-style: none; }
.related li { display: block; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.related li a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.95rem 0.2rem;
  text-decoration: none !important; font-weight: 650; line-height: 1.3; transition: padding 0.4s var(--ease), background-color 0.3s !important;
}
.related li a::after { content: "→"; font-family: system-ui, sans-serif; color: var(--accent-ink); flex: none; transition: transform 0.4s var(--ease); }
.related li a:hover { padding-left: 0.8rem; }
.related li a:hover::after { transform: translateX(4px); }
.sources ol { margin: 0; padding-left: 1.6em; font-size: 0.86em; line-height: 1.5; color: var(--ink-2); }
.sources li { margin-bottom: 0.55em; overflow-wrap: anywhere; }
.sources-note { margin: 0.8rem 0 0; font-size: 0.8em; color: var(--muted); font-style: italic; }

/* reading progress + table of contents (both added by site.js) */
.progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; pointer-events: none; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.toc { display: none; }
@media (min-width: 1300px) {
  .toc {
    display: block; position: fixed; top: calc(var(--header-h) + 56px); width: 210px;
    left: max(var(--gutter), calc(50% - var(--measure) / 2 - 60px - 250px));
    max-height: calc(100vh - var(--header-h) - 120px); overflow-y: auto; scrollbar-width: none;
    opacity: 0; transform: translateX(-8px); transition: opacity 0.4s, transform 0.5s var(--ease); pointer-events: none;
  }
  .toc.show { opacity: 1; transform: none; pointer-events: auto; }
}
.toc-title { margin: 0 0 0.8rem; font: 700 0.66rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 0.42rem 0 0.42rem 0.9rem; margin-left: -1px; border-left: 2px solid transparent; font-size: 0.82rem; line-height: 1.3; color: var(--muted); text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--accent); font-weight: 650; }

/* mobile "get new articles by email" bar (added by site.js on article pages) */
.nl-bar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 999px;
  background: var(--panel); color: var(--panel-ink); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.55);
  transform: translateY(160%); transition: transform 0.55s var(--ease);
}
.nl-bar.show { transform: none; }
.nl-bar span { flex: 1; min-width: 0; font-size: 0.9rem; font-weight: 650; line-height: 1.2; }
.nl-bar a { flex: none; min-height: 40px; padding: 0.6rem 1rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 0.7rem/1.2 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; }
.nl-bar button { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; }
@media (max-width: 720px) { .nl-bar { display: flex; } }

/* ------------------------------------------------------------------ 404 */
.error-page { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: clamp(48px, 9vw, 120px); }
.error-page h1 { margin: 0; font-size: clamp(5rem, 22vw, 15rem); font-weight: 800; line-height: 0.86; letter-spacing: -0.05em; }
.error-page h1 span { color: var(--accent-ink); }
.error-page p { max-width: 44ch; font-size: 1.2rem; color: var(--ink-2); }
.error-page .hero-art { width: 100%; height: clamp(80px, 12vw, 140px); margin: 1rem 0; }

/* ------------------------------------------------------------------ footer */
.site-footer {
  --ink: #f3eee2; --ink-2: #cfd2da; --muted: #8f98ae; --paper: #070c19; --line: rgba(243, 238, 226, 0.13); --line-2: rgba(243, 238, 226, 0.3); --accent-ink: #ffab40;
  position: relative; margin-top: 0; padding: 0 0 28px; background: #070c19; color: var(--ink);
}
.footer-wave { display: block; width: 100%; height: 40px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; transform: translateY(-50%); }
.footer-wave path { vector-effect: non-scaling-stroke; }
.site-footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; padding-block: clamp(20px, 4vw, 48px) clamp(24px, 3vw, 36px); }
.footer-brand .logo { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.035em; }
.footer-brand .logo-mark { width: clamp(52px, 8vw, 96px); height: auto; aspect-ratio: 2 / 1; }
.footer-brand p { margin: 0.9rem 0 0; max-width: 44ch; color: var(--muted); font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer-nav a { color: var(--ink-2); }
.footer-nav a:hover { color: var(--accent); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 20px; border-top: 1px solid var(--line); }
.footer-langs { padding-block: 18px; border-top: 1px solid var(--line); }
.footer-langs nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-langs a { font-size: 0.88rem; color: var(--muted); text-decoration: none; }
.footer-langs a:hover { color: var(--ink); }
.footer-base { padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.back-top { font: 700 0.7rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.back-top:hover { color: var(--accent); }

/* ------------------------------------------------------------------ motion */
/* Scroll reveals are opt-in: site.js adds .anim to <html> only once it runs, so content is never hidden without it. */
.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.anim .reveal.in { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card-lead .card-thumb img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift { from { scale: 1.06; } to { scale: 1; } }
  }
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.16s ease both; }
::view-transition-new(root) { animation: vt-in 0.34s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
.theme-vt::view-transition-old(root) { animation: none; }
.theme-vt::view-transition-new(root) { animation: vt-circle 0.6s var(--ease) both; }
@keyframes vt-circle { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0)); } to { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 0)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .anim .reveal { opacity: 1; transform: none; }
  .ticker.is-live .ticker-viewport { overflow-x: auto; }
  .ticker.is-live .ticker-track { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

@media print {
  .site-header, .site-footer, .ticker, .share, .newsletter-box, .community-box, .toc, .nl-bar, .mid-cta, .cta, .hero-art { display: none !important; }
  body { background: #fff; color: #000; }
  .content { max-width: none; font-size: 11pt; }
}
