.service-page { color: #fff; background: var(--ink); }
.service-page .site-header { background: rgba(8,8,8,.72); border-bottom-color: rgba(255,255,255,.12); backdrop-filter: blur(18px); }

.service-hero { position: relative; min-height: 92svh; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(3rem,8vw,9rem); overflow: hidden; padding: 10rem clamp(1.3rem,7vw,8rem) 6rem; background: #070707; }
.service-hero::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(90deg,#000,transparent 82%); }
.service-hero-copy { position: relative; z-index: 2; max-width: 840px; }
.service-back { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 2.5rem; color: rgba(255,255,255,.56); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-back:hover { color: var(--gold-bright); }
.service-hero h1 { margin: 1.4rem 0 1.6rem; font-family: var(--display); font-size: clamp(4rem,8.6vw,9.5rem); line-height: .84; letter-spacing: -.075em; font-weight: 600; }
.service-hero h1 span { display: block; color: var(--gold-bright); }
.service-hero .service-intro { max-width: 660px; margin: 0; color: rgba(255,255,255,.68); font-size: clamp(1.05rem,1.45vw,1.3rem); line-height: 1.7; }
.service-hero .hero-actions { margin-top: 2.4rem; }

.service-emblem { position: relative; z-index: 1; display: grid; place-items: center; min-height: 520px; }
.service-emblem::before,.service-emblem::after { content: ""; position: absolute; width: min(34vw,470px); aspect-ratio: 1; border: 1px solid rgba(240,201,99,.34); border-radius: 50%; }
.service-emblem::after { width: min(25vw,350px); border-color: rgba(240,201,99,.18); box-shadow: 0 0 100px rgba(214,169,64,.14); }
.service-glyph { position: relative; z-index: 2; color: var(--gold-bright); font-family: var(--display); font-size: clamp(5rem,11vw,10rem); font-weight: 600; letter-spacing: -.08em; text-shadow: 0 0 50px rgba(240,201,99,.18); }
.service-index { position: absolute; right: 4%; bottom: 0; color: rgba(255,255,255,.035); font-family: var(--display); font-size: clamp(15rem,31vw,34rem); line-height: .7; font-weight: 800; letter-spacing: -.1em; }

.service-overview { color: var(--ink); background: var(--paper); }
.service-overview-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(4rem,10vw,11rem); align-items: start; }
.service-statement { font-family: var(--display); font-size: clamp(2rem,4vw,4.7rem); line-height: 1.05; letter-spacing: -.05em; font-weight: 600; }
.service-statement span { color: var(--gold); }
.service-copy { max-width: 680px; }
.service-copy > p { margin: 0 0 1.4rem; color: #4e4a43; font-size: 1.08rem; line-height: 1.78; }

.offer-grid { display: grid; grid-template-columns: repeat(2,1fr); margin-top: clamp(4rem,7vw,7rem); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.offer-card { min-height: 250px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-card span { color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.offer-card h3 { margin: 3rem 0 .8rem; font-family: var(--display); font-size: clamp(1.25rem,2vw,1.75rem); }
.offer-card p { margin: 0; color: #656159; line-height: 1.65; }

.demo-showcase { overflow: hidden; background: #0a0a09; }
.demo-showcase-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem,8vw,8rem); align-items: end; margin-bottom: clamp(3rem,6vw,5.5rem); }
.demo-showcase .display-title { max-width: 750px; margin-bottom: 0; }
.demo-showcase-intro { justify-self: end; width: min(100%,540px); }
.demo-showcase-intro > p { margin: 0; color: rgba(255,255,255,.62); font-size: 1.02rem; line-height: 1.72; }
.demo-carousel-controls { display: flex; align-items: center; gap: .65rem; margin-top: 2rem; }
.demo-counter { min-width: 76px; margin-right: auto; color: rgba(255,255,255,.4); font-size: .75rem; letter-spacing: .1em; }
.demo-counter strong { color: var(--gold-bright); font-weight: 700; }
.demo-carousel-controls button { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; background: transparent; font-size: 1.1rem; cursor: pointer; transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease; }
.demo-carousel-controls button:hover { color: var(--ink); border-color: var(--gold-bright); background: var(--gold-bright); transform: translateY(-2px); }
.demo-carousel-controls button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.demo-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px,min(66vw,700px)); gap: 1.25rem; overflow-x: auto; overscroll-behavior-inline: contain; padding: .35rem .15rem 1rem; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.demo-track::-webkit-scrollbar { display: none; }
.demo-track:focus-visible { outline: 1px solid var(--gold-bright); outline-offset: 7px; }
.demo-card { --demo-accent: #f0c963; min-width: 0; overflow: hidden; scroll-snap-align: start; color: #fff; border: 1px solid rgba(255,255,255,.14); background: #11110f; transition: border-color .3s ease, transform .3s ease, background .3s ease; }
.demo-card:hover { border-color: rgba(240,201,99,.72); background: #15140f; transform: translateY(-5px); }
.demo-employee { --demo-accent: #b9d3cc; }
.demo-leave { --demo-accent: #d8b9df; }
.demo-preview { position: relative; aspect-ratio: 16/8.2; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.12); background: #181815; }
.demo-preview::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); background: linear-gradient(180deg,transparent 65%,rgba(5,5,5,.24)); }
.demo-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: saturate(.92) contrast(1.02); transition: transform .45s ease,filter .45s ease; }
.demo-card:hover .demo-preview img { transform: scale(1.025); filter: saturate(1) contrast(1.035); }
.demo-card-copy { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: start; min-height: 235px; padding: clamp(1.4rem,2.5vw,2rem); }
.demo-number { color: var(--demo-accent); font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.demo-card-copy div > p:first-child { margin: 0 0 .55rem; color: var(--demo-accent); font-size: .63rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.demo-card h3 { margin: 0 0 .85rem; font-family: var(--display); font-size: clamp(1.65rem,3vw,2.55rem); letter-spacing: -.04em; }
.demo-card-copy div > p:last-child { max-width: 500px; margin: 0; color: rgba(255,255,255,.55); line-height: 1.62; }
.demo-open { align-self: end; white-space: nowrap; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.demo-open b { display: inline-block; margin-left: .4rem; color: var(--demo-accent); font-size: 1rem; transition: transform .25s ease; }
.demo-card:hover .demo-open b { transform: translate(4px,-4px); }
.demo-hint { margin: 1.1rem 0 0; color: rgba(255,255,255,.32); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.service-method { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,8vw,9rem); background: var(--paper-warm); color: var(--ink); }
.service-method .section-lead { max-width: 580px; margin-top: 2rem; }
.method-list { counter-reset: steps; border-top: 1px solid var(--line); }
.method-list li { counter-increment: steps; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); list-style: none; }
.method-list li::before { content: "0" counter(steps); color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.method-list strong { display: block; margin-bottom: .3rem; font-family: var(--display); font-size: 1.15rem; }
.method-list span { color: #656159; line-height: 1.55; }

.service-next { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 2rem; padding: clamp(4rem,7vw,6rem) clamp(1.3rem,7vw,8rem); background: var(--gold-bright); color: var(--ink); }
.service-next .mini-label { opacity: .62; }
.service-next a { display: flex; align-items: center; justify-content: space-between; gap: 2rem; font-family: var(--display); font-size: clamp(2rem,4.5vw,5rem); line-height: 1; letter-spacing: -.055em; }
.service-next a span:last-child { transition: transform .25s ease; }
.service-next a:hover span:last-child { transform: translate(8px,-8px); }

@media (max-width:900px) {
  .service-hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 3rem; }
  .service-emblem { min-height: 380px; }
  .service-emblem::before { width: min(72vw,460px); }.service-emblem::after { width: min(54vw,340px); }
  .service-overview-grid,.service-method,.service-next { grid-template-columns: 1fr; }
  .demo-showcase-head { grid-template-columns: 1fr; }
  .demo-showcase-intro { justify-self: start; }
  .demo-track { grid-auto-columns: minmax(320px,82vw); }
  .service-next { gap: 1.2rem; }
}
@media (max-width:600px) {
  .service-hero { padding-top: 8.5rem; }
  .service-hero h1 { font-size: clamp(3.5rem,17vw,6rem); }
  .service-emblem { min-height: 300px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 220px; }
  .demo-track { grid-auto-columns: 92vw; margin-right: -1.3rem; }
  .demo-card-copy { grid-template-columns: auto 1fr; min-height: 245px; }
  .demo-open { grid-column: 2; }
}

@media (prefers-reduced-motion:reduce) {
  .demo-track { scroll-behavior: auto; }
  .demo-card { transition: none; }
}
