/* White Coat Unheard: site styles.
   Colours and fonts live in :root so they are easy to change in one place. */

:root {
  color-scheme: light;
  --paper: #F4F1E8;
  --paper-light: #FAF8F2;
  --sky-1: #E6EFEA;
  --sky-2: #EEF1E6;
  --warm: #F3E9D2;
  --sun: #F6E3A6;
  --ink: #22302A;
  --ink-soft: #3F5048;
  --muted: #4E5F55;
  --line: #B9C4BB;
  --green: #2E5A43;
  --green-dark: #1F4231;
  --on-green: #F7F4EC;
  --sample-bg: #FBE7D6;
  --sample-ink: #7A3410;
  --glass: rgba(255, 255, 255, 0.65);
  --white: #FFFFFF;
  --footer: #2C4636;
  --footer-ink: #DCE6DA;

  --logo-green: #1A1A1A;
  --logo-gold: #B8902F;
  --logo-gold-text: #2E7D22;
  --font-logo: "Montserrat", "Arial Black", Arial, sans-serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;
  --font-display: "Fraunces", Georgia, "Noto Serif SC", "Songti SC", serif;
  --font-body: "Figtree", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;

  --radius-l: 28px;
  --radius-m: 20px;
  --space-section: clamp(72px, 10vw, 120px);
  --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
}

:lang(zh-Hans) body, html:lang(zh-Hans) { line-height: 1.85; }

img, svg { max-width: 100%; }

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.display {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 400;
  letter-spacing: -0.015em;
}

h1, h2, h3 { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 600; color: var(--green-dark); line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
html:lang(zh-Hans) h1, html:lang(zh-Hans) h2, html:lang(zh-Hans) h3 { font-family: "Noto Serif SC", "Songti SC", serif; letter-spacing: 0; line-height: 1.3; font-weight: 700; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 720px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 17px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background-color 0.15s ease;
}
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { background: var(--green-dark); color: var(--on-green); }
.btn-glass { background: var(--glass); border-color: var(--white); color: var(--ink); }
.btn-glass:hover { background: var(--white); color: var(--ink); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.link-strong { font-weight: 600; }

.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,0.75); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.pill-sample { background: var(--sample-bg); color: var(--sample-ink); }
.sample-inline { color: var(--sample-ink); font-weight: 600; }
.sample-bar { background: var(--sample-bg); color: #6E2E0C; text-align: center; font-size: 15px; font-weight: 600; padding: 10px var(--gutter); }

/* ---------- Page backgrounds ---------- */
.sky-top { background: linear-gradient(180deg, var(--sky-1) 0px, var(--sky-2) 520px, var(--paper) 900px) no-repeat, var(--paper); }
.about-page { background: var(--paper-light); }

/* ---------- Header ---------- */
.site-header { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { flex-shrink: 0; }
.wordmark { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; line-height: 1; }
.wm-1 { font-family: var(--font-logo); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; color: var(--logo-green); }
.wm-2 { font-family: var(--font-logo); font-style: italic; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; color: var(--logo-gold-text); }
.brand-on-dark .wm-1 { color: #F7F4EC; }
.brand-on-dark .wm-2 { color: #A8D96E; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 16px; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav-links a[aria-current="page"] { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.lang-switch { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--white); }
.lang-switch a { padding: 5px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; }
.lang-switch a[aria-current="true"] { background: var(--green); color: var(--on-green); font-weight: 600; }

.menu { display: none; }
@media (max-width: 1080px) {
  .site-header { padding-top: 10px; padding-bottom: 10px; }
  .site-header .nav-links { display: none; }
  .menu { display: block; }
  .menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--white); font-weight: 600; font-size: 15px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .menu-panel { display: flex; }
  .menu-panel { display: none; flex-direction: column; gap: 2px; position: absolute; left: var(--gutter); right: var(--gutter); margin-top: 10px; padding: 14px; border-radius: var(--radius-m); background: var(--white); box-shadow: 0 20px 50px -20px rgba(34,48,42,0.35); z-index: 20; }
  .menu-panel a { color: var(--ink); text-decoration: none; padding: 12px 10px; border-radius: 12px; }
  .menu-panel a:hover { background: var(--sky-1); }
  .menu-panel .lang-switch { align-self: flex-start; margin: 8px 0 4px 6px; background: var(--sky-1); }
  .site-header { flex-wrap: nowrap; gap: 10px; }
  .site-header .brand { gap: 7px; min-width: 0; }
  .site-header .logo-mark { width: 50px; height: 32px; }
  .site-header .wordmark { gap: 4px; }
  .site-header .wm-1 { font-size: 16px; }
  .site-header .wm-2 { font-size: 16px; }
  .menu summary { padding: 0 12px; }
}

@media (max-width: 359px) {
  .site-header .logo-mark { width: 41px; height: 26px; }
  .site-header .wm-1 { font-size: 14px; }
  .site-header .wm-2 { font-size: 14px; }
  .menu summary { padding: 0 10px; font-size: 14px; }
}
@media (max-width: 400px) {
  .site-footer .logo-mark { width: 56px; height: 36px; }
  .site-footer .wm-1 { font-size: 17px; }
  .site-footer .wm-2 { font-size: 17px; }
  .footer-brand .brand { flex-wrap: wrap; }
}

/* ---------- Home hero ---------- */
.sky { background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--paper) 100%); overflow: hidden; position: relative; }
.hero { overflow: hidden; position: relative; }
.leaves { display: none; }
.hero-text { max-width: 900px; margin: 0 auto; padding: 56px var(--gutter) 8px; text-align: center; position: relative; }
.hero-text::before { content: ""; position: absolute; left: 50%; top: 0; width: 420px; height: 420px; margin-left: -210px; border-radius: 50%; background: var(--sun); opacity: 0.45; z-index: 0; }
.hero-text > * { position: relative; }
.hero-text h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; margin-bottom: 22px; text-wrap: balance; }
.hero-text p { margin: 0 auto 32px; max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); }
.hero-text .btn-row { justify-content: center; }
.hero-text h1 .h-line { display: inline-block; }
/* Chinese has no spaces to break at, so size the headline to keep each line whole */
html:lang(zh-Hans) .hero-text h1 { font-size: clamp(24px, 7.6vw, 72px); line-height: 1.3; }
.hero-text .about-hint { margin: 22px auto 0; font-size: 16px; }
.hero-text .about-hint a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--logo-gold); text-underline-offset: 5px; }
.hero-text .about-hint a:hover { color: var(--green); }

/* "Why I made this place" note on the home page, drawn in the About page's line style */
.home-note { background: var(--paper-light); border: 1px solid #E4E1D6; border-radius: 32px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px 48px; align-items: center; }
.sitting-art { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.home-note-art .sitting-art { max-width: 320px; }
.home-note h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 14px; }
.home-note p { margin: 0 0 24px; max-width: 34em; color: var(--ink-soft); font-size: 19px; }
.forest-scene { display: block; width: 100%; height: auto; margin-top: -10px; }
.forest-scene .label rect { fill: #FFFFFF; fill-opacity: 0.72; stroke: #FFFFFF; }
.forest-scene .label text { font-family: var(--font-body); font-size: 16px; fill: var(--ink); }
.forest-scene .label:hover rect, .forest-scene .label:focus rect { fill-opacity: 1; }

@media (max-width: 640px) {
  .hero-text { padding-top: 32px; }
  .hero-text .btn-row { flex-direction: column; align-items: stretch; }
  .forest-scene .label, .forest-scene .hint { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 48px; }
.section-head > div { max-width: 560px; }
.section-head h2, .section-title { font-size: clamp(34px, 4.2vw, 52px); margin-bottom: 12px; }
.section-head p { margin: 0; color: var(--ink-soft); }

.legend { margin: 0; padding: 14px 20px; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: var(--ink-soft); background: var(--glass); border: 1px solid var(--white); border-radius: var(--radius-m); }
.legend li { display: flex; align-items: center; gap: 6px; }

/* ---------- Story cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px; align-items: start; }
.card { background: var(--white); border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 1px 2px rgba(34,48,42,0.06); }
.card-art { position: relative; height: 300px; }
.card-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.card-art .pill { position: absolute; top: 18px; left: 18px; z-index: 1; }
.card-art .pill:not(.pill-sample) { max-width: calc(100% - 130px); }
.card-art .pill-sample { left: auto; right: 18px; }
.card-body { padding: 26px 28px 30px; }
.card-body h3 { font-size: 26px; line-height: 1.2; margin-bottom: 10px; font-weight: 600; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; }
.card-body p { margin: 0 0 16px; font-size: 16px; color: var(--ink-soft); }
.art-olive { background: linear-gradient(180deg, #E4EDE6 0%, #EEF0E2 100%); }
.art-cypress { background: linear-gradient(180deg, #DDE7E6 0%, #E9EEE6 100%); }
.art-sunflower { background: linear-gradient(180deg, #F3EBD6 0%, #F1EEE2 100%); }
.art-blossom { background: linear-gradient(180deg, #F2E6E3 0%, #F1EEE6 100%); }
.art-seedling { background: linear-gradient(180deg, #E8F0E2 0%, #F1EEE2 100%); }
.art-fern { background: linear-gradient(180deg, #E3EAE4 0%, #EFEFE6 100%); }

/* ---------- Plant (share) section ---------- */
.warm { background: linear-gradient(180deg, var(--paper) 0%, var(--warm) 100%); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.split-top { align-items: start; }
.split h2 { font-size: clamp(34px, 4.2vw, 52px); margin-bottom: 16px; }
.split p { max-width: 32em; color: var(--ink-soft); }

.form-card { background: rgba(255,255,255,0.75); border: 1px solid var(--white); border-radius: 32px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; box-shadow: 0 20px 50px -30px rgba(80,70,40,0.35); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend, fieldset legend { font-weight: 600; }
.hint { font-weight: 400; color: var(--muted); font-size: 15px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 16px; min-height: 50px; width: 100%;
}
.field textarea { line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 3px solid rgba(46,90,67,0.25); outline-offset: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 16px; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--green); background: #E4EDE6; }
.chip input { accent-color: var(--green); width: 18px; height: 18px; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); }
.check input { accent-color: var(--green); width: 20px; height: 20px; margin-top: 4px; flex-shrink: 0; }
.form-note { margin: 0; font-size: 15px; color: var(--muted); }
.hidden-field { display: none; }

/* ---------- Another path ---------- */
.path-art { display: block; width: 100%; height: auto; border-radius: 32px; background: linear-gradient(180deg, #E3ECEE 0%, #F2EEDF 100%); }

/* ---------- Perspectives ---------- */
.air-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.air-card { background: var(--white); border-radius: 24px; padding: 28px 30px; display: flex; gap: 20px; align-items: flex-start; }
.air-card h3 { font-size: 23px; line-height: 1.25; margin-bottom: 8px; font-weight: 600; }
.air-card h3 a { color: var(--ink); text-decoration: none; }
.air-card h3 a:hover { text-decoration: underline; }
.air-card p { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--footer-ink); margin-top: 0; }
.site-footer .wave { display: block; width: 100%; height: 60px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-top: 24px; padding-bottom: 48px; font-size: 16px; }
.footer-inner p { margin: 0; max-width: 34em; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand { margin-bottom: 4px; }
.footer-tag { color: #A8D96E; font-size: 15px; }
.footer-tag span { margin-left: 10px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-inner a { color: #FFFFFF; padding: 6px 0; }

/* ---------- Story and article pages ---------- */
.story-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: end; padding-top: 24px; }
.story-hero .text { padding-bottom: 72px; }
.crumb { margin: 0 0 18px; font-size: 16px; color: var(--ink-soft); }
.story-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.06; margin-bottom: 22px; text-wrap: balance; }
.meta { margin: 0; font-size: 16px; color: var(--ink-soft); }
.story-hero svg { display: block; width: 100%; height: auto; }
@media (max-width: 920px) { .story-hero .text { padding-bottom: 0; } }

.short-answer { background: rgba(255,255,255,0.78); border: 1px solid var(--white); border-radius: var(--radius-l); padding: 30px 34px; box-shadow: 0 20px 50px -34px rgba(40,70,50,0.4); }
.short-answer h2 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.short-answer p { margin: 0; font-size: 20px; line-height: 1.6; }

.prose { padding-top: 72px; padding-bottom: 24px; font-size: 19px; line-height: 1.75; }
html:lang(zh-Hans) .prose { line-height: 1.95; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 22px; }
.prose blockquote { margin: 32px 0 40px; padding: 36px; border-radius: var(--radius-l); background: linear-gradient(180deg, #E4EDE6 0%, #EEF0E2 100%); font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; }
.prose blockquote p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 22px; }
.prose li { margin-bottom: 8px; }

.cta-box { border-radius: 36px; background: linear-gradient(180deg, var(--paper) 0%, var(--warm) 100%); border: 1px solid #EADFC6; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; align-items: center; }
.cta-box h2 { font-size: clamp(30px, 3.5vw, 42px); margin-bottom: 14px; }
.cta-box p { color: var(--ink-soft); }

.nearby { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.nearby a { display: flex; gap: 20px; align-items: center; background: var(--white); border-radius: 24px; padding: 18px; text-decoration: none; color: var(--ink); }
.nearby a:hover .t { text-decoration: underline; }
.nearby .art { width: 96px; height: 110px; flex-shrink: 0; border-radius: 16px; position: relative; overflow: hidden; }
.nearby .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nearby .r { display: block; font-size: 14px; color: var(--ink-soft); }
.nearby .t { display: block; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 22px; line-height: 1.25; }

.source-box { margin: 8px 0 40px; padding: 20px 24px; border-radius: var(--radius-m); background: var(--white); font-size: 16px; }
.source-box strong { display: block; }
.source-list { margin: 8px 0 0; padding-left: 1.1em; }
.source-list li { margin: 4px 0; }

/* ---------- Simple pages ---------- */
.page-hero { padding-top: 40px; padding-bottom: 40px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.06; margin-bottom: 18px; text-wrap: balance; }
.page-hero p { max-width: 34em; font-size: 20px; color: var(--ink-soft); margin: 0; }
.page-hero p.intro-lines { max-width: none; }
.page-hero-art { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: center; }

.faq-list { padding-top: 32px; }
.faq-item { background: var(--white); border-radius: 24px; padding: 28px 30px; margin-bottom: 18px; }
.faq-item h2 { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.25; margin-bottom: 10px; font-weight: 600; }
.faq-item p { margin: 0; color: var(--ink-soft); }

.path-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.path-list li { background: var(--white); border-radius: 24px; padding: 24px 26px; }
.path-list h2 { font-size: 23px; font-weight: 600; margin-bottom: 6px; }
.path-list p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.path-hero-img { display: block; width: 100%; height: auto; border-radius: 32px; background: #FCF9F3; }
.path-figure { margin: 8px 0 28px; }
.path-figure img { display: block; width: 100%; max-width: 480px; height: auto; border-radius: 24px; margin: 0 auto; }
.path-list li { display: flex; flex-direction: column; }
.path-card-img { display: block; width: 100%; height: auto; aspect-ratio: 300 / 194; object-fit: cover; border-radius: 16px; margin-bottom: 16px; }

/* ---------- About page: line-art sketchbook ---------- */
.about-page { background: var(--paper-light); }
.about-page .lang-switch { background: var(--white); border-color: #E4E1D6; }
.signature { margin: 8px 0 0; text-align: right; font-family: var(--font-display); font-style: italic; font-size: 26px; color: var(--logo-gold-text); letter-spacing: 0.04em; }
.sample-note { margin: 0 0 56px; padding: 10px 16px; border: 1px dashed #8A3B12; color: var(--sample-ink); font-size: 15px; }
.promises { list-style: none; margin: 16px 0 96px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 28px; }
.promises p { margin: 0; }
.promises li { border-top: 3px solid #A3C48C; padding-top: 14px; }
.promises .h { margin-top: 0; font-weight: 600; }
.promises .d { font-size: 16px; color: var(--ink-soft); }
.line-divider { display: block; width: 100%; height: auto; margin: 32px 0 72px; }
.end-row { border-top: 1.5px solid var(--ink); padding-top: 56px; }

/* ---------- Thanks page ---------- */
.thanks { text-align: center; padding-top: 48px; padding-bottom: var(--space-section); }
.thanks svg { width: 200px; height: auto; margin: 0 auto 24px; display: block; }
.thanks h1 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 16px; }
.thanks p { max-width: 32em; margin: 0 auto 28px; color: var(--ink-soft); }

/* ---------- Plant animation overlay (shown after "Plant my story") ---------- */
.plant-overlay { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: rgba(244, 241, 232, 0.94); opacity: 0; transition: opacity 0.35s ease; }
.plant-overlay.on { opacity: 1; }
.plant-overlay svg { width: 220px; height: auto; }
.plant-overlay p { margin: 0; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 26px; color: var(--ink); }

/* ---------- Effects ----------
   All movement lives inside this block, so visitors who ask their phone or
   computer to reduce motion see a calm, still page. To remove one effect,
   delete its lines here. */
@media (prefers-reduced-motion: no-preference) {

  /* 1. Trees sway gently in the breeze */
  .sway, .sway-hover, .pulse, .grow { transform-box: fill-box; transform-origin: 50% 100%; }
  .sway { animation: sway 7s ease-in-out infinite; }
  .sway.s2 { animation-duration: 8.5s; animation-delay: -3s; }
  .sway.s3 { animation-duration: 6s; animation-delay: -1.5s; }
  .sway.s4 { animation-duration: 9.5s; animation-delay: -5s; }
  @keyframes sway { 0%, 100% { transform: rotate(-1.1deg); } 50% { transform: rotate(1.1deg); } }

  /* 2. Pointing at a tree, its label or its story card makes it wiggle */
  .forest-scene [class^="tree-"]:hover .sway,
  .forest-scene:has(.label-1:hover, .label-1:focus) .tree-1 .sway,
  .forest-scene:has(.label-2:hover, .label-2:focus) .tree-2 .sway,
  .forest-scene:has(.label-3:hover, .label-3:focus) .tree-3 .sway,
  .card:hover .sway-hover, .card:focus-within .sway-hover { animation: wiggle 1.2s ease-in-out infinite; }
  @keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
  .forest-scene .label rect { transition: fill-opacity 0.2s ease; }

  /* 3. Water drips from the watering can, and the seedling breathes */
  .drop { animation: drip 1.8s ease-in infinite; }
  .drop.d2 { animation-delay: 0.6s; }
  .drop.d3 { animation-delay: 1.2s; }
  @keyframes drip { 0% { transform: translateY(-10px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
  .pulse { animation: breathe 4s ease-in-out infinite; }
  @keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

  /* 4. A few leaves and petals drift down through the sky */
  .leaves { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
  .leaf { position: absolute; top: -30px; opacity: 0; animation: fall 20s linear infinite; }
  .leaf.l1 { left: 12%; animation-delay: 0s; }
  .leaf.l2 { left: 78%; animation-duration: 24s; animation-delay: -8s; }
  .leaf.l3 { left: 34%; animation-duration: 26s; animation-delay: -15s; }
  .leaf.l4 { left: 62%; animation-duration: 22s; animation-delay: -4s; }
  .leaf.l5 { left: 90%; animation-duration: 28s; animation-delay: -19s; }
  @keyframes fall {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    8% { opacity: 0.9; }
    30% { transform: translate(40px, 180px) rotate(80deg); }
    55% { transform: translate(-20px, 340px) rotate(170deg); }
    80% { transform: translate(30px, 500px) rotate(260deg); opacity: 0.8; }
    100% { transform: translate(0, 620px) rotate(330deg); opacity: 0; }
  }
  @media (max-width: 640px) { .leaf.l2, .leaf.l5 { display: none; } }

  /* 5. Story trees grow from small as they scroll into view
        (only once effects.js has loaded, so nothing stays hidden without it) */
  .fx [data-grow] .grow { transform: scale(0.35); opacity: 0; transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease; }
  .fx [data-grow].is-visible .grow { transform: scale(1); opacity: 1; }

  /* 6. The planting animation after sending a story */
  .plant-overlay .seed { animation: seed-drop 0.55s cubic-bezier(0.5, 0, 0.7, 1) both; }
  .plant-overlay .stem { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 0.6s 0.55s ease-out forwards; }
  .plant-overlay .leaf-l, .plant-overlay .leaf-r { transform-box: fill-box; transform: scale(0); animation: pop 0.45s ease-out forwards; }
  .plant-overlay .leaf-l { transform-origin: 100% 50%; animation-delay: 1.05s; }
  .plant-overlay .leaf-r { transform-origin: 0% 50%; animation-delay: 1.25s; }
  @keyframes seed-drop { from { transform: translateY(-120px); } to { transform: translateY(0); } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes pop { to { transform: scale(1); } }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* About page: the owner's own picture inside the letter */
.about-figure { margin: 8px auto 28px; max-width: 460px; }
.about-figure.wide { max-width: none; margin: 16px -12px 32px; }
.about-figure img, .end-art { display: block; width: 100%; height: auto; }
.prose ul:not(.promises) { padding-left: 1.2em; margin: 0 0 24px; }
.prose ul:not(.promises) li { margin-bottom: 12px; }

/* ---------- About letter: clear sections, bold headings ---------- */
.about-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.1; margin-bottom: 20px; font-weight: 600; color: var(--green-dark); }
.about-letter .short-answer { margin-bottom: 8px; }
.about-letter .short-answer h2 { font-weight: 600; color: var(--green); font-size: 22px; }
.about-section { position: relative; margin-top: 64px; padding-top: 64px; border-top: 1px solid #D8E0D2; }
.about-section::before { content: ""; position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; margin-left: -6px; border-radius: 50%; background: #A3C48C; box-shadow: -22px 0 0 -2px #D7E9D4, 22px 0 0 -2px #D7E9D4; }
.about-section h2 { margin: 0 0 24px; font-size: clamp(27px, 3.2vw, 36px); line-height: 1.25; font-weight: 600; color: var(--green-dark); }
.about-section blockquote { padding: 28px 32px; border-left: 5px solid #8DB07A; border-radius: 6px var(--radius-l) var(--radius-l) 6px; }
.about-list { list-style: none; counter-reset: road; padding: 0; margin: 8px 0 28px; display: grid; gap: 14px; }
.about-list li { counter-increment: road; position: relative; margin: 0; padding: 18px 22px 18px 66px; background: var(--white); border: 1px solid #E3E8DE; border-radius: var(--radius-m); box-shadow: 0 14px 34px -28px rgba(40,70,50,0.45); }
.about-list li::before { content: counter(road); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: #D7E9D4; color: var(--green-dark); font-weight: 700; font-size: 15px; line-height: 30px; text-align: center; font-family: var(--font-body); }
.about-list strong { color: var(--green-dark); }
.about-letter .signature { margin-top: 40px; padding-top: 28px; border-top: 1px solid #D8E0D2; }
.about-end-title, .split h2.about-end-title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; font-weight: 600; color: var(--green-dark); }
html:lang(zh-Hans) .about-title, html:lang(zh-Hans) .about-section h2, html:lang(zh-Hans) .about-end-title { font-family: "Noto Serif SC", "Songti SC", serif; font-weight: 700; letter-spacing: 0; }
@media (max-width: 520px) {
  .about-section { margin-top: 48px; padding-top: 48px; }
  .about-section blockquote { padding: 22px 20px; }
  .about-list li { padding: 16px 16px 16px 58px; }
  .about-list li::before { left: 16px; }
}

/* Published / updated dates under story and perspective titles */
.meta-dates { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; }
/* About: editorial team note */
.editorial-note { margin: 40px 0 0; padding: 22px 26px; border-radius: var(--radius-m); background: var(--white); border: 1px solid #E3E8DE; }
.editorial-note h2 { font-size: 20px; margin: 0 0 6px; }
.editorial-note p { margin: 0; font-size: 16px; color: var(--ink-soft); line-height: 1.7; }

/* FAQ: link from an answer to the story or article behind it */
.faq-link { margin: -4px 0 0; font-size: 16px; }
@media (min-width: 640px) { html:lang(zh-Hans) .about-end-title { white-space: nowrap; } }
.faq-disclaimer { margin-top: 28px; background: var(--white); border-left: 4px solid var(--green); border-radius: 16px; padding: 20px 24px; }
.page-hero .faq-disclaimer p { font-size: 16px; max-width: none; color: var(--ink); margin: 0 0 10px; }
.page-hero .faq-disclaimer p.faq-sources-title { font-weight: 600; color: var(--green-dark); margin: 14px 0 6px; }
.faq-disclaimer ul { margin: 0; padding-left: 20px; font-size: 15px; columns: 2 240px; column-gap: 24px; }
.faq-disclaimer li { margin: 2px 0; break-inside: avoid; }
.faq-disclaimer a { color: var(--green-dark); }
