:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --white: #fff;
  --ink: #172921;
  --muted: #4d6156;
  --green: #245b45;
  --line: #d8e0d8;
  --tint: #e4ede3;
  --red: #a84237;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
* { box-sizing: border-box; }
body, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 90px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 5; padding: 8px 14px; background: var(--white); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.top-inner { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 750; }
.mark { display: grid; place-items: center; width: 35px; height: 35px; color: white; background: var(--red); border-radius: 7px; }
nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: .9rem; }
nav a { text-decoration: none; }
nav a:hover { color: var(--green); text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-block: 76px 88px; }
.eyebrow, .tag { color: var(--green); font-size: .82rem; font-weight: 700; letter-spacing: .08em; margin: 0 0 10px; }
h1, h2, h3 { margin: 0; line-height: 1.3; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.75rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.55rem); letter-spacing: -.035em; }
h3 { font-size: 1.22rem; }
.intro { margin: 23px 0 27px; max-width: 36ch; font-size: 1.06rem; color: var(--muted); }
.button { display: inline-flex; align-items: center; gap: 20px; background: var(--green); color: white; border-radius: 7px; text-decoration: none; padding: 12px 18px; font-weight: 700; }
.button:hover { background: #184734; }
.hero-visual { background: #244d3d; color: #f1f8f1; border-radius: 14px; padding: 25px; min-width: 0; box-shadow: 0 14px 32px #253c2c20; }
.visual-top { display: flex; gap: 12px; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 16px; }
.visual-top span + span { font-size: .77rem; color: #d6e7dc; font-weight: 500; }
.hero-shot { display: grid; place-items: center; overflow: hidden; min-height: 165px; aspect-ratio: 1.9; background: white; border-radius: 8px; }
.hero-shot img { max-height: 100%; width: 100%; object-fit: contain; }
figcaption { margin-top: 14px; color: #e4eee7; font-size: .87rem; }
.case-section { border-block: 1px solid var(--line); background: #edf2ec; padding-block: 58px 65px; }
.section-head { display: flex; gap: 24px; align-items: end; justify-content: space-between; }
.section-head > p { color: var(--muted); margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 23px 0; }
.filters button { border: 1px solid #bdcfc0; border-radius: 6px; background: var(--white); color: var(--ink); padding: 7px 13px; font-size: .88rem; }
.filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.case { background: var(--white); border: 1px solid #cdd9ce; border-radius: 10px; overflow: hidden; }
.shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f3f6f4; border-bottom: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: contain; }
.shot-document img { object-fit: cover; object-position: top; }
.shot:focus-visible, .hero-shot:focus-visible { outline-offset: -4px; }
.case-body { padding: 18px; }
.case-body > p:not(.tag), .services p, .about p:not(.eyebrow) { color: var(--muted); }
.case-body > p:not(.tag) { margin: 10px 0 16px; }
.tag { font-size: .75rem; }
details { border-top: 1px solid var(--line); padding-top: 11px; font-size: .88rem; }
summary { color: var(--green); font-weight: 700; cursor: pointer; }
dl { margin-bottom: 0; }
dt { font-weight: 700; }
dd { color: var(--muted); margin: 3px 0 10px; }
.services { display: grid; grid-template-columns: 1fr 2.15fr; gap: 38px; padding-block: 65px; }
.services-list { border-top: 1px solid var(--line); }
.services-list div { padding-block: 17px; border-bottom: 1px solid var(--line); }
.services-list p, .contact p { margin: 6px 0 0; }
.about { background: var(--tint); padding-block: 54px; }
.about-inner { display: grid; grid-template-columns: 2fr 1fr; align-items: center; gap: 30px; }
.about h2 { font-size: clamp(1.45rem, 2.7vw, 2rem); }
.about-inner > div > p:last-child { margin-bottom: 0; }
.contact { border-left: 1px solid #b9cabd; padding-left: 24px; }
footer { padding-block: 22px; color: var(--muted); font-size: .85rem; }
dialog { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 12px; width: min(1050px, calc(100% - 30px)); }
dialog::backdrop { background: #0f201bd9; }
dialog form { display: flex; justify-content: end; margin-bottom: 8px; }
dialog button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 5px; padding: 5px 10px; }
dialog img { max-height: 72vh; margin-inline: auto; object-fit: contain; }
dialog p { margin: 8px 0 0; text-align: center; font-size: .88rem; color: var(--muted); }
@media (max-width: 920px) {
  .hero { gap: 24px; padding-block: 55px; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { align-items: start; flex-direction: column; gap: 9px; padding-block: 11px; }
  nav { gap: 20px; }
  .hero, .cases, .services, .about-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 38px 43px; }
  .hero-visual { padding: 16px; }
  .section-head { align-items: start; flex-direction: column; gap: 10px; }
  .case-section, .services, .about { padding-block: 37px; }
  .services, .about-inner { gap: 22px; }
  .contact { border-left: 0; border-top: 1px solid #b9cabd; padding: 17px 0 0; }
  .footer-inner { align-items: start; flex-direction: column; gap: 7px; }
}
