@charset "UTF-8";
* { box-sizing: border-box; }
html { background: #fff; color-scheme: light; scroll-padding-top: 32px; }
body { margin: 0; background: #fff; color: #111; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 6px; }
a:focus-visible { outline: 2px solid #111; outline-offset: 6px; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.header { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid #e5e5e5; }
.brand { font-size: 25px; letter-spacing: -.7px; }
.hero-name { white-space: nowrap; }
nav { display: flex; gap: 36px; font-size: 14px; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 70px; padding-block: 157px 141px; }
.label { margin: 0 0 28px; font-size: 14px; letter-spacing: 1px; color: #666; }
h1 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 56px); white-space: nowrap; line-height: 1.3; font-weight: 500; letter-spacing: -3px; }
.description { margin: 0; color: #555; font-size: 16px; line-height: 2; }
.text-link { display: inline-block; margin-top: 28px; padding-bottom: 5px; font-size: 16px; border-bottom: 1px solid #111; }
.text-link:hover { text-decoration: none; }
.intro-panel { padding: 42px 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.intro-panel .label { margin-bottom: 38px; }
.intro-name { font-size: clamp(32px, 4.5vw, 60px); letter-spacing: -2px; line-height: 1.2; margin: 0 0 24px; overflow-wrap: anywhere; }
.about { padding-block: 134px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.section-label { margin: 0; text-align: left; font-size: 25px; font-weight: 400; letter-spacing: -.7px; }
.about-body { text-align: left; }
.about h3 { font-size: 24px; font-weight: 400; line-height: 1.7; margin: 0; }
.about p { margin: 0; font-size: 16px; line-height: 2; color: #555; }
.notes { padding-block: 127px; }
.notes h2, .thoughts h2, .hello h2 { font-size: 26px; font-weight: 400; margin: 0; line-height: 1.5; }
.note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 80px; max-width: 1120px; margin: 28px auto 0; }
.note-grid article { padding-top: 22px; min-width: 0; text-align: center; }
.note-grid h3 { font-size: 18px; font-weight: 400; margin: 0 0 12px; }
.note-grid p, .hello p { font-size: 16px; line-height: 1.8; margin: 0; color: #555; }
.hello { padding: 127px 42px 117px; }
.hello p { margin-top: 0; line-height: 2; }
.hello h2 + p { margin-top: 12px; }
footer { display: flex; justify-content: flex-end; gap: 20px; padding-block: 32px; font-size: 14px; color: #555; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 32px; }
  .intro-panel { padding: 30px 0; }
  .about { gap: 16px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 40px); }
  .header { min-height: 96px; flex-wrap: wrap; gap: 16px; padding-block: 20px; }
  .brand, .section-label { font-size: 22px; }
  nav { gap: 24px; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding-block: 113px 109px; gap: 36px; }
  h1 { font-size: clamp(24px, 7vw, 44px); letter-spacing: -1px; }
  .intro-panel { padding: 28px 0; }
  .intro-panel .label { margin-bottom: 24px; }
  .intro-name { font-size: 42px; }
  .about { padding-block: 108px; }
  .about-body { grid-template-columns: 1fr; gap: 20px; }
  .about h3 { font-size: 22px; }
  .notes { padding-block: 107px 105px; }
  .note-grid { grid-template-columns: 1fr; gap: 26px; }
  .hello { padding: 105px 28px 101px; }
  .hello h2 { font-size: 24px; }
}

/* Full-width dividers; the text stays aligned with the original content. */
.header.wrap, main > section.wrap {
  width: 100%;
  padding-inline: max(56px, calc((100% - 1240px) / 2));
}
main > section + section { border-top: 1px solid #e5e5e5; }
@media (max-width: 1000px) {
  .header.wrap, main > section.wrap { padding-inline: 32px; }
}
@media (max-width: 650px) {
  .header.wrap, main > section.wrap { padding-inline: 20px; }
}

.motto { margin: 0; font-size: 16px; white-space: normal; text-wrap: pretty; font-weight: 400; line-height: 2; letter-spacing: 0; }

.hero { grid-template-columns: 1fr; gap: 0; }
.hero-copy { text-align: center; }
.hero-copy .motto { margin-top: 20px; }
.hero-copy h1, .hero-copy .description { padding-inline: 0; margin-inline: 0; }

.note-grid .milestone p { max-width: 280px; margin-inline: auto; }

.thoughts { padding-block: 127px; }
@media (max-width: 650px) {
  .thoughts { padding-block: 105px; }
  .thoughts h2 { font-size: 24px; }
}

.thought-entry { margin: 24px 0 0; max-width: 900px; font-size: 16px; line-height: 2; color: #555; overflow-wrap: anywhere; }



/* The same navigation stays available on every page. */
.header { position: sticky; top: 0; z-index: 10; background: #fff; }
html { scroll-padding-top: 130px; }
nav { align-items: center; }
.subject-tree { position: relative; }
.subject-tree summary { cursor: pointer; list-style: none; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.subject-tree summary::-webkit-details-marker { display: none; }
.subject-tree summary::after { content: ''; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.subject-tree[open] summary::after { transform: rotate(225deg) translate(-2px, -1px); }
.subject-tree summary:focus-visible { outline: 2px solid #111; outline-offset: 6px; }
.subject-menu { position: absolute; right: 0; top: calc(100% + 24px); width: 230px; padding: 12px; background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; box-shadow: 0 8px 24px #0000000d; }
.subject-menu a { display: block; padding: 14px 18px; font-size: 16px; border-radius: 6px; }
.subject-menu a:hover { background: #f5f5f5; text-decoration: none; }
.subject-page { min-height: calc(100vh - 200px); padding-block: 90px; }
.subject-path { font-size: 14px; color: #666; margin: 0 0 24px; }
.subject-empty { font-size: 16px; line-height: 2; color: #555; margin-top: 24px; }
@media (max-width: 900px) {
  .header { flex-wrap: wrap; padding-block: 22px; }
  nav { flex-wrap: wrap; gap: 20px; }
  html { scroll-padding-top: 190px; }
}
@media (max-width: 650px) {
  nav { width: 100%; gap: 16px; }
  .subject-menu { right: auto; left: 0; width: min(230px, calc(100vw - 40px)); }
  .subject-page { padding-block: 56px; }
}

.settings-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; color: #111; border-radius: 8px; }
.settings-button:disabled { opacity: 1; cursor: default; }
.settings-button svg { display: block; }
@media (max-width: 650px) { .settings-button { margin-left: auto; } }

.appearance-panel { position: absolute; right: max(56px, calc((100% - 1240px) / 2)); top: calc(100% - 12px); width: 250px; padding: 22px; background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; box-shadow: 0 8px 24px #0000000d; }
.appearance-panel[hidden] { display: none; }
.appearance-panel h2 { font-size: 18px; font-weight: 400; margin: 0 0 22px; }
.theme-option { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 16px; cursor: pointer; }
.theme-option input { width: 36px; height: 22px; accent-color: #555; cursor: pointer; }
.settings-button { cursor: pointer; }
.settings-button:hover { background: #f5f5f5; }
.settings-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
html[data-theme="dark"] { background: #181a1b; color-scheme: dark; }
html[data-theme="dark"] body, html[data-theme="dark"] .header, html[data-theme="dark"] .subject-menu, html[data-theme="dark"] .appearance-panel { background: #181a1b; color: #e1dfda; }
html[data-theme="dark"] .description, html[data-theme="dark"] .about p, html[data-theme="dark"] .note-grid p, html[data-theme="dark"] .hello p, html[data-theme="dark"] .thought-entry, html[data-theme="dark"] footer, html[data-theme="dark"] .subject-empty, html[data-theme="dark"] .subject-path { color: #b7b6b1; }
html[data-theme="dark"] .settings-button { color: #e1dfda; }
html[data-theme="dark"] .header, html[data-theme="dark"] main > section + section, html[data-theme="dark"] .subject-menu, html[data-theme="dark"] .appearance-panel { border-color: #36393b; }
html[data-theme="dark"] .subject-menu a:hover, html[data-theme="dark"] .settings-button:hover { background: #282b2d; }
@media (max-width: 1000px) { .appearance-panel { right: 32px; } }
@media (max-width: 650px) { .appearance-panel { right: 20px; width: min(250px, calc(100vw - 40px)); } }

.admin-entry { display: block; margin-top: 20px; padding-top: 16px; border-top: 1px solid #ddd; font-size: 15px; }
html[data-theme="dark"] .admin-entry { border-color: #36393b; }
