:root {
  --paper: #f8f9f6;
  --paper-soft: #ebf0ea;
  --ink: #17231b;
  --muted: #4c5e52;
  --line: #c9d4ca;
  --accent: #315f46;
  --accent-hover: #214d35;
  --night: #080e0a;
  --sage-light: #c6dfcb;
  --font: "Microsoft YaHei UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html,body { min-width: 300px; }
body { margin: 0; font-size: 16px; line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
button { font: inherit; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { line-height: 1.22; }
h1,h2,h3 { font-weight: 700; }
.shell { width: min(100% - 88px,1360px); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 16px; transform: translateY(-140px); z-index: 30; background: #fff; color: var(--night); padding: 10px 18px; }
.skip:focus { transform: none; }
.scroll-progress { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.site-header { position: relative; z-index: 10; color: #fff; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.16); }
.header-inner { min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; line-height: 1.05; font-weight: 700; white-space: nowrap; }
.brand-symbol { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; }
.brand-symbol img { width: 44px; height: 44px; object-fit: contain; }
.brand small { display: block; color: #b6c7ba; font-size: 10px; font-weight: 500; letter-spacing: .15em; margin-top: 6px; }
nav { display: flex; align-items: center; gap: clamp(16px,2.6vw,42px); font-size: 14px; font-weight: 600; }
nav a { white-space: nowrap; transition: color .25s var(--ease); }
nav a:not(.nav-official) { background: linear-gradient(var(--accent) 0 0) left bottom / 0 1px no-repeat; transition: color .25s var(--ease),background-size .4s var(--ease); }
nav a:not(.nav-official):hover { background-size: 100% 1px; }
nav a:hover { color: var(--sage-light); }
.text-link:hover,.service a:hover,.contact a:hover { color: var(--accent-hover); }
nav .nav-official { display: inline-flex; gap: 8px; align-items: center; color: var(--night); background: #fff; border-radius: 999px; padding: 10px 18px; transition: color .3s var(--ease),background .3s var(--ease),transform .3s var(--ease); }
nav .nav-official:hover { color: var(--night); background: #dcebe0; transform: translateY(-2px); }
.hero { position: relative; isolation: isolate; min-height: 720px; overflow: hidden; color: #fff; background: var(--night); }
.hero::after { content: ""; position: absolute; z-index: 2; inset: auto 0 -1px; height: 145px; background: linear-gradient(0deg,var(--paper),transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 3; display: flex; align-items: center; min-height: 720px; padding-block: 65px 145px; pointer-events: none; }
.hero-copy { width: min(100%,660px); min-width: 0; pointer-events: auto; }
.hero-kicker,.section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.hero-kicker::before,.section-kicker::before { content: ""; width: 7px; height: 7px; flex: none; background: currentColor; }
.hero .hero-kicker { padding: 7px 14px; color: #fff; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; background: rgba(5,12,7,.25); }
.hero .hero-kicker::before { background: var(--sage-light); }
.hero h1 { max-width: 12em; margin-top: 26px; font-size: clamp(55px,5.8vw,84px); letter-spacing: -.06em; line-height: 1.15; }
.hero h1 .hero-line { display: block; white-space: nowrap; }
.hero h1 .hero-line:nth-child(2) { color: #d9e6dc; font-weight: 600; }
.hero h1 .hero-accent { color: var(--sage-light); }
.hero-copy>p { max-width: 500px; margin-top: 30px; font-size: clamp(17px,1.6vw,20px); line-height: 1.75; color: #e0e8e0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 35px; min-height: 52px; padding: 12px 20px 12px 23px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .3s var(--ease),background .3s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { color: #fff; background: linear-gradient(var(--accent-hover) 0 0) left / 0 100% no-repeat var(--accent); transition: transform .3s var(--ease),background-size .55s var(--ease); }
.button-primary:hover { background-size: 100% 100%; }
.hero .button-primary { min-height: 58px; padding-inline: 27px; color: var(--night); background: linear-gradient(#dcebe0 0 0) left / 0 100% no-repeat #fff; border-radius: 999px; }
.hero .text-link { color: #fff; }
.hero .text-link:hover { color: var(--sage-light); }
.text-link { display: inline-flex; align-items: center; gap: 16px; width: fit-content; font-size: 15px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 5px; transition: color .25s var(--ease); }
.button span,.text-link span,.service a span,.contact-email span,.contact dd a span,.nav-official span { display: inline-block; transition: transform .4s var(--ease); }
.button:hover span,.text-link:hover span,.service a:hover span,.contact-email:hover span,.contact dd a:hover span,.nav-official:hover span { transform: translate(3px,-3px); }
.hero-visual { position: absolute; inset: 0 0 0 auto; width: 72%; min-width: 0; height: 100%; }
.hero-visual::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,var(--night) 0%,rgba(8,14,10,.89) 15%,rgba(8,14,10,.44) 49%,rgba(8,14,10,.08) 100%),linear-gradient(0deg,rgba(8,14,10,.42),transparent 45%); pointer-events: none; }
.image-frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--night); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; transition: transform 1s var(--ease); }
.hero-visual:hover img,.case:hover img { transform: scale(1.035); }
.hero-visual figcaption { position: absolute; z-index: 2; right: clamp(28px,4vw,72px); bottom: 144px; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #e3eee4; }
.hero-visual figcaption span:last-child { color: var(--sage-light); white-space: nowrap; }
.intro { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; gap: clamp(32px,6vw,96px); padding-block: 96px; border-top: 1px solid var(--line); }
.intro h2 { font-size: clamp(30px,3.3vw,48px); letter-spacing: -.035em; }
.intro p { font-size: 17px; line-height: 1.95; color: var(--muted); max-width: 580px; }
.services { padding-block: 50px 120px; }
.section-head { max-width: 850px; margin-bottom: 48px; }
.section-head h2 { margin-top: 13px; font-size: clamp(36px,4.1vw,58px); letter-spacing: -.045em; }
.section-head p { margin-top: 16px; max-width: 620px; color: var(--muted); }
.service-list { border-top: 1px solid var(--ink); }
.service { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr) auto; align-items: center; gap: 30px; min-height: 154px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(24px,2.35vw,34px); letter-spacing: -.025em; }
.service p { color: var(--muted); max-width: 540px; line-height: 1.85; }
.service a { white-space: nowrap; font-size: 14px; font-weight: 700; padding-bottom: 3px; border-bottom: 1px solid currentColor; transition: color .25s var(--ease); }
.service a span { margin-left: 10px; }
.story-band { overflow: clip; color: #fff; background: var(--night); }
.story-band .section-kicker { color: #fff; }
.story-band-inner { padding-block: 72px 78px; }
.story-band h2 { margin-top: 23px; font-size: clamp(48px,6.45vw,92px); letter-spacing: -.06em; line-height: 1.18; }
.story-band h2 span { display: block; width: fit-content; }
.story-band h2 span:last-child { margin-left: auto; color: #fff; }
@supports (-webkit-text-stroke: 1px #fff) {
  .story-band h2 span:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--sage-light); }
}
.story-band p { display: flex; align-items: center; gap: 15px; margin-top: 32px; color: #dadada; font-size: 15px; font-weight: 700; letter-spacing: .07em; white-space: nowrap; }
.story-band p span { color: #fff; }
.story-band p::after { content: ""; height: 1px; flex: 1; margin-left: 12px; background: #777; transform-origin: left; }
.cases { background: var(--paper-soft); padding-block: 100px 112px; }
.case-head { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.case-head h2 { max-width: 800px; }
.case-head .text-link { flex-shrink: 0; }
.cases-grid { display: grid; grid-template-columns: minmax(0,1.14fr) minmax(0,.86fr); gap: 25px 32px; }
.case { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; min-width: 0; color: var(--ink); }
.case-image { display: block; grid-column: 1 / -1; height: 192px; overflow: hidden; background: #d4ded5; transition: clip-path 1s var(--ease); }
.case-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease); }
.case-featured { grid-row: span 2; }
.case-featured .case-image { height: 506px; }
.case-meta { grid-column: 1 / 2; margin-top: 11px; color: var(--muted); font-size: 13px; }
.case h3 { grid-column: 1 / 2; font-size: clamp(18px,1.7vw,24px); margin-top: 4px; }
.case-arrow { grid-column: 2; grid-row: 3 / 5; align-self: center; font-size: 23px; color: var(--accent); transition: transform .4s var(--ease); }
.case:hover h3 { color: var(--accent-hover); }
.case:hover .case-arrow { transform: translate(4px,-4px); }
.about { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); align-items: center; gap: clamp(40px,7vw,120px); padding-block: 125px; }
.about-image { overflow: hidden; }
.about-image img { width: 100%; height: clamp(360px,39vw,540px); object-fit: cover; }
.about-copy h2 { font-size: clamp(40px,4.4vw,62px); letter-spacing: -.045em; margin-top: 15px; }
.about-copy p { max-width: 480px; margin-top: 24px; color: var(--muted); line-height: 1.9; }
.about-copy p+p { margin-top: 10px; }
.about-copy .text-link { margin-top: 28px; }
.contact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.92fr); gap: clamp(36px,6vw,90px); padding-block: 46px 90px; border-top: 1px solid var(--line); }
.contact-content { padding-top: 52px; }
.contact h2 { font-size: clamp(38px,4.35vw,61px); letter-spacing: -.045em; margin-top: 16px; }
.contact-content>p { max-width: 540px; margin-top: 20px; color: var(--muted); }
.contact-email { display: inline-block; max-width: 100%; margin-top: 30px; color: var(--accent); font-size: clamp(20px,2.1vw,29px); font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.contact-email span { margin-left: 7px; white-space: nowrap; }
.contact dl { margin: 52px 0 0; }
.contact dl>div { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 15px; padding: 15px 0; border-top: 1px solid var(--line); }
.contact dt { color: var(--muted); font-size: 13px; }
.contact dd { margin: 0; overflow-wrap: anywhere; }
.contact address { font: inherit; }
.contact dd a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-visual { min-width: 0; }
.contact-visual img { width: 100%; height: 100%; min-height: 520px; max-height: 660px; object-fit: cover; object-position: center; }
.contact-visual figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; text-align: right; }
.site-footer { color: #fff; background: var(--night); }
.footer-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 25px; font-size: 14px; color: #b8c7bb; }
.footer-brand { font-size: 22px; color: #fff; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { transition: color .25s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-links .footer-record { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.footer-record img { width: 20px; height: 20px; object-fit: contain; flex: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: scroll-scale linear both; animation-timeline: scroll(root block); }
  @keyframes scroll-scale { to { transform: scaleX(1); } }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .motion-ready .hero-visual .image-frame { transform: perspective(1200px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition: transform .28s ease-out; }
  .motion-ready .hero-visual .image-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(420px circle at var(--cursor-x,50%) var(--cursor-y,50%),rgba(255,255,255,.23),transparent 65%); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
  .motion-ready .hero-visual:hover .image-frame::before { opacity: 1; }
}
@media(prefers-reduced-motion:no-preference) {
  @supports (animation-timeline: view()) {
    .story-band h2 span:first-child { animation: story-left linear both; animation-timeline: view(block); animation-range: entry 0% cover 43%; }
    .story-band h2 span:last-child { animation: story-right linear both; animation-timeline: view(block); animation-range: entry 0% cover 43%; }
    .story-band p::after { animation: story-rule linear both; animation-timeline: view(block); animation-range: entry 0% cover 40%; }
  }
  .motion-ready .hero-kicker { animation: hero-rise .7s .08s both var(--ease); }
  .motion-ready .hero-line { animation: hero-rise .85s .2s both var(--ease); }
  .motion-ready .hero-line:nth-child(2) { animation-delay: .34s; }
  .motion-ready .hero-copy>p { animation: hero-rise .75s .5s both var(--ease); }
  .motion-ready .hero-actions { animation: hero-rise .75s .62s both var(--ease); }
  .motion-ready .hero-visual { animation: hero-rise .9s .25s both var(--ease); }
  .motion-ready .hero-visual .image-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--night); animation: image-curtain 1.15s .42s both var(--ease); pointer-events: none; }
  .motion-ready .hero-visual .image-frame img { animation: hero-image 1.6s .32s backwards var(--ease); }
  .motion-ready .reveal { opacity: 0; transform: translate3d(0,32px,0); transition: opacity .85s var(--ease),transform .85s var(--ease); transition-delay: var(--reveal-delay,0ms); }
  .motion-ready .reveal.is-visible { opacity: 1; transform: none; }
  .service:nth-child(2),.cases-grid .case:nth-child(2) { --reveal-delay: 90ms; }
  .service:nth-child(3),.cases-grid .case:nth-child(3) { --reveal-delay: 180ms; }
  .motion-ready .case.reveal:not(.is-visible) .case-image { clip-path: inset(0 100% 0 0); }
  .motion-ready .case.reveal.is-visible .case-image { clip-path: inset(0 0 0 0); }
  .motion-ready .about-image.reveal { transform: translate3d(-38px,0,0); }
  .motion-ready .about-copy.reveal,.motion-ready .contact-visual.reveal { transform: translate3d(38px,0,0); }
  .motion-ready .about-image.reveal.is-visible,.motion-ready .about-copy.reveal.is-visible,.motion-ready .contact-visual.reveal.is-visible { transform: none; }
  @keyframes hero-rise { from { opacity: 0; transform: translate3d(0,32px,0); } to { opacity: 1; transform: none; } }
  @keyframes image-curtain { from { transform: translateX(0); } to { transform: translateX(101%); } }
  @keyframes hero-image { from { transform: scale(1.1); } to { transform: scale(1); } }
  @keyframes story-left { from { opacity: .18; transform: translate3d(-9vw,0,0); } to { opacity: 1; transform: none; } }
  @keyframes story-right { from { opacity: .18; transform: translate3d(9vw,0,0); } to { opacity: 1; transform: none; } }
  @keyframes story-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media(max-width:1100px) {
  .hero,.hero-inner { min-height: 680px; }
  .hero-visual { width: 78%; }
  .hero h1 { font-size: clamp(49px,5.7vw,70px); }
  .service { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .service a { grid-column: 2; justify-self: start; }
  .case .case-image { height: 166px; }
  .case.case-featured .case-image { height: 460px; }
}
@media(max-width:800px) {
  .shell { width: min(100% - 40px,1360px); }
  .header-inner { padding-block: 14px; flex-wrap: wrap; gap: 14px; }
  nav { width: 100%; justify-content: space-between; gap: 12px; }
  .hero,.hero-inner { min-height: calc(100svh - 120px); }
  .hero-inner { padding-block: 64px 145px; }
  .hero-visual { width: 100%; }
  .hero-visual::after { background: linear-gradient(90deg,rgba(8,14,10,.87),rgba(8,14,10,.53)),linear-gradient(0deg,rgba(8,14,10,.55),transparent 55%); }
  .hero-visual figcaption { right: 20px; bottom: 114px; }
  .hero h1 { font-size: clamp(48px,10vw,76px); max-width: none; }
  .hero-copy>p { max-width: 640px; }
  .intro { grid-template-columns: 1fr; gap: 18px; padding-block: 70px; }
  .services { padding-block: 26px 82px; }
  .story-band-inner { padding-block: 65px 70px; }
  .service { grid-template-columns: 1fr auto; gap: 12px 20px; min-height: 0; }
  .service h3 { grid-column: 1 / -1; }
  .service p { grid-column: 1; }
  .service a { grid-column: 2; }
  .cases { padding-block: 76px 84px; }
  .cases-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .case-featured { grid-row: auto; grid-column: 1 / -1; }
  .case .case-image { height: 220px; }
  .case.case-featured .case-image { height: 420px; }
  .about { grid-template-columns: 1fr; padding-block: 86px; gap: 40px; }
  .about-image img { height: 460px; }
  .contact { grid-template-columns: 1fr; padding-block: 50px 70px; }
  .contact-content { padding-top: 15px; }
  .contact-visual img { min-height: 0; height: 420px; }
  .motion-ready .about-image.reveal,.motion-ready .about-copy.reveal,.motion-ready .contact-visual.reveal { transform: translate3d(0,28px,0); }
}
@media(max-width:520px) {
  .shell { width: calc(100% - 32px); }
  .brand { font-size: 18px; }
  .brand-symbol { width: 42px; height: 42px; }
  .brand-symbol img { width: 38px; height: 38px; }
  nav { justify-content: start; flex-wrap: wrap; column-gap: 19px; row-gap: 8px; font-size: 13px; }
  nav .nav-official { margin-left: auto; padding: 8px 12px; font-size: 12px; }
  .hero,.hero-inner { min-height: calc(100svh - 119px); }
  .hero-inner { padding-block: 50px 140px; }
  .hero-visual::after { background: linear-gradient(90deg,rgba(8,14,10,.78),rgba(8,14,10,.49)),linear-gradient(0deg,rgba(8,14,10,.63),transparent 60%); }
  .hero-visual figcaption { right: 16px; bottom: 112px; font-size: 10px; }
  .hero-kicker,.section-kicker { font-size: 12px; }
  .hero .hero-kicker { padding: 6px 11px; font-size: 11px; }
  .hero h1 { font-size: clamp(43px,11.5vw,58px); margin-top: 22px; letter-spacing: -.07em; }
  .hero-copy>p { font-size: 16px; margin-top: 20px; }
  .hero-actions { margin-top: 25px; gap: 13px 18px; }
  .button { min-height: 48px; gap: 15px; padding-inline: 15px; font-size: 14px; }
  .hero .button-primary { min-height: 52px; padding-inline: 20px; }
  .text-link { font-size: 14px; gap: 8px; }
  .intro { padding-block: 60px; }
  .intro h2 { font-size: 31px; }
  .intro p { font-size: 16px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 37px; }
  .section-head p { font-size: 15px; }
  .service { grid-template-columns: 1fr; padding-block: 25px; }
  .service h3,.service p,.service a { grid-column: 1; }
  .service h3 { font-size: 26px; }
  .service p { font-size: 15px; }
  .service a { margin-top: 2px; }
  .story-band-inner { padding-block: 58px 62px; }
  .story-band h2 { margin-top: 20px; font-size: clamp(30px,9vw,42px); }
  .story-band h2 span:last-child { color: #fff; -webkit-text-stroke: 0; }
  .story-band p { gap: 8px; margin-top: 25px; font-size: 13px; }
  .story-band p::after { margin-left: 3px; }
  .case-head { display: block; }
  .case-head .text-link { margin-top: 22px; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-featured { grid-column: 1; }
  .case .case-image,.case.case-featured .case-image { height: 250px; }
  .case h3 { font-size: 20px; }
  .about { padding-block: 74px; }
  .about-image img { height: 300px; }
  .about-copy h2 { font-size: 39px; }
  .contact h2 { font-size: 39px; }
  .contact dl { margin-top: 35px; }
  .contact dl>div { grid-template-columns: 1fr; gap: 3px; }
  .contact-visual img { height: 260px; }
  .footer-inner { align-items: start; padding-block: 30px; flex-direction: column; }
}
@media(max-width:375px) {
  nav { gap: 10px 14px; font-size: 12px; }
  nav .nav-official { margin-left: auto; }
  .hero h1 { font-size: 41px; }
  .hero-actions { gap: 13px; }
  .hero-visual figcaption { flex-wrap: wrap; justify-content: flex-end; gap: 2px 10px; }
}
@media(prefers-reduced-motion:reduce) {
  :root { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .scroll-progress { display: none; }
}

