@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;500;600&display=swap');

:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --cream: #eae8e1;
  --ink: #202623;
  --muted: #606863;
  --green: #234d43;
  --red: #ba5745;
  --line: #d5d8d0;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
img { display: block; max-width: 100%; }
::selection { background: #d7e5d5; color: var(--ink); }
.skip-link { position: absolute; top: -80px; left: 18px; z-index: 20; background: white; padding: 12px 16px; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 5; background: var(--paper); }
.header-inner { width: min(100% - 96px, 1500px); height: 84px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; gap: 11px; align-items: center; min-width: 220px; }
.brand-symbol { width: 42px; height: 42px; background: var(--green); color: var(--paper); display: grid; place-items: center; font: 22px/1 var(--serif); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; gap: 5px; }
.brand-text strong { font: 600 21px/1.1 var(--serif); white-space: nowrap; }
.brand-text small { font: 600 9px/1 Arial, sans-serif; letter-spacing: .19em; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 56px); font-size: 13px; font-weight: 600; }
.primary-nav a, .language-switch a { transition: color .2s ease; }
.primary-nav a:hover, .language-switch a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 26px; }
.language-switch { display: flex; align-items: center; gap: 9px; font: 600 12px Arial, var(--sans); white-space: nowrap; }
.language-switch span { color: var(--green); }
.language-switch a { color: #939992; }
.language-switch a::before, .language-switch span:not(:first-child)::before { content: "/"; display: inline-block; color: #aeb5ac; margin-right: 9px; }
.header-link { border-bottom: 1px solid var(--green); padding-bottom: 5px; color: var(--green); font-size: 13px; font-weight: 600; white-space: nowrap; }
.header-link span { padding-left: 12px; }

.hero { position: relative; min-height: clamp(500px, 71svh, 740px); isolation: isolate; overflow: hidden; }
.hero-image, .hero-wash { position: absolute; inset: 0; z-index: -2; }
.hero-image { background: url('/assets/library-hero.jpg') left 46% / cover no-repeat; }
.hero-wash { z-index: -1; background: linear-gradient(90deg, rgba(239,240,234,.02) 0%, rgba(240,241,236,.15) 38%, rgba(245,245,241,.9) 59%, #f1f2ee 100%); }
.hero-inner { min-height: inherit; width: min(100% - 96px, 1500px); margin: auto; display: flex; align-items: center; justify-content: flex-end; padding-bottom: 25px; }
.hero-content { width: min(43%, 590px); }
.eyebrow, .small-kicker, .section-label, .location-caption, .focus-index, .hero-bottom, .media-caption { font-family: Arial, var(--sans); font-weight: 600; letter-spacing: .13em; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 29px; color: var(--green); font-size: 11px; }
.eyebrow-line { display: block; width: 29px; height: 1px; background: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: 0; }
h1 { font-size: clamp(44px, 4.25vw, 76px); line-height: 1.3; margin-bottom: 12px; }
.accent { color: var(--red); }
.hero-subtitle { font: 500 clamp(22px, 2.15vw, 34px)/1.5 var(--serif); margin-bottom: 23px; }
.hero-copy { max-width: 480px; font-size: 15px; line-height: 2; color: #4b5750; }
.hero-actions { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 25px; align-items: center; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 50px; padding: 0 20px; font-size: 13px; font-weight: 600; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: #153b32; }
.text-link { font-size: 13px; font-weight: 600; color: var(--green); border-bottom: 1px solid var(--green); padding-bottom: 7px; }
.text-link span { margin-left: 14px; }
.hero-bottom { position: absolute; left: 48px; right: 48px; bottom: 24px; display: flex; justify-content: space-between; color: #364b44; font-size: 10px; }

.section-shell { padding-left: max(48px, calc((100vw - 1500px) / 2)); padding-right: max(48px, calc((100vw - 1500px) / 2)); }
.section-label { display: flex; align-items: center; gap: 18px; font-size: 11px; color: var(--green); white-space: nowrap; }
.section-number { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #a9b6ac; border-radius: 50%; font: 11px Arial, sans-serif; letter-spacing: 0; }
.small-kicker { color: var(--red); font-size: 11px; line-height: 1.5; }
.intro { display: grid; grid-template-columns: 26% 1fr; padding-top: clamp(82px, 9vw, 150px); padding-bottom: clamp(96px, 10vw, 160px); gap: 30px; }
.intro-content { max-width: 920px; }
.intro .small-kicker { margin: 0 0 23px; }
.intro h2, .location-section h2 { font-size: clamp(35px, 3.5vw, 61px); line-height: 1.5; margin-bottom: 34px; }
.intro-body { display: grid; grid-template-columns: 1.4fr .8fr; gap: 6vw; color: var(--muted); font-size: 15px; line-height: 2.1; }
.intro-body p { margin-bottom: 0; }

.focus-section { min-height: 720px; display: grid; grid-template-columns: 46% 54%; background: #e8ece6; }
.focus-media { position: relative; min-height: 690px; }
.focus-media img { width: 100%; height: 100%; object-fit: cover; }
.media-caption { position: absolute; bottom: 20px; left: 26px; color: white; background: rgba(27,39,34,.64); padding: 8px 10px; font-size: 10px; letter-spacing: .04em; }
.focus-content { padding: clamp(64px, 7vw, 115px) clamp(48px, 7vw, 125px) 58px; }
.focus-content .section-label { margin-bottom: clamp(45px, 5vw, 76px); }
.focus-content .small-kicker { margin-bottom: 22px; }
.focus-content h2 { font-size: clamp(34px, 3vw, 54px); line-height: 1.5; margin-bottom: 18px; }
.focus-lead { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 32px; }
.focus-list { border-top: 1px solid #bcc7bd; max-width: 560px; }
.focus-item { display: grid; grid-template-columns: 48px 1fr; padding: 19px 0; border-bottom: 1px solid #bcc7bd; }
.focus-index { color: var(--red); font-size: 11px; padding-top: 5px; }
.focus-item h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.focus-item p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 0; }
.availability-note { margin: 20px 0 0; font-size: 12px; color: #68736b; line-height: 1.7; }

.location-section { padding-top: clamp(90px, 10vw, 160px); }
.location-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 7vw; padding-top: 60px; padding-bottom: clamp(80px, 9vw, 145px); }
.location-layout .small-kicker { margin-bottom: 22px; }
.location-section h2 { margin-bottom: 0; }
.location-details { border-left: 1px solid var(--line); padding: 6px 0 6px 42px; }
.location-caption { font-size: 11px; color: var(--red); margin-bottom: 22px; }
address { font-style: normal; font-family: Georgia, var(--serif); font-size: clamp(18px, 1.9vw, 27px); line-height: 1.65; margin-bottom: 30px; }
.button-outline { color: var(--green); border: 1px solid var(--green); }
.button-outline:hover { color: white; background: var(--green); }
.location-band { border-top: 1px solid var(--line); padding: 21px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #5d6860; font: 600 10px Arial, var(--sans); letter-spacing: .12em; }
.location-band span:nth-child(2) { font-family: var(--serif); font-size: 16px; letter-spacing: 0; }
.site-footer { background: #243b33; color: #e6ebe4; }
.footer-inner { width: min(100% - 96px, 1500px); margin: auto; padding: 58px 0 50px; display: flex; justify-content: space-between; gap: 60px; }
.footer-brand { font: 600 22px var(--serif); }
.footer-brand span { font: 600 10px Arial, sans-serif; letter-spacing: .12em; margin-left: 10px; }
.site-footer p { color: #b7c6bb; font-size: 12px; line-height: 1.8; margin: 14px 0 0; }
.footer-meta { text-align: right; align-self: end; }
.footer-meta p { margin: 5px 0; }

html[lang="en"] body { font-family: Arial, Helvetica, sans-serif; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-family: Georgia, serif; }
html[lang="en"] h1 { font-size: clamp(44px, 4vw, 73px); line-height: 1.13; }
html[lang="en"] .hero-subtitle { font-family: Georgia, serif; line-height: 1.25; font-size: clamp(22px, 2.1vw, 32px); }
html[lang="en"] .hero-copy { line-height: 1.75; }
html[lang="en"] .intro h2, html[lang="en"] .location-section h2 { line-height: 1.24; }
html[lang="en"] .focus-content h2 { line-height: 1.2; }

@media (max-width: 1100px) {
  .header-inner { width: min(100% - 56px, 1500px); gap: 18px; }
  .primary-nav { gap: 18px; }
  .header-actions { gap: 18px; }
  .header-link { display: none; }
  .hero-inner { width: min(100% - 56px, 1500px); }
  .hero-content { width: min(52%, 590px); }
  .section-shell { padding-left: 28px; padding-right: 28px; }
  .focus-content { padding-left: 50px; padding-right: 40px; }
  .footer-inner { width: min(100% - 56px, 1500px); }
}
@media (max-width: 760px) {
  .header-inner { height: auto; min-height: 72px; padding: 13px 0 10px; flex-wrap: wrap; }
  .brand { min-width: 0; }
  .brand-symbol { width: 38px; height: 38px; }
  .brand-text strong { font-size: 17px; }
  .header-actions { margin-left: auto; }
  .primary-nav { flex-basis: 100%; order: 3; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; }
  .hero { min-height: min(680px, 73svh); }
  .hero-image { background-position: 24% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(243,245,241,.79), rgba(243,245,241,.95)); }
  .hero-inner { justify-content: flex-start; padding: 38px 0 45px; }
  .hero-content { width: min(100%, 540px); }
  .hero-bottom { left: 28px; right: 28px; bottom: 18px; }
  .intro { display: block; padding-top: 75px; padding-bottom: 86px; }
  .intro .section-label { margin-bottom: 48px; }
  .intro-body { gap: 30px; }
  .focus-section { display: block; }
  .focus-media { min-height: 0; height: 360px; }
  .focus-content { padding: 62px 28px 72px; }
  .focus-content .section-label { margin-bottom: 49px; }
  .location-section { padding-top: 80px; }
  .location-layout { padding-top: 45px; display: block; }
  .location-details { margin-top: 50px; }
  .footer-inner { display: block; }
  .footer-meta { text-align: left; margin-top: 38px; }
}
@media (max-width: 520px) {
  .header-inner, .hero-inner, .footer-inner { width: calc(100% - 40px); }
  .brand-text small { font-size: 8px; }
  .language-switch { font-size: 11px; }
  .primary-nav { gap: 12px; }
  .hero { min-height: clamp(475px, 70svh, 610px); }
  .hero-image { background-position: 12% center; }
  .hero-wash { background: rgba(246,247,243,.86); }
  .hero-inner { align-items: center; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  h1, html[lang="en"] h1 { font-size: clamp(39px, 10vw, 53px); }
  .hero-subtitle { font-size: 23px; }
  .hero-copy { font-size: 14px; line-height: 1.85; }
  .hero-actions { gap: 18px; }
  .hero-bottom { left: 20px; right: 20px; font-size: 9px; }
  .section-shell { padding-left: 20px; padding-right: 20px; }
  .intro h2, .location-section h2 { font-size: clamp(32px, 8vw, 42px); }
  .intro-body { display: block; font-size: 14px; }
  .intro-body p + p { margin-top: 16px; }
  .focus-media { height: 295px; }
  .focus-content { padding-left: 20px; padding-right: 20px; }
  .focus-content h2 { font-size: 34px; }
  .location-details { padding-left: 24px; }
  .location-band { flex-wrap: wrap; }
  .location-band span:last-child { flex-basis: 100%; }
  .footer-brand span { display: block; margin: 8px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .primary-nav a, .language-switch a { transition: none; }
}
