﻿/* SERVICES 02 — studio service index */
.services2-page-body { background: #f6f1eb; --s2-gutter: clamp(20px, 4vw, 70px); }
.services2-page-body .services-page { background: #f6f1eb; padding-bottom: 110px; }
.services2-page-body .services-heading { min-height: 155px; }
.services2-page-body .services-heading__title h1 { font-size: clamp(34px, 4vw, 68px); letter-spacing: -.025em; }
.services2-page-body .services-heading__title h1 span { color: var(--accent); font-weight: 400; }
.services2-intro, .services2-toolbar, .services2-page-body .services-list { margin-inline: var(--s2-gutter); }
.services2-intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 24px 0 44px; }
.services2-eyebrow { color: rgba(50, 50, 50, .72); font: 12px/1.4 var(--sans); letter-spacing: .2em; margin: 0 0 18px; }
.services2-intro h2 { margin: 0; font: 500 clamp(28px, 3.1vw, 46px)/1.45 var(--sans); letter-spacing: .015em; }
.services2-intro h2 span { color: var(--accent); font-family: var(--navigation-font); font-weight: 700; }
.services2-signature { width: clamp(170px, 22vw, 320px); flex-shrink: 0; }
.services2-wave { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.services2-wave i { height: var(--bar); width: 3px; background: var(--accent); opacity: .8; }
.services2-signature p { margin: 14px 0 0; color: rgba(50, 50, 50, .72); text-align: center; font: 10px/1.4 var(--sans); letter-spacing: .23em; }
.services2-toolbar { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 20px 0; }
.services2-toolbar > span { color: rgba(50, 50, 50, .72); font: 10px/1.4 var(--sans); letter-spacing: .15em; }
.services2-toolbar b { color: var(--accent); font-weight: 400; margin-right: 16px; }
.services2-toolbar a { color: var(--paper); text-decoration: none; font-size: 14px; }
.services2-toolbar a span { color: var(--accent); margin-left: 18px; }
.services2-toolbar a:is(:hover, :focus-visible) { color: var(--accent); }
.services2-page-body .services-list { counter-reset: service; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.services2-page-body .service-item { grid-column: span 5; align-items: stretch; border: 1px solid #e1dad2; counter-increment: service; min-height: 410px; background-blend-mode: soft-light, normal, luminosity; transition: border-color .35s ease, transform .35s ease; }
.services2-page-body .service-item {
  --s2-cut: 30px;
  --s2-edge: #e1dad2;
  clip-path: polygon(0 0, calc(100% - var(--s2-cut)) 0, 100% var(--s2-cut), 100% 100%, var(--s2-cut) 100%, 0 calc(100% - var(--s2-cut)));
}
/* Draw the diagonal edges above the photo and information strip. */
.services2-page-body .service-content::before,
.services2-page-body .service-content::after {
  content: '';
  position: absolute;
  width: var(--s2-cut);
  height: var(--s2-cut);
  background: linear-gradient(45deg, transparent calc(50% - .7px), currentColor calc(50% - .7px), currentColor calc(50% + .7px), transparent calc(50% + .7px));
  color: var(--s2-edge);
  transition: color .35s ease;
  pointer-events: none;
  z-index: 3;
}
.services2-page-body .service-content::before { top: -1px; right: -1px; }
.services2-page-body .service-content::after { bottom: -1px; left: -1px; }
.services2-page-body .service-item:is(:hover, :focus, :focus-within) { --s2-edge: var(--accent); }
.services2-page-body .service-item:nth-child(4n+1), .services2-page-body .service-item:nth-child(4n+4) { grid-column: span 7; }
.services2-page-body .service-item[data-service=localization] { --service-photo: url(1/bendihua.png); }
.services2-page-body .service-item[data-service=voice] { --service-photo: url(1/duoyuyan.png); }
.services2-page-body .service-item[data-service=audio] { --service-photo: url(1/youshengduwu.png); }
.services2-page-body .service-item[data-service=composing] { --service-photo: url(1/yinyuezhizuo.jpg); }
.services2-page-body .service-item[data-service=training] { --service-photo: url(1/PXHZ-02.jpg); }
.services2-page-body .service-item[data-service=demo] { --service-photo: url(1/a3ce81b.jpg); }
/* Keep photographs bright; readability comes from the separate information strip. */
.services2-page-body .service-item::before { background-image: url(1/Texture.png), linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.38)), linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,.04) 50%, rgba(0,0,0,.12)), var(--service-photo); background-blend-mode: soft-light, normal, normal, normal; background-position: 50%, center, center, center; background-repeat: repeat, no-repeat, no-repeat, no-repeat; background-size: 3px 3px, cover, cover, cover; content: ''; inset: 0; opacity: 0; position: absolute; transition: opacity .5s ease, transform .7s ease; z-index: -1; }
.services2-page-body .service-item:is(:hover, :focus, :focus-within)::before { opacity: 1; transform: scale(1.025); }
.services2-page-body .service-item::after { content: '0' counter(service); position: absolute; right: 26px; top: 22px; color: transparent; -webkit-text-stroke: 1px rgba(50, 50, 50,.6); font: 700 clamp(60px, 5.5vw, 88px)/1 var(--navigation-font); letter-spacing: -.04em; transition: color .35s ease, -webkit-text-stroke-color .35s ease; pointer-events: none; }
.services2-page-body .service-content { align-items: stretch; flex-direction: column; justify-content: space-between; padding: 32px 30px 0; gap: 132px; }
.services2-page-body .service-title,
.services2-page-body .service-item:is(:hover, :focus, :focus-within) .service-title { align-items: flex-start; padding: 0 66px 0 0; text-align: left; transform: none; }
.services2-page-body .service-title::after { display: none; }
.services2-page-body .service-title h2 { display: flex; align-items: center; gap: 9px; font-size: 16px; letter-spacing: .12em; text-shadow: 0 1px 8px #323232; }
.services2-page-body .service-title h2::before { content: ''; width: 15px; height: 2px; background: var(--accent); flex-shrink: 0; }
.services2-page-body .service-title p { color: var(--paper); font-size: clamp(32px, 3.5vw, 58px); letter-spacing: .005em; white-space: normal; overflow-wrap: anywhere; line-height: 1.05; margin-top: 14px; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.services2-page-body .service-details,
.services2-page-body .service-item:is(:hover, :focus, :focus-within) .service-details { background: rgba(12,12,11,.93); border-top: 1px solid rgba(50, 50, 50,.25); left: auto; top: auto; margin: 0 -30px; opacity: 1; padding: 20px 30px; position: relative; text-align: left; transform: none; width: calc(100% + 60px); min-height: 121px; display: flex; flex-direction: column; justify-content: center; }
.services2-page-body .service-details::before { content: ''; position: absolute; top: -1px; left: 30px; height: 2px; width: 30px; background: var(--accent); transition: width .45s ease; }
.services2-page-body .service-details p { font-size: 15px; line-height: 1.65; margin: 1px 0; color: #323232; }
.services2-page-body .service-item:is(:hover, :focus, :focus-within) { border-color: var(--accent); transform: translateY(-3px); }
.services2-page-body .service-item:is(:hover, :focus, :focus-within) .service-details::before { width: calc(100% - 60px); }
.services2-page-body .service-item:is(:hover, :focus, :focus-within)::after { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.services2-page-body .service-item:is(:hover, :focus, :focus-within) .service-title p { color: var(--accent); }
.services2-page-body .service-demo .service-title p { font-size: clamp(64px, 7vw, 108px); color: var(--accent); line-height: .9; }
.services2-page-body .service-demo .service-content { gap: 96px; }
.services2-page-body .service-demo .service-details { background: var(--accent); border-color: var(--accent); padding-right: 84px; }
.services2-page-body .service-demo .service-details p { color: #f6f1eb; }
.services2-page-body .service-demo .service-details::before { display: none; }
.services2-page-body .service-demo .service-demo-label { margin-top: 6px; font-weight: 700; }
.services2-page-body .service-demo-label span { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); border: 1px solid rgba(0,0,0,.5); border-radius: 50%; width: 44px; height: 44px; text-align: center; font: 28px/42px var(--sans); transition: background .3s ease, color .3s ease; }
.services2-page-body .service-demo:is(:hover, :focus, :focus-within) .service-demo-label span { background: #f6f1eb; color: var(--accent); }
@media (min-width: 1700px) {
  .services2-intro, .services2-toolbar, .services2-page-body .services-list { max-width: 1560px; margin-inline: auto; width: calc(100% - 140px); }
}
@media (max-width: 900px) {
  .services2-page-body .service-item, .services2-page-body .service-item:nth-child(n) { grid-column: span 6; }
  .services2-page-body .service-content { padding: 26px 22px 0; }
  .services2-page-body .service-item::after { right: 20px; top: 22px; font-size: 54px; }
  .services2-page-body .service-title, .services2-page-body .service-item:is(:hover, :focus, :focus-within) .service-title { padding-right: 48px; }
  .services2-page-body .service-details, .services2-page-body .service-item:is(:hover, :focus, :focus-within) .service-details { margin-inline: -22px; padding-inline: 22px; width: calc(100% + 44px); }
  .services2-intro h2 span { display: block; }
}
@media (max-width: 600px) {
  .services2-page-body .service-item { --s2-cut: 20px; }
  .services2-page-body .services-heading { min-height: 125px; }
  .services2-page-body .services-heading__title h1 { font-size: 30px; }
  .services2-intro { padding: 6px 0 28px; gap: 14px; }
  .services2-eyebrow { font-size: 8px; letter-spacing: .12em; margin-bottom: 12px; }
  .services2-intro h2 { font-size: clamp(22px, 5.9vw, 30px); }
  .services2-signature { width: 84px; }
  .services2-wave { height: 44px; gap: 2px; }
  .services2-wave i { width: 2px; }
  .services2-signature p { font-size: 7px; letter-spacing: .07em; line-height: 1.6; }
  .services2-toolbar > span { font-size: 9px; letter-spacing: .08em; }
  .services2-toolbar b { margin-right: 8px; }
  .services2-page-body .services-list { grid-template-columns: 1fr; gap: 18px; }
  .services2-page-body .service-item, .services2-page-body .service-item:nth-child(n) { grid-column: auto; min-height: 370px; }
  .services2-page-body .service-title p { font-size: clamp(32px, 9vw, 48px); }
  .services2-page-body .service-content { gap: 115px; }
}

.services2-page-body .service-item[data-service=training] { grid-column: 1 / -1; }
