:root {
    --ivory: #fffaf4;
    --paper: #f3e9e7;
    --rose: #c78c9c;
    --plum: #7d3757;
    --gold: #caa074;
    --olive: #899468;
    --ink: #40353b;
    --muted: #68565e;
    --line: #e7d9dc;
    /* Brand roles use the locally pinned Open Props scales. */
    --space-xs: var(--size-2);
    --space-sm: var(--size-3);
    --space-md: var(--size-3);
    --space-lg: var(--size-5);
    --space-xl: var(--size-7);
    --space-section: var(--size-fluid-5);
    --space-panel: var(--size-fluid-4);
    --space-grid: var(--size-fluid-4);
    --page-gutter: clamp(var(--size-3), 4vw, var(--size-8));
    --content-width: 75rem;
    --text-small: var(--font-size-1);
    --text-body: var(--font-size-2);
    --text-heading: clamp(var(--font-size-4), 2.5vw, var(--font-size-5));
    --text-display: var(--font-size-fluid-2);
    --font-body: "PingFang SC", "Microsoft YaHei", var(--font-sans);
    --font-heading: "Songti SC", "Noto Serif CJK SC", "SimSun", var(--font-serif);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--plum); outline-offset: 6px; }
p { line-height: 1.85; font-kerning: normal; margin-bottom: var(--space-lg); }
h1, h2, p { margin-top: 0; }
h2 { font-family: var(--font-heading); font-weight: 400; color: var(--plum); line-height: 1.4; margin-bottom: var(--space-md); text-wrap: balance; }
.site-header, .hero-copy, .topics, .section-width { width: min(var(--content-width), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
nav, .button, .eyebrow, .text-link, .social-links { font-family: var(--font-body); }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 10; padding: 12px; background: var(--ivory); }
.skip-link:focus { top: 10px; }
.site-header { min-height: 104px; padding: var(--space-md) 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 235px; height: auto; }
nav { display: flex; gap: clamp(20px, 3vw, 48px); align-items: center; }
nav a { font-size: var(--text-small); letter-spacing: 2px; white-space: nowrap; padding: 10px 0; border-bottom: 1px solid transparent; }
nav a:hover, nav a[aria-current] { color: var(--plum); border-color: var(--plum); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: var(--space-lg); min-height: 44px; padding: var(--space-sm) var(--space-xl); border-radius: var(--radius-round); background: var(--plum); color: #fff9ef; font-size: var(--text-small); letter-spacing: .06em; transition: background .2s var(--ease-2); }
.button:hover { background: #642b46; }
.header-cta { white-space: nowrap; background: transparent; color: var(--plum); border: 1px solid var(--line); }
.header-cta:hover { background: var(--paper); }
.hero { position: relative; min-height: 0; overflow: hidden; background: #fff5ed; }
.hero-photo { position: absolute; width: 100%; height: 100%; right: 0; top: 0; object-fit: cover; object-position: 75% center; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #20151c99 0%, #20151c66 30%, #20151c1a 48%, transparent 62%); }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: clamp(30rem, 49vw, 36rem); padding: var(--space-section) 0; }
.hero-copy h1 { margin: 0 0 24px; line-height: 0; }
.hero-copy .button { background: #ce98a4; color: #40353b; }
.hero-copy .button:hover { background: #c38996; }
.hero-signature { width: min(360px, 36vw); }
.hero-title-art { display: block; width: 100%; height: auto; filter: drop-shadow(.4px 0 0 white) drop-shadow(-.4px 0 0 white) drop-shadow(0 .3px 0 white) drop-shadow(0 1px 3px #412b2799); }
.hero-name { position: absolute; right: 0; bottom: 47%; width: min(165px, 17vw); color: rgb(48.2% 25.1% 33.7%); }
.hero-name-art { display: block; background: currentColor; mask: url("hero-handwritten-signature.png") center / contain no-repeat; }
.hero-author { display: block; width: 85px; max-width: 55%; margin: -18px -10px 0 auto; background: currentColor; mask: url("hero-author-signature.png") center / contain no-repeat; }
.hero-tagline { color: white; font-family: var(--font-heading); font-size: 1rem; letter-spacing: .25em; text-shadow: 0 1px 3px #412b2799; margin-bottom: var(--space-xl); }
.hero-name img { display: block; width: 100%; height: auto; opacity: 0; }
.botanical { fill: #c78c9c20; stroke: #c78c9c70; stroke-width: 1; width: 120px; height: 220px; pointer-events: none; }
.hero-leaf { position: absolute; left: -42px; bottom: -20px; transform: rotate(-35deg); z-index: 1; }
.topics { display: grid; grid-template-columns: repeat(5, 1fr); padding: var(--space-panel) 0; }
.topic { text-align: center; position: relative; padding: 0 12px; }
.topic + .topic:before { content: ""; position: absolute; left: 0; top: 15px; bottom: 12px; width: 1px; background: var(--line); }
.topic-icon { display: grid; place-items: center; border-radius: 50%; background: #f3e3e9; width: 64px; height: 64px; margin: 0 auto var(--space-md); transition: transform .2s var(--ease-2); }
.topic:hover .topic-icon { transform: translateY(-4px); }
.topic:nth-child(2) .topic-icon { background: #f0dce2; }
.topic:nth-child(3) .topic-icon { background: #f4e8dc; }
.topic:nth-child(4) .topic-icon { background: #e9ecdf; }
.topic:nth-child(4) svg { stroke: #626d48; }
.topic:nth-child(5) .topic-icon { background: #eee8df; }
.topic svg { width: 32px; height: 32px; fill: none; stroke: var(--plum); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.topic h2 { color: var(--ink); font-size: 17px; letter-spacing: .1em; margin: 0 0 4px; }
.topic p { color: var(--muted); font-size: var(--text-small); letter-spacing: 0; line-height: 1.7; margin: 0; }
.about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: var(--space-panel); padding-block: var(--space-lg); }
.story-panel { position: relative; aspect-ratio: 3 / 2; min-height: 0; background: #e8d4bc; }
.story-panel .story-photo { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center; }
.about-copy { padding: var(--space-lg) 0; }
.eyebrow { font-size: 12px; letter-spacing: .16em; margin-bottom: var(--space-md); color: var(--muted); }
.about-copy h2 { font-size: var(--text-display); line-height: 1.25; letter-spacing: 3px; margin-bottom: var(--space-lg); }
.rule { width: 30px; height: 2px; background: var(--gold); display: block; margin-bottom: 14px; }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: var(--text-body); max-width: 30em; margin-bottom: var(--space-md); }
.text-link { display: inline-block; padding: var(--space-xs) 0; color: var(--muted); font-size: var(--text-small); border-bottom: 1px solid var(--rose); }
.text-link:hover { color: var(--plum); border-color: var(--plum); }
.text-link span { margin-left: 15px; color: var(--plum); }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-grid); padding: var(--space-section) 0; }
.notes article { min-width: 0; }
.notes-photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: var(--space-lg); }
.notes h2 { font-size: var(--text-heading); }
.notes p:not(.eyebrow) { color: var(--muted); font-size: var(--text-body); max-width: 30em; }
/* The book is the final feature: a quiet image plate beside a larger title. */
.book-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: var(--space-section); padding-block: var(--space-panel); border-block: 1px solid var(--line); }
.book-visual { margin: 0; padding: var(--space-panel); display: grid; place-items: center; background: var(--paper); }
.book-section img { display: block; width: min(100%, 260px); height: auto; }
.book-copy { padding-block: var(--space-lg); }
.book-section h2 { font-size: var(--font-size-fluid-3); line-height: 1.3; letter-spacing: .06em; margin-bottom: var(--space-md); }
.book-section p { color: var(--muted); font-size: var(--text-body); }
.book-section .book-subtitle { font-family: Georgia, serif; font-size: 1rem; font-style: italic; letter-spacing: .025em; margin-bottom: var(--space-xl); }
.book-section .eyebrow { font-size: .75rem; }
.book-copy .button { margin-top: var(--space-xs); }
.connect { position: relative; overflow: hidden; text-align: center; padding: var(--space-section) 0; }
.connect .botanical { position: absolute; left: 3%; bottom: -50px; transform: rotate(-25deg); opacity: .6; }
.connect h2 { font-size: var(--text-heading); letter-spacing: 2px; }
.connect > p:not(.eyebrow) { color: var(--muted); font-size: var(--text-body); }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-xl); margin-top: var(--space-lg); font-size: var(--text-small); color: var(--muted); }
.social-links a:hover, footer a:hover { text-decoration: underline; }
.footer-logo { display: block; width: 180px; height: auto; }
footer { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--space-lg); padding: var(--space-lg) 0; font-size: 12px; color: var(--muted); letter-spacing: 2px; }
@media (max-width: 1000px) {
    .site-header { flex-wrap: wrap; gap: var(--space-sm); padding: var(--space-md) 0; }
    nav { order: 3; width: 100%; justify-content: center; gap: 6vw; }
    .hero-photo { width: 100%; }
}
@media (max-width: 1000px) {
    .about { grid-template-columns: 1fr; gap: 0; }
    .about-copy { max-width: 32rem; padding: var(--space-xl) 0 0; }
    .notes { gap: var(--space-grid); }
}
@media (max-width: 600px) {
    .brand img { width: 180px; }
    .footer-logo { width: 140px; }
    .header-cta { font-size: 12px; padding: 11px 17px; gap: 12px; }
    nav { gap: 0; justify-content: space-between; }
    nav a { font-size: 12px; letter-spacing: 1px; }
    .hero { padding-bottom: 360px; }
    .hero::after { bottom: 360px; background: linear-gradient(90deg, #20151c99, #20151c80); }
    .hero-photo { width: 100%; height: 360px; top: auto; bottom: 0; object-position: 76% center; }
    .hero-copy { min-height: 0; padding: var(--space-xl) 0; }
    .hero-copy h1 { margin-bottom: 18px; }
    .hero-signature { width: min(320px, 100%); }
    .hero-name { position: relative; right: auto; bottom: auto; width: min(165px, 100%); margin-bottom: var(--space-lg); }

    .hero-leaf { display: none; }
    .topics { grid-template-columns: 1fr; padding: var(--space-xl) 0; gap: var(--space-md); }
    .topic { display: grid; grid-template-columns: var(--size-8) 1fr; column-gap: var(--space-md); text-align: left; padding: 0; }
    .topic-icon { grid-row: span 2; margin: 0; }
    .topic + .topic:before { display: none; }
    .topic p br { display: none; }
    .topic-icon { width: var(--size-8); height: var(--size-8); }
    .notes { grid-template-columns: 1fr; gap: var(--space-section); }
    .notes article + article { padding: var(--space-xl) 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .notes-photo { aspect-ratio: 16 / 9; }
    .notes-photo { margin-bottom: var(--space-lg); }
    .book-section { grid-template-columns: 1fr; gap: var(--space-xl); }
    .book-visual { padding: var(--space-xl); }
    .book-section img { max-width: 220px; }
    .book-copy { padding: 0 0 var(--space-lg); }
    .social-links { gap: var(--space-lg); }
    footer { flex-wrap: wrap; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
