:root{
  --hs51-bg:#070b14;
  --hs51-surface:#0e1524;
  --hs51-border:rgba(255,255,255,.12);
  --hs51-text:#f7f9ff;
  --hs51-muted:#aeb9cf;
  --hs51-accent:#69e7ff;
  --hs51-max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.hs51-project-body{margin:0;overflow-x:hidden;background:var(--hs51-bg);color:var(--hs51-text);font-family:Arial,Helvetica,sans-serif}
body.hs51-project-body h1,body.hs51-project-body h2,body.hs51-project-body h3,body.hs51-project-body p{transform:none!important;animation:none!important;text-shadow:none!important;filter:none!important;-webkit-text-stroke:0!important}
body.hs51-project-body h1::before,body.hs51-project-body h1::after,body.hs51-project-body h2::before,body.hs51-project-body h2::after,body.hs51-project-body h3::before,body.hs51-project-body h3::after{content:none!important;display:none!important}
.hs51-project-page{min-height:100vh;overflow:hidden;background:radial-gradient(circle at 15% 0%,rgba(105,231,255,.08),transparent 34rem),var(--hs51-bg)}
.hs51-wrap{width:min(var(--hs51-max),calc(100% - 40px));margin-inline:auto}
.hs51-topbar{position:absolute;z-index:20;top:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;width:min(1380px,calc(100% - 40px));padding:24px 0}
.hs51-brand,.hs51-all-projects{color:#fff;text-decoration:none;font-weight:800;letter-spacing:.07em}.hs51-all-projects{font-size:.9rem;color:rgba(255,255,255,.8)}
.hs51-hero{position:relative;display:flex;align-items:flex-end;min-height:78vh;isolation:isolate}
.hs51-hero-media,.hs51-hero-image,.hs51-hero-placeholder{position:absolute;inset:0;width:100%;height:100%}.hs51-hero-image{object-fit:cover}.hs51-hero-placeholder{background:linear-gradient(135deg,#17233b,#0b1220)}
.hs51-hero-shade{position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(4,7,13,.22),rgba(4,7,13,.46) 42%,rgba(4,7,13,.98)),linear-gradient(90deg,rgba(4,7,13,.58),transparent 65%)}
.hs51-hero-inner{position:relative;z-index:2;padding:150px 0 70px}
.hs51-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:26px;color:rgba(255,255,255,.68);font-size:.85rem}.hs51-breadcrumb a{color:inherit;text-decoration:none}
.hs51-kicker,.hs51-section-label{display:flex;align-items:center;gap:10px;margin:0 0 16px;color:var(--hs51-accent);font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.hs51-kicker::before,.hs51-section-label::before{content:"";flex:0 0 28px;width:28px;height:1px;background:currentColor}
.hs51-title{max-width:1000px;margin:0;font-size:clamp(2.6rem,6vw,5.8rem)!important;font-weight:800!important;line-height:1.03!important;letter-spacing:-.045em!important;overflow-wrap:anywhere}
.hs51-lead{max-width:760px;margin:22px 0 0;color:rgba(255,255,255,.8);font-size:clamp(1rem,1.7vw,1.25rem);line-height:1.75}
.hs51-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}.hs51-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border:1px solid transparent;border-radius:999px;text-align:center;text-decoration:none;font-weight:800;line-height:1.25}.hs51-btn-primary{color:#06111b;background:linear-gradient(135deg,var(--hs51-accent),#b8f6ff)}.hs51-btn-secondary{color:#fff;border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.07)}
.hs51-section{padding:96px 0}.hs51-section h2,.hs51-cta h2{max-width:850px;margin:0;font-size:clamp(2rem,4.2vw,4rem)!important;line-height:1.08!important;letter-spacing:-.04em!important}
.hs51-overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.75fr);gap:64px;align-items:start}.hs51-content{margin-top:26px;color:var(--hs51-muted);font-size:1.08rem;line-height:1.9}.hs51-content>*:first-child{margin-top:0}
.hs51-facts{overflow:hidden;border:1px solid var(--hs51-border);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03))}.hs51-fact{display:block;padding:22px;border-bottom:1px solid var(--hs51-border)}.hs51-fact:last-child{border-bottom:0}.hs51-fact span,.hs51-fact strong{position:static!important;display:block!important;transform:none!important}.hs51-fact span{margin-bottom:8px;color:var(--hs51-muted);font-size:.73rem;font-weight:700;letter-spacing:.11em;line-height:1.3;text-transform:uppercase}.hs51-fact strong{font-size:1.05rem;line-height:1.4}
.hs51-solutions{border-block:1px solid var(--hs51-border);background:rgba(255,255,255,.025)}.hs51-chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}.hs51-chip{padding:12px 18px;border:1px solid var(--hs51-border);border-radius:999px;background:rgba(255,255,255,.05);font-weight:700}
.hs51-gallery{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;margin-top:36px}.hs51-gallery-item{grid-column:span 4;overflow:hidden;min-height:300px;border-radius:22px;background:var(--hs51-surface)}.hs51-gallery-item.is-featured{grid-column:span 8;grid-row:span 2;min-height:616px}.hs51-gallery-item img{display:block;width:100%;height:100%;object-fit:cover}
.hs51-related{border-top:1px solid var(--hs51-border)}.hs51-related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.hs51-related-head>a{color:var(--hs51-accent);text-decoration:none;font-weight:800}.hs51-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:36px}.hs51-card{overflow:hidden;border:1px solid var(--hs51-border);border-radius:22px;background:var(--hs51-surface)}.hs51-card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:#111a2c}.hs51-card-media img{display:block;width:100%;height:100%;object-fit:cover}.hs51-card-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#17233b,#0b1220)}.hs51-card-copy{padding:20px}.hs51-card-copy>span{color:var(--hs51-accent);font-size:.75rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.hs51-card-copy h3{margin:10px 0 18px;font-size:1.35rem!important;line-height:1.25!important}.hs51-card-copy h3 a,.hs51-card-link{color:#fff;text-decoration:none}.hs51-card-link{color:var(--hs51-muted);font-weight:700}
.hs51-cta{padding:88px 0;background:radial-gradient(circle at 15% 20%,rgba(105,231,255,.16),transparent 24rem),linear-gradient(135deg,#101a2d,#0b1120)}.hs51-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:48px}.hs51-cta p:not(.hs51-section-label){max-width:760px;margin:20px 0 0;color:var(--hs51-muted);font-size:1.05rem;line-height:1.75}
@media(max-width:900px){.hs51-hero{min-height:72vh}.hs51-overview-grid{grid-template-columns:1fr;gap:36px}.hs51-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hs51-gallery-item{grid-column:span 6}.hs51-gallery-item.is-featured{grid-column:1/-1;min-height:460px}.hs51-cta-inner{align-items:flex-start;flex-direction:column}}

/* v5.2: isolated tablet/mobile layout — prevents inherited theme/plugin rules */
@media (max-width: 900px) {
  body.hs51-project-body,
  body.hs51-project-body .hs51-project-page {
    width: 100% !important;
    max-width: none !important;
    overflow-x: clip !important;
  }

  body.hs51-project-body .hs51-project-page *,
  body.hs51-project-body .hs51-project-page *::before,
  body.hs51-project-body .hs51-project-page *::after {
    box-sizing: border-box !important;
  }

  body.hs51-project-body .hs51-topbar {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 68px !important;
    padding: 18px 20px !important;
    gap: 16px !important;
    background: #08101d !important;
  }

  body.hs51-project-body .hs51-brand,
  body.hs51-project-body .hs51-all-projects {
    position: static !important;
    float: none !important;
    width: auto !important;
    max-width: 48% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  body.hs51-project-body .hs51-all-projects {
    margin-left: auto !important;
    text-align: right !important;
  }

  body.hs51-project-body .hs51-hero {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  body.hs51-project-body .hs51-hero-media {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: clamp(230px, 56vw, 390px) !important;
    overflow: hidden !important;
  }

  body.hs51-project-body .hs51-hero-image,
  body.hs51-project-body .hs51-hero-placeholder {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
  }

  body.hs51-project-body .hs51-hero-shade {
    display: none !important;
  }

  body.hs51-project-body .hs51-wrap,
  body.hs51-project-body .hs51-hero-inner {
    position: static !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    width: min(100% - 32px, var(--hs51-max)) !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
    columns: auto !important;
  }

  body.hs51-project-body .hs51-hero-inner {
    padding-top: 34px !important;
    padding-bottom: 54px !important;
  }

  body.hs51-project-body .hs51-breadcrumb,
  body.hs51-project-body .hs51-kicker,
  body.hs51-project-body .hs51-title,
  body.hs51-project-body .hs51-lead,
  body.hs51-project-body .hs51-actions {
    position: static !important;
    inset: auto !important;
    float: none !important;
    clear: both !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }

  body.hs51-project-body .hs51-breadcrumb {
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-bottom: 20px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  body.hs51-project-body .hs51-kicker {
    align-items: center !important;
    margin-bottom: 16px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    letter-spacing: .12em !important;
  }

  body.hs51-project-body .hs51-title {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(36px, 10.5vw, 64px) !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1.02 !important;
    letter-spacing: -.045em !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body.hs51-project-body .hs51-lead {
    display: block !important;
    margin-top: 20px !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
  }

  body.hs51-project-body .hs51-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 26px !important;
  }

  body.hs51-project-body .hs51-btn {
    position: static !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    border-radius: 18px !important;
    transform: none !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  body.hs51-project-body .hs51-section,
  body.hs51-project-body .hs51-cta {
    width: 100% !important;
    max-width: none !important;
    overflow: hidden !important;
  }

  body.hs51-project-body .hs51-section {
    padding: 68px 0 !important;
  }

  body.hs51-project-body .hs51-section h2,
  body.hs51-project-body .hs51-cta h2 {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
    font-size: clamp(31px, 8.5vw, 48px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    overflow-wrap: break-word !important;
  }

  body.hs51-project-body .hs51-overview-grid,
  body.hs51-project-body .hs51-cta-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: min(100% - 32px, var(--hs51-max)) !important;
    max-width: none !important;
    margin: 0 auto !important;
    gap: 34px !important;
  }

  body.hs51-project-body .hs51-facts {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  body.hs51-project-body .hs51-fact {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 22px !important;
  }

  body.hs51-project-body .hs51-fact span,
  body.hs51-project-body .hs51-fact strong {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
  }

  body.hs51-project-body .hs51-related-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.hs51-project-body .hs51-gallery {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.hs51-project-body .hs51-gallery-item,
  body.hs51-project-body .hs51-gallery-item.is-featured {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 280px !important;
  }

  body.hs51-project-body .hs51-cta {
    padding: 72px 0 !important;
  }

  body.hs51-project-body .hs51-cta-inner {
    align-items: stretch !important;
    gap: 28px !important;
  }

  body.hs51-project-body .hs51-cta p:not(.hs51-section-label) {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
  }
}

@media (max-width: 420px) {
  body.hs51-project-body .hs51-topbar {
    padding-inline: 16px !important;
  }

  body.hs51-project-body .hs51-brand,
  body.hs51-project-body .hs51-all-projects {
    font-size: 12px !important;
  }

  body.hs51-project-body .hs51-wrap,
  body.hs51-project-body .hs51-hero-inner,
  body.hs51-project-body .hs51-overview-grid,
  body.hs51-project-body .hs51-cta-inner {
    width: calc(100% - 24px) !important;
  }

  body.hs51-project-body .hs51-title {
    font-size: clamp(34px, 10.8vw, 48px) !important;
  }
}

/* v5.3 final responsive refinements */
@media (max-width: 900px) {
  /* No empty image block when the project has no Featured Image. */
  body.hs53-no-hero-image .hs51-hero-media {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }

  body.hs53-no-hero-image .hs51-hero-inner {
    padding-top: 34px !important;
  }

  /* If an image exists, keep it useful but compact. */
  body.hs53-has-hero-image .hs51-hero-media {
    height: clamp(200px, 48vw, 340px) !important;
  }

  body.hs51-project-body .hs51-breadcrumb {
    margin-bottom: 16px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: rgba(255,255,255,.64) !important;
  }

  body.hs51-project-body .hs51-breadcrumb span[aria-current="page"] {
    flex-basis: 100% !important;
    margin-top: 4px !important;
  }

  body.hs51-project-body .hs51-kicker {
    margin-bottom: 14px !important;
  }

  body.hs51-project-body .hs51-title {
    font-size: clamp(34px, 9.6vw, 58px) !important;
    line-height: 1.01 !important;
    letter-spacing: -.04em !important;
  }

  body.hs51-project-body .hs51-hero-inner {
    padding-bottom: 44px !important;
  }

  body.hs51-project-body .hs51-actions {
    gap: 10px !important;
    margin-top: 24px !important;
  }

  body.hs51-project-body .hs51-btn {
    min-height: 54px !important;
    border-radius: 16px !important;
  }

  /* Leave a safe lane for the floating chatbot button. */
  body.hs51-project-body .hs51-actions .hs51-btn,
  body.hs51-project-body .hs51-cta .hs51-btn {
    width: calc(100% - 72px) !important;
    max-width: calc(100% - 72px) !important;
    margin-right: 72px !important;
  }

  body.hs51-project-body .hs51-section {
    padding: 58px 0 !important;
  }

  body.hs51-project-body .hs51-cta {
    padding: 64px 0 96px !important;
  }

  body.hs51-project-body .hs51-cta h2 {
    font-size: clamp(30px, 8vw, 44px) !important;
  }

  body.hs51-project-body .hs51-cta p:not(.hs51-section-label) {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
}

@media (max-width: 520px) {
  body.hs51-project-body .hs51-topbar {
    min-height: 64px !important;
    padding: 16px 14px !important;
  }

  body.hs51-project-body .hs51-brand,
  body.hs51-project-body .hs51-all-projects {
    max-width: 47% !important;
    font-size: 12px !important;
    letter-spacing: .06em !important;
  }

  body.hs51-project-body .hs51-wrap,
  body.hs51-project-body .hs51-hero-inner,
  body.hs51-project-body .hs51-overview-grid,
  body.hs51-project-body .hs51-cta-inner {
    width: calc(100% - 28px) !important;
  }

  body.hs51-project-body .hs51-title {
    font-size: clamp(33px, 10vw, 47px) !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  body.hs51-project-body .hs51-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  body.hs51-project-body .hs51-actions .hs51-btn,
  body.hs51-project-body .hs51-cta .hs51-btn {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }
}

/* v5.4 project-page polish */
@media (max-width: 900px) {
  body.hs51-project-body .hs51-hero-inner {
    padding-top: 26px !important;
    padding-bottom: 38px !important;
  }

  body.hs51-project-body .hs51-title {
    margin-top: 0 !important;
  }

  body.hs51-project-body .hs51-fact {
    padding: 18px 20px !important;
  }

  body.hs51-project-body .hs51-actions .hs51-btn,
  body.hs51-project-body .hs51-cta .hs51-btn {
    width: min(88%, 420px) !important;
    max-width: min(88%, 420px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.hs51-project-body .hs51-actions {
    align-items: center !important;
  }

  body.hs51-project-body .hs51-cta-inner {
    align-items: stretch !important;
  }

  body.hs51-project-body .hs51-cta .hs51-btn {
    align-self: center !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  body.hs51-project-body .hs51-actions .hs51-btn,
  body.hs51-project-body .hs51-cta .hs51-btn {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ================================================================
   Hyper Sonic Platform 6 — Portfolio System
   Approved hero is preserved. The sections below are rebuilt.
   ================================================================ */
.hs60-project-page{background:#070b14}
.hs60-overview-section,.hs60-solutions-section,.hs60-gallery-section{padding:110px 0}
.hs60-overview-section{border-top:1px solid rgba(255,255,255,.08)}
.hs60-overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.65fr);gap:76px;align-items:start}
.hs60-overview-copy h2,.hs60-solutions-section h2,.hs60-gallery-section h2{
    max-width:880px;margin:0;font-size:clamp(2.15rem,4.6vw,4.6rem);
    line-height:1.04;letter-spacing:-.05em
}
.hs60-content{max-width:820px;margin-top:30px;color:#b9c4d8;font-size:1.08rem;line-height:1.9}
.hs60-content p{margin:0 0 20px}
.hs60-content h2,.hs60-content h3{
    margin:42px 0 16px;color:#fff;font-size:clamp(1.45rem,2.5vw,2.35rem);
    line-height:1.15;letter-spacing:-.03em
}
.hs60-content a{color:#69e7ff}
.hs60-facts{overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:26px;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025));box-shadow:0 25px 70px rgba(0,0,0,.28)}
.hs60-facts>div{padding:23px 25px;border-bottom:1px solid rgba(255,255,255,.1)}
.hs60-facts>div:last-child{border-bottom:0}
.hs60-facts span{display:block;margin-bottom:8px;color:#9facc2;font-size:.72rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.hs60-facts strong{display:block;color:#fff;font-size:1.04rem;line-height:1.45}
.hs60-solutions-section{border-block:1px solid rgba(255,255,255,.09);background:radial-gradient(circle at 85% 10%,rgba(105,231,255,.08),transparent 30rem),rgba(255,255,255,.018)}
.hs60-solution-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:40px}
.hs60-solution-card{display:flex;align-items:center;gap:16px;min-height:94px;padding:22px 24px;border:1px solid rgba(255,255,255,.11);border-radius:20px;background:rgba(255,255,255,.045)}
.hs60-solution-card span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;color:#06111b;background:#69e7ff;font-size:18px;font-weight:900}
.hs60-solution-card strong{font-size:1.02rem;line-height:1.35}
.hs60-gallery-section{overflow:hidden}
.hs60-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}
.hs60-section-head>p{margin:0;color:#9facc2;font-size:.9rem}
.hs60-gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:dense;grid-auto-rows:110px;gap:16px;margin-top:42px}
.hs60-gallery-item{
    position:relative;grid-column:span 4;grid-row:span 3;overflow:hidden;
    padding:0;border:0;border-radius:22px;background:#101828;cursor:zoom-in;
    box-shadow:0 22px 60px rgba(0,0,0,.25)
}
.hs60-gallery-item-1{grid-column:span 8;grid-row:span 6}
.hs60-gallery-item-4,.hs60-gallery-item-7{grid-column:span 8;grid-row:span 4}
.hs60-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease,filter .45s ease}
.hs60-gallery-item:hover img{transform:scale(1.035);filter:brightness(.82)}
.hs60-gallery-zoom{position:absolute;right:16px;bottom:16px;display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#fff;background:rgba(7,11,20,.62);backdrop-filter:blur(10px);font-size:23px;opacity:0;transform:translateY(7px);transition:.25s}
.hs60-gallery-item:hover .hs60-gallery-zoom,.hs60-gallery-item:focus-visible .hs60-gallery-zoom{opacity:1;transform:none}
.hs60-lightbox[hidden]{display:none}
.hs60-lightbox{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;padding:32px;background:rgba(2,5,10,.94);backdrop-filter:blur(12px)}
.hs60-lightbox figure{display:grid;place-items:center;max-width:min(1380px,88vw);max-height:88vh;margin:0}
.hs60-lightbox img{display:block;max-width:100%;max-height:82vh;border-radius:18px;box-shadow:0 30px 100px #000}
.hs60-lightbox figcaption{margin-top:12px;color:#c2ccdc;text-align:center}
.hs60-lightbox-close,.hs60-lightbox-prev,.hs60-lightbox-next{position:absolute;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#fff;background:rgba(255,255,255,.08);cursor:pointer}
.hs60-lightbox-close{top:22px;right:22px;width:48px;height:48px;font-size:30px}
.hs60-lightbox-prev,.hs60-lightbox-next{top:50%;width:52px;height:52px;font-size:38px;transform:translateY(-50%)}
.hs60-lightbox-prev{left:22px}.hs60-lightbox-next{right:22px}

@media(max-width:900px){
    .hs60-overview-section,.hs60-solutions-section,.hs60-gallery-section{padding:74px 0}
    .hs60-overview-grid{grid-template-columns:1fr;gap:38px}
    .hs60-solution-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .hs60-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:210px}
    .hs60-gallery-item,.hs60-gallery-item-1,.hs60-gallery-item-4,.hs60-gallery-item-7{grid-column:span 1;grid-row:span 1}
    .hs60-gallery-item:first-child{grid-column:1/-1;min-height:430px}
}
@media(max-width:640px){
    .hs60-overview-section,.hs60-solutions-section,.hs60-gallery-section{padding:62px 0}
    .hs60-overview-copy h2,.hs60-solutions-section h2,.hs60-gallery-section h2{font-size:clamp(2rem,9vw,3rem)}
    .hs60-content{font-size:1rem;line-height:1.78}
    .hs60-solution-grid{grid-template-columns:1fr}
    .hs60-section-head{align-items:flex-start;flex-direction:column}
    .hs60-gallery{grid-template-columns:1fr;grid-auto-rows:auto;gap:13px;margin-top:30px}
    .hs60-gallery-item,.hs60-gallery-item:first-child{grid-column:auto;min-height:0;aspect-ratio:4/3;border-radius:16px}
    .hs60-gallery-item:nth-child(3n+1){aspect-ratio:16/11}
    .hs60-gallery-zoom{opacity:1;transform:none;width:38px;height:38px}
    .hs60-lightbox{padding:14px}
    .hs60-lightbox-prev,.hs60-lightbox-next{top:auto;bottom:18px;transform:none}
    .hs60-lightbox-prev{left:calc(50% - 64px)}.hs60-lightbox-next{right:calc(50% - 64px)}
    .hs60-lightbox-close{top:14px;right:14px}
}

/* v6.1 — secure, fast, device-safe gallery refinements */
.hs60-gallery-item,
.hs60-lightbox img,
.hs51-hero-image{
    -webkit-user-select:none;
    user-select:none;
    -webkit-user-drag:none;
}

.hs60-gallery-item::after{
    content:"HYPER SONIC EGYPT";
    position:absolute;
    right:14px;
    bottom:12px;
    z-index:2;
    color:rgba(255,255,255,.18);
    font-size:10px;
    font-weight:800;
    letter-spacing:.12em;
    pointer-events:none;
    text-shadow:0 1px 8px rgba(0,0,0,.5);
}

.hs60-lightbox figure{
    position:relative;
}

.hs60-lightbox figure::after{
    content:"HYPER SONIC EGYPT";
    position:absolute;
    right:18px;
    bottom:18px;
    color:rgba(255,255,255,.16);
    font-size:11px;
    font-weight:800;
    letter-spacing:.14em;
    pointer-events:none;
    text-shadow:0 1px 10px rgba(0,0,0,.65);
}

.hs60-lightbox figcaption{
    display:none !important;
}

.hs60-gallery-item img{
    transform:translateZ(0);
    backface-visibility:hidden;
}

@media (hover:hover) and (pointer:fine){
    .hs60-gallery-item:hover img{
        transform:scale(1.025);
        filter:brightness(.92) saturate(1.02);
    }
}

@media (prefers-reduced-motion:reduce){
    .hs60-gallery-item,
    .hs60-gallery-item img,
    .hs60-gallery-zoom,
    .hs60-lightbox,
    .hs51-btn{
        animation:none !important;
        transition:none !important;
        scroll-behavior:auto !important;
    }
}

@media (max-width:640px){
    .hs60-gallery-item::after{
        right:10px;
        bottom:9px;
        font-size:8px;
        letter-spacing:.1em;
    }

    .hs60-lightbox figure::after{
        right:12px;
        bottom:12px;
        font-size:9px;
    }

    .hs60-gallery-zoom{
        opacity:.9;
    }
}

/* ================================================================
   Hyper Sonic Platform 7 Final
   Stable portfolio gallery: premium, responsive and lightweight.
   ================================================================ */

/* Remove the browser's oversized blue button focus fill seen in some browsers. */
.hs60-gallery-item{
    outline:none !important;
    border:1px solid rgba(255,255,255,.075) !important;
    background:#0d1421 !important;
    box-shadow:0 18px 48px rgba(0,0,0,.28) !important;
}
.hs60-gallery-item:focus{
    outline:none !important;
}
.hs60-gallery-item:focus-visible{
    outline:2px solid rgba(105,231,255,.75) !important;
    outline-offset:3px;
}

/* Cleaner editorial grid with less visual noise. */
.hs60-gallery{
    gap:14px !important;
}
.hs60-gallery-item{
    border-radius:18px !important;
}
.hs60-gallery-item img{
    object-position:center center;
}

/* Gentle reveal; disabled automatically for reduced-motion users. */
@keyframes hs70Reveal{
    from{opacity:0;transform:translateY(14px)}
    to{opacity:1;transform:none}
}
.hs60-gallery-item{
    animation:hs70Reveal .48s both ease-out;
}
.hs60-gallery-item:nth-child(2){animation-delay:.04s}
.hs60-gallery-item:nth-child(3){animation-delay:.08s}
.hs60-gallery-item:nth-child(4){animation-delay:.12s}
.hs60-gallery-item:nth-child(5){animation-delay:.16s}
.hs60-gallery-item:nth-child(n+6){animation-delay:.2s}

/* Make the watermark subtle enough not to spoil the photograph. */
.hs60-gallery-item::after{
    color:rgba(255,255,255,.14) !important;
    font-size:9px !important;
}
.hs60-lightbox figure::after{
    color:rgba(255,255,255,.13) !important;
}

/* Tablet: balanced two-column editorial layout. */
@media (min-width:641px) and (max-width:1024px){
    .hs60-gallery{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        grid-auto-rows:230px !important;
    }
    .hs60-gallery-item,
    .hs60-gallery-item-1,
    .hs60-gallery-item-4,
    .hs60-gallery-item-7{
        grid-column:span 1 !important;
        grid-row:span 1 !important;
    }
    .hs60-gallery-item:first-child{
        grid-column:1/-1 !important;
        min-height:460px;
    }
}

/* Mobile: one image per row, predictable and fast. */
@media (max-width:640px){
    .hs60-gallery{
        gap:12px !important;
    }
    .hs60-gallery-item{
        border-radius:14px !important;
        aspect-ratio:4/3 !important;
    }
    .hs60-gallery-item:nth-child(odd){
        aspect-ratio:16/11 !important;
    }
    .hs60-section-head>p{
        display:none;
    }
}

/* No reveal animations for users who prefer reduced motion. */
@media (prefers-reduced-motion:reduce){
    .hs60-gallery-item{
        animation:none !important;
    }
}

/* v7.1 — mobile typography, media performance and floating contact polish */
body.hs51-project-body .hs60-content,
body.hs51-project-body .hs60-content *{
    max-width:100%;
    min-width:0;
}
body.hs51-project-body .hs60-content h1,
body.hs51-project-body .hs60-content h2,
body.hs51-project-body .hs60-content h3,
body.hs51-project-body .hs60-content h4,
body.hs51-project-body .hs60-overview-copy>h2,
body.hs51-project-body .hs60-solutions-section h2,
body.hs51-project-body .hs60-gallery-section h2,
body.hs51-project-body .hs51-related h2,
body.hs51-project-body .hs51-cta h2{
    position:static!important;
    inset:auto!important;
    display:block!important;
    float:none!important;
    clear:both!important;
    width:auto!important;
    height:auto!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:none!important;
    translate:none!important;
    scale:none!important;
    rotate:none!important;
    animation:none!important;
    filter:none!important;
    text-indent:0!important;
    text-shadow:none!important;
    -webkit-text-stroke:0!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    font-family:Arial,Helvetica,sans-serif!important;
}
body.hs51-project-body .hs60-content h1::before,
body.hs51-project-body .hs60-content h1::after,
body.hs51-project-body .hs60-content h2::before,
body.hs51-project-body .hs60-content h2::after,
body.hs51-project-body .hs60-content h3::before,
body.hs51-project-body .hs60-content h3::after{
    content:none!important;
    display:none!important;
}
body.hs51-project-body .hs60-content ul,
body.hs51-project-body .hs60-content ol{
    padding-inline-start:1.35em!important;
    margin:18px 0 28px!important;
}
body.hs51-project-body .hs60-content li{
    position:static!important;
    margin:0 0 10px!important;
    line-height:1.65!important;
}

@media(max-width:640px){
    body.hs51-project-body .hs60-overview-copy>h2,
    body.hs51-project-body .hs60-solutions-section h2,
    body.hs51-project-body .hs60-gallery-section h2,
    body.hs51-project-body .hs51-related h2,
    body.hs51-project-body .hs51-cta h2{
        font-size:clamp(1.9rem,9vw,2.75rem)!important;
        line-height:1.08!important;
        letter-spacing:-.035em!important;
    }
    body.hs51-project-body .hs60-content h1,
    body.hs51-project-body .hs60-content h2{
        margin:32px 0 16px!important;
        font-size:clamp(1.75rem,8.5vw,2.55rem)!important;
        line-height:1.08!important;
        letter-spacing:-.03em!important;
    }
    body.hs51-project-body .hs60-content h3{
        margin:28px 0 14px!important;
        font-size:clamp(1.35rem,6.5vw,1.9rem)!important;
        line-height:1.15!important;
        letter-spacing:-.02em!important;
    }
    body.hs51-project-body .hs60-content{
        overflow:hidden;
    }
    body.hs51-project-body .hs60-facts{
        border-radius:20px;
    }
    body.hs51-project-body .hs60-facts>div{
        padding:20px 22px;
    }
    body.hs51-project-body .hs51-related{
        padding-bottom:78px;
    }
}


/* v8 production accessibility and project navigation */
.hs-skip-link{position:fixed;inset-inline-start:16px;top:12px;z-index:100000;transform:translateY(-160%);padding:11px 16px;border-radius:8px;background:#fff;color:#07101f;font-weight:800;text-decoration:none;transition:transform .2s ease}.hs-skip-link:focus{transform:translateY(0)}
.hs60-project-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;gap:18px;padding-top:72px;padding-bottom:72px}.hs60-project-navigation-link,.hs60-project-navigation-all{display:flex;justify-content:center;flex-direction:column;min-height:112px;padding:22px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.035);color:#fff;text-decoration:none;transition:border-color .2s ease,transform .2s ease}.hs60-project-navigation-link span{margin-bottom:8px;color:#8fa3bd;font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.hs60-project-navigation-link strong{font-size:1rem;line-height:1.4}.hs60-project-navigation-next{text-align:end}.hs60-project-navigation-all{align-items:center;min-height:auto;font-weight:800}.hs60-project-navigation-link:hover,.hs60-project-navigation-all:hover{border-color:rgba(105,231,255,.55);transform:translateY(-2px)}
.hs60-gallery-item:focus-visible,.hs51-btn:focus-visible,.hs51-card a:focus-visible,.hs51-topbar a:focus-visible{outline:3px solid #69e7ff;outline-offset:4px}
@media(max-width:760px){.hs60-project-navigation{grid-template-columns:1fr;padding-top:48px;padding-bottom:48px}.hs60-project-navigation-next{text-align:start}.hs60-project-navigation-all{order:3;min-height:52px}}
@media(prefers-reduced-motion:reduce){.hs-skip-link,.hs60-project-navigation-link,.hs60-project-navigation-all{transition:none!important}}

/* v8.2 — complete Arabic project-page direction and typography */
html[dir="rtl"] body.hs51-project-body .hs51-project-page,
html[dir="rtl"] body.hs51-project-body .hs51-hero-inner,
html[dir="rtl"] body.hs51-project-body .hs60-overview-copy,
html[dir="rtl"] body.hs51-project-body .hs60-facts,
html[dir="rtl"] body.hs51-project-body .hs60-solutions-section,
html[dir="rtl"] body.hs51-project-body .hs60-gallery-section,
html[dir="rtl"] body.hs51-project-body .hs51-related,
html[dir="rtl"] body.hs51-project-body .hs51-cta{
    text-align:right;
}
html[dir="rtl"] body.hs51-project-body .hs51-kicker,
html[dir="rtl"] body.hs51-project-body .hs51-section-label,
html[dir="rtl"] body.hs51-project-body .hs60-project-navigation-link span{
    letter-spacing:0;
    text-transform:none;
}
html[dir="rtl"] body.hs51-project-body .hs51-title,
html[dir="rtl"] body.hs51-project-body .hs60-overview-copy>h2,
html[dir="rtl"] body.hs51-project-body .hs60-solutions-section h2,
html[dir="rtl"] body.hs51-project-body .hs60-gallery-section h2,
html[dir="rtl"] body.hs51-project-body .hs51-related h2,
html[dir="rtl"] body.hs51-project-body .hs51-cta h2{
    letter-spacing:0!important;
    line-height:1.25!important;
}
html[dir="rtl"] body.hs51-project-body .hs51-lead,
html[dir="rtl"] body.hs51-project-body .hs60-content{
    line-height:1.95;
}
html[dir="rtl"] body.hs51-project-body .hs51-actions,
html[dir="rtl"] body.hs51-project-body .hs60-section-head,
html[dir="rtl"] body.hs51-project-body .hs51-related-head,
html[dir="rtl"] body.hs51-project-body .hs51-cta-inner{
    direction:rtl;
}
html[dir="rtl"] body.hs51-project-body .hs60-project-navigation-next{
    text-align:left;
}
html[dir="rtl"] body.hs51-project-body .hs60-solution-card span,
html[dir="rtl"] body.hs51-project-body .hs51-card-link span,
html[dir="rtl"] body.hs51-project-body .hs51-related-head>a span{
    display:inline-block;
    transform:scaleX(-1);
}
@media(max-width:760px){
    html[dir="rtl"] body.hs51-project-body .hs60-project-navigation-next{text-align:right}
}

/* v8.3: robust bilingual project typography and mixed-language facts */
.hs51-title{
  font-size:clamp(2.35rem,5.2vw,5.2rem)!important;
  max-width:min(1000px,92vw);
  text-wrap:balance;
}
html[dir="rtl"] body.hs51-project-body .hs51-title{
  font-family:Arial,"Tahoma",sans-serif!important;
  font-size:clamp(2.25rem,5vw,4.9rem)!important;
  line-height:1.16!important;
  letter-spacing:0!important;
  overflow-wrap:normal;
  word-break:normal;
}
html[dir="rtl"] body.hs51-project-body .hs51-breadcrumb,
html[dir="rtl"] body.hs51-project-body .hs51-lead,
html[dir="rtl"] body.hs51-project-body .hs51-content,
html[dir="rtl"] body.hs51-project-body .hs51-fact{
  text-align:right;
}
html[dir="rtl"] body.hs51-project-body .hs51-fact strong{
  unicode-bidi:plaintext;
  overflow-wrap:anywhere;
}
html[dir="rtl"] body.hs51-project-body .hs51-content{
  unicode-bidi:plaintext;
}
@media (max-width:900px){
  html[dir="rtl"] body.hs51-project-body .hs51-title{
    font-size:clamp(34px,9vw,56px)!important;
    line-height:1.2!important;
    text-align:right!important;
  }
}
