/* ============================================================
   qs2u.com — 「递送到你」
   设计语言：纸 + 墨 + 一点朱红
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #f7f4ed;
  --paper-2: #efeade;
  --ink: #16140f;
  --ink-2: #3a362c;
  --muted: #6d6759;
  --line: rgba(22, 20, 15, 0.13);
  --line-strong: rgba(22, 20, 15, 0.26);
  --accent: #b0412a;
  --accent-soft: rgba(176, 65, 42, 0.1);
  --card: #fffdf8;
  --shadow: 0 1px 2px rgba(22, 20, 15, 0.04), 0 12px 32px -18px rgba(22, 20, 15, 0.28);

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong",
    "STZhongsong", "SimSun", "STKaiti", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;

  --fs-hero: clamp(2.5rem, 7.2vw, 5rem);
  --fs-h1: clamp(1.9rem, 4.4vw, 2.9rem);
  --fs-h2: clamp(1.25rem, 2.2vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  --wrap: 1080px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[data-theme="dark"] {
  --paper: #131210;
  --paper-2: #1b1916;
  --ink: #ece6d8;
  --ink-2: #cfc8b8;
  --muted: #918a7a;
  --line: rgba(236, 230, 216, 0.14);
  --line-strong: rgba(236, 230, 216, 0.28);
  --accent: #e2775c;
  --accent-soft: rgba(226, 119, 92, 0.12);
  --card: #1a1815;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 40px -22px rgba(0, 0, 0, 0.8);
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px; top: 16px; z-index: 200;
  background: var(--card); padding: 10px 16px; border-radius: 8px;
  border: 1px solid var(--line-strong);
}

/* ---------- 3. Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line); }

.head-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  margin-right: auto;
}
.brand .b2 {
  color: var(--accent);
  font-style: italic;
  padding: 0 0.5px;
}
.brand .tld {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-left: 3px;
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 8px 12px;
  font-size: 0.92rem;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 3px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}

.head-actions { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink-2);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--paper-2); color: var(--ink); border-color: var(--line); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
html[data-theme="dark"] .theme-btn .sun { display: none; }
html[data-theme="dark"] .theme-btn .moon { display: block; }

.menu-btn { display: none; }

/* mobile drawer */
@media (max-width: 820px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px clamp(20px, 5vw, 48px) 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 12px; font-size: 1rem; }
  .nav a[aria-current="page"]::after { left: 12px; right: auto; width: 16px; bottom: 8px; }
}

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); opacity: 0.9; }
.btn:active { transform: none; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--paper-2); opacity: 1; }
.btn .arrow { transition: transform 0.24s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-underline {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.2s var(--ease);
}
.link-underline:hover { opacity: 0.72; }

/* ---------- 5. Page top / section headers ---------- */
.page-head {
  padding: clamp(56px, 11vw, 104px) 0 clamp(28px, 5vw, 48px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-size: var(--fs-hero);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
  background-image: linear-gradient(transparent 68%, var(--accent-soft) 68%, var(--accent-soft) 96%, transparent 96%);
}
.hero-lead {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  max-width: 34em;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.sec-title {
  font-size: var(--fs-xs);
  font-family: var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
}
.sec-more { font-size: var(--fs-sm); color: var(--muted); }
.sec-more:hover { color: var(--accent); }

/* ---------- 6. Drop index rows (home) ---------- */
.index-list { list-style: none; margin: 0; padding: 0; }

.index-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.24s var(--ease), padding-left 0.24s var(--ease);
}
.index-row:hover { background: var(--paper-2); padding-left: 12px; }
.index-row .no {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.05em;
}
.index-row .ttl {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 600;
  line-height: 1.4;
  display: block;
}
.index-row .sum {
  display: block;
  color: var(--muted);
  font-size: var(--fs-sm);
  margin-top: 4px;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.index-row .meta {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .index-row { grid-template-columns: 36px 1fr; gap: 12px; }
  .index-row .meta { display: none; }
  .index-row .sum { white-space: normal; }
}

/* ---------- 7. Cards (drops grid) ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 30px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.search {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  padding: 8px 16px;
  font-size: var(--fs-sm);
  min-width: 170px;
  margin-left: auto;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.search::placeholder { color: var(--muted); }
.search:focus { border-color: var(--line-strong); background: var(--card); outline: none; }
@media (max-width: 640px) { .search { margin-left: 0; width: 100%; } }
@media (max-width: 430px) {
  .chips { gap: 6px; }
  .chip { padding: 6px 11px; font-size: 0.82rem; }
}

.count-line {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.grid > li { display: flex; }
.grid .card { flex: 1; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 210px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.06em;
}
.card-cat { color: var(--accent); text-transform: uppercase; }
.card h3 {
  font-size: 1.2rem;
  line-height: 1.42;
}
.card p {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.68;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.tag {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.empty {
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

/* ---------- 8. Article ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 120;
  transition: width 0.1s linear;
}

.article-head {
  padding: clamp(44px, 8vw, 84px) 0 clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 5vw, 56px);
}
.article-head .kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.article-head .kicker .cat { color: var(--accent); text-transform: uppercase; }
.article-head h1 {
  font-size: clamp(1.72rem, 3.4vw, 2.42rem);
  line-height: 1.26;
  max-width: 20em;
}
.article-head .dek {
  margin-top: 20px;
  font-size: var(--fs-lead);
  color: var(--ink-2);
  max-width: 32em;
  line-height: 1.7;
}

.wrap-narrow { max-width: 740px; }

.article {
  max-width: none;
  padding-bottom: clamp(48px, 8vw, 88px);
}
.article h2 {
  font-size: var(--fs-h2);
  margin: 2.2em 0 0.8em;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}
.article p {
  font-size: 1.075rem;
  line-height: 1.92;
  color: var(--ink-2);
  margin-bottom: 1.35em;
}
.article > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.1em;
  float: left;
  line-height: 0.92;
  padding: 0.06em 0.1em 0 0;
  color: var(--ink);
  font-weight: 600;
}
.article blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.78;
  color: var(--ink);
}
.article blockquote p { font-size: inherit; color: inherit; margin: 0 0 0.6em; }
.article blockquote p:last-child { margin: 0; }
.article ul, .article ol {
  margin: 0 0 1.5em;
  padding-left: 1.25em;
  color: var(--ink-2);
}
.article li { margin-bottom: 0.55em; line-height: 1.85; }
.article li::marker { color: var(--accent); }
.article code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--paper-2);
  padding: 0.15em 0.42em;
  border-radius: 5px;
  border: 1px solid var(--line);
}
.article pre {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0 0 1.6em;
  font-size: 0.86rem;
  line-height: 1.7;
}
.article pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.article hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.6em auto;
  width: 42%;
}

.drop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 32px 0 clamp(56px, 8vw, 80px);
  border-top: 1px solid var(--line);
}
.article-nav a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.24s var(--ease), background-color 0.24s var(--ease);
}
.article-nav a:hover { border-color: var(--line-strong); background: var(--card); }
.article-nav span {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.article-nav strong { font-family: var(--serif); font-size: 1rem; font-weight: 600; line-height: 1.45; }
.article-nav .next { text-align: right; }
@media (max-width: 620px) {
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
}

/* ---------- 9. About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(48px, 8vw, 88px);
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.about-grid h2 {
  font-size: var(--fs-h2);
  margin: 0 0 18px;
}
.about-grid p { color: var(--ink-2); line-height: 1.9; }

.about-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: sticky;
  top: 90px;
}
.about-card dl { margin: 0; }
.about-card dt {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.about-card dd {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.about-card dd:last-child { margin-bottom: 0; }

.monogram {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 30px 26px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -4px; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--accent);
}
.timeline .yr {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}
.timeline strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  display: block;
  margin-bottom: 4px;
}
.timeline p { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.7; }

/* ---------- 10. Letter form ---------- */
.letter-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 76px);
  padding-bottom: clamp(56px, 9vw, 96px);
  align-items: start;
}
@media (max-width: 860px) { .letter-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
}
.field { margin-bottom: 20px; }
.field:last-of-type { margin-bottom: 26px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.field input,
.field textarea {
  width: 100%;
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.96rem;
  line-height: 1.6;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 148px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.8; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #c0392b; }

.hint {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 7px;
}
.err {
  display: block;
  font-size: var(--fs-xs);
  color: #c0392b;
  margin-top: 7px;
}
html[data-theme="dark"] .err { color: #f0857a; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.form-foot .note { font-size: var(--fs-xs); color: var(--muted); }

.form-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: var(--fs-sm);
  display: none;
  line-height: 1.65;
}
.form-status.show { display: block; }
.form-status.ok { background: var(--accent-soft); color: var(--ink); border: 1px solid var(--line); }
.form-status.bad { background: rgba(192, 57, 43, 0.08); color: #98281c; border: 1px solid rgba(192, 57, 43, 0.3); }
html[data-theme="dark"] .form-status.bad { color: #f0a49a; }

.sent-card {
  text-align: center;
  padding: 46px 20px;
}
.sent-card .mark {
  width: 54px; height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.sent-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.sent-card p { color: var(--muted); font-size: var(--fs-sm); }

.letter-aside h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.letter-aside p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; }
.letter-aside .rule {
  height: 1px;
  background: var(--line);
  margin: 26px 0;
}
.letter-aside .quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-2);
  padding-left: 18px;
  border-left: 2px solid var(--accent);
}

/* ---------- 10.5 CTA band ---------- */
.cta-band {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(32px, 5vw, 52px) clamp(24px, 4vw, 48px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: clamp(56px, 9vw, 96px);
}
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }
.cta-quote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.72rem);
  line-height: 1.55;
  margin: 0;
  letter-spacing: -0.01em;
  border-left: 2px solid var(--accent);
  padding-left: clamp(16px, 2.4vw, 26px);
}
.cta-side p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 18px; }

/* ---------- 11. Footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: clamp(36px, 7vw, 60px) 0 40px;
  margin-top: auto;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.foot-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}
.foot-brand + p {
  margin: 8px 0 0;
  font-size: var(--fs-xs);
  color: var(--muted);
  max-width: 26em;
  line-height: 1.7;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: var(--fs-sm); color: var(--muted); }
.foot-links a:hover { color: var(--accent); }
.foot-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- 12. Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 13. Utilities ---------- */
.mono { font-family: var(--mono); }
.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;
}
.stack-sm > * + * { margin-top: 10px; }
.stack > * + * { margin-top: 22px; }
.mt-6 { margin-top: clamp(40px, 7vw, 72px); }
.pb-6 { padding-bottom: clamp(48px, 8vw, 88px); }
hr.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
