/* Sulaco New Media solar system (Home hero and the band above every footer) and layered planets. Built from the designer handoff (galaxy.css) plus build additions at the end. */
.galaxy-page{color:#273d48;color-scheme:light;--ink:#273d48;--muted:#53636b;--line:#273d4830;--accent:#c1e65c}
.galaxy-page .galaxy-hero{position:relative;background:#10191f;color:#e2e5e7;overflow:hidden;background-image:radial-gradient(ellipse at 72% 60%,#29354e60,transparent 57%),radial-gradient(ellipse at 20% 70%,#23504a35,transparent 45%)}
.galaxy-intro{display:grid;grid-template-columns:1.25fr 1fr;gap:70px;padding-block:20px 10px;align-items:end}
.galaxy-intro h1{font-size:clamp(36px,4.1vw,54px);font-weight:600;letter-spacing:-.04em;margin:20px 0 0;line-height:1.08}.galaxy-intro h1 em{font:inherit;color:#e2e5e7;letter-spacing:-.04em}
.galaxy-page .eyebrow{font-family:'Courier New',monospace;font-size:10px;letter-spacing:1.8px}.galaxy-intro .eyebrow{color:#afc1ce}
.galaxy-intro>div>p:not(.eyebrow){font-size:15px;max-width:390px;line-height:1.8;color:#bbc9ce}.galaxy-intro .button{margin-top:22px;color:#17191c;font-size:12px}
.solar-system{height:660px;position:relative;isolation:isolate;margin-top:10px}
.system-grid{position:absolute;inset:0;background-image:radial-gradient(circle,#cedbe366 .7px,transparent 1px);background-size:89px 71px;mask-image:radial-gradient(ellipse,#000,transparent 70%);opacity:.5;z-index:-1}
.system-orbit{position:absolute;border:1px solid #abc5d226;border-radius:50%;left:50%;top:49%;transform:translate(-50%,-50%) rotate(-12deg);pointer-events:none}
.orbit-one{width:38%;height:27%}.orbit-two{width:65%;height:55%}.orbit-three{width:93%;height:82%}
.system-core{position:absolute;left:49%;top:46%;transform:translate(-50%,-50%);width:190px;height:190px;display:flex;align-items:center;justify-content:center;z-index:2;pointer-events:none}
.system-core img,.station-webgl{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.system-core .station-poster{filter:drop-shadow(0 10px 14px #0008)}
.system-core .station-emblem{z-index:3;inset:50% auto auto 50%;width:25%;height:25%;object-fit:contain;transform:translate(-50%,-50%);filter:drop-shadow(0 0 5px #c1e65c88);pointer-events:none}
.station-webgl{opacity:0;transition:opacity .45s;pointer-events:none}
.station-emblem{opacity:1;transition:opacity .45s}
.system-core.station-webgl-active .station-emblem{opacity:0}
.system-core.station-ready .station-poster{opacity:0}.system-core.station-ready .station-webgl{opacity:1}.system-core.station-ready .station-emblem{opacity:1}
.system-planet{position:absolute;width:205px;text-align:center;transform:translate(-50%,-50%);z-index:2;transition:filter .3s}
.system-planet img{width:100%;height:170px;object-fit:contain;display:block;filter:drop-shadow(0 15px 16px #0005);transition:transform .35s}
.system-planet>span{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 12px;border:1px solid #a7c2cf55;background:#10191fe6;white-space:nowrap;font-size:12px;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,7px 100%,0 calc(100% - 7px))}
.system-planet small{color:var(--node-accent);font:9px 'Courier New',monospace}.system-planet b{font-weight:400;color:var(--node-accent)}
.system-planet:hover{text-decoration:none}.system-planet:hover img{transform:translateY(-5px) scale(1.04)}.system-planet:hover>span{border-color:var(--node-accent)}.system-planet:focus-visible{outline-offset:3px}
.node-1{left:22%;top:22%}.node-2{left:48%;top:17%}.node-3{left:78%;top:27%}.node-4{left:82%;top:68%;width:230px}.node-5{left:48%;top:77%}.node-6{left:17%;top:64%}
.system-caption{position:absolute;bottom:16px;left:0;right:0;display:flex;justify-content:space-between;gap:20px;font:9px 'Courier New',monospace;letter-spacing:2px;color:#b7c8d0;border-top:1px solid #abc5d226;padding-top:16px}
.world-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:40px}
.world-card{position:relative;border:1px solid #273d4838;padding:22px 25px 28px;background:#ffffff15;overflow:hidden}
.world-card:after{content:'';position:absolute;top:-1px;right:-1px;width:24px;height:24px;border-top:2px solid var(--card-ink);border-right:2px solid var(--card-ink)}
.world-card>div{position:relative;height:150px}.world-card img{position:absolute;right:-10px;top:-15px;width:190px;height:170px;object-fit:contain;transition:transform .35s}.world-card .eyebrow{position:relative;z-index:1;color:var(--card-ink)}
.world-card h3{font-size:25px;letter-spacing:-.7px;margin:18px 0 15px;color:var(--card-ink)}.world-card p{font-size:14px;line-height:1.8;color:#53636b;min-height:100px}.world-card-link{font-size:11px;display:inline-block;margin-top:24px;color:var(--card-ink);border-bottom:2px solid var(--card-accent);padding-bottom:7px}
.world-card:hover{text-decoration:none;background:#ffffff35}.world-card:hover img{transform:translateY(-5px)}
.home-band{background:#24353e;color:#e2e5e7;padding-block:70px}.home-band .wrap{max-width:900px}.home-band p:not(.eyebrow){color:#b9c7cd;max-width:660px;margin-bottom:25px}.home-band .eyebrow{color:#b9c7cd}
.home-proof{background:#18272d;color:#e2e5e7;border-block:1px solid #abc5d226;padding-block:32px}
.home-proof-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid #abc5d226}
.home-proof-grid>li{min-width:0;padding:22px 24px;border-right:1px solid #abc5d226;display:flex;flex-direction:column;justify-content:center;gap:7px}
.home-proof-grid>li:first-child{padding-left:0}.home-proof-grid>li:last-child{border-right:0;padding-right:0}
.home-proof-grid strong{font-size:clamp(18px,2vw,25px);line-height:1.2;font-weight:500;letter-spacing:-.035em}
.home-proof-grid span{font:10px/1.6 'Courier New',monospace;letter-spacing:.8px;color:#b7c8d0}
.home-proof-grid a{display:flex;flex-direction:column;gap:7px}.home-proof-grid a:hover strong{color:#c1e65c}
.galaxy-page .steps p,.galaxy-page .contact-layout>div>p:not(.eyebrow){color:#53636b}.galaxy-page .steps li:before,.galaxy-page .contact-people small{color:#273d48}.galaxy-page .contact-section{border-color:#273d4830}.galaxy-page .enquiry-form{color:#273d48}.galaxy-page .form-notice{border-color:#799d46}.galaxy-page .contact-section .button{color:#17191c}.galaxy-page .footer-top{color:#e2e5e7}
.galaxy-page .contact-section :focus-visible{outline-color:#273d48}
@media(max-width:1000px){.galaxy-intro{gap:40px}.system-planet{width:170px}.system-planet img{height:145px}.system-planet>span{font-size:11px;padding:9px}.node-4{width:200px}.world-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.solar-system{height:620px}.world-card p{min-height:90px}}
@media(max-width:720px){.galaxy-intro{grid-template-columns:1fr;gap:24px;padding-top:16px}.galaxy-intro h1{font-size:clamp(34px,8.5vw,42px)}.solar-system{height:auto;display:grid;grid-template-columns:1fr 1fr;gap:25px 10px;padding:25px 0 65px;margin-top:15px}.system-planet{position:relative;left:auto;top:auto;transform:none;width:auto!important;min-width:0}.system-planet img{height:130px}.system-planet>span{font-size:10px;gap:5px;padding:9px 6px;white-space:normal}.system-planet small{font-size:8px}.system-core{display:none}.system-orbit{width:90%;height:75%}.orbit-one{height:35%}.orbit-two{height:55%}.system-caption{font-size:7px;letter-spacing:1px;bottom:15px;gap:10px}.world-cards{grid-template-columns:1fr;gap:20px}.world-card p{min-height:0}.world-card>div{height:140px}.home-band{padding-block:50px}.home-proof{padding-block:24px}.home-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-proof-grid>li{padding:18px 14px;border-bottom:1px solid #abc5d226}.home-proof-grid>li:first-child{padding-left:14px}.home-proof-grid>li:nth-child(2){border-right:0;padding-right:14px}.home-proof-grid>li:nth-child(3){padding-left:14px;border-bottom:0}.home-proof-grid>li:last-child{padding-right:14px;border-bottom:0}.home-proof-grid strong{font-size:18px}}

/* ==== SNM build additions (home system). Designer galaxy.css above is unchanged. ==== */

/* Static starfield: the poster the WebGL canvas fades in over, and the fallback when WebGL or motion is off. */
.galaxy-page .galaxy-hero::before,.lost-hero::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.7;background-image:radial-gradient(circle,#dfe9f0 .6px,transparent 1.1px),radial-gradient(circle,#b9cbe0 .5px,transparent 1px),radial-gradient(circle,#ffffff .8px,transparent 1.3px);background-size:173px 149px,97px 113px,311px 263px;background-position:11px 23px,47px 71px,131px 89px}
.galaxy-hero>.wrap{position:relative;z-index:1}
.starfield{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:0;transition:opacity 1.4s ease}
.starfield.is-live{opacity:1}

/* Planet artwork and labels. */
.system-planet picture{display:block}
.world-card picture{display:block}

/* Target line from the core to the planet in focus. */
.system-link{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible;opacity:0;transition:opacity .25s}
.system-link line{stroke:#c1e65c;stroke-width:1;stroke-dasharray:3 7;animation:snm-dash 1.2s linear infinite}
.has-target .system-link{opacity:.85}
@keyframes snm-dash{to{stroke-dashoffset:-20}}

/* Core beacon. */
.system-core::after{content:'';position:absolute;inset:8%;border:1px solid #c1e65c66;border-radius:50%;animation:snm-pulse 3.6s ease-out infinite}
@keyframes snm-pulse{0%{transform:scale(1);opacity:.7}100%{transform:scale(2.1);opacity:0}}

/* Targeting reticle on the planet in focus. */
.system-planet::before{content:'';position:absolute;left:50%;top:3px;width:164px;height:164px;margin-left:-82px;pointer-events:none;opacity:0;transform:scale(1.2);transition:opacity .22s,transform .22s;--c:var(--node-accent);background:linear-gradient(var(--c),var(--c)) 0 0/16px 1px,linear-gradient(var(--c),var(--c)) 0 0/1px 16px,linear-gradient(var(--c),var(--c)) 100% 0/16px 1px,linear-gradient(var(--c),var(--c)) 100% 0/1px 16px,linear-gradient(var(--c),var(--c)) 0 100%/16px 1px,linear-gradient(var(--c),var(--c)) 0 100%/1px 16px,linear-gradient(var(--c),var(--c)) 100% 100%/16px 1px,linear-gradient(var(--c),var(--c)) 100% 100%/1px 16px;background-repeat:no-repeat}
.system-planet:hover::before,.system-planet:focus-visible::before{opacity:1;transform:none}
.system-readout{transition:color .2s}
.has-target .system-readout{color:#c1e65c}

/* Idle drift. Paused while the system is off screen or the tab is hidden. */
.system-planet picture{animation:snm-float 7s ease-in-out infinite;animation-delay:calc(var(--i,1)*-.9s)}
@keyframes snm-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.is-paused .system-planet picture,.is-paused .system-core::after,.is-paused .system-link line{animation-play-state:paused}

/* Desktop: eight planets placed from SiteData, with pointer parallax by depth. */
@media(min-width:1001px){
.solar-system{height:700px}
.system-planet{left:var(--x);top:var(--y);width:190px;transform:translate(calc(-50% + var(--px,0px)*var(--d,1)),calc(-50% + var(--py,0px)*var(--d,1)))}
.system-orbit{transform:translate(calc(-50% + var(--px,0px)*.35),calc(-50% + var(--py,0px)*.35)) rotate(-12deg)}
}

/* Tablet and phone: the system becomes a service selector grid. */
@media(max-width:1000px){
.solar-system{height:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 10px;padding:25px 0 65px;margin-top:15px}
.system-planet{position:relative;left:auto;top:auto;transform:none;width:auto;min-width:0}
.system-planet img{height:130px}
.system-planet::before{width:126px;height:126px;margin-left:-63px}
.system-planet>span{font-size:10px;gap:5px;padding:9px 6px;white-space:normal}
.system-core,.system-link{display:none}
.system-orbit{width:90%;height:75%}.orbit-one{height:35%}.orbit-two{height:55%}
}
@media(max-width:720px){.solar-system{grid-template-columns:1fr 1fr}}

/* Eight cards: four across on wide screens. */
@media(min-width:1101px){.world-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.world-card{padding:20px 22px 26px}.world-card img{width:165px;height:150px;right:-14px}.world-card h3{font-size:22px}.world-card p{min-height:150px}}


/* ==== System band: the same navigation system above the footer of every page. ==== */
.system-band{position:relative;overflow:hidden;padding-top:70px;background:#10191f;color:#e2e5e7;color-scheme:dark;background-image:radial-gradient(ellipse at 72% 60%,#29354e60,transparent 57%),radial-gradient(ellipse at 20% 70%,#23504a35,transparent 45%)}
.system-band>.wrap{position:relative;z-index:1}
.system-band-intro{max-width:640px}
.system-band .system-band-intro .eyebrow{font-family:'Courier New',monospace;font-size:10px;letter-spacing:1.8px;color:#afc1ce}
.system-band .system-band-intro h2{color:#e2e5e7;margin:14px 0}
.system-band .system-band-intro p:not(.eyebrow){color:#bbc9ce;font-size:15px}
.system-band a.system-planet:focus-visible{outline-color:#c1e65c}
/* "You are here": the current world's label is filled with its accent colour. */
.system-planet.is-current>span{background:var(--node-accent);border-color:var(--node-accent);color:#10191f}
.system-planet.is-current small,.system-planet.is-current b{color:#10191f}
@media(max-width:720px){.system-band{padding-top:50px}}
@media print{.system-band{display:none}}

/* ==== Layered planets (planets.js): shared by the solar system and the service page heroes. ====
   A circle spins inside a flattened, tilted box, which reads as an orbit or ring seen at an angle.
   Each is drawn twice: the far half behind the globe, the near half in front. Transform and opacity only. */
.planet-scene{position:absolute;left:50%;top:50%;aspect-ratio:1;translate:-50% -50%;z-index:1;opacity:0;pointer-events:none;transition:opacity .5s}
.is-layered>.planet-scene{opacity:1}
.scene-globe{position:absolute;left:50%;top:50%;width:58.594%;height:auto;translate:-50% -50%;z-index:2;filter:drop-shadow(0 7px 8px #0006)}
.orbit-layer{position:absolute;left:50%;top:50%;width:var(--size);aspect-ratio:1;margin:calc(var(--size)/-2) 0 0 calc(var(--size)/-2);transform:rotate(var(--tilt)) scaleY(var(--squash));pointer-events:none}
.orbit-back{z-index:1}
.orbit-back{clip-path:inset(-30% -30% 50% -30%)}
.orbit-front{z-index:3;clip-path:inset(50% -30% -30% -30%)}
.orbit-spin{position:absolute;inset:0;border-radius:50%;animation:snm-orbit var(--dur) linear infinite;animation-delay:var(--delay)}
/* Rings and belts are slightly see-through, so the globe shows faintly behind them. */
.orbit-ring{position:absolute;inset:0;width:100%;height:100%;opacity:.8}
.orbit-sprite{position:absolute;left:50%;top:0;width:var(--m);height:auto;aspect-ratio:1;translate:-50% -50%;animation:snm-moon var(--dur) linear infinite;animation-delay:var(--delay)}
.orbit-moon{position:absolute;left:50%;top:0;width:var(--m);height:var(--m);margin:calc(var(--m)/-2) 0 0 calc(var(--m)/-2);border-radius:50%;background:radial-gradient(circle at 32% 30%,#ffffffb0,var(--c) 42%,#0b1014 100%);animation:snm-moon var(--dur) linear infinite;animation-delay:var(--delay)}
.orbit-back .orbit-moon{filter:brightness(.6)}
@keyframes snm-orbit{to{transform:rotate(360deg)}}
/* Counter-rotates, un-flattens and un-tilts a moon, so it stays a round, upright sphere (and its number stays level) all the way round. */
@keyframes snm-moon{from{transform:rotate(0deg) scaleY(calc(1/var(--squash))) rotate(calc(var(--tilt)*-1))}to{transform:rotate(-360deg) scaleY(calc(1/var(--squash))) rotate(calc(var(--tilt)*-1))}}
.is-paused .orbit-spin,.is-paused .orbit-moon,.is-paused .orbit-sprite{animation-play-state:paused}
/* Spinning globe (WebGL copy on a 2D canvas) sits exactly over the still globe and fades in. */
.scene-sphere{position:absolute;left:50%;top:50%;width:58.594%;aspect-ratio:1;translate:-50% -50%;z-index:2;opacity:0;transition:opacity .8s;pointer-events:none}
.scene-sphere.is-live{opacity:1}
/* In the solar system the scene is zoomed to sit exactly over the cropped thumbnail it replaces. */
.system-planet picture{position:relative}
.system-planet picture>img{position:relative;z-index:2}
.system-planet picture>.planet-scene{height:calc(100%*var(--zoom,1));width:auto}
.system-planet picture.is-layered>img{opacity:0}
.system-planet picture>.planet-scene{transition:opacity .5s,transform .35s}
.system-planet:hover picture>.planet-scene{transform:translateY(-5px) scale(1.04)}
/* The designer's thumbnail rule (.system-planet img) must not reach the images inside a layered scene. */
.system-planet .planet-scene img{height:auto;object-fit:fill;filter:none;transition:none;transform:none;display:block}
.system-planet .planet-scene .scene-globe{width:58.594%;filter:drop-shadow(0 7px 8px #0006)}
.system-planet .planet-scene .orbit-ring{width:100%;height:100%}
.system-planet .planet-scene .orbit-sprite{width:var(--m)}

/* The homepage uses its own hero wrapper rather than .hero. */
.galaxy-page .galaxy-hero{min-height:calc(100vh - var(--hero-header-height,112px));min-height:calc(100svh - var(--hero-header-height,112px));display:flex;flex-direction:column}
.galaxy-page .galaxy-hero>.wrap{flex:1 1 auto}

/* Mobile readability, phones only (15 Nov 2026): 11px floor for HUD labels, 12px eyebrows, 13px links, 16px form fields, larger tap targets. */
@media(max-width:720px){
  .galaxy-page .eyebrow,.system-band .system-band-intro .eyebrow{font-size:12px;letter-spacing:1.4px}
  .system-planet>span{font-size:13px}
  .system-planet small{font-size:11px}
  .system-caption{font-size:11px;letter-spacing:.5px;flex-wrap:wrap;justify-content:center;gap:2px 12px}
  .world-card-link{font-size:13px;padding-block:12px 7px}
  .galaxy-page .contact-layout>div>p:not(.eyebrow){color:#46555d}
}

/* 404 page: a lone ship adrift in the starfield, with the solar system band below it. */
.lost-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:calc(100vh - var(--header-height,112px));min-height:calc(100svh - var(--header-height,112px));background-color:#10191f;color:#e2e5e7;background-image:radial-gradient(ellipse at 72% 60%,#29354e60,transparent 57%),radial-gradient(ellipse at 20% 70%,#23504a35,transparent 45%)}
.lost-hero .lost-ship{position:relative;left:auto;top:auto;display:flex;width:min(52vmin,440px);height:min(52vmin,440px);z-index:1;transform:none;animation:snm-adrift 26s ease-in-out infinite alternate}
.lost-hero .lost-ship::after{display:none}
@keyframes snm-adrift{0%{transform:translate(-7vw,2vh) rotate(-9deg)}50%{transform:translate(3vw,-3vh) rotate(4deg)}100%{transform:translate(8vw,3vh) rotate(13deg)}}
.lost-readout{position:absolute;left:0;right:0;bottom:34px;z-index:2;width:min(var(--wrap),calc(100% - 96px));margin-inline:auto}
.lost-readout .eyebrow{font-family:'Courier New',monospace;color:#afc1ce}
.lost-readout h1{font-size:34px;line-height:1.1;letter-spacing:-.04em;margin:10px 0 8px}
.lost-readout p:not(.eyebrow){max-width:430px;font-size:15px;line-height:1.6;color:#bbc9ce}
.lost-readout a{color:#c1e65c;text-decoration:underline;text-underline-offset:4px}
.lost-page .system-band .system-core{visibility:hidden}
@media(max-width:720px){.lost-readout{width:calc(100% - 40px);bottom:24px}.lost-readout h1{font-size:28px}.lost-hero .lost-ship{width:62vmin;height:62vmin}}

/* Landscape panel above "Where to next?": the intro sits over the image, and a glowing line above and below separates it from the planets. */
.system-band.has-surface{--surface-h:clamp(300px,33.4vw,600px);padding-top:0}
.band-surface{position:relative;display:block;width:100%;height:var(--surface-h);object-fit:cover;object-position:center;border-block:2px solid #c1e65c;box-shadow:0 0 22px 2px #c1e65c8c,0 0 5px #c1e65c}
.system-band.has-surface::before{content:'';position:absolute;top:2px;left:0;right:0;height:calc(var(--surface-h) - 4px);z-index:1;pointer-events:none;background:linear-gradient(90deg,#0c141ae0 0%,#0c141aa6 36%,#0c141a00 68%)}
.system-band.has-surface>.wrap{padding-top:60px}
.system-band.has-surface .system-band-intro{position:absolute;left:0;top:calc(-1 * var(--surface-h));height:var(--surface-h);display:flex;flex-direction:column;justify-content:center;text-shadow:0 1px 12px #0c141a}
@media(max-width:720px){.system-band.has-surface::before{background:linear-gradient(90deg,#0c141ae6,#0c141a8c)}.system-band.has-surface>.wrap{padding-top:40px}}
@media print{.band-surface{display:none}.system-band.has-surface .system-band-intro{position:static;height:auto}}
