:root {
  color-scheme: light;
  --ink: #132421;
  --dark: #101818;
  --mint: #abedd9;
  --paper: #f4f5ef;
  --pad: clamp(1.3rem, 5.8vw, 6.5rem);
  --sans: "Inter", "Helvetica Neue", "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Songti SC", "SimSun", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dark); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #579f91; outline-offset: 5px; }
.frame { width: min(100%, 104rem); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: var(--mint); padding: .7rem 1.1rem; }
.skip:focus { top: .6rem; }
.mast { background: #101818; color: #e5e8df; border-bottom: 1px solid #34403c; }
.mast-in { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3.5rem); min-height: 4.65rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.1rem; font-weight: 720; letter-spacing: .09em; line-height: 1; }
.brand img { display: block; }
.mast nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.8rem); }
.mast nav a, .language button { font-size: .9rem; line-height: 1.4; }
.mast nav a { padding: .7rem 0; }
.mast nav a:hover { color: var(--mint); }
.language { display: flex; align-items: center; gap: .3rem; border-left: 1px solid #44504c; padding-left: clamp(.6rem, 2.5vw, 2.8rem); }
.language span { color: #677570; }
.language button { border: 0; background: none; color: #a5b5af; padding: .6rem .15rem; cursor: pointer; }
.language button[aria-pressed=true] { color: var(--mint); font-weight: 650; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 75% 42%, #213631, transparent 56%), #101818; color: var(--paper); }
.hero canvas, .hero-veil { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-veil { background: linear-gradient(90deg, rgba(14,22,21,.94) 0, rgba(15,24,23,.8) 21%, rgba(15,24,23,.17) 48%, transparent 63%); }
.hero-in { min-height: clamp(32rem, 40vw, 42rem); display: flex; align-items: center; padding-block: clamp(4rem, 6vw, 6.5rem); }
.hero-copy { max-width: 43rem; }
.eyebrow { margin: 0 0 1.6rem; text-transform: uppercase; font-family: "IBM Plex Mono", Consolas, monospace; font-size: .82rem; font-weight: 500; letter-spacing: .13em; line-height: 1.7; }
.hero-kicker { display: flex; align-items: center; gap: .85rem; color: #c8e0d7; }
.hero-kicker::before { content: ""; width: 1.9rem; height: 1px; background: var(--mint); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h1 { font-size: clamp(3.7rem, 7.6vw, 8.45rem); line-height: .92; letter-spacing: -.073em; }
h1 span, h1 em, .service-section h2 span, .service-section h2 em { display: block; }
h1 em, .service-section h2 em { color: var(--mint); font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; }
h1 em { padding-right: .07em; }
.intro { max-width: 26.5rem; font-size: clamp(1.01rem, 1.25vw, 1.21rem); color: #c4d0c9; margin-block: 1.65rem 1.7rem; line-height: 1.53; }
.button { display: inline-block; padding: .76rem 1.35rem; font-size: .93rem; font-weight: 650; background: var(--mint); color: #102720; border-radius: 2px; transition: background .2s; }
.button:hover { background: #d1f9eb; }
.motion { position: absolute; right: var(--pad); bottom: 1.65rem; display: inline-flex; align-items: center; gap: .55rem; min-height: 2.5rem; border: 1px solid #62736c; border-radius: 5rem; padding: .35rem .9rem; cursor: pointer; color: #e3ece5; background: #11211ed9; font-size: .8rem; }
.motion:hover { border-color: var(--mint); }
.motion-icon { display: inline-block; width: 7px; height: 11px; border-inline: 2px solid currentColor; }
.motion[aria-pressed=true] .motion-icon { width: 0; height: 0; border: 0; border-left: 7px solid; border-block: 5px solid transparent; }
.section-space { padding-block: clamp(3.7rem, 6.2vw, 7rem); }
.industry-section { background: var(--paper); }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.8rem, 3vw, 3rem); }
h2 { font-size: clamp(2.75rem, 5.2vw, 5.6rem); letter-spacing: -.065em; line-height: 1.05; }
.section-intro p { max-width: 24rem; line-height: 1.5; color: #49615a; }
.industry-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(2rem,3.2vw,3.5rem) clamp(.9rem,1.5vw,1.8rem); }
.picture { aspect-ratio: 1.27; overflow: hidden; background: #405b51; }
.picture img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.84); color: #fff; transition: transform .65s ease; }
.industry-section .picture { position:relative; }
html[data-home-motion=on] .picture {
  clip-path:polygon(0 0, 100% 0, 100% calc(100% - var(--edge-cut,0%)), calc(100% - var(--edge-cut,0%)) 100%, 0 100%);
}
html[data-home-motion=on] .picture img { transform:translateY(var(--crop-shift,0%)) scale(1.10); transition:none; }
html[data-home-motion=on] .picture::after {
  content:""; position:absolute; pointer-events:none; top:var(--scan-at,-10%); inset-inline:0; height:1px;
  opacity:var(--scan-alpha,0); background:linear-gradient(90deg,transparent,#e1ffed 20% 68%,transparent);
  box-shadow:0 -2px 10px 2px #a5ebd866;
}
.industry-card:hover .picture img { transform: scale(1.035); }
.industry-card { position: relative; }
.industry-link { display: flex; align-items: baseline; justify-content: space-between; gap: .25em; }
.industry-link::after { content: ""; position: absolute; inset: 0; }
.card-arrow { font-size: .74em; font-weight: 400; color: #466056; transition: transform .2s ease; }
.industry-card:hover .card-arrow { transform: translate(2px,-2px); }
.industry-card:focus-within { outline: 3px solid #477e71; outline-offset: 6px; }
figcaption { margin-top: 1.1rem; }
h3 { font-size: clamp(1.3rem,1.8vw,2.1rem); letter-spacing: -.04em; line-height: 1.2; }
figcaption p { color: #52645c; margin-top: .5rem; font-size: 1rem; line-height: 1.5; }
.service-section { color: var(--paper); background: #192421; }
.service-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; }
.service-layout > div { min-width:0; }
.service-weave { position:relative; width:min(100%,29rem); aspect-ratio:480/236; margin-top:clamp(1.7rem,3.5vw,4.5rem); }
.service-weave img { position:absolute; height:63%; top:18%; left:29%; opacity:.75; }
.service-weave.is-drawn img { display:none; }
.service-weave canvas { position:absolute; inset:0; display:block; width:100%; height:100%; }
.service-section .eyebrow { color: #abd6c8; margin-top: .1rem; }
.service-list article { border-top: 1px solid #586760; padding: 1.45rem 0 1.6rem; }
.service-list article { position:relative; }
html[data-home-motion=on] .service-list article::before {
  content:""; position:absolute; height:1px; inset:-1px 0 auto; background:linear-gradient(90deg,#8ec8ad,#bef1d8 85%,#d7c99a);
  transform:scaleX(var(--line-fill,0)); transform-origin:left;
}
.service-list article:last-child { padding-bottom: 0; }
.service-list p { color: #c6cfc7; margin-top: .65rem; max-width: 37rem; }
.process-preview { background:#e8ede4; }
.process-preview-in { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1fr); gap:clamp(2rem,8vw,8rem); }
.process-preview h2 { max-width:13ch; text-wrap:balance; }
.process-library { display:inline-flex; align-items:center; gap:.9rem; margin-top:1.45rem; border-bottom:1px solid #526c60; color:#254d3d; }
.process-examples { list-style:none; margin:0; padding:0; }
.process-examples li { border-top:1px solid #9aa99c; }
.process-examples a { display:grid; grid-template-columns:clamp(5.8rem,9vw,9rem) minmax(0,1fr); column-gap:clamp(.85rem,1.3vw,1.5rem); align-content:center; padding:1rem 0 1.15rem; }
.process-plate { width:100%; height:auto; grid-row:span 2; align-self:center; }
html[data-home-motion=on] .process-plate { transform:translateY(var(--plate-shift,0px)); }
.process-examples strong { display:block; font-weight:600; font-size:1.05rem; }
.process-examples a span { display:block; color:#43584e; margin-top:.28rem; }
.process-examples a:hover strong,.process-library:hover { text-decoration:underline; text-underline-offset:.2em; }
.contact { background: var(--mint); }
.contact-in { padding-block: clamp(3rem,5vw,5rem); display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.contact .eyebrow { margin-bottom: 1rem; }
.partnerships .contact-in { align-items: start; }
.partnerships h2 { max-width: 12ch; text-wrap: balance; }
.partnership-copy { flex: 0 1 36rem; line-height: 1.65; }
.partnership-copy .email { display: inline-block; margin-top: 1.1rem; }
.partnership-contact { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:1.5rem; }
.email { border-bottom: 1px solid; font-size: clamp(1.1rem,2vw,2rem); }
footer { background: var(--dark); color: var(--paper); }
.footer-in { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-note { color: #aebdb6; font-size: .88rem; }
html[lang=zh-Hans] h1 { font-size: clamp(3.9rem,7.2vw,8rem); line-height: 1.12; letter-spacing: .005em; }
html[lang=zh-Hans] h1 em, html[lang=zh-Hans] .service-section h2 em { font-style: normal; }
html[lang=zh-Hans] h2, html[lang=zh-Hans] h3 { line-height: 1.25; letter-spacing: -.02em; }
html[lang=zh-Hans] .eyebrow { font-family: var(--sans); }
@media(max-width: 55rem) {
  .industry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem 1.15rem; }
  .picture { aspect-ratio: 1.45; }
  .hero-in { min-height: 31rem; }
}
@media(max-width: 41rem) {
  .mast-in { justify-content: space-between; flex-wrap: wrap; gap: 0; padding-top: .85rem; padding-bottom: .4rem; }
  .mast .brand { font-size: .98rem; }
  .mast nav { order: 3; width: 100%; margin: .3rem 0 0; flex-wrap:wrap; gap:.12rem clamp(.5rem,3vw,1.3rem); }
  .mast nav a { padding: .35rem 0; }
  .language { border: 0; padding-left: 0; }
  .hero-in { align-items: flex-start; min-height: 37rem; padding-block: 3rem 12rem; }
  .hero-kicker { font-size: .75rem; letter-spacing: .08em; margin-bottom: 1.4rem; }
  h1 { font-size: clamp(3.5rem,12.9vw,5rem); }
  .hero-copy { max-width: 28rem; }
  .hero-veil { background: linear-gradient(170deg, #101817fa 8%,#101817f0 23%,#1018179c 51%,transparent 72%); }
  .intro { max-width: 24rem; margin-block: 1.25rem; }
  .motion { right: 1rem; bottom: .8rem; }
  .section-intro,.contact-in { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .partnership-copy { flex: auto; }
  .section-intro p { max-width: 26rem; }
  .industry-grid { gap: 1.7rem .85rem; }
  .picture { aspect-ratio: 4/5; }
  figcaption { margin-top: .8rem; }
  figcaption h3 { font-size: 1.26rem; }
  figcaption p { font-size: 1rem; }
  .service-layout,.process-preview-in { grid-template-columns: 1fr; gap: 2rem; }
  .footer-in { align-items: flex-start; justify-content: center; flex-direction: column; padding-block: 1.55rem; gap: .8rem; }
}
@media(max-width: 22rem) {
  .industry-grid { grid-template-columns: 1fr; }
  .picture { aspect-ratio: 1.45; }
}
html[data-home-motion=off] { scroll-behavior:auto; }
html[data-home-motion=off] .industry-card:hover .picture img,
html[data-home-motion=off] .industry-card:hover .card-arrow { transform:none; }
html[data-home-motion=off] .picture img,
html[data-home-motion=off] .card-arrow { transition:none; }
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
