/* ===== Standardized Page Hero (About, Careers, What's New) ===== */
.sx-page-hero{
  position:relative; overflow:hidden;
  background:#000;
  border-bottom:1px solid #1f1f1f;
  isolation:isolate;
  text-align:left;
}
/* Glow removed — circuitry asset supplies its own blue accent.
   Keeping the element in markup so existing pages don't break. */
.sx-page-hero .sx-hero-glow{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background: transparent;
}
/* Circuitry PNG — right-anchored, capped to the same 1280px content column
   so its right edge aligns with the lines/text in sections below.
   Soft right-edge fade prevents a hard cutoff against the column boundary. */
.sx-page-hero .sx-hero-plexus{
  position:absolute; top:0; bottom:0; left:0; right:0;
  margin-left:auto; margin-right:auto;
  max-width:1280px;
  z-index:1; pointer-events:none;
  background-image:url('../images/hero-circuitry.png');
  background-size:cover;
  background-position:right center;
  background-repeat:no-repeat;
  opacity:1;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to right, #000 0%, #000 82%, transparent 100%);
}
/* Left-side dark fade — guarantees text contrast on the left
   while preserving the full circuitry on the right */
.sx-page-hero .sx-hero-vignette{
  position:absolute; inset:0; z-index:2; pointer-events:none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.7) 30%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,0) 80%, rgba(0,0,0,.6) 100%);
}
.sx-page-hero .sx-hero-inner{
  position:relative; z-index:3;
  max-width:1280px; margin:0 auto; padding:120px 64px;
  text-align:left;
}
/* Keep hero copy in the left ~55% so it never overlaps the circuitry */
.sx-page-hero .sx-hero-inner > * { max-width: 620px; }
.sx-page-hero .sx-hero-inner *{ text-align:left; }
.sx-page-hero .sx-hero-inner .btn{ display:inline-block; }
.sx-page-hero .sx-eyebrow{
  font-family:'Inter',sans-serif; font-size:12px; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase;
  color:#dddddd; margin-bottom:1.25rem;
}
.sx-page-hero h1{
  font-family:'Kanit',sans-serif;
  font-size:clamp(44px,5.5vw,72px); font-weight:300;
  line-height:1.05; letter-spacing:-.015em;
  color:#fff; margin:0 0 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.sx-page-hero h1 em,
.sx-page-hero h1 .em,
.sx-page-hero h1 .accent{
  font-style:normal; font-weight:600; color:#D14548;
}
.sx-page-hero p.sx-lead{
  font-family:'Inter',sans-serif;
  font-size:17px; font-weight:300; line-height:1.6;
  color:#dddddd; max-width:640px; margin:0 0 2rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.sx-page-hero .sx-breadcrumb{
  font-family:'Inter',sans-serif; font-size:13px;
  color:#8a8a8a; margin-bottom:24px;
  display:flex; align-items:center; gap:8px;
}
.sx-page-hero .sx-breadcrumb a{ color:#00AEE6; text-decoration:none; }
.sx-page-hero .sx-breadcrumb a:hover{ color:#fff; }
@media (max-width:768px){
  .sx-page-hero .sx-hero-inner{ padding:80px 24px; }
}

/* ============================================================
   EMBLEM HERO — editorial pages (Careers, What's New, About)
   Coordinate grid + bearing line + Sphinx emblem panel.
   Shared pattern; pages set their own copy + callsign.
   ============================================================ */
.sx-emblem-hero{
    position:relative; overflow:hidden;
    background:#030506;
    border-bottom:1px solid #1f1f1f;
    isolation:isolate;
    min-height:540px;
}
/* Right-side fade-to-black — keeps grid from running indefinitely at wide viewports.
   Aligns with the right page margin (1280px content column + 64px gutter). */
.sx-emblem-hero::after{
    content:"";
    position:absolute; top:0; bottom:0; right:0;
    left:calc(50% + 640px - 64px - 100px);
    z-index:2;
    pointer-events:none;
    background:linear-gradient(to right,
        rgba(3,5,6,0) 0%,
        rgba(3,5,6,.85) 60%,
        #030506 100%);
}
.sx-emblem-hero .sx-eh-inner{
    position:relative; z-index:5;
    max-width:1280px; margin:0 auto; padding:120px 64px;
    display:grid; grid-template-columns:1fr auto; gap:3rem; align-items:end;
}
/* Coordinate grid background */
.sx-emblem-hero .sx-eh-grid{
    position:absolute; inset:0; z-index:1; pointer-events:none;
    background-image:
        linear-gradient(rgba(0,174,230,.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,174,230,.22) 1px, transparent 1px),
        linear-gradient(rgba(0,174,230,.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,174,230,.10) 1px, transparent 1px);
    background-size:
        120px 120px,
        120px 120px,
        24px 24px,
        24px 24px;
    mask-image: radial-gradient(ellipse 90% 80% at 75% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,.85) 50%, rgba(0,0,0,.3) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 75% 50%, rgba(0,0,0,1) 0%, rgba(0,0,0,.85) 50%, rgba(0,0,0,.3) 90%, rgba(0,0,0,0) 100%);
}
/* Corner coordinate markers */
.sx-emblem-hero .sx-eh-markers{
    position:absolute; top:40px; right:40px; z-index:3;
    font-family:'Inter',sans-serif; font-size:9px; letter-spacing:.2em; color:rgba(0,174,230,.7);
    display:flex; gap:20px;
}
/* Bearing line + dot — anchors text block to emblem */
.sx-emblem-hero .sx-eh-bearing-line{
    position:absolute; z-index:3; pointer-events:none;
    top:calc(50% + 40px);
    left:64px;
    right:calc(64px + 260px);
    height:1px;
    background: linear-gradient(90deg,
        rgba(0,174,230,0) 0%,
        rgba(0,174,230,.15) 15%,
        rgba(0,174,230,.5) 70%,
        rgba(209,69,72,.9) 100%);
}
.sx-emblem-hero .sx-eh-bearing-line::before,
.sx-emblem-hero .sx-eh-bearing-line::after{
    content:""; position:absolute; top:-3px; width:1px; height:7px; background:rgba(0,174,230,.5);
}
.sx-emblem-hero .sx-eh-bearing-line::before{ left:45%; }
.sx-emblem-hero .sx-eh-bearing-line::after{ left:75%; }
.sx-emblem-hero .sx-eh-bearing-dot{
    position:absolute; z-index:4; pointer-events:none;
    top:calc(50% + 40px); transform:translateY(-50%);
    right:calc(64px + 260px);
    width:10px; height:10px; border-radius:50%;
    background:#D14548;
    box-shadow: 0 0 16px rgba(209,69,72,.9), 0 0 4px rgba(209,69,72,1);
    margin-right:-5px;
}
/* Left-side dark fade */
.sx-emblem-hero .sx-eh-fade{
    position:absolute; inset:0; z-index:2; pointer-events:none;
    background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 35%, rgba(0,0,0,.08) 65%, rgba(0,0,0,.35) 100%);
}
/* Text block */
.sx-emblem-hero .sx-eh-eyebrow{
    font-family:'Inter',sans-serif; font-size:12px; font-weight:600;
    letter-spacing:.24em; text-transform:uppercase;
    background:var(--sx-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;
    margin-bottom:1.25rem; display:inline-block;
}
.sx-emblem-hero h1{
    font-family:'Kanit',sans-serif;
    font-size:clamp(44px,5.5vw,72px); font-weight:300;
    line-height:1.05; letter-spacing:-.015em;
    color:#fff; margin:0 0 1.25rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.sx-emblem-hero h1 em{ font-style:normal; font-weight:600; color:#D14548; }
.sx-emblem-hero .sx-eh-lead{
    font-family:'Inter',sans-serif;
    font-size:17px; font-weight:300; line-height:1.6;
    color:#dddddd; max-width:560px; margin:0 0 2rem;
    text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
/* Emblem panel */
.sx-emblem-hero .sx-eh-emblem{
    position:relative;
    width:280px; padding:24px;
    border:1px solid rgba(0,174,230,.45); border-radius:4px;
    background: rgba(5,8,12,.82); backdrop-filter: blur(8px);
}
.sx-emblem-hero .sx-eh-emblem::before{
    content:""; position:absolute; top:-1px; left:-1px;
    width:14px; height:14px; border-top:2px solid #D14548; border-left:2px solid #D14548;
}
.sx-emblem-hero .sx-eh-emblem::after{
    content:""; position:absolute; bottom:-1px; right:-1px;
    width:14px; height:14px; border-bottom:2px solid #D14548; border-right:2px solid #D14548;
}
.sx-emblem-hero .sx-eh-patch{
    width:100%; aspect-ratio:1; margin-bottom:16px;
    background-image:url('../images/sphinx-graphic-dark.png');
    background-size:contain; background-position:center; background-repeat:no-repeat;
}
.sx-emblem-hero .sx-eh-callsign{
    font-family:'Inter',sans-serif; font-size:10px; font-weight:700; letter-spacing:.3em; text-transform:uppercase;
    color:#00AEE6; margin-bottom:8px;
}
.sx-emblem-hero .sx-eh-designation{
    font-family:'Kanit',sans-serif; font-size:18px; font-weight:500; color:#fff; margin-bottom:10px; line-height:1.2;
}
.sx-emblem-hero .sx-eh-meta-row{
    display:flex; justify-content:space-between;
    font-family:'Inter',sans-serif; font-size:10px; color:#8a8a8a; letter-spacing:.1em;
    padding-top:10px; border-top:1px solid #1f1f1f;
}
@media(max-width:1024px){
    .sx-emblem-hero .sx-eh-inner{padding:80px 32px;grid-template-columns:1fr}
    .sx-emblem-hero .sx-eh-emblem{width:240px}
    .sx-emblem-hero .sx-eh-bearing-line,
    .sx-emblem-hero .sx-eh-bearing-dot{display:none}
}
@media(max-width:768px){
    .sx-emblem-hero .sx-eh-inner{padding:64px 20px}
    .sx-emblem-hero .sx-eh-markers{display:none}
}

/* ============================================================
   EMBLEM HERO — Shared graphic chassis (Origins/Roster/Globe)
   All three editorial pages (About/Careers/What's New) use the
   same two-column grid: text column (minmax 0,1fr) + graphic
   column (auto, fluid-sized). Graphic and text live in their
   own grid cells, so they cannot overlap at any zoom level.
   ============================================================ */
.sx-emblem-hero.has-origins .sx-eh-inner,
.sx-emblem-hero.has-roster  .sx-eh-inner,
.sx-emblem-hero.has-globe   .sx-eh-inner{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:clamp(2rem,4vw,4rem);
    align-items:center;
}
.sx-emblem-hero.has-origins .sx-eh-bearing-line,
.sx-emblem-hero.has-origins .sx-eh-bearing-dot,
.sx-emblem-hero.has-roster  .sx-eh-bearing-line,
.sx-emblem-hero.has-roster  .sx-eh-bearing-dot,
.sx-emblem-hero.has-globe   .sx-eh-bearing-line,
.sx-emblem-hero.has-globe   .sx-eh-bearing-dot{display:none}
.sx-emblem-hero.has-origins .sx-eh-inner > .text,
.sx-emblem-hero.has-roster  .sx-eh-inner > .text,
.sx-emblem-hero.has-globe   .sx-eh-inner > .text{max-width:560px}
/* Shared graphic container — fluid-sized, identical across pages */
.sx-emblem-hero .sx-eh-graphic{
    position:relative;
    width:clamp(300px,32vw,440px);
    aspect-ratio:1;
    flex-shrink:0;
    pointer-events:none;
}
.sx-emblem-hero .sx-eh-graphic svg{
    width:100%;height:100%;display:block;overflow:visible;
}
/* Grid-snap bordered frame — About (has-origins) and Careers (has-roster)
   wrap their hero graphic in a square that snaps to the 120px cadence of
   .sx-eh-grid behind it. 1px stroke matches the grid's major line. */
.sx-emblem-hero.has-origins .sx-eh-graphic,
.sx-emblem-hero.has-roster  .sx-eh-graphic{
    width:480px;                            /* 4 × 120px major grid cells */
    max-width:none;
    outline:1px solid rgba(0,174,230,.22);  /* matches .sx-eh-grid major */
    outline-offset:0;
}
/* Stack into single column on narrow viewports */
@media(max-width:960px){
    .sx-emblem-hero.has-origins .sx-eh-inner,
    .sx-emblem-hero.has-roster  .sx-eh-inner,
    .sx-emblem-hero.has-globe   .sx-eh-inner{
        grid-template-columns:1fr;
        gap:2.5rem;
    }
    .sx-emblem-hero .sx-eh-graphic{
        width:min(380px,80vw);
        margin:0 auto;
    }
    .sx-emblem-hero.has-origins .sx-eh-graphic,
    .sx-emblem-hero.has-roster  .sx-eh-graphic{
        width:min(360px,80vw);              /* 3 × 120px on small screens */
    }
}

/* Globe SVG stroke styles (used by legacy inline globe markup) */
.sx-emblem-hero .sx-eh-graphic.sx-eh-globe svg .outline{fill:none;stroke:rgba(0,174,230,.65);stroke-width:.5}
.sx-emblem-hero .sx-eh-graphic.sx-eh-globe svg .equator{fill:none;stroke:rgba(0,174,230,.55);stroke-width:.45}
.sx-emblem-hero .sx-eh-graphic.sx-eh-globe svg .parallel{fill:none;stroke:rgba(0,174,230,.35);stroke-width:.35}
.sx-emblem-hero .sx-eh-graphic.sx-eh-globe svg .meridian{fill:none;stroke:rgba(0,174,230,.35);stroke-width:.35}
.sx-emblem-hero .sx-eh-graphic.sx-eh-globe svg .glow{fill:url(#sx-globe-glow);opacity:.7}

.sx-emblem-hero .sx-eh-ping{
    position:absolute;width:10px;height:10px;margin:-5px;
    border-radius:50%;background:#00AEE6;
    box-shadow:0 0 10px rgba(0,174,230,.95);
}
.sx-emblem-hero .sx-eh-ping.red{background:#D14548;box-shadow:0 0 12px rgba(209,69,72,1),0 0 4px rgba(209,69,72,1)}
.sx-emblem-hero .sx-eh-ping::before,
.sx-emblem-hero .sx-eh-ping::after{
    content:"";position:absolute;inset:0;border-radius:50%;
    border:1.5px solid #00AEE6;
    animation:sxPingOut 2.4s ease-out infinite;
}
.sx-emblem-hero .sx-eh-ping::after{animation-delay:1.2s}
.sx-emblem-hero .sx-eh-ping.red::before,
.sx-emblem-hero .sx-eh-ping.red::after{border-color:#D14548}
@keyframes sxPingOut{
    0%{transform:scale(1);opacity:.8}
    100%{transform:scale(3.4);opacity:0}
}
.sx-emblem-hero .sx-eh-ping .ping-label{
    position:absolute;top:-3px;left:18px;white-space:nowrap;
    font-family:'JetBrains Mono',monospace;font-size:9px;letter-spacing:.12em;
    color:rgba(0,174,230,.9);
    padding:2px 6px;
    background:rgba(5,8,12,.75);
    border-left:1px solid rgba(0,174,230,.6);
}
.sx-emblem-hero .sx-eh-ping.red .ping-label{color:#D14548;border-color:#D14548}
.sx-emblem-hero .sx-eh-ping .ping-label.flip{
    left:auto;right:18px;
    border-left:none;border-right:1px solid rgba(0,174,230,.6);
}
.sx-emblem-hero .sx-eh-ping.red .ping-label.flip{border-right-color:#D14548}

.sx-emblem-hero .sx-eh-meta{
    position:absolute;
    font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.2em;
    color:rgba(221,221,221,.85);
    display:flex;align-items:center;gap:8px;
}
.sx-emblem-hero .sx-eh-meta .dot{width:5px;height:5px;border-radius:50%;background:#00AEE6;flex-shrink:0}
.sx-emblem-hero .sx-eh-meta .rule{width:28px;height:1px;background:rgba(0,174,230,.6)}
.sx-emblem-hero .sx-eh-meta.priority{color:#D14548}
.sx-emblem-hero .sx-eh-meta.priority .dot,
.sx-emblem-hero .sx-eh-meta.priority .rule{background:#D14548}
.sx-emblem-hero .sx-eh-meta.tr{top:32px;right:64px;z-index:5}
.sx-emblem-hero .sx-eh-meta.br{bottom:32px;right:64px;z-index:5}

@media(max-width:1024px){
    .sx-emblem-hero .sx-eh-meta{display:none}
}

/* ============================================================
   EMBLEM HERO — Challenge-coin variant (About)
   Use class: <section class="sx-emblem-hero has-coin">
   Orbital rings framing a freestanding emblem patch.
   ============================================================ */
.sx-emblem-hero.has-coin .sx-eh-bearing-dot{display:none}
.sx-emblem-hero.has-coin .sx-eh-bearing-line{
    right:calc(64px + 240px);
}
.sx-emblem-hero.has-coin .sx-eh-inner{display:block}
.sx-emblem-hero.has-coin .sx-eh-inner > .text{max-width:620px}
.sx-emblem-hero .sx-eh-coin-scene{
    position:absolute;inset:0;z-index:4;pointer-events:none;
    max-width:1280px;margin:0 auto;
}
.sx-emblem-hero .sx-eh-coin{
    position:absolute;top:50%;right:calc(64px + 40px);
    width:400px;height:400px;transform:translateY(-50%);
}
.sx-emblem-hero .sx-eh-coin .orbit{
    position:absolute;inset:0;border-radius:50%;
    border:1px dashed rgba(0,174,230,.35);
    animation:sxCoinSpin 70s linear infinite;
}
.sx-emblem-hero .sx-eh-coin .orbit::before{
    /* Orbiting marker bead — red (standardized highlight) */
    content:"";position:absolute;top:-4px;left:50%;transform:translateX(-50%);
    width:8px;height:8px;border-radius:50%;background:#D14548;
    box-shadow:0 0 10px rgba(209,69,72,.9),0 0 4px rgba(209,69,72,1);
}
.sx-emblem-hero .sx-eh-coin .orbit.ring2{
    inset:22px;border-style:solid;border-color:rgba(0,174,230,.18);
    animation-duration:50s;animation-direction:reverse;
}
.sx-emblem-hero .sx-eh-coin .orbit.ring2::before{display:none}
@keyframes sxCoinSpin{
    0%{transform:rotate(0deg)}
    100%{transform:rotate(360deg)}
}
.sx-emblem-hero .sx-eh-coin .aof-patch{
    position:absolute;top:50%;left:50%;
    width:340px;aspect-ratio:1;transform:translate(-50%,-50%);
    background-size:contain;background-position:center;background-repeat:no-repeat;
    filter:drop-shadow(0 0 30px rgba(232,190,58,.18)) drop-shadow(0 6px 20px rgba(0,0,0,.6));
}
@media(max-width:1024px){
    .sx-emblem-hero .sx-eh-coin{width:300px;height:300px;right:32px}
    .sx-emblem-hero .sx-eh-coin .aof-patch{width:250px}
}

/* (Legacy .has-origins / .has-roster scene blocks removed — see
   "Shared graphic chassis" rules above. Both variants now render
   via .sx-eh-graphic inside the grid, matching .has-globe.) */

/* Sphinx Brand Overrides */
:root {
  --sx-red: #B83233;
  --sx-red-bright: #D14548;
  --sx-purple: #2F2583;
  --sx-purple-bright: #4A3BB8;
  --sx-blue: #00AEE6;
  --sx-blue-deep: #367FC0;
  --sx-navy: #05263E;
  --sx-navy-2: #264867;
  --sx-gunmetal: #383838;
  --sx-light-grey: #DFDFDF;
  --sx-gradient: linear-gradient(90deg, #00AEE6 0%, #2F2583 100%);
  --sx-gradient-hover: linear-gradient(90deg, #24C0F0 0%, #4A3BB8 100%);
  --sx-gradient-soft: linear-gradient(135deg, rgba(0,174,230,0.18) 0%, rgba(47,37,131,0.22) 100%);
  /* All gradient accents use blue→purple — no red. */
  --sx-hairline: linear-gradient(90deg, #00AEE6 0%, #2F2583 100%);
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sx-hairline);
  z-index: 9999;
  pointer-events: none;
}

.site-footer { position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sx-hairline);
}

/* Footer social icons (LinkedIn, etc.) */
.footer-social {
  margin-top: 1.25rem;
  display: flex;
  gap: .625rem;
  flex-wrap: wrap;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #1f1f1f;
  background: rgba(255, 255, 255, 0.02);
  color: #b8b8b8;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.footer-social-link svg { display: block; }
.footer-social-link:hover {
  color: #00AEE6;
  border-color: rgba(0, 174, 230, 0.55);
  background: rgba(0, 174, 230, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 174, 230, 0.15);
}

.btn.primary,
.navbar .btn.primary,
a.btn.primary {
  background: var(--sx-gradient) !important;
  background-size: 140% 100% !important;
  background-position: 0% 50% !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 10px 24px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 2px 12px rgba(184, 50, 51, 0.15);
}
.btn.primary:hover,
.navbar .btn.primary:hover,
a.btn.primary:hover {
  background-position: 100% 50% !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(47, 37, 131, 0.35);
  transform: translateY(-1px);
}

.cta-strip { position: relative; overflow: hidden; }
.cta-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sx-hairline);
}

h1 em, h1 .em,
h2 em, h2 .em,
.hero em {
  color: var(--sx-red) !important;
  font-style: normal;
  font-weight: 600;
}

/* ================================================================
   Standardized Page CTA Block
   Use on every page right above the footer:
   <section class="sx-cta-block">
     <div class="sx-cta-inner">
       <div class="sx-cta-card">
         <div class="sx-cta-card-text">
           <h2>Heading</h2>
           <p>Supporting copy.</p>
         </div>
         <a href="contact.html" class="btn cta-primary">Get Started <span class="arrow">&rarr;</span></a>
       </div>
     </div>
   </section>
   ================================================================ */
.sx-cta-block {
  padding: 112px 0;
  border-bottom: 1px solid #1f1f1f;
}
.sx-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
}
.sx-cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  padding: 3rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  text-align: left;
}
.sx-cta-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sx-hairline);
}
.sx-cta-card-text {
  flex: 1 1 auto;
  max-width: 720px;
}
.sx-cta-card-text h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}
.sx-cta-card-text p {
  font-size: 16px;
  font-weight: 300;
  color: #dddddd;
  margin: 0;
  line-height: 1.6;
}

/* Red → Purple gradient button — distinct from the blue→purple nav "Contact Us" */
.btn.cta-primary,
a.btn.cta-primary {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--sx-red) 0%, var(--sx-purple) 100%) !important;
  background-size: 140% 100% !important;
  background-position: 0% 50% !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 12px 28px !important;
  font-weight: 500 !important;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 2px 12px rgba(184, 50, 51, 0.22);
}
.btn.cta-primary:hover,
a.btn.cta-primary:hover {
  background: linear-gradient(90deg, var(--sx-red-bright) 0%, var(--sx-purple-bright) 100%) !important;
  background-position: 100% 50% !important;
  color: #fff !important;
  box-shadow: 0 6px 24px rgba(184, 50, 51, 0.38);
  transform: translateY(-1px);
}
.btn.cta-primary .arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}
.btn.cta-primary:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .sx-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.75rem;
  }
  .sx-cta-inner {
    padding: 0 24px;
  }
}

/* ============================================================
   SERVICE HERO — Services pages (RECON, RedShift, Helix, ESP)
   Text on the left (breadcrumb, eyebrow, h1 w/ em, lead, CTA).
   Specimen graphic slot on the right.
   Right-side fade-to-black (matches editorial chassis).
   NO coordinate grid — this chassis is designed to host a
   dynamic background (.sx-sh-bg). Keep backdrop neutral until
   the dynamic treatment is wired in.
   ============================================================ */
.sx-service-hero{
  position:relative; overflow:hidden;
  background:#000;
  border-bottom:1px solid #1f1f1f;
  isolation:isolate;
  min-height:560px;
}
/* Backdrop slot — reserved for the dynamic background treatment */
.sx-service-hero .sx-sh-bg{
  position:absolute; inset:0; z-index:0; pointer-events:none;
}
/* Subtle ambient glow so the neutral state doesn't feel flat */
.sx-service-hero .sx-sh-glow{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(1000px 600px at 18% 40%, rgba(47,37,131,.18) 0%, transparent 60%),
    radial-gradient(800px 500px at 82% 65%, rgba(0,174,230,.12) 0%, transparent 55%);
}
/* Right-side fade-to-black — aligns with the right page margin
   (1280 content column + 64 gutter). Keeps dynamic bg from running
   indefinitely at wide viewports. */
.sx-service-hero::after{
  content:"";
  position:absolute; top:0; bottom:0; right:0;
  left:calc(50% + 640px - 64px - 100px);
  z-index:3; pointer-events:none;
  background:linear-gradient(to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.85) 60%,
    #000 100%);
}
.sx-service-hero .sx-sh-inner{
  position:relative; z-index:4;
  max-width:1280px; margin:0 auto; padding:120px 64px;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:4rem;
  align-items:center;
}
.sx-service-hero .sx-sh-text{ max-width:620px; }
.sx-service-hero .sx-breadcrumb{
  font-family:'Inter',sans-serif; font-size:13px;
  color:#8a8a8a; margin:0 0 24px;
  display:flex; align-items:center; gap:8px;
}
.sx-service-hero .sx-breadcrumb a{ color:#00AEE6; text-decoration:none; }
.sx-service-hero .sx-breadcrumb a:hover{ color:#fff; }
.sx-service-hero .sx-eyebrow{
  font-family:'Inter',sans-serif; font-size:12px; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase;
  color:#dddddd; margin:0 0 1.25rem;
  display:inline-block;
}
.sx-service-hero h1{
  font-family:'Kanit',sans-serif;
  font-size:clamp(44px,5.5vw,72px); font-weight:300;
  line-height:1.05; letter-spacing:-.015em;
  color:#fff; margin:0 0 1.25rem;
  text-shadow:0 2px 20px rgba(0,0,0,.6);
}
.sx-service-hero h1 em,
.sx-service-hero h1 .em{
  font-style:normal; font-weight:600; color:#D14548;
}
.sx-service-hero p.sx-lead{
  font-family:'Inter',sans-serif;
  font-size:17px; font-weight:300; line-height:1.6;
  color:#dddddd; max-width:640px; margin:0 0 2rem;
  text-shadow:0 2px 16px rgba(0,0,0,.5);
}
.sx-service-hero .sx-sh-cta{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}
/* Specimen slot — centered vertically, right-anchored */
.sx-service-hero .sx-sh-visual{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:340px;
}
.sx-service-hero .sx-sh-visual img,
.sx-service-hero .sx-sh-visual svg{
  width:100%;
  max-width:440px;
  height:auto;
  display:block;
  filter:drop-shadow(0 10px 30px rgba(0,0,0,.6));
}
@media (max-width:1024px){
  .sx-service-hero .sx-sh-inner{
    grid-template-columns:1fr;
    gap:2.5rem;
    padding:100px 32px;
  }
  .sx-service-hero .sx-sh-visual{ min-height:260px; }
  .sx-service-hero .sx-sh-visual img,
  .sx-service-hero .sx-sh-visual svg{ max-width:380px; }
  .sx-service-hero::after{ left:auto; right:-40%; }
}
@media (max-width:768px){
  .sx-service-hero{ min-height:auto; }
  .sx-service-hero .sx-sh-inner{ padding:72px 24px; }
  .sx-service-hero .sx-sh-visual{ min-height:200px; }
  .sx-service-hero .sx-sh-visual img,
  .sx-service-hero .sx-sh-visual svg{ max-width:280px; }
}

/* ============================================================
   SHARED SERVICE BODY UTILITIES
   Promoted from inline styles so all 4 Services pages can share.
   ============================================================ */
.sx-section{
  padding:112px 0;
  border-bottom:1px solid #1f1f1f;
}
.sx-section-inner{
  max-width:1280px;
  margin:0 auto;
  padding:0 64px;
}
.sx-section-head{
  text-align:left;
  margin-bottom:3rem;
  max-width:760px;
}
.sx-section-label{
  display:inline-block;
  font-family:'Inter',sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--sx-red);
  margin-bottom:1.25rem;
}
.sx-section-head h2{
  font-family:'Kanit',sans-serif;
  font-weight:300;
  font-size:clamp(28px,3.5vw,42px);
  line-height:1.2;
  letter-spacing:-.01em;
  margin:0 0 1rem;
  color:#fff;
}
.sx-section-head h2 em,
.sx-section-head h2 .em{
  font-style:normal;
  font-weight:500;
  color:var(--sx-red);
}
.sx-section-lead{
  font-family:'Inter',sans-serif;
  font-size:17px;
  font-weight:300;
  color:#dddddd;
  max-width:720px;
  margin:0;
  line-height:1.6;
}

/* Feature grid (outcomes / pillars / benefit cards) */
.sx-feature-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:2rem;
  margin-top:3rem;
}
.sx-feature-card{
  background-color:#0a0a0a;
  border:1px solid #1f1f1f;
  border-radius:8px;
  padding:2.5rem 2rem;
  display:flex;
  flex-direction:column;
  gap:1rem;
  transition:border-color .3s ease, transform .3s ease;
}
.sx-feature-card:hover{
  border-color:var(--sx-red-bright);
  transform:translateY(-4px);
}
.sx-feature-card .num{
  font-family:'Kanit',sans-serif;
  font-size:13px;
  font-weight:600;
  letter-spacing:.2em;
  color:var(--sx-red);
}
.sx-feature-card h3,
.sx-feature-card h4{
  font-family:'Kanit',sans-serif;
  font-size:20px;
  font-weight:500;
  color:#fff;
  margin:0;
  line-height:1.25;
}
.sx-feature-card p{
  font-family:'Inter',sans-serif;
  font-size:15px;
  font-weight:300;
  color:#dddddd;
  line-height:1.6;
  margin:0;
}

/* Methodology flow (5-phase nodes) */
.sx-flow{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:1.25rem;
  margin-top:3rem;
  align-items:stretch;
}
.sx-flow-node{
  background-color:#0a0a0a;
  border:1px solid #1f1f1f;
  border-radius:8px;
  padding:2rem 1.5rem;
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:.75rem;
  transition:border-color .3s ease, transform .3s ease;
}
.sx-flow-node:hover{
  border-color:var(--sx-red-bright);
  transform:translateY(-4px);
}
.sx-flow-node .phase{
  font-family:'Inter',sans-serif;
  font-size:11px;
  font-weight:600;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#8a8a8a;
}
.sx-flow-node h4{
  font-family:'Kanit',sans-serif;
  font-size:20px;
  font-weight:500;
  color:var(--sx-red);
  margin:0;
  line-height:1.2;
}
.sx-flow-node p{
  font-family:'Inter',sans-serif;
  font-size:13px;
  font-weight:300;
  color:#dddddd;
  line-height:1.55;
  margin:0;
}

/* Tier comparison table */
.sx-tier-table{
  width:100%;
  border-collapse:collapse;
  background:#0a0a0a;
  border:1px solid #1f1f1f;
  border-radius:8px;
  overflow:hidden;
  margin-top:3rem;
}
.sx-tier-table th,
.sx-tier-table td{
  padding:18px 20px;
  text-align:left;
  border-bottom:1px solid #1f1f1f;
  font-family:'Inter',sans-serif;
  font-size:14px;
  font-weight:300;
}
.sx-tier-table th{
  background:#111;
  color:#fff;
  font-weight:500;
  letter-spacing:.02em;
}
.sx-tier-table tr:last-child th,
.sx-tier-table tr:last-child td{ border-bottom:none; }
.sx-tier-table td:first-child{ color:#fff; font-weight:500; }
.sx-tier-table td:not(:first-child){ text-align:center; color:#8a8a8a; }
.sx-tier-table .tier-check{ color:var(--sx-red); font-weight:700; font-size:16px; }

/* Deliverables row list */
.sx-deliverables{ margin-top:3rem; }
.sx-deliverable-row{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:1.5rem;
  align-items:center;
  padding:1.25rem 0;
  border-bottom:1px solid #1f1f1f;
}
.sx-deliverable-row:last-child{ border-bottom:none; }
.sx-deliverable-row .icon{
  font-size:18px;
  color:var(--sx-red);
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0a0a0a;
  border:1px solid #1f1f1f;
  border-radius:6px;
}
.sx-deliverable-row h4{
  font-family:'Kanit',sans-serif;
  font-size:16px;
  font-weight:500;
  color:#fff;
  margin:0;
}
.sx-deliverable-row .format{
  font-family:'Inter',sans-serif;
  font-size:11px;
  font-weight:600;
  letter-spacing:.15em;
  color:#8a8a8a;
  text-transform:uppercase;
}

/* Split (offering + built-for) */
.sx-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4rem;
  align-items:start;
  margin-top:3rem;
}
.sx-split h3{
  font-family:'Kanit',sans-serif;
  font-size:22px;
  font-weight:500;
  color:#fff;
  margin:0 0 1rem;
  line-height:1.3;
}
.sx-split p{
  font-family:'Inter',sans-serif;
  font-size:15px;
  font-weight:300;
  color:#dddddd;
  line-height:1.7;
  margin:0 0 1rem;
}
.sx-split .pillar-list{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:.9rem;
}
.sx-split .pillar-list li{
  font-family:'Inter',sans-serif;
  font-size:14px;
  color:#dddddd;
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  line-height:1.55;
}
.sx-split .pillar-list li::before{
  content:'\025B8';
  color:var(--sx-red);
  font-weight:700;
  flex-shrink:0;
  margin-top:2px;
}

/* Subcap grid (service tier cards) */
.sx-subcap-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:2rem;
  margin-top:3rem;
}
.sx-subcap{
  background:#0a0a0a;
  border:1px solid #1f1f1f;
  border-radius:8px;
  padding:2rem;
  display:flex;
  flex-direction:column;
  gap:1.25rem;
  transition:border-color .3s ease, transform .3s ease;
}
.sx-subcap:hover{
  border-color:var(--sx-red-bright);
  transform:translateY(-4px);
}
.sx-subcap-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}
.sx-subcap-title{
  font-family:'Kanit',sans-serif;
  font-size:20px;
  font-weight:500;
  color:#fff;
  margin:0;
}
.sx-subcap .tag{
  font-family:'Inter',sans-serif;
  font-size:11px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--sx-red);
  padding:4px 10px;
  border:1px solid var(--sx-red);
  border-radius:100px;
}
.sx-subcap .specs{
  display:flex;
  flex-direction:column;
  gap:.5rem;
  padding:1rem 0;
  border-top:1px solid #1f1f1f;
  border-bottom:1px solid #1f1f1f;
}
.sx-subcap .spec-item{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  font-family:'Inter',sans-serif;
  font-size:13px;
}
.sx-subcap .spec-label{
  color:#8a8a8a;
  font-weight:400;
  letter-spacing:.02em;
}
.sx-subcap .spec-value{ color:#fff; font-weight:500; }
.sx-subcap > p{
  font-family:'Inter',sans-serif;
  font-size:14px;
  font-weight:300;
  color:#dddddd;
  line-height:1.65;
  margin:0;
}

@media (max-width:1024px){
  .sx-feature-grid{ grid-template-columns:repeat(2, 1fr); }
  .sx-flow{ grid-template-columns:repeat(3, 1fr); }
  .sx-split{ grid-template-columns:1fr; gap:2.5rem; }
  .sx-subcap-grid{ grid-template-columns:repeat(2, 1fr); }
  .sx-section{ padding:80px 0; }
  .sx-section-inner{ padding:0 32px; }
}
@media (max-width:768px){
  .sx-feature-grid,
  .sx-flow,
  .sx-subcap-grid{ grid-template-columns:1fr; }
  .sx-section{ padding:64px 0; }
  .sx-section-inner{ padding:0 24px; }
  .sx-tier-table th,
  .sx-tier-table td{ padding:12px 14px; font-size:12px; }
  .sx-deliverable-row{ grid-template-columns:auto 1fr; }
  .sx-deliverable-row .format{ grid-column:2; justify-self:start; }
}
