.service-space-page { background: #03060b; }
.service-space-page #orbit-canvas { display: none; }
.service-space {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: #03060b url('/media/earth-night-hero.webp') center bottom / cover no-repeat;
}
.service-space[data-ready="true"] { background: #03060b; }
.service-space canvas { display: block; width: 100%; height: 100%; }
.service-space-page .page-shell { background: rgba(2, 6, 12, .12); }
.service-space-page .scanline { opacity: .1; }
.service-space-page :is(.case-hero, .case-stack, .case-section, .service-answers, .services-cta) {
  background: rgba(4, 9, 15, .70);
}
.service-space-page :is(.case-hero, .case-section)::before { opacity: .28; }
.service-sales-page :is(h1, h2, h3, .portfolio-kicker, .case-breadcrumb) { letter-spacing: 0; }
.service-sales-hero.case-hero { row-gap: 30px; min-height: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.service-sales-hero.case-hero-titlerow .case-hero-head h1 { font-size: 3.4rem; line-height: 1.05; max-width: none; overflow-wrap: anywhere; }
.service-sales-hero.case-hero-titlerow .case-hero-head h1 span { display: block; color: var(--red-hot); }
.service-sales-hero .case-hero-copy p { font-size: 1.1rem; line-height: 1.8; }
.service-sales-hero .case-hero-media { margin: 0; width: 100%; min-width: 0; }
.service-sales-hero .case-hero-media img { width: 100%; aspect-ratio: 16/10; object-fit: contain; height: auto; background: #05090f; }
.service-sales-hero figcaption { padding: 14px 18px; font-size: .9rem; border-top: 1px solid var(--line); }
.service-section-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; margin: 24px var(--content-gutter) 0; padding: 1px; background: var(--line); }
.service-section-nav a { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 20px; align-content: space-between; gap: 18px 8px; min-height: 124px; padding: 18px; color: var(--muted); background: #090f16; text-decoration: none; transition: background 240ms var(--ease),color 240ms var(--ease); }
.service-nav-index { grid-column: 1; font: .65rem var(--font-display); color: var(--red-hot); }
.service-nav-label { grid-column: 1 / -1; grid-row: 2; font: 700 .8rem/1.5 var(--font-display); text-transform: uppercase; }
.service-nav-arrow { grid-column: 2; grid-row: 1; color: var(--red-hot); font-size: 1.2rem; }
.service-section-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red-hot); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease); }
.service-section-nav a:hover, .service-section-nav a:focus-visible, .service-section-nav a.is-active { color: #fff; background: #251417; }
.service-section-nav a:is(:hover,:focus-visible,.is-active)::after { transform: scaleX(1); }
.service-section-nav a:focus-visible { outline: 2px solid var(--red-hot); outline-offset: -4px; }
.service-sales-section { margin-top: 84px; scroll-margin-top: 110px; }
.service-sales-section .section-lead { max-width: 850px; }
.service-sales-section .section-lead h2, .service-sales-section .case-section-copy h2 { font-size: 2.3rem; line-height: 1.15; }
.service-sales-section .section-lead p, .service-sales-section .case-section-copy p { color: #c1ccd2; line-height: 1.85; }
.service-capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; margin-top: 36px; }
.service-capability { padding: 26px 0; border-top: 1px solid var(--line); min-width: 0; }
.service-capability h3 { margin: 12px 0; font-size: 1.1rem; line-height: 1.45; overflow-wrap: anywhere; }
.service-capability p { color: #bdc8d0; line-height: 1.8; margin: 0; }
.service-number { color: var(--red-hot); font: .75rem var(--font-display); }
.service-text-link { display: inline-block; margin-top: 24px; color: var(--red-hot); text-decoration: underline; text-underline-offset: 5px; }
.service-related { display: flex; flex-wrap: wrap; gap: 16px 32px; padding-top: 24px; margin-top: 26px; border-top: 1px solid var(--line); }
.service-related a { color: var(--red-hot); text-decoration: underline; text-underline-offset: 5px; font-size: .95rem; }
.service-sales-page .service-answers { display: block; }
.service-sales-page .service-answer-list { display: block; margin-top: 28px; }
.service-faq { padding: 24px 0; border-top: 1px solid var(--line); }
.service-faq summary { cursor: pointer; font-size: 1.08rem; color: #e8eff2; line-height: 1.6; padding-right: 16px; }
.service-faq summary::marker { color: var(--red-hot); }
.service-faq p { margin: 16px 0 0; max-width: 85ch; color: #bdc8d0; line-height: 1.85; }
.service-sales-close { margin-top: 100px; margin-bottom: 190px; }
.service-sales-close h2 { font-size: 2.5rem; line-height: 1.15; }
.service-sales-page .button { min-width: 0; white-space: normal; text-align: center; }
.service-hub #service-index { padding: 0; border: 0; background: transparent; box-shadow: none; }
.service-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 24px; }
.service-hub .service-card { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; min-width: 0; padding: 0; border: 1px solid var(--line-strong); background: rgba(4,9,15,.70); box-shadow: var(--shadow-panel); transition: border-color 260ms var(--ease),box-shadow 260ms var(--ease); }
.service-hub .service-card:is(:hover,:focus-visible) { padding: 0; background: rgba(4,9,15,.70); border-color: var(--red-hot); box-shadow: 0 0 26px rgba(255,67,47,.12); }
.service-hub .service-card:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 5px; }
.service-card::before, .service-card::after { content: ''; position: absolute; z-index: 2; width: 28px; height: 12px; pointer-events: none; border-color: var(--red-hot); border-style: solid; }
.service-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.service-card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.service-card-header { display: flex; justify-content: space-between; align-items: center; min-height: 42px; padding: 8px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg,rgba(255,67,47,.12),transparent 65%); }
.service-hub .service-card .svc-row-num { display: block; color: var(--red-hot); font: 700 .7rem var(--font-display); letter-spacing: 0; }
.service-card-reticle { color: var(--muted); font-size: 1.4rem; line-height: 1; }
.service-hub .service-card .svc-row-thumb { position: relative; display: block; width: 100%; max-width: none; border: 0; border-bottom: 1px solid var(--line); background: #05090f; overflow: hidden; }
.service-hub .service-card .svc-row-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; opacity: 1; transform: none; transition: transform 600ms var(--ease); }
.service-card .portfolio-card-scan { inset: 0; }
.service-hub .service-card .svc-row-copy { display: block; flex: 1; min-width: 0; padding: 24px 24px 28px; }
.service-hub .service-card .svc-row-title { font-size: 1.2rem; line-height: 1.5; letter-spacing: 0; overflow-wrap: anywhere; }
.service-hub .service-card .svc-row-line { margin-top: 14px; font-size: 1rem; line-height: 1.75; max-width: 60ch; color: #bdc8d0; }
.service-hub .service-card .svc-row-meta { display: flex; justify-content: space-between; gap: 16px; margin: 0 24px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--red-hot); font: 700 .7rem/1.4 var(--font-display); text-transform: uppercase; white-space: normal; }
.service-card-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); font: 1.4rem/1 sans-serif; color: #fff; transition: background 240ms var(--ease),border-color 240ms var(--ease); }
.service-card:is(:hover,:focus-visible) .service-card-arrow { background: var(--red); border-color: var(--red-hot); }
.service-card.is-calling-attention .portfolio-card-scan { animation: service-card-scan 1200ms var(--ease) 1; }
.service-card.is-calling-attention { animation: service-card-signal 1400ms var(--ease) 1; }
@keyframes service-card-scan { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes service-card-signal { 40% { border-color: var(--red-hot); box-shadow: 0 0 22px rgba(255,67,47,.18); } }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .service-hub .service-card:hover .svc-row-thumb img { transform: scale(1.025); }
  .service-card:hover .portfolio-card-scan { background-position: -120% 0; }
}
.service-hub .svc-group { scroll-margin-top: 110px; }
.service-hub .svc-group-head { position: relative; padding: 16px 0 16px 20px; border-bottom: 1px solid var(--line-strong); }
.service-hub .svc-group-head::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; background: var(--red-hot); box-shadow: 0 0 12px rgba(255,67,47,.35); }
.service-hub .svc-group-head h3 { letter-spacing: 0; font-size: 1.2rem; }
.service-hub .svc-flagship h2 { font-size: 2.4rem; }
.service-space-credit { margin: 0; font-size: .7rem; color: #a5b5bd; text-align: right; text-transform: none; letter-spacing: 0; }
.service-space-credit a { text-decoration: underline; text-underline-offset: 3px; }
.service-space-page .footer-baseline { background: rgba(4,9,15,.9); color: #c1ccd2; padding: 18px; }
.service-space-page .service-space-credit { padding: 12px 18px; border-top: 1px solid var(--line); background: rgba(4,9,15,.9); }
.service-space-page .site-footer { padding-bottom: 88px; }
.service-space-page main :is(h1,h2,h3) { overflow-wrap: anywhere; }
@media (min-width: 1600px) { .service-sales-hero.case-hero-titlerow .case-hero-head h1 { font-size: 4rem; } }
@media (max-width: 1080px) {
  .service-sales-hero.case-hero { grid-template-columns: minmax(0,1fr); }
  .service-sales-hero .case-hero-media { order: 0; max-width: 760px; }
  .service-sales-hero.case-hero-titlerow .case-hero-head h1 { font-size: 3rem; }
  .service-sales-section.case-section { grid-template-columns: minmax(0,1fr); }
  .service-sales-close { margin-bottom: 120px; }
}
@media (max-width: 860px) {
  .service-card-grid { grid-template-columns: minmax(0,1fr); }
  .service-section-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-section-nav a:first-child { grid-column: 1 / -1; min-height: 88px; }
}
@media (max-width: 600px) {
  .service-sales-hero.case-hero { padding: 26px 20px; gap: 22px; }
  .service-sales-hero .case-hero-copy { display: flex; flex-direction: column; }
  .service-sales-hero .case-hero-copy .services-hero-actions { order: -1; margin: 0 0 20px; }
  .service-sales-hero.case-hero-titlerow .case-hero-head h1 { font-size: 2rem; }
  .service-sales-section { margin-top: 52px; padding: 28px 20px; }
  .service-sales-section .section-lead h2, .service-sales-section .case-section-copy h2, .service-hub .svc-flagship h2 { font-size: 1.65rem; }
  .service-capabilities { grid-template-columns: minmax(0,1fr); }
  .service-sales-close { padding: 28px 20px; margin-top: 64px; }
  .service-sales-close h2 { font-size: 1.8rem; }
  .service-hub .service-card .svc-row-title { font-size: 1rem; }
  .service-hub .service-card .svc-row-copy { padding: 20px; }
  .service-hub .service-card .svc-row-meta { margin: 0 20px; }
  .service-section-nav a { min-height: 116px; padding: 14px; }
  .service-nav-label { font-size: .75rem; }
  .service-hub .svc-group-head h3 { font-size: 1.05rem; line-height: 1.5; }
  .service-hub .svc-flagship h2 { max-width: none; }
  .service-hub .svc-flagship-media { order: 0; }
  .service-hub .svc-flagship .button { width: 100%; margin-top: 24px; }
  .service-hub .button { min-height: 56px; padding: 16px; }
  .service-hub .services-hero-actions { gap: 12px; }
  .service-hub .case-hero-copy p { font-size: 1rem; line-height: 1.75; }
  .service-hub .service-sales-close .button { width: 100%; }
  .service-faq summary { min-height: 44px; font-size: 1rem; }
  .service-faq summary:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-space-page { scroll-behavior: auto; }
  .service-space-page *, .service-space-page *::before, .service-space-page *::after { animation: none !important; }
}
@media (max-width: 360px) {
  .service-sales-hero.case-hero-titlerow .case-hero-head h1 { font-size: 1.65rem; }
  .service-sales-section .section-lead h2, .service-sales-section .case-section-copy h2 { font-size: 1.4rem; }
  .service-space-page .webdev-page h1 { font-size: 2rem; }
  .service-space-page .webdev-page :is(h2,h3) { font-size: 1.3rem; }
  .service-space-page .aiw-price { flex-wrap: wrap; gap: 6px; }
  .service-space-page .aiw-price strong { font-size: 2.5rem; }
}
