:root {
  color-scheme: light;
  --ground: #f7f9fa;
  --surface: #ecf0f2;
  --ink: #1f3038;
  --muted: #5d6b72;
  --accent: #0d7480;
  --accent-ink: #ffffff;
  --gutter: clamp(18px, 2.2vw, 32px);
  --body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --small: clamp(.8125rem, .79rem + .1vw, .875rem);
  --lead: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  --head: clamp(2.5rem, 4.5vw, 4.25rem);
  --sans: "General Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--body)/1.52 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
button { color: inherit; font: inherit; }
[hidden] { display: none !important; }
.skip-link { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 10px 14px; background: var(--ink); color: var(--ground); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 18px; background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .18s ease, transform .18s ease; }
.button:hover { background: #095f69; color: var(--accent-ink); transform: translateY(-2px); }
.text-link { display: inline-block; width: fit-content; font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .2em; }
.text-link:hover { color: var(--accent); }
.primary-nav, .footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: 15px; }
.primary-nav a, .footer-nav a { text-decoration: none; }
.language-switch { display: flex; align-items: center; gap: 14px; }
.language-switch button { min-width: 32px; min-height: 36px; border: 0; padding: 4px 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; }
.language-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.language-switch button:hover { color: var(--accent); }

.hero { display: grid; min-height: 100svh; grid-template-rows: auto 1fr auto; gap: 4vw; padding: 24px var(--gutter) 22px; overflow: hidden; }
.hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.hero__intro { max-width: 37ch; }
.hero__support { max-width: 36ch; margin: 0; font-size: 18px; line-height: 1.42; text-wrap: pretty; }
.hero__intro .button { margin-top: 16px; }
.hero__name { align-self: center; width: 100%; margin: 0; overflow: visible; font-size: clamp(4.2rem, 21vw, 19rem); font-weight: 700; letter-spacing: -.075em; line-height: .84; text-align: center; white-space: nowrap; transform-origin: center; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__fact { margin: 0; font-size: 15px; line-height: 1.4; }
.hero__fact span:nth-child(2) { color: var(--muted); }
.hero__meta { display: flex; align-items: flex-end; gap: clamp(22px, 4vw, 60px); }

.section { padding: clamp(104px, 13vw, 184px) var(--gutter); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; column-gap: 20px; row-gap: 28px; }
.section-title { grid-column: 1 / span 6; max-width: 9.5ch; margin: 0; font-size: var(--head); font-weight: 500; letter-spacing: -.055em; line-height: .98; text-wrap: balance; }
.section-lede { grid-column: 8 / span 5; max-width: 36ch; margin: 0 0 3px; color: var(--muted); font-size: var(--body); line-height: 1.5; text-wrap: pretty; }
.topic-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: clamp(70px, 9vw, 126px); row-gap: 36px; }
.topic-row { grid-column: 2 / span 10; display: grid; grid-template-columns: 3fr 6fr; align-items: baseline; column-gap: 40px; padding: 0 0 0 3vw; }
.topic-row:nth-child(2) { grid-column: 3 / span 9; }
.topic-row:nth-child(3) { grid-column: 4 / span 8; }
.topic-row h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.4rem); font-weight: 500; letter-spacing: -.035em; }
.topic-row p { max-width: 42ch; margin: 0; color: var(--muted); }
.latest-notes { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; margin: clamp(86px, 11vw, 154px) 0 0 auto; padding: 36px 0 0; width: min(100%, 720px); background: var(--surface); }
.latest-notes > div { padding-left: 28px; }
.latest-notes > .text-link { margin: 0 28px 4px 0; }
.subhead { margin: 0 0 18px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.post-list { display: grid; gap: 24px; }
.empty-note { max-width: 42ch; margin: 0 0 28px; color: var(--muted); }
.post-row { padding: 0 0 22px; }
.post-row h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.post-row p { margin: 0; color: var(--muted); }
.post-row time { display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; }

.city-section { background: var(--surface); }
.photo-wide { margin: clamp(60px, 8vw, 112px) calc(-1 * var(--gutter)) 0; }
.photo-wide img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: center 56%; }
figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
figcaption a { color: var(--ink); }
.photo-wide figcaption { padding-right: var(--gutter); padding-left: var(--gutter); }
.photo-pair { display: grid; grid-template-columns: 1.2fr .8fr; align-items: start; gap: clamp(32px, 7vw, 100px); margin-top: clamp(76px, 10vw, 144px); }
.photo-pair__lead { margin-top: 11vw; }
.photo-pair__lead img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo-pair__stack { display: grid; gap: clamp(54px, 8vw, 112px); }
.photo-pair__stack figure:first-child img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo-pair__stack figure:last-child { width: 82%; margin-left: auto; }
.photo-pair__stack figure:last-child img { aspect-ratio: 4 / 3; object-fit: cover; }

.about-section { padding-top: clamp(116px, 15vw, 210px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(280px, 6fr); align-items: start; gap: clamp(48px, 9vw, 132px); }
.about-copy .section-title { margin-bottom: clamp(40px, 6vw, 82px); }
.about-copy > p:not(.section-title) { max-width: 54ch; margin: 0 0 24px; color: var(--muted); }
.about-copy .about-lede { color: var(--ink) !important; font-size: var(--lead); line-height: 1.38; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(48px, 7vw, 96px); }
.about-facts p { display: grid; gap: 7px; margin: 0; color: var(--muted); font-size: 14px; }
.about-facts strong { color: var(--ink); font-size: 18px; font-weight: 500; }
.about-photo { margin: 5vw 0 0; }
.about-photo img { aspect-ratio: 4 / 5; object-fit: cover; }

.contact-section { padding-top: clamp(84px, 10vw, 144px); padding-bottom: clamp(100px, 13vw, 184px); background: var(--surface); }
.contact-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.contact-top .section-title { max-width: 10ch; }
.contact-top p { max-width: 30ch; margin: 0 0 4px; color: var(--muted); }
.contact-email { display: flex; align-items: baseline; gap: .12em; width: fit-content; max-width: 100%; margin: clamp(82px, 12vw, 168px) 0 0; font-size: clamp(2.6rem, 8vw, 7.3rem); font-weight: 500; letter-spacing: -.065em; line-height: .98; text-decoration: none; white-space: nowrap; }
.contact-email:hover { color: var(--accent); }
.contact-note { margin: 20px 0 0; color: var(--muted); font-size: 15px; }

.site-footer { padding: 20px var(--gutter) 24px; background: var(--ink); color: var(--ground); }
.footer-wordmark { display: block; margin: 0 0 clamp(42px, 7vw, 98px); font-size: clamp(4.4rem, 19.6vw, 18rem); font-weight: 700; letter-spacing: -.08em; line-height: .9; text-align: center; text-decoration: none; white-space: nowrap; }
.footer-row { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; }
.footer-row p { margin: 0; font-size: 16px; }
.footer-row a, .footer-bottom a { color: inherit; }
.footer-nav { justify-content: flex-end; }
.footer-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-top: clamp(58px, 8vw, 112px); color: #c6d0d3; font-size: 13px; }
.footer-bottom p { margin: 0; }

.page-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px var(--gutter); }
.page-brand { font-size: 18px; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.archive-page { min-height: 72svh; padding: clamp(90px, 13vw, 180px) var(--gutter) clamp(110px, 16vw, 220px); }
.archive-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.archive-title { margin: 0; font-size: clamp(5rem, 14vw, 12rem); font-weight: 700; letter-spacing: -.08em; line-height: .84; }
.archive-lede { max-width: 38ch; margin: 0 0 6px; color: var(--muted); font-size: var(--lead); }
.archive-list { width: min(100%, 940px); margin: clamp(104px, 14vw, 196px) 0 0 auto; }
.archive-list__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.archive-list__head h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.4rem); font-weight: 500; }
.archive-list .empty-note { padding: 30px 0; }
.archive-topics { display: grid; gap: 24px; margin-top: 70px; }
.archive-topics p { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; margin: 0; color: var(--muted); }
.archive-topics strong { color: var(--ink); font-weight: 500; }
.archive-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 24px; padding: 22px var(--gutter) 26px; background: var(--ink); color: var(--ground); }
.archive-footer__brand { font-size: 28px; font-weight: 700; letter-spacing: -.06em; text-decoration: none; }
.archive-footer p { margin: 0; font-size: 14px; }
.archive-footer a { color: inherit; }

@supports (animation-timeline: scroll()) {
  .hero__name { animation: wordmark-scroll linear both; animation-timeline: scroll(root block); animation-range: 0vh 100vh; }
  @keyframes wordmark-scroll { from { scale: 1; } to { scale: .94; } }
}

@media (max-width: 760px) {
  .hero { min-height: 100svh; padding: 18px 16px 20px; gap: 9vw; }
  .hero__top { flex-direction: column; gap: 34px; }
  .hero__support { max-width: 31ch; font-size: 17px; }
  .hero__intro .button { margin-top: 18px; }
  .primary-nav { gap: 16px; font-size: 14px; }
  .hero__name { font-size: clamp(4.1rem, 20.5vw, 9rem); letter-spacing: -.085em; text-align: left; }
  .hero__bottom { align-items: end; }
  .hero__meta { align-items: end; flex-direction: column-reverse; gap: 12px; }
  .hero__fact { font-size: 14px; }
  .section { padding: 96px 18px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-title { grid-column: 1; max-width: 10ch; font-size: clamp(2.5rem, 10vw, 4rem); }
  .section-lede { grid-column: 1; max-width: 38ch; }
  .topic-list { grid-template-columns: 1fr; row-gap: 34px; margin-top: 62px; }
  .topic-row, .topic-row:nth-child(2), .topic-row:nth-child(3) { grid-column: 1; grid-template-columns: 1fr; gap: 6px; padding-left: 0; }
  .topic-row h3 { font-size: 23px; }
  .latest-notes { grid-template-columns: 1fr; gap: 16px; margin-top: 78px; padding-top: 28px; }
  .latest-notes > div { padding: 0 20px; }
  .latest-notes > .text-link { margin: 0 20px 24px; }
  .photo-wide { margin: 54px -18px 0; }
  .photo-wide img { aspect-ratio: 4 / 5; object-position: 52% center; }
  .photo-wide figcaption { padding-right: 18px; padding-left: 18px; }
  .photo-pair { grid-template-columns: 1fr; gap: 48px; margin-top: 58px; }
  .photo-pair__lead { margin-top: 0; }
  .photo-pair__lead img, .photo-pair__stack figure:first-child img, .photo-pair__stack figure:last-child img { aspect-ratio: 4 / 5; }
  .photo-pair__stack { gap: 48px; }
  .photo-pair__stack figure:last-child { width: 100%; }
  figcaption { font-size: 13px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-copy .section-title { margin-bottom: 34px; }
  .about-copy .about-lede { font-size: 21px; }
  .about-facts { grid-template-columns: 1fr 1fr; row-gap: 24px; margin-top: 48px; }
  .about-photo { width: min(100%, 520px); margin: 0; }
  .contact-top { align-items: start; flex-direction: column; gap: 24px; }
  .contact-top .section-title { max-width: 10ch; }
  .contact-email { flex-direction: column; align-items: flex-start; gap: 0; margin-top: 76px; font-size: clamp(2.5rem, 11vw, 4.2rem); white-space: normal; }
  .contact-note { max-width: 34ch; }
  .footer-wordmark { margin-bottom: 54px; font-size: 20vw; text-align: left; }
  .footer-row { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { justify-content: flex-start; gap: 18px; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 12px; margin-top: 60px; }
  .page-header { flex-wrap: wrap; gap: 18px; padding: 18px; }
  .page-header .primary-nav { order: 3; width: 100%; }
  .archive-page { min-height: 72svh; padding: 92px 18px 120px; }
  .archive-intro { grid-template-columns: 1fr; gap: 26px; }
  .archive-title { font-size: clamp(5rem, 22vw, 8rem); }
  .archive-lede { font-size: 19px; }
  .archive-list { margin-top: 100px; }
  .archive-list__head { align-items: start; flex-direction: column; gap: 12px; }
  .archive-topics p { grid-template-columns: 1fr; gap: 4px; }
  .archive-footer { grid-template-columns: 1fr; gap: 14px; padding: 20px 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
