/* Visual direction: cinematic industrial imagery + open editorial layouts. */
:root { --max: 1240px; --ink: #121820; --ink-muted: #626b75; --blue: #1769ff; --blue-deep: #1258da; --line: #dce0e4; }
html { scroll-padding-top: 96px; }
body { background: #f7f8fa; }
.page-shell::before, .page-shell::after { display: none; }
.container, .nav-inner { width: min(var(--max), calc(100% - 96px)); }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 100; padding: 10px 18px; background: #fff; }
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #1769ff; outline-offset: 5px; }
.nav { background: #fff; backdrop-filter: none; border-bottom: 1px solid #e5e7eb; }
.nav-inner { height: 80px; }
.nav-links { font-size: 13px; }
.nav .button { min-height: 42px; border-radius: 2px; box-shadow: none; }
.industrial-home .nav a[href="/"] { color: var(--blue); }
.button { border-radius: 2px; box-shadow: none; transition: background .2s, color .2s; }
.section { padding: 104px 0; }
h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.2; letter-spacing: -1.5px; font-weight: 650; }
.section-kicker { margin-bottom: 22px; color: var(--blue); font-size: 11px; font-weight: 650; letter-spacing: 1.4px; }
.section-heading { grid-template-columns: 1fr .65fr; margin-bottom: 68px; gap: 64px; }
.section-lead { max-width: 400px; color: var(--ink-muted); font-size: 15px; line-height: 1.9; }
/* Full-bleed hero. Copy stays live HTML, separate from the generated artwork. */
.cinematic-hero { isolation: isolate; position: relative; padding: 0; overflow: hidden; background: #080d15; color: #fff; }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #070b12ed 0%, #070b12b8 30%, #070b1233 65%, #070b1200 100%), linear-gradient(0deg, #070b12cc 0%, transparent 35%); }
.hero-stage { min-height: 740px; height: min(820px, calc(100svh - 80px)); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; padding: 70px 0 100px; }
.hero-intro { display: flex; align-items: center; gap: 24px; margin-bottom: 34px; }
.hero-overline { font-size: 11px; font-weight: 550; color: #b9c8e0; letter-spacing: 2.4px; }
.hero-overline-line { display: block; width: 54px; height: 1px; background: #5287e6; }
.cinematic-hero h1 { max-width: 960px; font-size: clamp(46px, 5.15vw, 76px); font-weight: 630; letter-spacing: -2.5px; line-height: 1.24; text-wrap: initial; }
.cinematic-hero h1 span { color: #a8c9ff; }
.cinematic-hero .hero-copy { max-width: 580px; margin-top: 30px; font-size: 16px; line-height: 1.95; color: #c2ccda; }
.cinematic-hero .hero-actions { gap: 32px; align-items: center; margin-top: 38px; }
.cinematic-hero .button.primary { min-height: 52px; padding: 0 24px; display: inline-flex; gap: 30px; border: 1px solid #1769ff; background: #1769ff; color: white; box-shadow: none; }
.cinematic-hero .button.primary:hover { background: #357eff; border-color: #357eff; }
.hero-text-link { display: inline-flex; gap: 26px; align-items: center; color: #fff; font-size: 14px; border-bottom: 1px solid #8c9ab0; padding: 11px 0; }
.hero-text-link:hover { color: #a8c9ff; }
.hero-bottom { position: absolute; left: 0; bottom: 30px; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #ffffff29; color: #afbacb; font-size: 11px; letter-spacing: 1px; }
.hero-image-note { font-size: 10px; color: #a1adbf; }
/* Index replaces the former four cards. */
.service-index { background: #101722; color: #fff; }
.service-index-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-index a { display: flex; align-items: center; gap: 16px; min-height: 102px; padding: 20px 24px; border-right: 1px solid #ffffff1c; font-size: 15px; }
.service-index a:first-child { padding-left: 0; }
.service-index a:last-child { padding-right: 0; border-right: 0; }
.index-number { color: #8fa6c7; font-family: ui-monospace, monospace; font-size: 11px; }
.index-arrow { margin-left: auto; color: #8fa6c7; }
.service-index a:hover { color: #95bdff; }
/* Editable scene slots are open, alternating image/text compositions. */
.detection-scenes { background: #f7f8fa; }
.detection-list { display: grid; gap: 0; }
.detection-scene { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; padding: 56px 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.detection-scene:first-child { padding-top: 0; border-top: 0; }
.detection-scene:nth-child(even) { grid-template-columns: 1.15fr .85fr; }
.detection-scene:nth-child(even) .detection-media { grid-column: 1; grid-row: 1; }
.detection-scene:nth-child(even) .detection-copy { grid-column: 2; }
.detection-copy { min-width: 0; }
.detection-copy .section-kicker { font-size: 12px; letter-spacing: .5px; margin-bottom: 24px; }
.detection-copy h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 620; line-height: 1.4; letter-spacing: -.7px; }
.detection-audience { margin-top: 16px; font-size: 12px; color: #707985; }
.detection-description { margin-top: 24px; font-size: 15px; line-height: 1.95; color: var(--ink-muted); }
.detection-tags { margin-top: 24px; color: #1f5db1; font-size: 12px; line-height: 1.8; }
.detection-media { margin: 0; background: #eaf0f6; overflow: hidden; border-radius: 0; }
.detection-media img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; }
.scope-note { max-width: 780px; margin-top: 14px; font-size: 12px; line-height: 1.8; color: #6d7580; }
/* Delivery and contact: full-width sections, no enclosing panels. */
.delivery-band { background: #e9edf2; border: 0; }
.delivery-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 80px; }
.delivery-layout .section-lead { max-width: 100%; }
.delivery-steps { display: flex; list-style: none; counter-reset: steps; gap: 32px; margin-top: 38px; padding-top: 24px; border-top: 1px solid #cbd2dc; }
.delivery-steps li { counter-increment: steps; font-size: 14px; }
.delivery-steps li::before { content: '0' counter(steps); display: block; color: var(--blue); font-family: ui-monospace, monospace; font-size: 11px; margin-bottom: 12px; }
.cta { padding: 96px 0; background: #1055e5; color: white; }
.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding: 0; background: transparent; box-shadow: none; border: 0; border-radius: 0; }
.cta-panel .section-kicker { color: #d3e1ff; }
.cta-panel h2 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.25; }
.cta-panel p { max-width: 610px; color: #e0eaff; margin-top: 24px; font-size: 15px; }
.cta-panel .button.primary { min-height: 52px; padding: 0 26px; border-radius: 2px; border: 0; background: #fff; color: #114cbb; }
.footer { padding: 56px 0 24px; background: #fff; }
.footer-grid { grid-template-columns: 1.2fr .8fr 1fr; gap: 64px; }
.footer-bottom { margin-top: 46px; }
@media (max-width: 1060px) {
  .container, .nav-inner { width: calc(100% - 64px); }
  .nav-inner { height: 72px; }
  .nav.is-menu-open .nav-inner { padding-top: 14px; }
  .hero-stage { height: auto; min-height: 710px; }
  .cinematic-hero h1 { font-size: 58px; }
  .service-index a { padding: 18px; gap: 10px; font-size: 13px; }
  .detection-scene, .detection-scene:nth-child(even) { gap: 40px; }
  .delivery-layout { gap: 40px; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 720px) {
  .container, .nav-inner { width: calc(100% - 40px); }
  .nav-inner { height: 64px; }
  .menu-toggle { border-radius: 2px; box-shadow: none; }
  .nav.is-menu-open .nav-inner { padding-top: 12px; }
  .section { padding: 64px 0; }
  h2 { font-size: 34px; letter-spacing: -1px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 38px; }
  .section-kicker { margin-bottom: 18px; font-size: 10px; }
  .hero-stage { min-height: 740px; padding: 68px 0 110px; justify-content: flex-start; }
  .hero-background { object-position: 67% center; }
  .hero-shade { background: linear-gradient(180deg, #070b12ed 0%, #070b12b8 40%, #070b1240 64%, #070b12bf 100%), linear-gradient(90deg, #070b1255, transparent); }
  .hero-intro { gap: 18px; margin-bottom: 28px; }
  .hero-overline { font-size: 9px; letter-spacing: 1.8px; }
  .hero-overline-line { width: 35px; }
  .cinematic-hero h1 { font-size: clamp(31px, 8.8vw, 42px); line-height: 1.35; letter-spacing: -1.2px; }
  .cinematic-hero .hero-copy { margin-top: 24px; max-width: 340px; font-size: 14px; line-height: 1.85; }
  .cinematic-hero .hero-copy br { display: none; }
  .cinematic-hero .hero-actions { flex-direction: row; width: 100%; gap: 24px; margin-top: 28px; }
  .cinematic-hero .hero-actions .button { width: auto; padding: 0 18px; gap: 18px; font-size: 13px; min-height: 48px; }
  .hero-text-link { font-size: 12px; gap: 14px; }
  .hero-bottom { bottom: 22px; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 10px; }
  .service-index-inner { grid-template-columns: 1fr 1fr; }
  .service-index a, .service-index a:first-child, .service-index a:last-child { min-height: 76px; padding: 18px 14px; font-size: 12px; }
  .service-index a:nth-child(odd) { padding-left: 0; }
  .service-index a:nth-child(even) { border-right: 0; padding-right: 0; }
  .service-index a:nth-child(-n+2) { border-bottom: 1px solid #ffffff1c; }
  .index-arrow { font-size: 13px; }
  .detection-scene, .detection-scene:nth-child(even) { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .detection-scene:nth-child(even) .detection-media, .detection-scene:nth-child(even) .detection-copy { grid-column: auto; grid-row: auto; }
  .detection-copy .section-kicker { margin-bottom: 14px; }
  .detection-copy h3 { font-size: 27px; }
  .detection-description { margin-top: 18px; font-size: 14px; }
  .detection-tags { margin-top: 18px; }
  .delivery-layout { grid-template-columns: 1fr; gap: 30px; }
  .delivery-steps { gap: 28px; margin-top: 28px; }
  .delivery-steps li { font-size: 13px; }
  .cta { padding: 60px 0; }
  .cta-panel { grid-template-columns: 1fr; gap: 30px; }
  .cta-panel h2 { font-size: 40px; }
  .cta-actions { justify-content: flex-start; }
  .footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 370px) {
  .cinematic-hero .hero-actions { gap: 16px; }
  .cinematic-hero .hero-actions .button { padding: 0 14px; gap: 12px; }
  .service-index a { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

/* Three examples per scene: one full frame and an understated thumbnail strip. */
.scene-gallery { min-width: 0; overflow: visible; background: transparent; }
.scene-main-link { position: relative; display: block; background: #e4e9ef; }
.scene-main-link .scene-main-image { aspect-ratio: 8 / 5; object-fit: contain; }
.scene-expand { position: absolute; right: 10px; bottom: 10px; padding: 6px 9px; background: #111820db; color: #fff; font-size: 10px; }
.scene-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 13px 0 16px; color: var(--ink-muted); font-size: 12px; line-height: 1.6; }
.scene-count { flex-shrink: 0; color: #7c8592; font-family: ui-monospace, monospace; font-size: 10px; }
.scene-thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.scene-thumbnail { display: block; min-width: 0; padding-top: 6px; border-top: 2px solid transparent; color: var(--ink-muted); }
.scene-thumbnail[aria-current="true"] { border-color: var(--blue); color: var(--blue); }
.scene-thumbnail:hover { color: var(--blue); }
.scene-thumbnail > span { display: flex; align-items: baseline; gap: 8px; padding-top: 8px; font-size: 11px; line-height: 1.5; }
.scene-option-number { color: #818b98; font-family: ui-monospace, monospace; font-size: 9px; }
.scene-thumbnail img { background: #e4e9ef; }
@media (max-width: 720px) {
  .scene-thumbnails { gap: 8px; }
  .scene-thumbnail > span { gap: 4px; font-size: 10px; }
  .scene-caption { font-size: 11px; gap: 12px; }
}
