/* Visual layer: warm photography, architectural forms, and restrained depth. */
:root { --ink: #123f3b; --body: #435c55; --wash: #f7f4ec; --line: #dce4dc; --accent: #b58946; --soft: #e8eee5; --shadow: 0 14px 38px #173d3510; }
body { background: #fffefa; }
::selection { background: #e6d5b6; color: #123f3b; }
figure { margin: 0; }
.site-header { background: #fffefa; box-shadow: 0 4px 22px #183d3b08; }
.masthead { min-height: 95px; }
.brand-mark { font-size: 45px; }
.brand-name { color: #45665a; }
.language-switch { padding: 2px 9px; background: #f0f3ed; border-radius: 6px; }
.language-switch [aria-current] { box-shadow: none; color: white; background: var(--ink); border-radius: 4px; }
.language-switch a { padding: 5px 8px; }
.nav-wrap { border-top-color: #e9eae2; }
.primary-nav .login-link { border-radius: 4px; padding-inline: 23px; box-shadow: 0 4px 10px #173d3518; }
.dropdown { border-radius: 0 0 8px 8px; box-shadow: 0 20px 45px #143f3b20; }
.dropdown a { border-radius: 4px; }
.button { border-radius: 4px; box-shadow: 0 7px 17px #173d351c; padding: 14px 22px; transition: background .2s, box-shadow .2s, transform .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #173d3528; }
.button.secondary { box-shadow: none; background: #fffefa7a; border-color: #b5c1b4; }
.hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at 75% 30%, #e4e9da 0, transparent 50%), linear-gradient(115deg, #faf8f0 10%, #f0f0e3 100%); border-bottom: 0; }
.hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #6e85610a calc(25% - 1px), #6e85610a 25%); z-index: -1; pointer-events: none; }
.home-hero { padding-block: 66px 80px; overflow: clip; }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 80px; }
.home-hero h1 { font-size: clamp(3.1rem, 4.8vw, 4.55rem); letter-spacing: -.048em; margin-bottom: 28px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { display: flex; gap: 13px; align-items: center; max-width: 460px; color: #526c59; font-size: 10px; letter-spacing: .12em; }
.eyebrow-line { flex: 0 0 28px; height: 1px; background: var(--accent); }
.home-hero .intro { max-width: 510px; font-size: 17px; line-height: 1.9; }
.hero-actions { gap: 14px; }
.hero-art { position: relative; padding: 17px 20px 0 48px; }
.hero-library { border-radius: 48% 48% 5px 5px; overflow: hidden; box-shadow: 0 24px 45px #35462b30; position: relative; }
.hero-library::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px #163e3c20; border-radius: inherit; pointer-events: none; background: linear-gradient(0deg, #153e302a, transparent 45%); }
.hero-library img { display: block; width: 100%; height: clamp(400px, 36vw, 520px); object-fit: cover; object-position: 50% 55%; }
.arch-outline { position: absolute; inset: 0 3px 62px 64px; border: 1px solid #b78c49a1; border-radius: 50% 50% 5px 5px; z-index: -1; transform: translate(12px,-4px); }
.hero-scripture { position: absolute; bottom: 20px; left: -22px; width: 220px; background: #fffefa; border: 7px solid #fffefa; border-radius: 5px; box-shadow: 0 15px 45px #163b3438; transform: rotate(-5deg); }
.hero-scripture img { display: block; width: 100%; height: 138px; object-fit: cover; }
.hero-scripture figcaption { padding: 11px 10px 5px; color: var(--ink); font: italic 19px/1.3 Georgia, "PMingLiU", serif; }
.hero-seal { position: absolute; right: -5px; top: 31px; width: 88px; height: 88px; background: var(--ink); border: 5px solid #f6f4ea; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #e2c896; box-shadow: 0 6px 20px #113e3a26; }
.hero-seal svg { width: 30px; height: 30px; }
.hero-seal span { font-size: 9px; letter-spacing: .22em; }
.art-caption { margin-top: 21px; padding-left: 160px; color: #63725c; font-size: 10px; line-height: 1.6; justify-content: flex-start; }
.art-caption > span { color: #99733e; letter-spacing: 0; white-space: nowrap; }
.principles-band { background: #123f3b; border: 0; color: white; }
.principles-band .container { padding-block: 23px; color: #edf1e4; letter-spacing: .065em; font-size: 12px; }
.principles-band span { display: flex; align-items: center; gap: 14px; }
.principles-band span::before { content: none; }
.principles-band svg { width: 24px; height: 24px; color: #d8bd85; flex-shrink: 0; }
.home-page .content-layout { padding-top: 76px; }
.home-page .page-content { gap: 48px; }
.home-page .page-content > .prose:first-child { text-align: center; max-width: 840px; margin-inline: auto; }
.home-page .page-content > .prose:first-child h2 { font-size: 2.6rem; }
.cards { gap: 24px; }
.card { background: #fff; border-color: #e3e8df; border-radius: 9px; padding: 32px; box-shadow: var(--shadow); position: relative; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:has(a):hover, .card:focus-within { transform: translateY(-4px); box-shadow: 0 20px 40px #173d351c; border-color: #b9cabb; }
.card-icon { width: 47px; height: 47px; display: grid; place-items: center; background: #eaf0e7; color: #335c49; border-radius: 12px 12px 12px 2px; margin-bottom: 23px; }
.card-icon svg { width: 25px; height: 25px; }
.card:nth-child(3n+2) .card-icon { color: #8a632e; background: #f5eddc; }
.card:nth-child(3n) .card-icon { color: #436c80; background: #e8f0f3; }
.card h3 { font-weight: 600; font-size: 1.16rem; }
.card .text-link { text-decoration: none; border-bottom: 1px solid #bbcabd; padding-bottom: 3px; }
.card .text-link > span:last-child { display: inline-block; margin-left: 8px; }
.home-page .page-content > .prose:nth-of-type(2) { max-width: none; padding: 37px 42px 37px 50px; border-left: 3px solid var(--accent); background: linear-gradient(110deg,#f5efe1,#f9f8f1); border-radius: 0 10px 10px 0; }
.feature { border: 0; padding: 0; gap: 55px; background: #edf1e8; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.feature > div { padding: 45px 42px 45px 0; }
.feature-photo { align-self: stretch; position: relative; min-height: 410px; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.feature-photo figcaption { position: absolute; inset: auto 0 0; padding: 40px 23px 17px; background: linear-gradient(transparent,#153b35c9); font-size: 10px; letter-spacing: .08em; color: white; }
.feature h2 { font-size: 2.6rem; }
.feature .eyebrow { color: #55714b; }
.feature p { font-size: 15px; }
.notice { background: linear-gradient(105deg,#f8f3e7,#f6f8f0); border-left-color: #b8914c; border-radius: 0 8px 8px 0; box-shadow: 0 7px 20px #6b603407; }
.inner-hero { padding-block: 40px 50px; }
.inner-hero .hero-grid { grid-template-columns: minmax(0,1fr) 300px; gap: 65px; }
.inner-hero h1 { font-size: clamp(2.4rem,3.5vw,3.5rem); }
.inner-hero .intro { font-size: 17px; }
.section-photo { position: relative; align-self: center; }
.section-photo::before { content: ''; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid #b5945480; border-radius: 70px 6px 6px; z-index: -1; }
.section-photo img { display: block; width: 100%; height: 230px; object-fit: cover; border-radius: 70px 6px 6px; box-shadow: 0 16px 32px #193d3525; }
.section-photo.photo-library img { object-position: 50% 48%; }
.photo-corner { position: absolute; bottom: -16px; left: -16px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--ink); color: #ddc28e; border: 5px solid #f4f3e8; border-radius: 50%; }
.photo-corner svg { width: 24px; height: 24px; }
.section-nav nav { background: white; border: 1px solid #e3e8df; border-radius: 7px; overflow: hidden; box-shadow: 0 5px 20px #163b3408; }
.section-nav a { border-left: 3px solid transparent; padding: 14px; }
.section-nav [aria-current] { background: #edf2e9; border-left-color: #ae8644; }
.sidebar-help { padding: 20px; background: #f5f1e7; border-radius: 6px; }
.table-scroll { border-radius: 7px; box-shadow: var(--shadow); }
.steps li { gap: 22px; }
.step-number { display: grid; place-items: center; height: 45px; min-width: 45px; border-radius: 50%; background: #edf2e8; color: #527151; font-size: 21px; }
.faq details { padding: 23px 20px; background: white; }
.faq details[open] { background: #f3f6ee; border-left: 3px solid #a0844d; padding-left: 17px; }
.faq summary::after { color: #9b7c46; }
.sponsor-card { border: 1px solid #e3e5d9; border-radius: 8px; background: linear-gradient(120deg,#f5f2e7,#edf2e8); }
.sponsor-wordmark { background: #fffefa; border-radius: 4px; box-shadow: 0 5px 15px #123f3b0c; }
.contact-card { background: radial-gradient(ellipse at 100% 0%,#dfe8d7,transparent 70%),#f3f5ee; border-radius: 10px; box-shadow: var(--shadow); border-color: #dce6d4; position: relative; }
.contact-card::after { content: ''; position: absolute; width: 100px; height: 130px; right: 35px; top: 32px; border: 1px solid #9cad852e; border-radius: 60px 60px 0 0; pointer-events: none; }
.contact-card > * { position: relative; z-index: 1; }
.art-placeholder { background: #f2f3eb; border-color: #bbc7b0; border-radius: 8px; min-height: 190px; }
.site-footer { background: radial-gradient(ellipse at 0 0,#24594a,transparent 65%),#103b37; border-top: 4px solid #b59454; }
.footer-brand { font-size: 52px; }
.footer-grid { padding-bottom: 45px; }
.footer-bottom { border-color: #57776966; }
.credits-wrap { background: #0e3532; color: #b4c9bd; padding-block: 12px; font-size: 11px; }
.photo-credits { max-width: 850px; }
.photo-credits summary { cursor: pointer; width: fit-content; color: #cfddce; }
.photo-credits > div { padding-block: 14px 7px; }
.photo-credits p { margin-bottom: 10px; }
.photo-credits ul { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 0; list-style: none; margin: 0 0 10px; }
@media (max-width: 1100px) {
  .home-hero .hero-grid { gap: 40px; }
  .hero-art { padding-left: 30px; padding-right: 10px; }
  .hero-scripture { width: 180px; left: -10px; }
  .hero-scripture img { height: 115px; }
  .art-caption { padding-left: 145px; }
  .inner-hero .hero-grid { grid-template-columns: minmax(0,1fr) 250px; gap: 40px; }
  .section-photo img { height: 225px; }
  .card { padding: 25px; }
  .feature { gap: 30px; }
  .feature > div { padding-right: 30px; }
  .feature h2 { font-size: 2.1rem; }
}
@media (max-width: 980px) {
  .masthead { min-height: 85px; }
  .home-hero { padding-block: 48px 55px; }
  .home-hero h1 { font-size: 3rem; }
  .hero-library img { height: 400px; }
  .hero-scripture { width: 150px; bottom: 25px; }
  .hero-scripture img { height: 95px; }
  .hero-scripture figcaption { font-size: 15px; padding: 8px 3px 3px; }
  .hero-seal { width: 70px; height: 70px; right: -8px; }
  .art-caption { padding-left: 105px; }
  .inner-hero .hero-grid { grid-template-columns: minmax(0,1fr) 220px; gap: 28px; }
  .section-photo img { height: 220px; }
  .feature-photo { min-height: 390px; }
  .dropdown { box-shadow: none; }
  .home-page .page-content > .prose:first-child h2 { font-size: 2.25rem; }
}
@media (max-width: 700px) {
  .masthead { min-height: 78px; }
  .brand-mark { font-size: 36px; }
  .header-tools { gap: 10px; }
  .language-switch { gap: 3px; padding: 2px 5px; font-size: 12px; }
  .language-switch a { padding: 4px 7px; }
  .home-hero { padding-block: 35px 38px; }
  .home-hero .hero-grid, .inner-hero .hero-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .home-hero h1 { font-size: clamp(2.6rem,9vw,3.4rem); }
  :lang(zh-Hant) .home-hero h1 { font-size: clamp(1.9rem,7.7vw,2.5rem); }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .08em; }
  .home-hero .intro, .inner-hero .intro { font-size: 16px; }
  .hero-actions { gap: 12px; }
  .button { padding: 12px 16px; font-size: 12px; }
  .hero-art { width: min(100%,380px); padding: 15px 17px 0 50px; margin-top: 3px; }
  .hero-library img { height: 335px; }
  .hero-scripture { left: 0; bottom: 35px; width: 150px; border-width: 5px; }
  .hero-scripture img { height: 96px; }
  .hero-seal { right: 0; top: 25px; }
  .art-caption { padding-left: 100px; font-size: 9px; gap: 8px; margin-top: 17px; }
  .arch-outline { inset: 0 4px 45px 55px; }
  .principles-band .container { flex-direction: column; align-items: center; gap: 14px; padding-block: 22px; font-size: 11px; }
  .principles-band span { width: 260px; gap: 16px; }
  .principles-band svg { width: 21px; height: 21px; }
  .home-page .content-layout { padding-top: 45px; }
  .home-page .page-content { gap: 32px; }
  .home-page .page-content > .prose:first-child h2 { font-size: 2rem; }
  .home-page .page-content > .prose:nth-of-type(2) { padding: 27px; }
  .cards { gap: 18px; }
  .card-icon { margin-bottom: 18px; }
  .feature { grid-template-columns: minmax(0,1fr); gap: 0; }
  .feature-photo { min-height: 260px; }
  .feature > div { padding: 29px; }
  .feature h2 { font-size: 2rem; }
  .inner-hero { padding-block: 30px 38px; }
  .inner-hero h1 { font-size: 2.15rem; }
  .section-photo { margin: 0 12px 10px 10px; }
  .section-photo img { height: 190px; border-radius: 45px 5px 5px; }
  .section-photo.photo-collaboration img { object-position: center 42%; }
  .section-nav nav { border: 0; box-shadow: none; border-radius: 0; background: transparent; }
  .section-nav a { border-radius: 3px; font-size: 12px; padding: 10px; }
  .contact-card::after { right: 20px; width: 70px; height: 100px; }
  .footer-grid { padding-bottom: 30px; }
  .photo-credits ul { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .button, .card { transition: none; } .button:hover, .card:hover, .card:focus-within { transform: none; } }
@media print { .section-photo, .credits-wrap, .card-icon { display: none; } .inner-hero .hero-grid { display: block; } .card, .table-scroll, .button { box-shadow: none; } }
