:root{--paper:#f6f4ec;--ink:#253c32;--muted:#687167;--line:#dce0d5;--green:#315444;--sage:#e9ede2;--gold:#a79051;--serif:'Noto Serif SC','Songti SC','STSong',serif;--sans:'PingFang SC','Microsoft YaHei','Noto Sans CJK SC',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.85 var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,summary,a{-webkit-tap-highlight-color:transparent}a:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:6px}.wrap{width:min(1200px,calc(100% - 112px));margin:auto}.header{display:flex;align-items:center;justify-content:space-between;gap:30px;height:110px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;font-family:var(--serif);font-size:18px;letter-spacing:2px;line-height:1.5}.brand-mark{height:39px;width:39px;border:1px solid #738876;display:grid;place-items:center;transform:rotate(-5deg);font-size:22px}.brand-sub{display:block;font-family:var(--sans);font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:3px}.header nav{display:flex;gap:33px;font-size:13px}.header nav a:hover,.header-link:hover{color:var(--gold)}.header-link{font-size:12px;border-bottom:1px solid var(--green);padding:6px 0}.header-link span{margin-left:15px}.hero{display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center;padding-top:75px;padding-bottom:68px}.eyebrow{font-size:11px;letter-spacing:2.5px;line-height:1.8;color:var(--green);font-weight:500;margin:0 0 17px}.hero .eyebrow{display:flex;align-items:center;gap:10px}.hero .eyebrow>span{width:6px;height:6px;background:var(--gold);border-radius:50%}.series{font-size:13px;letter-spacing:1px;color:var(--muted);margin:0 0 19px}h1{font-family:var(--serif);font-size:clamp(49px,4.7vw,68px);line-height:1.37;font-weight:500;letter-spacing:8px;margin:0 0 27px}h1>span:not(.title-dot){display:block;padding-left:65px;color:#61785d}.title-dot{color:var(--gold)}.hero-description{font-size:15px;line-height:2;letter-spacing:1px;color:var(--muted)}.hero-actions{display:flex;align-items:center;gap:23px;margin-top:29px}.button{background:var(--green);color:var(--paper);padding:12px 21px;font-size:12px;border-radius:2px;transition:background .2s,transform .2s}.button span{margin-left:27px}.button:hover{background:#223d2f;transform:translateY(-2px)}.duration{font-size:10px;color:var(--muted)}.byline{font-size:10px;color:var(--muted);display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:35px}.byline strong{font-size:12px;color:var(--ink);font-weight:500}.byline-line{width:26px;height:1px;background:var(--gold)}.hero-art{margin:0;position:relative;padding:20px 0}.hero-art:before{content:'';position:absolute;inset:0 20px 55px -20px;border:1px solid #bdc8b5;border-radius:280px 280px 3px 3px;pointer-events:none}.hero-art img{width:100%;height:550px;object-fit:cover;object-position:60% 50%;border-radius:260px 260px 2px 2px;position:relative}.hero-art figcaption{display:flex;justify-content:space-between;gap:10px;margin-top:17px;font-size:10px;color:var(--muted);letter-spacing:1px}.hero-art figcaption span:last-child{font-size:8px;letter-spacing:2px}.chapter-line{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:21px 0;font-size:11px;color:var(--muted);letter-spacing:1px}.chapter-line span:last-child{font-size:9px;letter-spacing:1.5px}.section{padding-top:77px;padding-bottom:80px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:39px}.section-heading h2{font:500 34px/1.5 var(--serif);letter-spacing:2px;margin:0}.section-heading .eyebrow{margin-bottom:10px}.section-heading>p{color:var(--muted);font-size:12px;line-height:1.9;margin:0}.intro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.intro-card{background:#fdfcf7;border:1px solid #e6e7dc;border-radius:3px;overflow:hidden;align-self:start}.card-image{height:230px;position:relative;overflow:hidden}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .7s}.intro-card:hover .card-image img{transform:scale(1.035)}.image-no{position:absolute;top:16px;left:16px;font:italic 19px var(--serif);background:#faf7eadd;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.card-copy{padding:24px 25px 18px}.small-label{font-size:9px;letter-spacing:1.4px;color:var(--muted);margin:0 0 11px}.card-copy h3{font:500 23px/1.5 var(--serif);letter-spacing:.7px;margin:0 0 15px;min-height:69px}.card-copy>p:not(.small-label){font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 20px;min-height:68px}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}.card-copy summary{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:14px;font-size:10px;letter-spacing:1px}.card-copy summary span{font-size:17px;transition:transform .2s}.card-copy details[open] summary span{transform:rotate(45deg)}.detail-copy{font-size:12px;line-height:1.9;color:var(--muted);padding-top:8px}.detail-copy p{margin:10px 0}.outline-section{background:#edf0e7;border-top:1px solid #e3e7dc;border-bottom:1px solid #e3e7dc}.course-layout{display:grid;grid-template-columns:260px 1fr;gap:65px}.course-aside{padding:25px 0}.course-total{font:italic 82px/1 var(--serif);color:#6e8467;display:flex;align-items:flex-end;gap:15px}.course-total span{font:9px var(--sans);letter-spacing:2px;padding-bottom:11px}.course-aside>p{font-size:12px;color:var(--muted);line-height:2;margin:22px 0 28px}.small-path{font-family:var(--serif);font-size:15px;display:flex;align-items:center;gap:10px}.small-path i{display:block;width:13px;height:1px;background:#a3b197}.course-aside>a{display:inline-block;font-size:10px;margin-top:37px;border-bottom:1px solid #8d9d88;padding-bottom:4px}.course-row{border-top:1px solid #cdd6c7}.course-row:last-child{border-bottom:1px solid #cdd6c7}.course-row summary{display:flex;gap:20px;align-items:center;padding:24px 0}.row-time{font:16px var(--serif);min-width:67px;color:#6b7c64}.row-time>span{display:block;font:10px var(--sans);padding-top:8px;color:var(--muted)}.row-title{flex:1}.row-title .small-label{display:block;margin:0 0 6px;font-size:9px}.row-title strong{font:500 22px/1.45 var(--serif);letter-spacing:.5px}.toggle{font-size:21px;font-weight:300;margin-left:auto;transition:transform .2s}.course-row[open] .toggle{transform:rotate(45deg)}.row-content{margin:0 0 25px 87px;font-size:12px;color:#5a6b5c;line-height:1.95}.row-content>p{margin:0 0 11px}.reflection{margin-top:17px;padding:10px 14px;border-left:2px solid #a7b18b;background:#f7f8f0;font-size:11px;color:#52644d}.closing{text-align:center;padding-top:80px;padding-bottom:80px}.closing .eyebrow{color:var(--gold)}blockquote{margin:22px 0;font:500 29px/1.8 var(--serif);letter-spacing:2px}.closing>p:last-child{font-size:12px;line-height:2;color:var(--muted)}.speaker-section{background:#e5e9de;padding:45px 0}.speaker{display:grid;grid-template-columns:1fr 1.5fr;gap:70px}.speaker h2{font:500 30px var(--serif);margin:7px 0 13px}.speaker h2 span{font-size:18px;margin-left:19px}.speaker-intro .eyebrow{font-size:9px;margin-bottom:12px}.speaker-intro>p:last-child{font-size:11px;color:var(--muted)}.speaker-body>p{font-size:12px;color:#53654f;line-height:2;margin:0 0 16px}.speaker-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.speaker-tags span{font-size:9px;padding:3px 10px;border:1px solid #bdcbb5;border-radius:2px}.speaker-body>a{font-size:11px;border-bottom:1px solid #9aaa90;padding-bottom:3px}.resources{padding-top:34px;padding-bottom:33px}.resources summary{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.resource-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px;font-size:11px}.resource-links a{text-decoration:underline;text-decoration-color:#bec8b8;text-underline-offset:4px}.resource-note{font-size:10px;color:var(--muted);margin:23px 0 0}.footer{display:flex;justify-content:space-between;gap:18px;padding-top:22px;padding-bottom:26px;border-top:1px solid var(--line);font-size:9px;letter-spacing:1px;color:var(--muted)}.skip{position:absolute;left:10px;top:-100px;background:var(--green);color:white;padding:10px;z-index:3}.skip:focus{top:10px}@media(min-width:1500px){.hero{padding-top:85px;padding-bottom:85px}.hero-art img{height:580px}}@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.hero{gap:35px}.hero-art img{height:510px}.hero-actions{gap:14px}.duration{font-size:9px}.intro-grid{gap:18px}.card-copy{padding:20px}.card-copy h3{font-size:20px}.course-layout{grid-template-columns:220px 1fr;gap:35px}.row-title strong{font-size:20px}.byline{max-width:330px}}@media(max-width:760px){.wrap{width:calc(100% - 40px)}.header{height:87px;gap:14px}.brand{font-size:16px;gap:10px}.brand-mark{width:32px;height:34px;font-size:18px}.brand-sub{font-size:8px;letter-spacing:1px}.header nav{display:none}.header-link{font-size:10px}.hero{grid-template-columns:1fr;gap:34px;padding-top:43px;padding-bottom:35px}.hero-copy{max-width:520px}.series{font-size:11px;margin-bottom:15px}.eyebrow{font-size:10px}h1{font-size:55px;letter-spacing:8px;margin-bottom:22px}h1>span:not(.title-dot){padding-left:68px}.hero-description{font-size:13px}.hero-actions{gap:20px;margin-top:23px}.duration{font-size:10px}.byline{margin-top:25px;max-width:none;font-size:9px}.hero-art{padding:12px 0 0;margin-left:10px}.hero-art:before{inset:0 14px 42px -10px}.hero-art img{height:380px;border-radius:220px 220px 2px 2px;object-position:60% 50%}.hero-art figcaption{font-size:9px;margin-top:13px}.hero-art figcaption span:last-child{font-size:7px}.chapter-line{font-size:9px;letter-spacing:.5px;padding:16px 0}.chapter-line span:last-child{font-size:7px;letter-spacing:.5px}.section{padding-top:48px;padding-bottom:49px}.section-heading{display:block;margin-bottom:26px}.section-heading h2{font-size:28px;letter-spacing:1px}.section-heading>p{font-size:11px;margin-top:13px}.section-heading>p br{display:none}.intro-grid{grid-template-columns:1fr;gap:24px}.card-image{height:240px}.card-copy{padding:21px 23px}.card-copy h3{font-size:23px;min-height:0;margin-bottom:10px}.desktop-break{display:none}.card-copy>p:not(.small-label){min-height:0;margin-bottom:15px;font-size:13px}.card-copy summary{font-size:11px}.small-label{font-size:9px}.course-layout{grid-template-columns:1fr;gap:24px}.course-aside{padding:0}.course-total{font-size:57px}.course-aside>p{margin:12px 0;font-size:11px}.course-aside>p br{display:none}.small-path{display:none}.course-aside>a{margin-top:8px;font-size:11px}.course-row summary{gap:13px;padding:21px 0}.row-time{font-size:14px;min-width:53px}.row-time>span{font-size:9px}.row-title strong{font-size:19px;line-height:1.5}.row-title .small-label{font-size:8px;letter-spacing:.7px}.row-content{margin-left:66px;font-size:12px}.toggle{font-size:18px}.reflection{font-size:11px;padding:9px 11px}.closing blockquote{font-size:24px;letter-spacing:1px}.closing>p:last-child{font-size:11px}.speaker{grid-template-columns:1fr;gap:20px}.speaker-section{padding:35px 0}.speaker h2{font-size:28px}.speaker-intro>p:last-child{margin-bottom:0}.speaker-body>p{font-size:12px}.resource-links{grid-template-columns:1fr;gap:14px}.footer{flex-wrap:wrap;font-size:8px;gap:10px}.footer>span:nth-child(2){display:none}.resources{padding:26px 0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Language switch, top right of the header (中文 | EN) */
.header-end{display:flex;align-items:center;gap:22px}
.lang-switch{display:inline-flex;flex:none;border:1px solid #b9c4b2;border-radius:2px;overflow:hidden;font:11px/1 var(--sans)}
.lang-switch>*{padding:6px 10px;letter-spacing:.5px;white-space:nowrap}
.header-link{white-space:nowrap}.header-link .hide-sm{margin-left:0}.brand{min-width:0}
.lang-switch .is-current{background:var(--green);color:var(--paper)}
.lang-switch a{color:var(--muted);transition:background .2s,color .2s}
.lang-switch a:hover{background:var(--sage);color:var(--green)}
@media(max-width:760px){.header-end{gap:12px}.lang-switch>*{padding:5px 8px}.hide-sm{display:none}}

/* English version (/psych101/en/): Latin type, no CJK letter-spacing, small text a little larger */
html[lang="en"]{--serif:'Psych101 Kai','Iowan Old Style','Palatino Linotype',Palatino,'Book Antiqua',Georgia,serif;--sans:-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif}
html[lang="en"] body{line-height:1.7}
html[lang="en"] .brand{letter-spacing:.3px}
html[lang="en"] .brand-sub{letter-spacing:1px}
html[lang="en"] .eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:10.5px}
html[lang="en"] .small-label{text-transform:uppercase;letter-spacing:1px}
html[lang="en"] h1{font-size:clamp(44px,4.4vw,62px);line-height:1.22;letter-spacing:.3px}
html[lang="en"] .series{letter-spacing:.2px}
html[lang="en"] .hero-description{font-size:16px;line-height:1.8;letter-spacing:0}
html[lang="en"] .section-heading h2{letter-spacing:.2px}
html[lang="en"] .section-heading>p{font-size:13px}
html[lang="en"] .card-copy h3,html[lang="en"] .row-title strong{letter-spacing:0}
html[lang="en"] .card-copy>p:not(.small-label),html[lang="en"] .detail-copy,html[lang="en"] .row-content,html[lang="en"] .course-aside>p,html[lang="en"] .speaker-body>p{font-size:13px;line-height:1.75}
html[lang="en"] .reflection{font-size:12px}
html[lang="en"] blockquote{letter-spacing:0;font-size:27px;line-height:1.6}
html[lang="en"] .button{white-space:nowrap}
html[lang="en"] .hero-actions{flex-wrap:wrap;row-gap:12px}
@media(max-width:760px){
  html[lang="en"] .header-link{display:none}   /* phones: brand + switch; the lecture notes link stays in the course outline */
  html[lang="en"] h1{font-size:clamp(34px,10.5vw,44px)}
  html[lang="en"] h1>span:not(.title-dot){padding-left:32px}
  html[lang="en"] .hero-description{font-size:15px}
}
html[lang="en"] .small-path{flex-direction:column;align-items:flex-start;gap:4px}   /* "See yourself / See the world / See others" one per line */
html[lang="en"] .small-path i{display:none}

/* 楷体 for the Chinese headings and titles: 霞鹜文楷 LXGW WenKai, cut down to the characters on these pages and
   renamed "Psych101 Kai" (SIL OFL, see fonts/OFL.txt; regenerate with _tools/psych101-kai-subset.py after text changes).
   Only Chinese characters use it; Latin letters and digits keep the other serif. */
@font-face{font-family:'Psych101 Kai';src:url(/psych101/fonts/psych101-kai-regular.woff2?v=1) format('woff2');font-weight:100 499;font-display:swap;unicode-range:U+3000-303F,U+3400-4DBF,U+4E00-9FFF,U+FF00-FFEF}
@font-face{font-family:'Psych101 Kai';src:url(/psych101/fonts/psych101-kai-medium.woff2?v=1) format('woff2');font-weight:500 900;font-display:swap;unicode-range:U+3000-303F,U+3400-4DBF,U+4E00-9FFF,U+FF00-FFEF}
:root{--serif:'Psych101 Kai','Noto Serif SC','Songti SC','STSong',serif}
