:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --ink: #172722;
  --muted: #4e6257;
  --line: #ced9d0;
  --accent: #277a59;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p, h1, h2, h3, dl, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; transform: translateY(-150%); background: white; padding: 8px 15px; z-index: 5; }
.skip:focus { transform: none; }
header { display: flex; align-items: center; justify-content: space-between; min-height: 84px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand i { width: 15px; height: 15px; border-radius: 2px 9px 2px 9px; background: var(--accent); transform: rotate(-12deg); }
nav { display: flex; gap: clamp(18px, 3vw, 46px); font-size: 14px; }
nav a:hover, footer a:hover { color: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: end; gap: 56px; padding-block: clamp(64px, 9vw, 142px) clamp(56px, 7vw, 103px); }
.label { display: flex; align-items: center; gap: 10px; font: 600 12px/1.5 -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: .105em; color: var(--muted); }
.label b { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
h1 { margin-top: 23px; font-size: clamp(64px, 10.2vw, 146px); letter-spacing: -.09em; line-height: 1.02; white-space: nowrap; }
h1 span { color: var(--accent); padding-left: .045em; }
.intro { max-width: 435px; }
.intro h2 { font-size: clamp(20px, 2.1vw, 30px); line-height: 1.45; letter-spacing: -.035em; }
.intro p { margin-top: 13px; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.primary, .secondary, .case-button, .dialog-bar button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border: 1px solid var(--line); border-radius: 100px; background: transparent; padding: 9px 16px; font-size: 14px; white-space: nowrap; transition: background .2s; }
.primary { background: var(--ink); border-color: var(--ink); color: white; }
.primary:hover { background: #2e5343; }
.secondary:hover, .case-button:hover, .dialog-bar button:hover { background: #e4eee6; }
small { color: var(--muted); font-size: 12px; }
.section-head { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-top: 18px; }
.section-head h2 { font-size: 22px; letter-spacing: -.045em; }
.art { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #e4ece5; }
.art img { aspect-ratio: 16 / 9; object-fit: cover; transition: transform .48s cubic-bezier(.2,.7,.3,1); }
.featured .art img { aspect-ratio: 2.45; }
.art:hover img { transform: scale(1.035); }
.caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 19px; }
.caption h3 { font-size: clamp(23px, 3vw, 37px); letter-spacing: -.05em; margin-block: 3px; }
.caption p:not(.label), .more p { color: var(--muted); }
.grid { margin-top: 45px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.more { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 50px 0 75px; padding-top: 20px; border-top: 1px solid var(--line); }
.about { background: #e8f0e7; padding-block: 70px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.about h2, footer h2 { font-size: clamp(32px, 5vw, 68px); letter-spacing: -.06em; line-height: 1.2; margin-top: 12px; }
.lead { font-size: 24px; font-weight: 650; margin-bottom: 15px; }
.about dl { margin-top: 24px; }
.about dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #bacbbd; padding: 11px 0; }
dd { margin: 0; color: var(--muted); }
footer { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-block: 55px; }
footer a { border-bottom: 1px solid var(--line); }
dialog { width: min(880px, calc(100% - 30px)); max-height: 90dvh; border: 1px solid var(--line); border-radius: 12px; padding: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #10251ecc; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-bar { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 10px 20px; background: var(--paper); }
#case-content { padding: 0 clamp(18px, 5vw, 50px) 40px; }
#case-content h2 { font-size: clamp(30px, 6vw, 55px); margin-block: 7px 12px; }
.summary { max-width: 620px; margin-bottom: 24px; }
figure { margin-bottom: 22px; }
figure img { border-radius: 6px; }
figcaption { margin-top: 6px; color: var(--muted); font-size: 14px; }
@media (max-width: 780px) {
  .shell { width: calc(100% - 40px); }
  header { min-height: 68px; }
  .hero, .about-grid, .grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-block: 52px 44px; }
  h1 { margin-top: 13px; font-size: clamp(64px, 16vw, 108px); }
  .featured .art img { aspect-ratio: 16 / 9; }
  .grid { margin-top: 30px; }
  .caption p:not(.label) { font-size: 14px; }
  .case-button { padding-inline: 11px; }
  .more, footer { align-items: flex-start; flex-direction: column; }
  .more { margin-block: 35px 50px; }
  .about { padding-block: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
