:root {
  color-scheme: light;
  --paper: #f5f8fc;
  --ink: #17213b;
  --muted: #53617a;
  --blue: #345be6;
  --blue-dark: #2144bd;
  --mist: #e1e9f7;
  --rose: #ca617c;
  --line: #dce4f0;
  --serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 3px; }
::selection { color: var(--ink); background: #cbd8ff; }
.wrap { width: min(1200px, calc(100% - 6rem)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: .5rem; left: 1rem; padding: .65rem 1rem; background: white; border: 2px solid var(--blue); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { background: rgba(245,248,252,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; white-space: nowrap; }
.brand-symbol { display: grid; place-items: center; width: 42px; height: 42px; background: var(--ink); border-radius: 11px 3px 11px 3px; color: white; font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.brand-name { font-size: 1.2rem; font-weight: 700; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 2.3rem; }
.site-nav a { padding-block: .5rem; font-size: .9375rem; font-weight: 500; color: var(--muted); }
.site-nav a:hover { color: var(--blue); }
.hero { display: grid; grid-template-columns: 1.32fr 1fr; align-items: center; gap: 4.7rem; padding-top: 4.5rem; padding-bottom: 5.7rem; }
.hero-copy { padding-bottom: 2rem; min-width: 0; container-type: inline-size; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 4.2vw, 4rem); line-height: 1.4; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.hero-title-line { display: block; }
.hero-title-line:last-child { font-size: min(1em, 10.8cqw); white-space: nowrap; }
.hero-intro { max-width: 31rem; color: var(--muted); margin-top: 1.6rem; font-size: 1.0625rem; line-height: 1.95; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1.15rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .72rem 1.35rem; border-radius: 7px; font-weight: 600; line-height: 1.5; font-size: .9375rem; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-dark); }
.button-light { background: white; border: 1px solid var(--line); }
.button-light:hover { background: #edf2fd; border-color: #bccbeb; }
.hero-caption { display: flex; flex-direction: column; align-items: flex-start; margin-top: 3.2rem; gap: .3rem; color: var(--muted); font-size: .875rem; }
.hero-caption::before { content: ""; display: block; width: 36px; height: 3px; background: var(--rose); margin-bottom: .8rem; }
.hero-visual { position: relative; padding: 0 1rem 0 0; }
.hero-visual::before { content: ""; position: absolute; inset: 1.3rem 0 2.5rem 1.3rem; border: 1px solid #9eadc8; border-radius: 120px 12px 12px 12px; }
.hero-image { position: relative; width: 100%; height: 530px; object-fit: cover; object-position: 48% 34%; border-radius: 120px 12px 12px 12px; }
.hero-visual figcaption { position: relative; padding: 1rem .15rem 0; color: var(--muted); font-size: .875rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.section-heading h2, .about h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.4; }
.section-heading p { color: var(--muted); max-width: 25rem; font-size: .9375rem; }
.projects { padding-bottom: 6.5rem; }
.project-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 2.25rem; align-items: start; }
.project { min-width: 0; }
.project-cover { width: 100%; overflow: hidden; border-radius: 10px; background: var(--mist); }
.project-cover img { width: 100%; height: 310px; object-fit: cover; }
.project-workshop .project-cover img { object-position: 48% 27%; }
.project-city { margin-top: 4.5rem; }
.project-city .project-cover img { object-position: center; height: 294px; }
.project-content { padding: 1.6rem .3rem 0; }
.project-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-bottom: .55rem; color: var(--muted); font-size: .875rem; }
.project h3 { font-size: 1.65rem; font-weight: 650; line-height: 1.45; }
.project-description { margin-top: .85rem; color: var(--muted); max-width: 34rem; line-height: 1.85; }
.project-tags { display: flex; gap: .55rem; flex-wrap: wrap; list-style: none; margin: 1.15rem 0 1.35rem; padding: 0; }
.project-tags li { font-size: .875rem; color: #4d5c78; background: #e9eff8; padding: .22rem .65rem; border-radius: 4px; }
.project-action { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.external-note { color: var(--muted); font-size: .875rem; }
.publishing { background: var(--mist); padding-block: 4.5rem 4.7rem; }
.publishing .section-heading { align-items: start; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.platform { display: grid; grid-template-columns: 50px 1fr; align-items: start; gap: 1.1rem; padding-top: 1.6rem; border-top: 1px solid #bac8e0; }
.platform-mark { width: 48px; height: 48px; display: grid; place-items: center; color: #284cb7; background: #f6f8fc; border-radius: 50%; font-size: 1.05rem; font-weight: 700; }
.platform h3 { font-size: 1.15rem; font-weight: 650; }
.platform-author { font-size: .9375rem; color: var(--muted); margin-top: .1rem; }
.platform-description { color: var(--muted); margin-top: .75rem; font-size: .9375rem; }
.text-link { display: inline-block; padding: .2rem 0; border-bottom: 1px solid currentColor; color: #244bbd; font-weight: 600; font-size: .9375rem; }
.text-link:hover { color: var(--ink); }
.platform .text-link { margin-top: 1.1rem; }
.platform-note { margin-top: 1.9rem; color: #53617a; font-size: .875rem; }
.about { padding-block: 5.5rem; display: grid; grid-template-columns: .65fr 1.35fr; gap: 4rem; }
.about-copy p { max-width: 43rem; color: var(--muted); font-size: 1rem; line-height: 1.95; }
.about-copy .about-invitation { color: var(--ink); margin-top: 1rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding-block: 1.8rem; color: var(--muted); font-size: .875rem; }
.footer-brand { color: var(--ink); font-weight: 600; }
.footer-inner a:hover { color: var(--blue); }
@media (min-width: 1600px) { .hero { padding-top: 5.5rem; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 4rem); }
  .hero { grid-template-columns: 1.1fr 1fr; gap: 2.5rem; }
  .hero h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
  .hero-image { height: 490px; }
  .hero-caption { margin-top: 2.2rem; }
  .project-grid { gap: 1.6rem; }
  .project-cover img { height: 275px; }
  .project-city .project-cover img { height: 255px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 1rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 82px; gap: 1rem; }
  .brand { gap: .5rem; }
  .brand-name { font-size: 1.05rem; }
  .brand-symbol { width: 34px; height: 34px; font-size: 1.2rem; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .875rem; }
  .site-nav a:last-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 2.1rem; padding-top: 2.8rem; padding-bottom: 3.6rem; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: none; font-size: clamp(2.35rem, 7.3vw, 3.2rem); line-height: 1.45; letter-spacing: -.03em; }
  .hero-title-line:last-child { font-size: inherit; white-space: normal; }
  .hero-intro { font-size: 1rem; margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-caption { display: none; }
  .hero-visual { width: 100%; padding-right: .7rem; }
  .hero-image { height: 400px; border-radius: 85px 10px 10px 10px; object-position: center 32%; }
  .hero-visual::before { border-radius: 85px 10px 10px 10px; inset: .9rem 0 2.5rem .9rem; }
  .hero-visual figcaption { padding-top: .8rem; }
  .section-heading { display: block; margin-bottom: 1.7rem; }
  .section-heading p { margin-top: .8rem; }
  .projects { padding-bottom: 3.5rem; }
  .project-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .project-city { margin-top: 0; }
  .project-cover img { height: 290px; }
  .project-city .project-cover img { height: auto; aspect-ratio: 3/2; }
  .project-content { padding-top: 1.25rem; }
  .project h3 { font-size: 1.45rem; }
  .publishing { padding-block: 3rem; }
  .platforms { grid-template-columns: 1fr; gap: 1.9rem; }
  .platform { gap: 1rem; }
  .about { display: block; padding-block: 3.4rem; }
  .about-copy { margin-top: 1.3rem; }
  .footer-inner { padding-block: 1.4rem; gap: .7rem 1.2rem; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 2rem); }
  .site-nav { gap: .7rem; }
  .brand-name { font-size: 1rem; }
  .hero h1 { font-size: 2rem; }
  .hero-image { height: 350px; }
  .button { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
