/* ==========================================================================
   1.2.209 type preview — Substack reading rhythm, still 思源黑体 / Noto Sans SC.
   NOT linked in default.hbs. NOT for production deploy until approved.
   Source measurements: live Substack posts, 1440px, 2026-11-26 (see TYPE.md).
   ========================================================================== */

/* Measure: Substack body column is 728px. 720 keeps a similar line without
   crowding the paper spread. */
:root {
    --read: 720px;
}

/* ----- article body (the most important change) ----- */
.gh-content {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.8;          /* Latin Substack is 1.6; CJK needs a little more air */
    letter-spacing: 0;
    color: rgba(27, 18, 16, .88);
    text-align: start;         /* Substack is start, not justify */
    text-justify: auto;
}
.gh-content p,
.gh-content li {
    font-style: normal;
    letter-spacing: 0;
    line-height: 1.8;
}
.gh-content > * + * { margin-top: 1.15em; }   /* ~21px at 18px, next to Substack's 20px */
.gh-content > h2 + *,
.gh-content > h3 + *,
.gh-content > h4 + * { margin-top: .7em; }

.gh-content > h2,
.gh-content > h3,
.gh-content > h4,
.gh-content .kg-header-card h2,
.gh-content .kg-header-card h3 {
    font-family: var(--font-sans);
    font-style: normal;
    letter-spacing: 0.01em;
    text-align: start;
    color: #1B1210;
}
.gh-content > h2 {
    margin-top: 2.15em;
    font-weight: 600;
    font-size: 1.33em;        /* ~24px: quieter than Substack's 31px/700 */
    line-height: 1.35;
}
.gh-content > h3 {
    margin-top: 1.85em;
    font-weight: 600;
    font-size: 1.16em;
    line-height: 1.4;
}
.gh-content > h4 {
    margin-top: 1.7em;
    font-weight: 600;
    font-size: 1.05em;
    line-height: 1.45;
}
.gh-content blockquote:not([class]) {
    font-size: 1.04em;
    line-height: 1.75;
    letter-spacing: 0;
    text-align: start;
}
.gh-content blockquote.kg-blockquote-alt {
    font-size: 1.22em;
    line-height: 1.55;
    letter-spacing: 0.01em;
    font-weight: 400;
}
.gh-content figcaption,
.article-image figcaption {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0;
    margin-top: 10px;
}

.article-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-style: normal;
    font-size: clamp(28px, 3.1vw, 38px);
    line-height: 1.32;         /* CJK > Substack's 1.125 */
    letter-spacing: 0.01em;
    margin-top: 22px;
}
.article-excerpt {
    font-family: var(--font-sans);
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: 0;
    margin-top: 14px;
}
.article-byline {
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0;
    margin-top: 22px;
}
.article-kicker {
    font-size: 11.5px;
    letter-spacing: 0.14em;
}

/* ----- homepage title + dek ----- */
.hero-title,
.hero.is-paper-hero .hero-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-style: normal;
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: 1.16;
    letter-spacing: 0.04em;    /* was .14–.16em */
}
.hero-sub,
.hero.is-paper-hero .hero-sub {
    font-family: var(--font-sans);
    font-weight: 400;
    font-style: normal;
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.7;
    letter-spacing: 0.01em;    /* was .16em */
    margin-top: 18px;
}
.hero-label,
.hero.is-paper-hero .hero-label {
    letter-spacing: 0.22em;    /* was .46em; still a small kicker */
    font-size: 11px;
}
.hero-print figcaption {
    font-size: 12px;
    letter-spacing: 0.04em;
    line-height: 1.5;
}
.hero-now {
    font-size: 14px;
    letter-spacing: 0.02em;
}
.hero-now-k {
    letter-spacing: 0.18em;
}

/* ----- section / list / about ----- */
.archive-title,
.sec-hero .archive-title,
h1.archive-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-style: normal;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.22;
    letter-spacing: 0.03em;    /* was .16em */
}
.post-row-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-style: normal;
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.4;
    letter-spacing: 0.01em;    /* was .1em */
}
.post-row-excerpt {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0;
}
.post-row-date {
    letter-spacing: 0.04em;
}
.post-row-meta {
    letter-spacing: 0.08em;
}

.about-big {
    font-family: var(--font-sans);
    font-weight: 400;
    font-style: normal;
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.6;
    letter-spacing: 0.01em;    /* was .08em */
}
.about-small {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0;         /* was .08em / 14.5px / 2.1 */
    margin-top: 24px;
}

.section-head h2 {
    letter-spacing: 0.08em;
}

/* ----- nav: still quiet labels, less air ----- */
.gh-nav .nav a {
    font-size: 13px;
    letter-spacing: 0.12em;    /* was .3em */
}
.gh-brand-text {
    letter-spacing: 0.14em;    /* was .32em */
}
.kicker {
    letter-spacing: 0.18em;
}

/* Player, pills, and status lines keep their own rhythm — do not restyle .ha */

@media (max-width: 899px) {
    .hero-title,
    .hero.is-paper-hero .hero-title {
        font-size: 36px;
        letter-spacing: 0.03em;
    }
    .hero-sub,
    .hero.is-paper-hero .hero-sub {
        margin-top: 14px;
        font-size: 16px;
        letter-spacing: 0;
    }
    .gh-content {
        font-size: 17px;
        line-height: 1.85;
    }
    .article-title {
        font-size: 28px;
        line-height: 1.34;
        letter-spacing: 0.01em;
    }
    .article-excerpt {
        font-size: 17px;
        line-height: 1.7;
    }
    .archive-title,
    .sec-hero .archive-title,
    h1.archive-title {
        font-size: 30px;
        letter-spacing: 0.02em;
    }
}

html, body, .gh-content, .gh-content p, .gh-content li,
.gh-content h1, .gh-content h2, .gh-content h3, .gh-content h4,
.article-title, .article-excerpt, .hero-title, .hero-sub, .about-big,
.archive-title, .post-row-title {
    font-family: var(--font-sans);
    font-style: normal;
}


/* ----- about page + section dek (higher specificity than theme rules) ----- */
.about-page .gh-content > p {
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0;
    color: rgba(27, 18, 16, .88);
}
.about-page .gh-content > h2 {
    font-weight: 600;
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.35;
    letter-spacing: 0.04em;    /* was .28em; still a section label */
    color: #1B1210;
}
.about-page .gh-content > blockquote:not([class]),
.about-page .gh-content > blockquote.about-quote {
    font-weight: 400;
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.7;
    letter-spacing: 0.01em;
}
.about-pillar h3,
.about-page .gh-content > h3 {
    letter-spacing: 0.06em;    /* was .26em */
}
.about-pillar p,
.about-page .gh-content > h3 + p {
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0;
}
.sec-line {
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.02em;    /* was .14em */
    line-height: 1.6;
}


/* ==========================================================================
   Photo corners — quiet, consistent radius on photographs only.
   12px large photos / 10px thumbs / 8px mobile thumbs.
   Not logo, icons, canvases, vinyl, hanging-print drawings, or UI pills.
   ========================================================================== */
:root {
    --photo-radius: 12px;
    --photo-radius-sm: 10px;
}

/* Homepage feature print */
.hero-print > a,
.hero.is-paper-hero .hero-print > a {
    overflow: hidden;
    border-radius: var(--photo-radius);
}
.hero-print img,
.hero.is-paper-hero .hero-print img {
    border-radius: var(--photo-radius);
}

/* Article feature + inline + galleries */
.article-image {
    overflow: visible;
}
.article-image img,
.gh-content figure img,
.gh-content .kg-image-card img,
.gh-content .kg-image,
.gh-content .kg-gallery-image img,
.gh-content .kg-video-card video,
.gh-content > .kg-width-full img,
.gh-content .kg-width-full.kg-image-card img,
.archive-image img {
    border-radius: var(--photo-radius);
}
.article-image img,
.gh-content .kg-image-card,
.gh-content .kg-gallery-image,
.gh-content figure.kg-image-card,
.gh-content .kg-video-card,
.archive-image {
    overflow: hidden;
}
.gh-content .kg-image-card,
.gh-content figure.kg-image-card,
.gh-content .kg-gallery-image,
.gh-content .kg-video-card {
    border-radius: var(--photo-radius);
}

/* Full-bleed / about banner: inset so the 12px corner sits on the paper */
.about-page .gh-content > .kg-width-full.kg-image-card:first-child,
.about-page .gh-content > figure.kg-width-full:first-child,
.page-about .dr-banner-fig,
.dr-page .dr-banner-fig,
.dr-banner-fr {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    box-sizing: border-box;
}
.about-page .gh-content > .kg-width-full.kg-image-card:first-child img,
.about-page .gh-content > figure.kg-width-full:first-child img,
.page-about .dr-banner-fig img,
.dr-banner-fr img,
.page-about .dr-banner-fig img {
    border-radius: var(--photo-radius);
}
.about-page .gh-content > .kg-width-full.kg-image-card:first-child,
.about-page .gh-content > figure.kg-width-full:first-child,
.page-about .dr-banner-fig {
    overflow: visible;
}

/* Mid-article about photos (not hanging-print slots / canvas) */
.about-page .gh-content > .kg-image-card:not(.kg-width-full) {
    overflow: hidden;
    border-radius: var(--photo-radius);
}
.about-page .gh-content > .kg-image-card:not(.kg-width-full) img {
    border-radius: var(--photo-radius);
}

/* List / card thumbnails: 长文, 分享, 碎光, 作品 photo inside the frame */
.post-row-image,
.signal-img,
.moment-img,
.frame-img {
    overflow: hidden;
    border-radius: var(--photo-radius-sm);
}
.post-row-image img,
.signal-img img,
.moment-img img,
.frame-img img {
    border-radius: var(--photo-radius-sm);
}

/* 写信 cards are envelopes, not photos — leave them alone.
   Do not touch: .gh-brand-logo, .gh-foot-mark img, .ha / vinyl,
   canvases, hanging-print slots, .gh-pill, .frame-strip chrome. */

@media (max-width: 640px) {
    :root { --photo-radius-sm: 8px; }
    .article-image img {
        border-radius: var(--photo-radius);
    }
}


/* ==========================================================================
   1.2.210 — leftover typography missed by the first Substack pass.
   Family is already Noto Sans SC; these rules bring size / weight / tracking
   / leading onto the same reading rhythm. No italics.
   ========================================================================== */

/* Footer subscribe CTA — the heading the reader boxed */
.gh-foot-cta h2 {
    font-family: var(--font-sans);
    font-weight: 500;
    font-style: normal;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.35;
    letter-spacing: 0.01em;
}
.gh-foot-cta p {
    font-family: var(--font-sans);
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0;
    margin: 12px 0 28px;
}
.gh-pill,
.gh-pill-lg,
.gh-foot-cta .gh-pill,
.gh-foot-cta .gh-pill-lg {
    font-family: var(--font-sans);
    font-style: normal;
    letter-spacing: 0.06em;
}

/* Homepage doors + “更多作品” */
.door h3 {
    font-family: var(--font-sans);
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.02em;
    line-height: 1.35;
}
.door h3 em {
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
}
.door-no { letter-spacing: 0.06em; }
.gh-link-line { letter-spacing: 0.04em; }

/* 写信 page subscribe block */
.letters-cta h2 {
    font-family: var(--font-sans);
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.01em;
    line-height: 1.35;
}
.letters-cta p:not(.kicker) {
    font-family: var(--font-sans);
    letter-spacing: 0;
    line-height: 1.7;
    font-size: 16px;
}

/* 作品 / 写信 / 分享 / 碎光 list titles */
.frame-cap h2,
.letter h2,
.signal h2,
.moment h2 {
    font-family: var(--font-sans);
    font-weight: 500;
    font-style: normal;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

/* 感觉档案 wall titles + year */
.wall-t,
.wall-item .wall-t {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.01em;
}
.wall-year {
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* 友链 */
.friend-name {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.01em;
}
.friend-empty .friend-name {
    letter-spacing: 0.04em;
}
.friend-note,
.friend-url {
    letter-spacing: 0;
    font-style: normal;
}

/* 海边手记 */
.log-title {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.45;
}
.log-note {
    letter-spacing: 0;
    line-height: 1.8;
}

/* 404 */
.error-title {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.3;
}
.error-msg {
    letter-spacing: 0;
    line-height: 1.75;
}
.section-head h2 {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Year marks on lists */
.year-mark span {
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* Article prev/next + like note */
.article-nav .t {
    letter-spacing: 0.01em;
}
.post-like-note {
    letter-spacing: 0;
    line-height: 1.7;
}
.post-like-btn {
    letter-spacing: 0.06em;
}
.post-like-msg,
.post-like-count {
    letter-spacing: 0.04em;
}

/* About closing line + pillar labels (beat .22em !important) */
.dr-end-q,
.about-page .dr-end-q,
.dr-fade,
.about-page .dr-fade {
    letter-spacing: 0.01em;
    line-height: 1.7;
    font-weight: 400;
    font-style: normal;
}
.about-pillar h3,
.about-page .gh-content > h3 {
    letter-spacing: 0.04em !important;
    font-weight: 500 !important;
    font-style: normal !important;
}

/* Footer chrome: still small labels, less air than .26em */
.gh-foot-title { letter-spacing: 0.08em; }
.gh-foot-inner,
.gh-foot-more a,
.gh-foot-nav a {
    letter-spacing: 0.08em;
}

html, body, .gh-foot-cta h2, .gh-foot-cta p, .door h3, .letters-cta h2,
.frame-cap h2, .letter h2, .signal h2, .moment h2, .friend-name,
.log-title, .error-title, .bt-title, .bt-card-title {
    font-family: var(--font-sans);
    font-style: normal;
}
