:root {
  color-scheme: light;
  --ink: #1a1c1b;
  --muted: #535b59;
  --line: #d5dbd9;
  --paper: #fafaf7;
  --white: #fff;
  --accent: #00666c;
  --accent-surface: #e3f4f2;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1360px, calc(100% - 100px)); margin-inline: auto; }
.topbar { border-bottom: 1px solid var(--line); background: var(--white); }
.topbar .wrap, .footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar .wrap { min-height: 60px; }
.signature {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .65rem;
  font-weight: 750;
  text-decoration: none;
}
.signature span[lang] { font-weight: 800; letter-spacing: -.035em; }
.signature span:not([lang]) { color: var(--muted); font-size: .88rem; font-weight: 550; }
.header-nav { display: flex; align-items: center; gap: clamp(12px, 2.3vw, 30px); font-size: .92rem; white-space: nowrap; }
.header-nav a, .back { text-decoration: none; }
.header-nav a:hover, .back:hover { color: var(--accent); text-decoration: underline; }
.pdf-link { border: 1px solid var(--line); padding: .32rem .65rem; }
.type-caption { color: var(--accent); font-size: .9rem; font-weight: 680; letter-spacing: .035em; line-height: 1.45; }

.hero { padding-block: clamp(24px, 2.7vw, 38px) clamp(20px, 2.1vw, 30px); }
.hero h1 {
  font-size: clamp(3.5rem, 8.25vw, 8.15rem);
  font-weight: 800;
  letter-spacing: -.058em;
  line-height: .94;
  margin-top: .15em;
}
.hero-subline { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem 1rem; margin-top: .85rem; }
.hero .subtitle { font-size: clamp(1rem, 1.65vw, 1.5rem); font-weight: 750; }
.hero .fields { color: var(--muted); line-height: 1.5; }

.index-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
  row-gap: 10px;
  background: var(--paper);
  border-block: 1px solid var(--ink);
  padding-block: 12px;
}
.index-head h2 { font-size: .87rem; font-weight: 620; }
.index-head h2 span { font-size: 1.1rem; font-weight: 800; margin-inline-end: .25rem; }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; }
.jump a { border: 1px solid var(--line); border-radius: 999px; padding: .24rem .66rem; text-decoration: none; }
.jump a:hover { background: var(--accent-surface); border-color: var(--accent); color: var(--accent); }

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: start;
  column-gap: clamp(18px, 2vw, 30px);
  row-gap: 28px;
  padding-block: clamp(19px, 2.4vw, 33px) clamp(32px, 4.5vw, 68px);
}
.feature { scroll-margin-top: 102px; }
.feature-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--white);
  border: 1px solid var(--line);
}
.feature-media video, .feature-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.feature-media video { background: #ebeff1; }
.feature-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .7rem; }
.feature-meta span:last-child { color: var(--muted); font-size: .88rem; }
.feature h2 { font-size: clamp(1.9rem, 3.3vw, 3.4rem); font-weight: 800; letter-spacing: -.046em; line-height: 1; margin-block: .18em .28em; }
.feature h2 a { text-decoration: none; }
.feature h2 a:hover { color: var(--accent); text-decoration: underline; }
.feature p { color: var(--muted); line-height: 1.65; margin-top: .5rem; }
.text-link { display: inline-block; color: var(--accent); font-size: .92rem; font-weight: 650; margin-top: .65rem; }

.group, .about { scroll-margin-top: 102px; }
.group { padding-block: clamp(28px, 4vw, 56px); border-top: 1px solid var(--ink); }
.group-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; margin-bottom: 1.12rem; }
.group h2, .about h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.046em;
  line-height: 1.02;
}
.group-label, .about h2 small { font-size: .95rem; font-weight: 650; letter-spacing: 0; }
.group-title p { color: var(--muted); font-size: .9rem; margin-inline-start: auto; line-height: 1.55; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(12px, 2vw, 24px); }
.grid.two, .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: block; text-decoration: none; }
.card-cover { overflow: hidden; aspect-ratio: 16 / 10; background: var(--white); border: 1px solid var(--line); }
.card-cover img { height: 100%; object-fit: cover; }
.card h3 { font-size: clamp(1.12rem, 1.8vw, 1.47rem); font-weight: 750; line-height: 1.3; margin-top: .58rem; }
.card p { color: var(--muted); margin-top: .2rem; font-size: .92rem; line-height: 1.5; }
.card:hover h3 { color: var(--accent); text-decoration: underline; }
.social-project { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 42px); }
.social-project .card-cover { display: block; }
.social-copy h3 { font-size: clamp(1.3rem, 2.8vw, 2.1rem); letter-spacing: -.035em; }
.social-copy p { color: var(--muted); margin-top: .35rem; }
.social-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .65rem;
  color: var(--accent);
  border: 1px solid currentColor;
  padding: .55rem .8rem;
  margin-top: 1rem;
  font-size: .93rem;
  font-weight: 650;
  text-decoration: none;
}
.social-link span { font-size: .85rem; font-weight: 550; }
.social-link:hover { color: var(--white); border-color: var(--accent); background: var(--accent); }
.about {
  border-top: 1px solid var(--ink);
  padding-block: clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(20px, 4vw, 62px);
}
.about h2 small { display: inline-block; margin-inline-start: .3em; }
.about-cover { max-width: 21rem; margin-top: 1rem; border: 1px solid var(--line); }
.about p { max-width: 42rem; line-height: 1.8; }
.career { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.career li { display: flex; flex-wrap: wrap; gap: .3em 1em; justify-content: space-between; border-top: 1px solid var(--line); padding-block: .62rem; }
.career span { color: var(--muted); font-size: .9rem; }
.footer { border-top: 1px solid var(--line); padding-block: 22px; }
.footer p, .footer a { font-size: .91rem; }

.case { max-width: 1120px; }
.case-head { padding-block: clamp(28px, 5vw, 68px); }
.case .back { color: var(--accent); font-weight: 670; }
.case .type-caption { margin-top: 1.45rem; }
.case h1 { font-size: clamp(2.45rem, 7.5vw, 6.3rem); font-weight: 800; letter-spacing: -.055em; line-height: .97; margin-top: .17em; overflow-wrap: break-word; }
.case .subtitle { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .85rem; margin-top: 1rem; font-size: 1rem; }
.case .subtitle strong { font-size: 1.35rem; font-weight: 750; }
.case .summary { margin-top: .65rem; line-height: 1.7; color: var(--muted); max-width: 46rem; }
.case-media { display: grid; gap: 18px; }
.case-media img { background: var(--white); }
.case-media figure { margin: 0; }
.case-media figcaption { padding-block: 9px; text-align: right; font-size: .9rem; color: var(--accent); }
.case-section + .case-section, .case-media + .case-section { margin-top: clamp(25px, 4vw, 56px); }
.case-section h2 { font-size: clamp(1.3rem, 3vw, 2.15rem); margin-bottom: .75rem; }
.case-bottom { padding-block: 32px 64px; }

@media (min-width: 1080px) {
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-seed { max-width: 36rem; }
  .group-title p { margin-inline-start: 0; }
  .feature, .group, .about { scroll-margin-top: 130px; }
  .grid, .grid.two, .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-project, .about { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .topbar .wrap { min-height: 54px; }
  .signature span:not([lang]) { display: none; }
  .signature { flex-shrink: 0; font-size: .92rem; }
  .header-nav { gap: 10px; font-size: .86rem; }
  .pdf-link { border: none; padding: 0; }
  .hero h1 { font-size: clamp(2.75rem, 12.7vw, 3.85rem); }
  .jump { gap: 5px; }
  .jump a { padding: .17rem .45rem; font-size: .83rem; }
  .group-title p { width: 100%; }
  #concept .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 365px) {
  .feature, .group, .about { scroll-margin-top: 164px; }
  .header-nav { gap: 8px; font-size: .8rem; }
}

:root {
  --ink: #282630;
  --muted: #57545f;
  --line: #dddbe3;
  --paper: #fafafa;
  --accent: #574275;
  --accent-surface: #ede7f7;
  --editorial-gray: #f0eff2;
}
.signature, .signature span[lang], .index-head h2 span { font-weight: 630; }
.section-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--accent-surface);
}
.section-band a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .15rem;
  min-height: 4.7rem;
  padding: .65rem .4rem;
  border-inline-end: 1px solid var(--white);
  text-align: center;
  text-decoration: none;
}
.section-band a:last-child { border-inline-end: 0; }
.section-band a:hover { background: #e4daf1; }
.section-band span { font-size: clamp(.95rem, 1.5vw, 1.3rem); font-weight: 620; }
.section-band small { color: var(--muted); font-size: .85rem; }
.portfolio-home .topbar { border: 0; background: transparent; }
.hero { text-align: center; padding-block: clamp(18px, 2.8vw, 40px) clamp(24px, 3.5vw, 48px); }
.hero h1 {
  font-size: clamp(2.9rem, 6.2vw, 5.7rem);
  font-weight: 620;
  letter-spacing: -.045em;
  line-height: 1.03;
}
.hero-subline { justify-content: center; }
.hero .subtitle { font-weight: 550; }
.index-head {
  position: static;
  background: var(--editorial-gray);
  padding: .85rem clamp(.8rem, 2vw, 1.35rem);
  border-color: var(--line);
}
.jump a { background: var(--white); }
.feature-grid {
  background: var(--editorial-gray);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin-bottom: clamp(28px, 5vw, 65px);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-content: center;
  align-items: start;
  gap: .38rem clamp(.6rem, 1.3vw, 1.1rem);
  padding: clamp(12px, 1.5vw, 22px);
  background: var(--editorial-gray);
  scroll-margin-top: 16px;
}
.feature + .feature { border-inline-start: 1px solid var(--white); }
.feature-media { grid-column: 1; grid-row: 1 / span 4; align-self: center; }
.feature-meta, .feature h2, .feature p, .feature .text-link { grid-column: 2; }
.feature h2 { font-size: clamp(1.5rem, 2.6vw, 2.45rem); font-weight: 620; margin: 0; line-height: 1.12; }
.feature p { margin: 0; font-size: .93rem; }
.feature .text-link { margin-top: .15rem; }
.group, .about { border-top-color: var(--line); scroll-margin-top: 16px; }
.group h2, .about h2, .case h1 { font-weight: 620; letter-spacing: -.035em; }
.card h3, .case .subtitle strong { font-weight: 620; }
.case-head { background: var(--editorial-gray); padding-inline: clamp(14px, 2.6vw, 38px); margin-block: clamp(14px, 2vw, 28px); }
@media (max-width: 1050px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media, .feature-meta, .feature h2, .feature p, .feature .text-link { grid-column: 1; }
  .feature-media { grid-row: 3; }
}
@media (max-width: 620px) {
  .section-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-band a { min-height: 3.6rem; border-bottom: 1px solid var(--white); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature + .feature { border: 0; border-top: 1px solid var(--white); }
  .feature-media { margin-block: .25rem; }
}
