/* ---------- Foundation ---------- */
:root {
  --paper: #f2efe6;
  --surface: #e9e5da;
  --surface-strong: #ded9cb;
  --ink: #222620;
  --muted: #62665c;
  --line: rgba(34, 38, 32, 0.18);
  --line-strong: rgba(34, 38, 32, 0.45);
  --accent: #ee6038;
  --accent-soft: #f1b29a;
  --forest: #293e32;
  --cream: #f7f2e6;
  --serif: "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --shadow: 0 24px 70px rgba(38, 35, 25, 0.12);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #1c201c;
  --surface: #262b25;
  --surface-strong: #32382f;
  --ink: #eee9dc;
  --muted: #a6aa9d;
  --line: rgba(238, 233, 220, 0.16);
  --line-strong: rgba(238, 233, 220, 0.42);
  --accent-soft: #7f4637;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 7%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}
body.menu-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
p, h1, h2, h3 { margin-top: 0; }
button { border: 0; background: none; cursor: pointer; }
::selection { background: var(--accent); color: #fff9ee; }
[hidden] { display: none !important; }

.shell { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 18px; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.paper-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(80, 70, 45, 0.025) 4px),
    repeating-linear-gradient(90deg, transparent 0, transparent 5px, rgba(80, 70, 45, 0.018) 6px);
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] .paper-noise { mix-blend-mode: screen; opacity: 0.08; }
.eyebrow, .section-index { font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; }
.section-index { display: block; margin-bottom: 20px; color: var(--muted); }
.accent-text { color: var(--accent); }

/* ---------- Shared controls ---------- */
.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: 0.25s ease; }
.icon-button:hover { border-color: var(--ink); transform: rotate(5deg); }
.icon-button svg { width: 18px; height: 18px; }
.theme-toggle .moon-icon, :root[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
:root[data-theme="dark"] .theme-toggle .moon-icon { display: block; }
.text-button { min-height: 44px; display: inline-flex; align-items: center; padding: 0; font-size: 13px; text-align: left; }
.text-button:hover { color: var(--accent); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border: 1px solid transparent; border-radius: 2px; font-size: 13px; font-weight: 600; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--accent); color: #fff9ee; }
.button-light { background: var(--cream); color: #222620; }
.button-light:hover { background: #fff; }
.button-outline { border-color: var(--line-strong); }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.text-link svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
a:hover .text-link svg, .text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 50;
  width: min(1440px, calc(100% - 48px));
  height: 88px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 38px; height: 38px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; background: var(--ink); color: var(--paper); border-radius: 2px; transform: rotate(-2deg); transition: transform 0.25s ease; }
.brand:hover .brand-mark { transform: rotate(4deg); }
.brand-mark i { display: block; height: 2px; background: currentColor; }
.brand-mark i:nth-child(2) { width: 65%; }
.brand-type { display: flex; align-items: center; gap: 12px; }
.brand-type strong { font-family: var(--serif); font-size: 24px; letter-spacing: 0.08em; line-height: 1; }
.brand-type small { padding-left: 12px; border-left: 1px solid var(--line); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; }
.desktop-nav { display: flex; align-items: center; gap: 40px; }
.desktop-nav a { position: relative; font-size: 13px; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: -9px; left: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.25s ease; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.desktop-nav sup { margin-left: 3px; color: var(--muted); font-family: var(--mono); font-size: 8px; }
.nav-dot { display: inline-block; width: 5px; height: 5px; margin: 0 0 2px 5px; border-radius: 50%; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 12px 8px; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; transition: 0.25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { min-height: 640px; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 50px; padding-top: 56px; padding-bottom: 64px; overflow: hidden; }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 0; animation: rise-in 0.8s both; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; color: var(--muted); }
.status-light { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 13%, transparent); animation: breathe 2.8s infinite; }
.hero h1 { margin-bottom: 34px; font-family: var(--serif); font-size: clamp(68px, 7.3vw, 112px); font-weight: 900; letter-spacing: -0.065em; line-height: 1.18; }
.circled { position: relative; z-index: 1; display: inline-block; margin-left: 0.08em; }
.circled::after { content: ""; position: absolute; z-index: -1; inset: 4% -8% 0 -5%; border: 2px solid var(--accent); border-radius: 50%; transform: rotate(-7deg); }
.circled::before { content: ""; position: absolute; right: -13%; bottom: 4%; width: 26%; height: 12%; border-bottom: 2px solid var(--accent); border-radius: 50%; transform: rotate(-12deg); }
.hero-intro { display: flex; align-items: center; gap: 48px; padding-left: 8px; }
.hero-intro p { margin: 0; padding-left: 18px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 15px; line-height: 1.9; }
.handwritten { color: var(--accent); font-family: var(--serif); font-size: 15px; font-weight: 600; transform: rotate(-6deg); }
.hero-bottom { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 48px; }
.round-link { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; transition: 0.25s ease; }
.round-link:hover { background: var(--ink); color: var(--paper); transform: translateY(3px); }
.round-link svg { width: 20px; height: 20px; }
.hero-bottom > span { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; line-height: 1.8; }
.hero-feature { position: relative; align-self: center; justify-self: end; width: min(100%, 510px); padding: 26px 30px 0 20px; animation: rise-in 0.8s 0.14s both; }
.feature-card { position: relative; z-index: 2; min-height: 510px; display: flex; flex-direction: column; overflow: hidden; padding: 28px 30px 30px; background: var(--cover-bg, var(--accent)); color: var(--cover-fg, #fff7e9); box-shadow: var(--shadow); transform: rotate(2.2deg); transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.45s ease; }
.feature-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 34px 80px rgba(38, 35, 25, 0.18); }
.feature-card::after { content: ""; position: absolute; inset: 11px; pointer-events: none; border: 1px solid rgba(255, 247, 233, 0.25); }
.feature-card-top { position: relative; z-index: 2; display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 247, 233, 0.4); font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; }
.feature-glyph { position: absolute; top: 32px; right: 20px; color: color-mix(in srgb, currentColor 18%, transparent); font-family: var(--serif); font-size: 260px; font-weight: 900; line-height: 1.2; transform: rotate(6deg); }
.feature-card-content { position: relative; z-index: 2; margin-top: auto; }
.post-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
.post-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 12px 2px 0; border-radius: 50%; background: currentColor; opacity: 0.6; }
.feature-card h2 { max-width: 360px; margin-bottom: 16px; font-family: var(--serif); font-size: 35px; line-height: 1.45; letter-spacing: -0.03em; }
.feature-card p { max-width: 355px; margin-bottom: 26px; color: color-mix(in srgb, currentColor 78%, transparent); font-size: 13px; }
.feature-card .text-link { padding-top: 18px; border-top: 1px solid rgba(255, 247, 233, 0.35); }
.feature-stamp { position: absolute; z-index: 4; top: 0; right: 0; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 10px; line-height: 1.35; letter-spacing: 0.08em; text-align: center; transform: rotate(11deg); box-shadow: 0 0 0 5px var(--paper); }
.feature-orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 540px; height: 540px; top: -24px; left: -48px; }
.orbit-two { width: 440px; height: 610px; top: -48px; left: 20px; transform: rotate(42deg); }
.feature-caption { display: flex; justify-content: space-between; gap: 20px; margin: 28px 0 0; color: var(--muted); font-size: 11px; }
.feature-caption span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; }

/* ---------- Moving index ---------- */
.ticker { width: 100%; overflow: hidden; padding: 15px 0; background: var(--ink); color: var(--paper); transform: rotate(-0.6deg) scale(1.01); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 38px; animation: ticker 30s linear infinite; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; }
.ticker-track i { color: var(--accent); font-size: 16px; font-style: normal; }

/* ---------- Article listing ---------- */
.articles-section { padding-top: 100px; padding-bottom: 120px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 60px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 4.3vw, 62px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.3; }
.section-heading > p { max-width: 340px; margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.article-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 20px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.category-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-chip { min-height: 44px; padding: 8px 14px; border-radius: 30px; color: var(--muted); font-size: 12px; transition: 0.2s ease; }
.filter-chip:hover { color: var(--ink); background: var(--surface); }
.filter-chip.active { background: var(--ink); color: var(--paper); }
.search-field { min-width: 230px; min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 12px; border-left: 1px solid var(--line); }
.search-field svg { width: 17px; height: 17px; color: var(--muted); }
.search-field input { width: 155px; padding: 2px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-field input::placeholder { color: var(--muted); }
.search-field:focus-within { border-left-color: var(--accent); }
.search-field kbd { padding: 0 6px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.results-line { display: flex; justify-content: space-between; margin: 18px 0 34px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; }
.posts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 74px; }
.post-card { min-width: 0; border-top: 1px solid var(--line-strong); padding-top: 18px; animation: rise-in 0.5s var(--delay, 0ms) both; }
.post-card > a { display: block; }
.post-card-featured { grid-column: 1 / -1; }
.post-card-featured > a { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 48px; align-items: center; }
.post-visual { position: relative; height: 270px; overflow: hidden; background: var(--cover-bg, var(--accent)); color: var(--cover-fg, #fff6e8); }
.post-card-featured .post-visual { height: 390px; }
.post-visual::before { content: ""; position: absolute; width: 280px; height: 280px; top: -95px; right: -70px; border: 1px solid currentColor; border-radius: 50%; opacity: 0.35; transition: transform 0.6s ease; }
.post-visual::after { content: ""; position: absolute; width: 170px; height: 340px; right: 20%; bottom: -190px; border: 1px solid currentColor; border-radius: 50%; opacity: 0.35; transform: rotate(40deg); }
.post-card a:hover .post-visual::before { transform: scale(1.18) translate(-12px, 12px); }
.cover-vermilion { --cover-bg: #dc5a38; --cover-fg: #fff1de; }
.cover-moss { --cover-bg: #3e5945; --cover-fg: #eff0d8; }
.cover-ochre { --cover-bg: #d3a747; --cover-fg: #2b3027; }
.cover-blue { --cover-bg: #637e8b; --cover-fg: #f3ecdc; }
.cover-ink { --cover-bg: #252b28; --cover-fg: #e8dfcb; }
.cover-rose { --cover-bg: #bd8075; --cover-fg: #fff1df; }
.post-number { position: absolute; top: 20px; left: 22px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; }
.post-glyph { position: absolute; z-index: 1; top: 48%; left: 50%; font-family: var(--serif); font-size: 164px; font-weight: 900; line-height: 1; transform: translate(-50%, -50%); transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.post-card-featured .post-glyph { font-size: 230px; }
.post-card a:hover .post-glyph { transform: translate(-50%, -52%) rotate(-5deg) scale(1.05); }
.post-english { position: absolute; right: 20px; bottom: 18px; left: 20px; z-index: 2; padding-top: 12px; border-top: 1px solid currentColor; font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; }
.post-card-content { padding: 24px 2px 0; }
.post-card-featured .post-card-content { padding: 0; }
.post-card .post-meta { justify-content: space-between; color: var(--muted); }
.post-card .post-meta span + span::before { display: none; }
.post-card h3 { margin-bottom: 14px; font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.55; transition: color 0.2s ease; }
.post-card-featured h3 { max-width: 460px; font-size: clamp(34px, 3.2vw, 48px); line-height: 1.45; }
.post-card a:hover h3 { color: var(--accent); }
.post-card p { margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.post-card-featured p { max-width: 450px; font-size: 14px; }
.card-read-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.card-read-link svg { width: 17px; height: 17px; transition: transform 0.2s ease; }
.post-card a:hover .card-read-link svg { transform: translateX(5px); }
.empty-state { padding: 90px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.empty-state > span { font-family: var(--serif); font-size: 30px; }
.empty-state p { margin: 12px 0 28px; color: var(--muted); }

/* ---------- About ---------- */
.about-section { position: relative; overflow: hidden; padding: 120px 0; background: var(--forest); color: var(--cream); }
.about-section::before { content: "ABOUT"; position: absolute; right: -20px; bottom: -100px; color: rgba(247, 242, 230, 0.035); font-family: var(--mono); font-size: 270px; font-weight: 500; line-height: 1; letter-spacing: -0.08em; }
.about-inner { position: relative; display: grid; grid-template-columns: 0.28fr 0.72fr; gap: 70px; }
.about-aside { display: flex; flex-direction: column; }
.about-aside .section-index { color: rgba(247, 242, 230, 0.55); }
.owner-seal { width: 150px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 34px 0 auto; border: 1px solid rgba(247, 242, 230, 0.45); border-radius: 50%; transform: rotate(-7deg); }
.owner-seal::before { content: ""; position: absolute; width: 132px; height: 132px; border: 1px dashed rgba(247, 242, 230, 0.25); border-radius: 50%; }
.owner-seal span { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; }
.owner-seal small { margin-top: 8px; font-family: var(--mono); font-size: 8px; letter-spacing: 0.13em; }
.about-aside > p { margin: 50px 0 0; color: rgba(247, 242, 230, 0.58); font-size: 11px; line-height: 2; }
.about-main h2 { margin-bottom: 48px; font-family: var(--serif); font-size: clamp(38px, 4.2vw, 60px); font-weight: 600; letter-spacing: -0.045em; line-height: 1.5; }
.about-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; color: rgba(247, 242, 230, 0.68); font-size: 14px; line-height: 2.05; }
.now-list { margin-top: 48px; border-top: 1px solid rgba(247, 242, 230, 0.25); }
.now-list > div { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(247, 242, 230, 0.18); }
.now-list span { color: rgba(247, 242, 230, 0.45); font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; }
.now-list strong { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.now-list i { padding: 3px 10px; border: 1px solid rgba(247, 242, 230, 0.28); border-radius: 20px; color: rgba(247, 242, 230, 0.6); font-size: 9px; font-style: normal; }

/* ---------- Support ---------- */
.support-section { padding-top: 110px; padding-bottom: 110px; }
.support-heading { align-items: flex-start; }
.support-heading > p { margin-top: 44px; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.support-card { min-width: 0; display: flex; flex-direction: column; padding: 30px 34px 34px; border-right: 1px solid var(--line-strong); }
.support-card:last-child { border-right: 0; }
.support-card-featured { background: var(--forest); color: var(--cream); }
.support-card-secondary { background: color-mix(in srgb, var(--surface) 45%, transparent); }
.support-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.support-number { font-family: var(--mono); font-size: 10px; }
.commerce-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.commerce-status::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.commerce-status.is-active { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }
.support-card-featured .support-number, .support-card-featured .commerce-status { color: rgba(247, 242, 230, 0.72); }
.support-card-featured .commerce-status { border-color: rgba(247, 242, 230, 0.28); }
.support-card-featured .commerce-status.is-active { border-color: var(--accent-soft); color: var(--accent-soft); }
.support-icon { width: 58px; height: 58px; margin: 44px 0 30px; stroke-width: 1.2; }
.support-card h3 { margin-bottom: 15px; font-family: var(--serif); font-size: 25px; font-weight: 700; }
.support-card-featured h3 { font-size: 34px; }
.support-card p { margin-bottom: 32px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.support-card-featured p { max-width: 34em; color: rgba(247, 242, 230, 0.8); font-size: 14px; }
.support-action { min-height: 50px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.support-action svg { width: 19px; height: 19px; transition: transform 0.2s ease; }
.support-action:hover { color: var(--accent); }
.support-action:hover svg { transform: translateX(5px); }
.support-action-primary { min-height: 54px; padding: 14px 18px; border-top: 0; background: var(--accent); color: #222620; font-size: 14px; }
.support-action-primary:hover { background: var(--accent); color: #222620; }
.business-strip { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 24px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong); }
.business-strip-copy .section-index { margin-bottom: 10px; }
.business-strip-copy h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 22px; }
.business-strip-copy p { max-width: 650px; margin: 0; color: var(--muted); font-size: 12px; }
.business-strip-action { display: flex; flex-shrink: 0; align-items: center; gap: 20px; }
.support-principle { display: flex; gap: 26px; margin: 20px 0 0; color: var(--muted); font-size: 10px; }
.support-principle span { color: var(--ink); font-weight: 600; }

/* ---------- Newsletter & footer ---------- */
.newsletter { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; margin-bottom: 100px; padding: 42px 46px; overflow: hidden; background: var(--ink); color: var(--paper); }
.newsletter::after { content: ""; position: absolute; right: 19%; bottom: -80px; width: 170px; height: 170px; border: 1px solid color-mix(in srgb, var(--paper) 15%, transparent); border-radius: 50%; }
.newsletter-mark { color: var(--accent); font-size: 54px; line-height: 1; animation: slow-spin 18s linear infinite; }
.newsletter .eyebrow { display: block; margin-bottom: 10px; color: var(--muted); font-size: 9px; }
.newsletter h2 { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; }
.newsletter .button { position: relative; z-index: 1; }
.site-footer { padding-bottom: 28px; }
.site-footer > .footer-brand { display: flex; align-items: center; justify-content: space-between; padding-bottom: 50px; }
.footer-brand > p { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 180px); justify-content: end; gap: 70px; padding: 45px 0 60px; border-top: 1px solid var(--line); }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links span { margin-bottom: 6px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; }
.footer-links a, .footer-links button { font-size: 12px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; }
.footer-bottom a { justify-self: end; color: var(--ink); }

/* ---------- Commerce dialog & toast ---------- */
.commerce-dialog { position: fixed; width: min(510px, calc(100% - 36px)); max-height: calc(100dvh - 40px); padding: 46px; overflow: auto; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,0.25); }
.commerce-dialog::backdrop { background: rgba(18, 22, 18, 0.64); backdrop-filter: blur(6px); }
.commerce-dialog[open] { animation: dialog-in 0.3s ease both; }
.dialog-close { position: absolute; top: 16px; right: 16px; }
.dialog-kicker { display: block; margin-bottom: 24px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; }
.dialog-symbol { width: 68px; height: 68px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--serif); font-size: 30px; transform: rotate(-7deg); }
.commerce-dialog h2 { margin-bottom: 16px; font-family: var(--serif); font-size: 30px; line-height: 1.45; }
.commerce-dialog > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.dialog-note { margin: 24px 0; padding: 16px 18px; border-left: 2px solid var(--accent); background: var(--surface); color: var(--muted); font-size: 12px; line-height: 1.9; }
.commerce-dialog .button { width: 100%; }
.commerce-dialog .dialog-footnote { margin: 14px 0 0; font-size: 9px; text-align: center; }
.toast { position: fixed; z-index: 200; bottom: 28px; left: 50%; max-width: calc(100% - 32px); padding: 11px 20px; border: 1px solid rgba(255,255,255,0.15); border-radius: 40px; background: #222620; color: #f7f2e6; box-shadow: 0 10px 40px rgba(0,0,0,0.2); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: 0.25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Single article ---------- */
.reading-progress { position: fixed; z-index: 100; top: 0; left: 0; width: 0; height: 3px; background: var(--accent); }
.article-header { position: relative; }
.article-header .article-share { margin-right: 10px; }
.article-hero { padding-top: 48px; padding-bottom: 80px; }
.back-link { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 54px; color: var(--muted); font-size: 11px; }
.back-link:hover { color: var(--accent); }
.back-link svg { width: 17px; height: 17px; }
.article-heading-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr); align-items: center; gap: 80px; }
.article-title-block .post-meta { color: var(--accent); }
.article-title-block h1 { max-width: 800px; margin-bottom: 28px; font-family: var(--serif); font-size: clamp(46px, 5.3vw, 76px); font-weight: 900; letter-spacing: -0.055em; line-height: 1.35; }
.article-title-block > p { max-width: 680px; margin-bottom: 34px; color: var(--muted); font-family: var(--serif); font-size: 16px; line-height: 2; }
.article-byline { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 10px; }
.article-byline > span:last-child { padding-left: 16px; border-left: 1px solid var(--line); font-family: var(--mono); }
.mini-seal { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); font-family: var(--serif); font-size: 14px; }
.article-byline strong { color: var(--ink); font-weight: 500; }
.article-cover { position: relative; justify-self: end; width: 100%; max-width: 370px; aspect-ratio: 0.82; overflow: hidden; padding: 24px; background: var(--cover-bg, var(--accent)); color: var(--cover-fg, #fff6e8); box-shadow: var(--shadow); transform: rotate(2deg); }
.article-cover::before { content: ""; position: absolute; top: -60px; right: -90px; width: 300px; height: 300px; border: 1px solid currentColor; border-radius: 50%; opacity: 0.35; }
.article-cover-issue { position: relative; z-index: 1; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; }
.article-cover-glyph { position: absolute; top: 46%; left: 50%; font-family: var(--serif); font-size: 190px; font-weight: 900; line-height: 1; transform: translate(-50%, -50%); }
.article-cover-english { position: absolute; right: 24px; bottom: 23px; left: 24px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.15em; }
.cover-line { position: absolute; right: 24px; bottom: 48px; left: 24px; height: 1px; background: currentColor; opacity: 0.6; }
.article-body-layout { display: grid; grid-template-columns: 155px minmax(0, 684px) minmax(80px, 1fr); justify-content: center; gap: 60px; padding-top: 72px; padding-bottom: 100px; border-top: 1px solid var(--ink); }
.article-mobile-toc { display: none; }
.article-aside { align-self: start; position: sticky; top: 30px; }
.article-aside > span { display: block; margin-bottom: 20px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; }
.article-toc { display: flex; flex-direction: column; gap: 8px; padding-left: 14px; border-left: 1px solid var(--line); }
.article-toc a { min-height: 32px; display: flex; align-items: center; color: var(--muted); font-size: 11px; line-height: 1.6; transition: 0.2s ease; }
.article-toc a:hover, .article-toc a.active, .article-toc a[aria-current="location"] { color: var(--accent); }
.article-aside .article-share { margin-top: 26px; color: var(--muted); font-size: 10px; }
.article-content { width: 100%; max-width: 38em; min-width: 0; font-family: var(--serif); font-size: 18px; line-height: 1.9; }
.article-content p { margin-bottom: 28px; }
.article-content .lead { margin-bottom: 38px; font-size: 20px; font-weight: 500; line-height: 1.9; }
.article-content .lead::first-letter { float: left; margin: 10px 10px 0 0; color: var(--accent); font-size: 68px; font-weight: 900; line-height: 0.8; }
.article-content h2 { position: relative; margin: 66px 0 24px; padding-top: 24px; font-size: 29px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.5; scroll-margin-top: 30px; }
.article-content h2::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 3px; background: var(--accent); }
.article-content blockquote { position: relative; margin: 46px -34px; padding: 30px 34px 30px 42px; border: 0; border-left: 3px solid var(--accent); background: var(--surface); color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.9; }
.article-content blockquote::before { content: "“"; position: absolute; top: -15px; right: 20px; color: var(--line-strong); font-size: 80px; font-weight: 900; }
.article-content ul { margin: 30px 0 36px; padding: 0; list-style: none; }
.article-content li { position: relative; margin-bottom: 13px; padding-left: 25px; }
.article-content li::before { content: ""; position: absolute; top: 15px; left: 3px; width: 6px; height: 6px; border: 1px solid var(--accent); transform: rotate(45deg); }
.article-content strong { font-weight: 700; }
.article-margin { display: flex; flex-direction: column; align-items: center; gap: 20px; color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; line-height: 1.8; writing-mode: vertical-rl; }
.article-margin i { width: 1px; height: 100px; background: var(--line); }
.article-end { display: flex; flex-direction: column; align-items: center; padding-top: 70px; padding-bottom: 90px; border-top: 1px solid var(--line); text-align: center; }
.article-end-mark { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--serif); font-size: 20px; transform: rotate(-8deg); }
.article-end p { max-width: 40em; margin-bottom: 26px; color: var(--muted); font-family: var(--serif); font-size: 14px; line-height: 2; }
.article-end-actions { display: flex; gap: 12px; }
.article-support { min-width: 180px; }
.related-section { padding-top: 80px; padding-bottom: 100px; border-top: 1px solid var(--ink); }
.related-section .section-heading { margin-bottom: 38px; }
.related-section .section-heading h2 { font-size: 42px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.related-card { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.related-card .post-meta { justify-content: space-between; color: var(--muted); }
.related-card h3 { margin-bottom: 15px; font-family: var(--serif); font-size: 20px; line-height: 1.6; }
.related-card:hover h3 { color: var(--accent); }
.related-card > span { color: var(--muted); font-size: 10px; }
.article-footer { padding-top: 10px; }
.article-footer .footer-bottom { margin-top: 30px; }
.article-not-found { min-height: 70vh; display: grid; place-items: center; padding: 80px 24px; text-align: center; }
.article-not-found h1 { font-family: var(--serif); font-size: 48px; }
.article-not-found p { color: var(--muted); }

/* ---------- Motion ---------- */
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(15px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes breathe { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 4%, transparent); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes slow-spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .shell { width: min(100% - 64px, 1320px); }
  .hero { min-height: 600px; gap: 25px; }
  .hero h1 { font-size: clamp(64px, 8.5vw, 90px); }
  .hero-feature { padding-right: 22px; }
  .feature-card { min-height: 490px; }
  .feature-card h2 { font-size: 30px; }
  .feature-glyph { font-size: 220px; }
  .desktop-nav { gap: 26px; }
  .about-inner { grid-template-columns: 0.24fr 0.76fr; gap: 40px; }
  .owner-seal { width: 125px; height: 125px; }
  .owner-seal::before { width: 109px; height: 109px; }
  .article-heading-grid { gap: 45px; }
  .article-body-layout { grid-template-columns: 130px minmax(0, 684px); gap: 45px; }
  .article-margin { display: none; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 30px; }
  .shell { width: calc(100% - 40px); }
  .site-header { width: calc(100% - 32px); height: 76px; }
  .desktop-nav, .search-jump, .article-header > .header-actions > .article-share { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { position: fixed; z-index: 45; top: 76px; right: 0; bottom: 0; left: 0; padding: 44px 28px; background: var(--paper); }
  .mobile-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; animation: rise-in 0.25s ease both; }
  .mobile-nav a, .mobile-nav .text-button { font-family: var(--serif); font-size: 30px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 65px; padding-top: 58px; padding-bottom: 70px; overflow: visible; }
  .hero-copy { min-height: 530px; }
  .hero h1 { font-size: clamp(70px, 14vw, 104px); }
  .hero-intro { gap: 35px; }
  .hero-feature { justify-self: center; width: min(100%, 530px); }
  .feature-card { min-height: 510px; }
  .ticker { transform: none; }
  .articles-section, .support-section { padding-top: 90px; padding-bottom: 90px; }
  .section-heading { align-items: flex-start; margin-bottom: 42px; }
  .article-toolbar { align-items: flex-start; flex-direction: column; gap: 14px; }
  .search-field { width: 100%; padding-left: 0; border-left: 0; }
  .search-field input { flex: 1; width: auto; }
  .posts-grid { column-gap: 28px; row-gap: 58px; }
  .post-card-featured > a { grid-template-columns: 1fr; gap: 0; }
  .post-card-featured .post-visual { height: 320px; }
  .post-card-featured .post-card-content { padding-top: 24px; }
  .post-card-featured h3 { font-size: 32px; }
  .post-visual { height: 220px; }
  .post-glyph { font-size: 130px; }
  .post-card h3 { font-size: 23px; }
  .about-section { padding: 85px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 42px; }
  .about-aside { display: grid; grid-template-columns: 1fr auto; align-items: start; }
  .about-aside .section-index { grid-column: 1 / -1; }
  .owner-seal { grid-column: 2; grid-row: 2; margin: 0; }
  .about-aside > p { grid-column: 1; grid-row: 2; margin: 20px 0 0; }
  .about-columns { gap: 28px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .support-card:last-child { border-bottom: 0; }
  .support-icon { margin: 32px 0 24px; }
  .business-strip { align-items: flex-start; flex-direction: column; gap: 24px; }
  .business-strip-action { width: 100%; justify-content: space-between; }
  .newsletter { grid-template-columns: auto 1fr; gap: 24px; margin-bottom: 70px; padding: 34px; }
  .newsletter .button { grid-column: 1 / -1; justify-self: start; }
  .article-heading-grid { grid-template-columns: 1fr; gap: 55px; }
  .article-cover { justify-self: center; max-width: 330px; }
  .article-body-layout { grid-template-columns: minmax(0, 100%); gap: 0; padding-top: 42px; }
  .article-aside { display: none; }
  .article-mobile-toc { display: block; margin-bottom: 38px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
  .article-mobile-toc summary { min-height: 54px; display: flex; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 16px; font-weight: 600; }
  .article-mobile-toc summary::-webkit-details-marker { display: none; }
  .article-mobile-toc summary::after { content: "+"; color: var(--accent); font-family: var(--mono); font-size: 20px; font-weight: 400; }
  .article-mobile-toc[open] summary::after { content: "−"; }
  .article-mobile-toc-hint { margin-left: auto; color: var(--muted); font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: 0.1em; }
  .article-mobile-toc .article-toc { gap: 0; padding: 0 0 14px; border-left: 0; }
  .article-mobile-toc .article-toc a { min-height: 44px; border-top: 1px solid var(--line); font-size: 13px; }
  .article-content { font-size: 17px; line-height: 1.9; }
  .article-content .lead { font-size: 19px; }
  .related-grid { gap: 22px; }
  .footer-links { justify-content: start; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .brand-type { gap: 8px; }
  .brand-type strong { font-size: 21px; }
  .brand-type small { padding-left: 8px; font-size: 7px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions { gap: 6px; }
  .icon-button, .menu-toggle { width: 44px; height: 44px; }
  .hero { padding-top: 40px; gap: 45px; }
  .hero-copy { min-height: 465px; padding-top: 5px; }
  .hero-eyebrow { margin-bottom: 28px; font-size: 8px; }
  .hero h1 { margin-bottom: 30px; font-size: clamp(58px, 18.2vw, 82px); line-height: 1.24; }
  .hero-intro { align-items: flex-start; flex-direction: column; gap: 15px; }
  .handwritten { margin-left: 145px; font-size: 13px; }
  .hero-bottom { padding-top: 34px; }
  .hero-feature { width: calc(100% - 10px); padding: 20px 14px 0 4px; }
  .feature-card { min-height: 465px; padding: 24px; }
  .feature-card h2 { font-size: 29px; }
  .feature-glyph { font-size: 195px; }
  .feature-stamp { width: 62px; height: 62px; font-size: 8px; }
  .orbit-one { width: 420px; height: 470px; }
  .orbit-two { width: 340px; height: 490px; }
  .feature-caption { font-size: 9px; }
  .section-heading { flex-direction: column; gap: 22px; }
  .section-heading h2 { font-size: 40px; }
  .section-heading > p br { display: none; }
  .article-toolbar { padding-top: 14px; }
  .category-filters { gap: 3px; }
  .filter-chip { padding: 7px 11px; font-size: 11px; }
  .posts-grid { grid-template-columns: 1fr; row-gap: 54px; }
  .post-card-featured { grid-column: auto; }
  .post-card-featured .post-visual, .post-visual { height: 255px; }
  .post-card-featured .post-glyph { font-size: 155px; }
  .post-card-featured h3, .post-card h3 { font-size: 26px; }
  .post-card-featured p { font-size: 13px; }
  .about-inner { gap: 34px; }
  .owner-seal { width: 100px; height: 100px; }
  .owner-seal::before { width: 86px; height: 86px; }
  .owner-seal span { font-size: 27px; }
  .owner-seal small { font-size: 6px; }
  .about-main h2 { font-size: 35px; }
  .about-columns { grid-template-columns: 1fr; gap: 4px; font-size: 13px; }
  .now-list > div { grid-template-columns: 60px 1fr; gap: 12px; }
  .now-list i { display: none; }
  .now-list strong { font-size: 13px; }
  .support-heading > p { margin-top: 0; }
  .support-card { min-height: 320px; padding: 24px; }
  .support-card-featured h3 { font-size: 30px; }
  .support-card-top { align-items: flex-start; }
  .support-number { font-size: 8px; }
  .business-strip-action { align-items: flex-start; flex-direction: column; }
  .business-strip-action .button { width: 100%; }
  .support-principle { flex-direction: column; gap: 6px; line-height: 2; }
  .newsletter { grid-template-columns: 1fr; gap: 20px; padding: 30px 24px; }
  .newsletter-mark { font-size: 40px; }
  .newsletter h2 { font-size: 24px; line-height: 1.6; }
  .newsletter .button { grid-column: auto; }
  .site-footer > .footer-brand { align-items: flex-start; flex-direction: column; gap: 24px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 16px; }
  .footer-bottom > span:nth-child(2) { display: none; }
  .commerce-dialog { padding: 38px 26px 28px; }
  .commerce-dialog h2 { font-size: 26px; }
  .article-hero { padding-top: 32px; padding-bottom: 60px; }
  .back-link { margin-bottom: 38px; }
  .article-title-block h1 { font-size: 42px; line-height: 1.4; }
  .article-title-block > p { font-size: 14px; }
  .article-byline { flex-wrap: wrap; gap: 10px; }
  .article-cover { max-width: 285px; }
  .article-cover-glyph { font-size: 155px; }
  .article-body-layout { padding-top: 38px; padding-bottom: 65px; }
  .article-content { font-size: 17px; line-height: 1.9; }
  .article-content .lead { font-size: 18px; }
  .article-content h2 { margin-top: 52px; font-size: 25px; }
  .article-content blockquote { margin: 38px -8px; padding: 25px 22px; font-size: 17px; }
  .article-content li { padding-left: 22px; }
  .article-end { padding-top: 55px; padding-bottom: 65px; }
  .article-end-actions { width: 100%; flex-direction: column; }
  .article-end-actions .button { width: 100%; }
  .related-section { padding-top: 60px; padding-bottom: 70px; }
  .related-section .section-heading h2 { font-size: 38px; }
  .related-grid { grid-template-columns: 1fr; gap: 32px; }
  .related-card h3 { margin-bottom: 8px; }
}

/* ---------- HDR progressive enhancement ---------- */
@media (dynamic-range: high) {
  @supports (color: color(display-p3 1 0 0)) {
    .cover-vermilion { --cover-bg: color(display-p3 0.88 0.29 0.14); }
    .cover-moss { --cover-bg: color(display-p3 0.19 0.34 0.22); }
    .cover-ochre { --cover-bg: color(display-p3 0.82 0.61 0.2); }
    .cover-blue { --cover-bg: color(display-p3 0.32 0.48 0.55); }
    .cover-ink { --cover-bg: color(display-p3 0.12 0.15 0.13); }
    .cover-rose { --cover-bg: color(display-p3 0.72 0.43 0.39); }
    .support-action-primary,
    .support-action-primary:hover,
    .reading-progress { background: color(display-p3 1 0.36 0.16); }
  }
}

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