:root {
  color-scheme: light;
  --ink: #201b19;
  --paper: #f8f5ef;
  --accent: #a32e30;
  --muted: #655951;
  --line: #d9d0c5;
  font: 16px/1.65 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1320px, calc(100% - clamp(40px, 10vw, 144px))); margin-inline: auto; }
.masthead, .footer-main, .section-heading, .card-label, .hero-caption {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.masthead { min-height: 76px; border-bottom: 1px solid var(--line); }
.masthead nav, .footer { font-size: .87rem; }
.brand { font-size: 1.45rem; font-weight: 800; letter-spacing: -.05em; display: inline-flex; align-items: baseline; gap: 6px; }
.brand span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.intro { padding: clamp(46px, 7vw, 100px) 0 clamp(28px, 4vw, 50px); }
.eyebrow, .meta { font-size: .76rem; line-height: 1.5; font-weight: 650; letter-spacing: .12em; color: var(--muted); }
.eyebrow { color: var(--accent); }
.eyebrow span { display: inline-block; width: 20px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 6px; }
h1 { margin-block: 12px 16px; font-size: clamp(3rem, 7.6vw, 7rem); font-weight: 800; line-height: 1.12; letter-spacing: -.075em; }
h1 span { color: var(--accent); }
.lead { color: var(--muted); font-size: clamp(.98rem, 1.6vw, 1.15rem); max-width: 42em; }
.hero-link { display: block; background: #251e29; overflow: hidden; }
.hero-link img { aspect-ratio: 3.16; object-fit: cover; object-position: 61% center; }
.hero-caption { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
.cases, .gallery { padding-block: clamp(42px, 7vw, 98px); }
.section-heading { align-items: end; margin-bottom: clamp(16px, 3vw, 30px); }
.section-heading h2 { font-size: clamp(1.9rem, 4vw, 3.5rem); line-height: 1.18; letter-spacing: -.06em; margin-top: 5px; }
.section-heading > span { flex: none; }
.case-grid, .photo-grid, .overview { display: grid; gap: clamp(16px, 2.7vw, 34px); }
.case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: block; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.card-media { overflow: hidden; background: #e2d8cf; }
.card-media img { aspect-ratio: 1.56; object-fit: cover; transition: transform .32s ease; }
.card:hover img { transform: scale(1.035); }
.card-label { margin-top: 12px; }
.arrow { font-size: 1.12rem; color: var(--accent); }
.card h3 { margin-block: 4px 7px; font-size: clamp(1.12rem, 1.8vw, 1.48rem); line-height: 1.4; letter-spacing: -.025em; }
.card p, .overview p { color: var(--muted); font-size: .96rem; }
.footer { padding-block: 22px 18px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-main { flex-wrap: wrap; }
.footer strong { font-size: 1.05rem; color: var(--ink); }
.footer-operator { display: block; margin-top: 4px; }
.filing { display: table; margin: 18px auto 0; text-align: center; text-decoration: underline; }
.back { display: inline-block; margin-bottom: 26px; color: var(--muted); font-size: .91rem; }
.detail-intro h1 { font-size: clamp(2.1rem, 5.8vw, 5.1rem); max-width: 17em; letter-spacing: -.055em; overflow-wrap: anywhere; }
.overview { grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--line); padding-block: clamp(20px, 3vw, 36px); }
.overview h2 { margin-bottom: 7px; font-size: 1.2rem; }
.photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.photo-grid.single { grid-template-columns: minmax(0, 1fr); }
.photo-grid figcaption { padding-block: 10px; border-bottom: 1px solid var(--line); }
.next { border-top: 1px solid var(--line); padding-block: 22px 42px; overflow-wrap: anywhere; }
.next a { display: inline-block; margin-top: 4px; font-size: clamp(1.12rem, 2vw, 1.6rem); font-weight: 700; }
@media (max-width: 680px) {
  .masthead { min-height: 64px; }
  .brand { font-size: 1.3rem; }
  .case-grid, .overview, .photo-grid { grid-template-columns: minmax(0, 1fr); }
  .case-grid { gap: 26px; }
  .hero-link img { aspect-ratio: 1.45; }
  .card-media img { aspect-ratio: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  .card-media img { transition: none; }
}
