/* Services hub — "the studio's four-channel programme guide"
   CH·01 web design (gold) · CH·02 SEO & GEO (teal) · CH·03 AI automation (mint) · CH·04 growth & brand (coral)
   All classes: hub- · all keyframes: hub- */

.hub-c1 { --c: #f3c27a; --c2: #e0a95f; }
.hub-c2 { --c: #8fd6de; --c2: #5aa7b2; }
.hub-c3 { --c: #8fcf9a; --c2: #3f9a4e; }
.hub-c4 { --c: #ff9a85; --c2: #e07a5c; }

/* Hero title: the four channel colours in one phrase */
.cinema-page--page-services .cx-hero__title .grad { background: linear-gradient(to left, #f3c27a 0%, #8fd6de 36%, #8fcf9a 64%, #ff9a85 100%); -webkit-background-clip: text; background-clip: text; -webkit-box-decoration-break: slice; box-decoration-break: slice; }

/* Split heads that carry two lead paragraphs keep both in the second column */
.cinema-page--page-services .section-head--split { grid-template-rows: 1fr auto; row-gap: 0; }
.cinema-page--page-services .section-head--split > div { grid-row: 1 / span 2; }
.cinema-page--page-services .section-head--split > .section-lead { grid-column: 2; }
.cinema-page--page-services .section-head--split > .section-lead + .section-lead { margin-top: 12px; }

/* ==========================================================================
   Hero — four projector beams converge on one master screen
   ========================================================================== */
.cx-hero--hub_master .cx-hero__visual { width: min(100%, 580px, calc(var(--vhs) * 68)); }
.hub-mst { position: relative; aspect-ratio: 560 / 520; }
.js .hub-mst { opacity: 0; transform: scale(.94); }
.is-ready .hub-mst { opacity: 1; transform: none; transition: opacity 1.2s var(--ease-out) .2s, transform 1.8s var(--ease-out) .2s; }
.hub-mst__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-stop { stop-color: var(--c); }
.hub-mst__beam { mix-blend-mode: screen; opacity: .46; animation: hub-beam 12s ease-in-out calc(var(--k) * 3s) infinite; }
@keyframes hub-beam { 0%, 34%, 100% { opacity: .46; } 12%, 20% { opacity: 1; } }
.hub-mst__mote { fill: var(--c); opacity: 0; animation: hub-mote 6.3s linear var(--t) infinite; }
@keyframes hub-mote { 0% { transform: translate(0, 0); opacity: 0; } 18% { opacity: .9; } 80% { opacity: .5; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
.hub-mst__glow { animation: hub-glow 6s ease-in-out infinite alternate; }
@keyframes hub-glow { to { opacity: .55; } }
.hub-mst__screen { fill: #0b0907; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }
.hub-mst__bezel { fill: none; stroke: rgba(255, 236, 214, .24); stroke-width: 1.2; }
.hub-mst__bug { opacity: .6; }
.hub-mst__layer { fill: none; stroke: var(--c); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .7; animation: hub-layer 12s ease-in-out calc(var(--k) * 3s) infinite; }
@keyframes hub-layer { 0%, 34%, 100% { opacity: .7; filter: none; } 12%, 20% { opacity: 1; filter: drop-shadow(0 0 5px var(--c)); } }
.hub-mst__layer circle { fill: #0b0907; stroke-width: 1.8; }
.hub-mst__layer .hub-mst__tip { fill: var(--c); stroke: none; }
.js .hub-mst__layer [pathLength="1"] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-ready .hub-mst__layer [pathLength="1"] { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-out) calc(.7s + var(--k) * .35s); }
.hub-mst__area { fill: var(--c); fill-opacity: .1; stroke: none !important; }
.hub-mst__caret { stroke: #fff; stroke-width: 1.4; animation: hub-blink 1.1s steps(2, jump-none) infinite; }
@keyframes hub-blink { 50% { opacity: 0; } }
.hub-mst__pulse { stroke: #f2fff4; stroke-width: 2.6; stroke-dasharray: 7 93; stroke-dashoffset: 100; filter: drop-shadow(0 0 4px var(--c)); animation: hub-dash 3.4s linear infinite; }
@keyframes hub-dash { to { stroke-dashoffset: 0; } }
.hub-mst__housing { fill: #120e0b; stroke: rgba(255, 236, 214, .14); }
.hub-mst__ring { fill: none; stroke: var(--c); stroke-width: 2; opacity: .85; }
.hub-mst__glass { fill: var(--c); filter: drop-shadow(0 0 8px var(--c)); opacity: .6; animation: hub-lensglow 12s ease-in-out calc(var(--k) * 3s) infinite; }
@keyframes hub-lensglow { 0%, 34%, 100% { opacity: .55; } 12%, 20% { opacity: 1; } }
.hub-mst__tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); background: rgba(14, 11, 9, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12.5px; line-height: 1.4; white-space: nowrap; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .9); }
.hub-mst__tag i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.hub-mst__tag .mono { font-size: 9.5px; letter-spacing: .14em; color: var(--c); direction: ltr; }
.hub-mst__tag b { font-weight: 800; color: var(--text); }
.hub-mst__tag--1 { top: 18.5%; right: 0; }
.hub-mst__tag--2 { bottom: 18.5%; right: 0; }
.hub-mst__tag--3 { bottom: 18.5%; left: 0; }
.hub-mst__tag--4 { top: 18.5%; left: 0; }
.hub-mst__pgm, .hub-mst__cap { position: absolute; left: 50%; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; font-size: 9.5px; letter-spacing: .2em; color: var(--muted); white-space: nowrap; direction: ltr; }
.hub-mst__pgm { top: calc(32.7% - 24px); color: var(--text-2); }
.hub-mst__pgm .rec-dot { width: 6px; height: 6px; }
.hub-mst__cap { top: calc(67.3% + 12px); }

/* ==========================================================================
   Programme guide (EPG) — every channel, every programme
   ========================================================================== */
.hub-guide { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #120e0b, #0c0908); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 236, 214, .05); }
.hub-guide__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 22px; border-bottom: 1px solid var(--line); background: #0f0b09; font-size: 10.5px; letter-spacing: .16em; color: var(--muted); direction: ltr; }
.hub-guide__bar .mono:first-child { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); }
.hub-guide__dots { display: flex; gap: 6px; }
.hub-guide__dots i { width: 26px; height: 4px; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); }
.hub-row { position: relative; display: grid; grid-template-columns: minmax(240px, 290px) minmax(0, 1fr); border-top: 1px solid var(--line); }
.hub-row:first-child { border-top: 0; }
.hub-row__ch { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "no id" "name id" "code code"; gap: 8px 14px; align-content: center; padding: 22px 26px 22px 22px; border-inline-end: 1px solid var(--line); background: linear-gradient(to left, color-mix(in srgb, var(--c) 13%, transparent), transparent 92%); transition: background-color .4s; }
.hub-row__ch::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--c); box-shadow: 0 0 16px var(--c); }
.hub-row__no { grid-area: no; display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 11px; letter-spacing: .16em; color: var(--c); direction: ltr; }
.hub-row__air { width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); animation: hub-air 2.6s ease-in-out infinite; }
@keyframes hub-air { 50% { opacity: .25; } }
.hub-row__name { grid-area: name; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 900; line-height: 1.5; }
.hub-row__name a { transition: color .3s; }
.hub-row__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hub-row__ch:hover .hub-row__name a, .hub-row__name a:focus-visible { color: var(--c); }
.hub-row__ch:hover { background-color: color-mix(in srgb, var(--c) 6%, transparent); }
.hub-row__code { grid-area: code; font-size: 9.5px; letter-spacing: .2em; color: var(--muted); direction: ltr; justify-self: start; }
.hub-row__slots { display: flex; min-width: 0; }
.hub-row__slots > li { flex: 1 1 0; min-width: 0; }
.hub-row__slots > li + li { border-inline-start: 1px solid var(--line); }
.hub-slot { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; height: 100%; min-height: 118px; padding: 20px 20px 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 4%, transparent), transparent 70%); transition: background-color .4s; }
.hub-slot::before { content: ""; position: absolute; top: 0; inset-inline: 14px; height: 2px; border-radius: 0 0 2px 2px; background: var(--c); opacity: .3; transform: scaleX(.4); transform-origin: right; transition: opacity .4s, transform .6s var(--ease-out); }
.hub-slot__sc { align-self: flex-start; font-size: 10px; letter-spacing: .16em; color: var(--c); opacity: .75; direction: ltr; }
.hub-slot__name { font-size: 15.5px; font-weight: 800; line-height: 1.75; color: var(--text); }
.hub-slot__go { align-self: flex-end; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--c); transition: transform .45s var(--ease-out), background-color .4s, border-color .4s; }
.hub-slot__go .ico { width: 15px; height: 15px; }
.hub-slot:hover, .hub-slot:focus-visible { background-color: color-mix(in srgb, var(--c) 7%, transparent); }
.hub-slot:hover::before, .hub-slot:focus-visible::before { opacity: 1; transform: none; }
.hub-slot:hover .hub-slot__go, .hub-slot:focus-visible .hub-slot__go { transform: translateX(-4px); background: color-mix(in srgb, var(--c) 16%, transparent); border-color: color-mix(in srgb, var(--c) 50%, transparent); }

/* Channel idents (tiny looping stings) */
.hub-id { grid-area: id; align-self: center; position: relative; width: 74px; height: 48px; overflow: hidden; border-radius: 9px; border: 1px solid color-mix(in srgb, var(--c) 34%, transparent); background: radial-gradient(90% 90% at 50% 100%, color-mix(in srgb, var(--c) 14%, transparent), transparent), #0a0807; }
.hub-id svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* CH·01 — a page assembles */
.hub-id--1 i { position: absolute; border-radius: 2px; opacity: 0; animation: hub-build 6s var(--ease-out) infinite; }
.hub-id__nav { top: 7px; left: 8px; right: 8px; height: 3px; background: var(--c); }
.hub-id__head { top: 15px; right: 8px; width: 36px; height: 8px; background: var(--c); animation-delay: .35s !important; }
.hub-id__card { bottom: 7px; width: 16px; height: 13px; border: 1.5px solid var(--c); }
.hub-id__card:nth-child(3) { right: 8px; animation-delay: .7s !important; }
.hub-id__card:nth-child(4) { right: 29px; animation-delay: .85s !important; }
.hub-id__card:nth-child(5) { right: 50px; animation-delay: 1s !important; }
@keyframes hub-build { 0% { opacity: 0; transform: scale(.5); } 8%, 78% { opacity: .95; transform: none; } 90%, 100% { opacity: 0; } }
/* CH·02 — a result climbs the ranking */
.hub-id--2 > i { position: absolute; left: 9px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--c) 26%, transparent); }
.hub-id--2 > i:nth-child(1) { top: 7px; right: 9px; }
.hub-id--2 > i:nth-child(2) { top: 16px; right: 20px; }
.hub-id--2 > i:nth-child(3) { top: 25px; right: 14px; }
.hub-id--2 > i:nth-child(4) { top: 34px; right: 26px; }
.hub-id__rank { position: absolute; top: 34px; left: 9px; right: 9px; height: 5px; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); animation: hub-rank 6s var(--ease-out) infinite; }
@keyframes hub-rank { 0%, 12% { transform: translateY(0); opacity: 0; } 16% { opacity: 1; } 30% { transform: translateY(-9px); } 48% { transform: translateY(-18px); } 64%, 88% { transform: translateY(-27px); opacity: 1; } 96%, 100% { transform: translateY(-27px); opacity: 0; } }
/* CH·03 — a pulse runs through linked nodes */
.hub-id__links { fill: none; stroke: color-mix(in srgb, var(--c) 40%, transparent); stroke-width: 1.4; }
.hub-id__flow { fill: none; stroke: #f2fff4; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 10 90; stroke-dashoffset: 100; filter: drop-shadow(0 0 3px var(--c)); animation: hub-dash 2.8s linear infinite; }
.hub-id--3 circle { fill: #0a0807; stroke: var(--c); stroke-width: 1.8; }
/* CH·04 — a curve rises */
.hub-id--4 > i { position: absolute; bottom: 5px; width: 6px; border-radius: 2px 2px 0 0; background: color-mix(in srgb, var(--c) 22%, transparent); transform-origin: bottom; animation: hub-grow 6s var(--ease-out) infinite; }
.hub-id--4 > i:nth-of-type(1) { left: 10px; height: 8px; }
.hub-id--4 > i:nth-of-type(2) { left: 24px; height: 12px; animation-delay: .2s; }
.hub-id--4 > i:nth-of-type(3) { left: 38px; height: 18px; animation-delay: .4s; }
.hub-id--4 > i:nth-of-type(4) { left: 52px; height: 26px; animation-delay: .6s; }
@keyframes hub-grow { 0% { transform: scaleY(.2); } 20%, 85% { transform: none; } 100% { transform: scaleY(.2); } }
.hub-id__spark { fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hub-draw 6s var(--ease-out) infinite; }
@keyframes hub-draw { 0% { stroke-dashoffset: 1; } 35%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.hub-id__dot { fill: var(--c); filter: drop-shadow(0 0 4px var(--c)); opacity: 0; animation: hub-dot 6s ease-out infinite; }
@keyframes hub-dot { 0%, 30% { opacity: 0; } 38%, 85% { opacity: 1; } 100% { opacity: 0; } }

/* ==========================================================================
   Rack focus — choosing the right service
   ========================================================================== */
.hub-focus { position: relative; }
.hub-focus__barrel { position: relative; height: 78px; margin-bottom: 16px; overflow: hidden; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #1c1612 0%, #110d0b 45%, #0b0908 100%); box-shadow: inset 0 1px 0 rgba(255, 236, 214, .07), 0 30px 60px -40px rgba(0, 0, 0, .9); }
.hub-focus__knurl { position: absolute; inset: 0 0 auto; height: 16px; border-bottom: 1px solid rgba(0, 0, 0, .6); background: repeating-linear-gradient(90deg, rgba(255, 236, 214, .1) 0 2px, rgba(0, 0, 0, .25) 2px 3px, transparent 3px 6px), linear-gradient(180deg, #2a221b, #15110e); }
.hub-focus__scale { position: absolute; top: 22px; inset-inline: 0; display: flex; justify-content: space-between; padding: 0 2.4%; font-size: 9.5px; letter-spacing: .06em; color: rgba(255, 236, 214, .42); direction: ltr; }
.hub-focus__scale::after { content: ""; position: absolute; top: 18px; inset-inline: 0; height: 6px; background: repeating-linear-gradient(90deg, rgba(255, 236, 214, .22) 0 1px, transparent 1px 11px); }
.hub-focus__marks { position: absolute; inset: 0; }
.hub-focus__mark { position: absolute; bottom: 8px; right: calc((var(--m) * 2 + 1) / (var(--n) * 2) * 100%); transform: translateX(50%); display: grid; justify-items: center; }
.hub-focus__mark::before { content: ""; width: 3px; height: 12px; margin-bottom: 2px; border-radius: 2px; background: #fff3df; opacity: .85; }
.hub-focus__mark b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #fff3df; font-size: 11.5px; font-weight: 900; color: #fff3df; transform: rotate(-6deg); }
.hub-focus__track { position: absolute; inset: 0; animation: hub-pull 9s var(--ease-cine) infinite; }
.hub-focus__index { position: absolute; top: 0; bottom: 0; right: calc(100% / (var(--n) * 2)); width: 2px; margin-right: -1px; background: linear-gradient(180deg, var(--gold-l), rgba(243, 194, 122, .2)); box-shadow: 0 0 12px rgba(243, 194, 122, .8); }
.hub-focus__index::before { content: ""; position: absolute; top: 14px; left: 50%; border: 6px solid transparent; border-top: 8px solid var(--gold-l); transform: translateX(-50%); }
@keyframes hub-pull { 0%, 22% { transform: translateX(0); } 33%, 55% { transform: translateX(-33.333%); } 66%, 89% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }
.hub-focus__steps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; }
.hub-focus__step { position: relative; padding: 12px 12px 24px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 236, 214, .03), transparent 50%), var(--panel); }
.hub-focus__view { position: relative; display: grid; place-items: center; height: 132px; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: radial-gradient(60% 70% at 50% 50%, rgba(243, 194, 122, .1), transparent 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px), #0a0807; }
.hub-focus__subj { display: grid; place-items: center; color: var(--gold-l); animation: hub-rack 9s var(--ease-cine) calc(var(--m) * 3s - 9s) infinite; }
.hub-focus__subj .ico { width: 50px; height: 50px; stroke-width: 1.5; }
@keyframes hub-rack { 0%, 24% { filter: blur(0) drop-shadow(0 0 10px rgba(243, 194, 122, .55)); opacity: 1; transform: scale(1); } 34%, 90% { filter: blur(7px); opacity: .45; transform: scale(1.08); } 100% { filter: blur(0) drop-shadow(0 0 10px rgba(243, 194, 122, .55)); opacity: 1; transform: scale(1); } }
.hub-focus__af { position: absolute; top: 50%; left: 50%; width: 84px; height: 66px; transform: translate(-50%, -50%); }
.hub-focus__af i { position: absolute; width: 12px; height: 12px; border: 0 solid rgba(255, 236, 214, .5); animation: hub-af 9s var(--ease-cine) calc(var(--m) * 3s - 9s) infinite; }
.hub-focus__af i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.hub-focus__af i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.hub-focus__af i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.hub-focus__af i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
@keyframes hub-af { 0%, 24% { border-color: #8fcf9a; } 34%, 90% { border-color: rgba(255, 236, 214, .35); } 100% { border-color: #8fcf9a; } }
.hub-focus__hud { position: absolute; inset: auto 10px 8px; display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .16em; color: var(--muted); direction: ltr; }
.hub-focus__ok { color: #8fcf9a; animation: hub-ok 9s var(--ease-cine) calc(var(--m) * 3s - 9s) infinite; }
@keyframes hub-ok { 0%, 24% { opacity: 1; } 32%, 92% { opacity: 0; } 100% { opacity: 1; } }
.hub-focus__no { display: inline-grid; place-items: center; min-width: 36px; height: 28px; margin: 18px 10px 0; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(224, 169, 95, .35); background: rgba(224, 169, 95, .08); font-size: 14px; font-weight: 900; color: var(--gold-l); }
.hub-focus__step h3 { margin: 10px 10px 0; font-size: 19px; font-weight: 900; line-height: 1.5; }
.hub-focus__step p { margin: 8px 10px 0; color: var(--text-2); font-size: 15px; line-height: 2; }

/* ==========================================================================
   Problem-led paths — feature programmes + scenes
   ========================================================================== */
.hub-path__bar { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.hub-path__no { flex: none; font-size: clamp(46px, 5vw, 68px); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 236, 214, .32); }
.hub-path__bar > .mono { flex: none; font-size: 10.5px; letter-spacing: .16em; color: var(--muted); direction: ltr; }
.hub-path__line { flex: 1; min-width: 24px; height: 1px; background: linear-gradient(to left, var(--line-2), transparent); }
.hub-path__chs { flex: none; display: flex; gap: 6px; }
.hub-path__chs i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 9px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); background: color-mix(in srgb, var(--c) 7%, transparent); }
.hub-path__chs i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.hub-path__chs b { font-size: 9.5px; font-weight: 600; letter-spacing: .14em; color: var(--c); direction: ltr; }
.hub-path__feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hub-path__feats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-feat { display: flex; }
.hub-feat__card { --px: clamp(20px, 2.2vw, 28px); position: relative; isolation: isolate; flex: 1; display: flex; flex-direction: column; gap: 14px; overflow: hidden; padding: 0 var(--px) 24px; border-radius: 22px; border: 1px solid var(--line-2); background: radial-gradient(90% 55% at 100% 0%, color-mix(in srgb, var(--c) 13%, transparent), transparent 72%), linear-gradient(180deg, var(--panel), #0e0b09); transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out); }
.hub-feat__band { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-inline: calc(var(--px) * -1); padding: 13px var(--px); border-bottom: 1px solid color-mix(in srgb, var(--c) 20%, transparent); background: linear-gradient(to left, color-mix(in srgb, var(--c) 15%, transparent), transparent 80%); }
.hub-feat__band::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: linear-gradient(to left, var(--c), color-mix(in srgb, var(--c) 0%, transparent)); }
.hub-feat__band .mono { font-size: 10px; letter-spacing: .16em; color: var(--c); direction: ltr; }
.hub-eq { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.hub-eq i { width: 3px; height: 100%; border-radius: 1px; background: var(--c); transform-origin: bottom; animation: hub-eq 1.9s ease-in-out infinite; }
.hub-eq i:nth-child(2) { animation-delay: -.5s; }
.hub-eq i:nth-child(3) { animation-delay: -1.1s; }
.hub-eq i:nth-child(4) { animation-delay: -.8s; }
@keyframes hub-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.hub-feat__head { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.hub-feat__ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 9%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); transition: transform .6s var(--ease-out), background-color .4s, color .4s; }
.hub-feat__ico .ico { width: 22px; height: 22px; }
.hub-feat h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); font-weight: 900; line-height: 1.5; }
.hub-feat__card > p { color: var(--text-2); font-size: 15px; line-height: 2; }
.hub-feat__pts { display: grid; gap: 9px; margin-top: auto; padding-top: 16px; padding-inline-end: 50px; border-top: 1px dashed var(--line-2); }
.hub-feat__pts li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; line-height: 1.7; }
.hub-feat__pts .ico { flex: none; width: 16px; height: 16px; color: var(--c); }
.hub-feat__no { position: absolute; z-index: -1; inset-inline-end: 14px; bottom: 38%; font-family: var(--font); font-size: 120px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c) 14%, transparent); pointer-events: none; }
.hub-feat__go { position: absolute; bottom: 22px; inset-inline-end: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--c); transition: transform .5s var(--ease-out), background-color .4s, color .4s, border-color .4s; }
.hub-feat__card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 48%, transparent); box-shadow: 0 40px 80px -44px color-mix(in srgb, var(--c) 50%, transparent); }
.hub-feat__card:hover .hub-feat__go { background: var(--c); border-color: transparent; color: #1a0d08; transform: rotate(-8deg); }
.hub-feat__card:hover .hub-feat__ico { transform: rotate(-6deg) scale(1.05); background: var(--c); color: #1a0d08; }
.hub-feat__card:has(a:focus-visible) { outline: 2px solid var(--c); outline-offset: 3px; }
.hub-feat h3 a:focus-visible { outline: none; }

.hub-scenes { margin-top: 20px; }
.hub-scenes__label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; font-weight: 800; color: var(--text-2); }
.hub-scenes__label .mono { padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-2); font-size: 10px; font-weight: 500; letter-spacing: .18em; color: var(--muted); direction: ltr; }
.hub-scenes__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hub-scenes__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-scenes__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-scenes__list > li { display: flex; }
.hub-scene { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sc go" "txt go"; align-items: center; gap: 6px 12px; padding: 16px 20px 16px 16px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(to left, color-mix(in srgb, var(--c) 6%, transparent), transparent 70%), rgba(255, 236, 214, .015); transition: border-color .4s, background-color .4s, transform .5s var(--ease-out); }
.hub-scene::before { content: ""; position: absolute; inset-block: 16px; inset-inline-start: -1px; width: 3px; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.hub-scene__sc { grid-area: sc; justify-self: start; font-size: 10px; letter-spacing: .16em; color: var(--c); opacity: .8; direction: ltr; }
.hub-scene__txt { grid-area: txt; display: grid; gap: 3px; min-width: 0; }
.hub-scene__txt strong { font-size: 15.5px; font-weight: 900; line-height: 1.6; }
.hub-scene__txt small { font-size: 13px; line-height: 1.7; color: var(--muted); }
.hub-scene__go { grid-area: go; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--c); transition: transform .45s var(--ease-out), background-color .4s, border-color .4s; }
.hub-scene__go .ico { width: 15px; height: 15px; }
.hub-scene:hover, .hub-scene:focus-visible { border-color: color-mix(in srgb, var(--c) 45%, transparent); background-color: color-mix(in srgb, var(--c) 6%, transparent); transform: translateY(-2px); }
.hub-scene:hover .hub-scene__go, .hub-scene:focus-visible .hub-scene__go { transform: translateX(-4px); background: color-mix(in srgb, var(--c) 16%, transparent); border-color: color-mix(in srgb, var(--c) 50%, transparent); }

/* ==========================================================================
   The season — four episodes, four strands, one line
   ========================================================================== */
.hub-season { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hub-ep { position: relative; }
.hub-ep__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; border: 1px solid var(--line-2); background: radial-gradient(90% 80% at 50% 50%, rgba(255, 236, 214, .05), transparent 70%), #0a0807; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
.hub-ep__thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px); }
.hub-ep__thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-ep__strand { fill: none; stroke: var(--c); stroke-width: 1.3; stroke-linecap: round; opacity: .85; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out) calc(var(--d, 0) * 160ms + var(--j) * 90ms + .2s); }
.hub-ep.is-in .hub-ep__strand, .reveal-all .hub-ep__strand, html:not(.js) .hub-ep__strand { stroke-dashoffset: 0; }
.hub-ep__spark { fill: none; stroke: #fff8ec; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 5 95; stroke-dashoffset: 100; filter: drop-shadow(0 0 3px var(--c)); animation: hub-dash 4.8s linear calc(var(--j) * -1.2s - var(--d, 0) * .4s) infinite; }
.hub-ep__one { fill: none; stroke: #fff3df; stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(243, 194, 122, .9)); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-out) 1.4s; }
.hub-ep.is-in .hub-ep__one, .reveal-all .hub-ep__one, html:not(.js) .hub-ep__one { stroke-dashoffset: 0; }
.hub-ep__code { position: absolute; top: 10px; left: 12px; font-size: 9.5px; letter-spacing: .16em; color: var(--muted); direction: ltr; }
.hub-ep__no { position: absolute; top: 2px; right: 14px; font-size: 38px; font-weight: 900; line-height: 1.2; color: transparent; -webkit-text-stroke: 1px rgba(255, 236, 214, .4); }
.hub-ep__bar { position: absolute; inset-inline: 12px; bottom: 10px; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 236, 214, .1); }
.hub-ep__bar i { display: block; width: 0; height: 100%; border-radius: 2px; background: linear-gradient(to left, #f3c27a, #ff9a85); transition: width 1.6s var(--ease-out) calc(var(--d, 0) * 220ms + .6s); }
.hub-ep.is-in .hub-ep__bar i, .reveal-all .hub-ep__bar i, html:not(.js) .hub-ep__bar i { width: 100%; }
.hub-ep h3 { margin-top: 16px; font-size: 19px; font-weight: 900; line-height: 1.5; }
.hub-ep p { margin-top: 6px; color: var(--text-2); font-size: 15px; line-height: 1.95; }

/* ==========================================================================
   CTA — broadcast test card
   ========================================================================== */
.cta__visual--hub_testcard { justify-items: center; }
.hub-tc { position: relative; width: min(100%, 400px); padding-top: 38px; }
.hub-tc__lamp { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 6px; border: 1px solid rgba(255, 77, 79, .45); background: rgba(194, 58, 53, .14); font-size: 10px; letter-spacing: .22em; color: #ffb3a8; direction: ltr; animation: hub-lamp 4s ease-in-out infinite; }
.hub-tc__lamp i { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 10px var(--rec); }
@keyframes hub-lamp { 0%, 100% { box-shadow: 0 0 0 rgba(255, 77, 79, 0); } 50% { box-shadow: 0 0 26px rgba(255, 77, 79, .35); } }
.hub-tc__set { padding: 14px 14px 12px; border-radius: 26px; background: linear-gradient(180deg, #241c16, #120e0b); box-shadow: 0 0 0 1px rgba(255, 236, 214, .1), inset 0 1px 0 rgba(255, 236, 214, .08), 0 60px 100px -40px rgba(0, 0, 0, .95); rotate: -2deg; }
.hub-tc__screen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: #2f2924; box-shadow: inset 0 0 40px rgba(0, 0, 0, .7); direction: ltr; }
.hub-tc__grid { position: absolute; inset: 0; background: linear-gradient(rgba(255, 246, 232, .16) 1px, transparent 1px) 0 0 / 100% 12.5%, linear-gradient(90deg, rgba(255, 246, 232, .16) 1px, transparent 1px) 0 0 / 8.333% 100%; }
.hub-tc__disc { position: absolute; top: 44%; left: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); display: flex; flex-direction: column; overflow: hidden; border-radius: 50%; border: 2px solid #f6eee5; background: #0e0b09; box-shadow: 0 0 0 6px rgba(14, 11, 9, .6); }
.hub-tc__bars { display: flex; height: 40%; }
.hub-tc__bars i { flex: 1; }
.hub-tc__b1 { background: #f6eee5; }
.hub-tc__b2 { background: #f3c27a; }
.hub-tc__b3 { background: #8fd6de; }
.hub-tc__b4 { background: #8fcf9a; }
.hub-tc__b5 { background: #ff9a85; }
.hub-tc__b6 { background: #c23a35; }
.hub-tc__b7 { background: #1a1511; }
.hub-tc__mid { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; background: #0e0b09; }
.hub-tc__mid svg { width: 24px; height: 24px; }
.hub-tc__mid .mono { font-size: 9px; letter-spacing: .2em; color: #f6eee5; }
.hub-tc__steps { display: flex; height: 26%; }
.hub-tc__steps i { flex: 1; background: hsl(28 12% calc(8% + var(--s) * 15%)); }
.hub-tc__cross { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) 50% 0 / 1px 100% no-repeat, linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) 0 50% / 100% 1px no-repeat; opacity: .35; }
.hub-tc__strip { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: #0a0807; font-size: 9.5px; letter-spacing: .18em; color: var(--muted); }
.hub-tc__strip b { font-weight: 600; color: var(--gold-l); }
.hub-tc__roll { position: absolute; inset-inline: 0; top: -30%; height: 22%; background: linear-gradient(180deg, transparent, rgba(255, 246, 232, .08), transparent); animation: hub-roll 7s linear infinite; pointer-events: none; }
@keyframes hub-roll { to { top: 110%; } }
.hub-tc__knobs { display: flex; align-items: center; gap: 10px; padding: 12px 6px 2px; direction: ltr; }
.hub-tc__knobs i { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4a3d32, #17120e 70%); box-shadow: 0 0 0 1px rgba(255, 236, 214, .12); }
.hub-tc__knobs .mono { margin-left: auto; font-size: 9px; letter-spacing: .18em; color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.cx-hero--hub_master .cx-hero__visual { position: relative; top: auto; left: auto; z-index: 1; width: min(100%, 520px); margin: 34px auto 0; opacity: 1; pointer-events: auto; }
	.cinema-page--page-services .section-head--split { grid-template-rows: none; row-gap: 18px; }
	.cinema-page--page-services .section-head--split > div { grid-row: auto; }
	.cinema-page--page-services .section-head--split > .section-lead { grid-column: auto; }
	.hub-row { grid-template-columns: 1fr; }
	.hub-row__ch { border-inline-end: 0; border-bottom: 1px solid var(--line); }
	.hub-path__feats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hub-path__feats--3 > li:last-child { grid-column: 1 / -1; }
	.hub-scenes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hub-season { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}
@media (max-width: 760px) {
	.hub-row__slots { flex-direction: column; }
	.hub-row__slots > li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
	.hub-slot { flex-direction: row; align-items: center; min-height: 0; padding: 14px 18px; }
	.hub-slot::before { top: 12px; bottom: 12px; inset-inline: auto; inset-inline-start: 0; width: 2px; height: auto; transform: scaleY(.5); transform-origin: center; }
	.hub-slot__sc { align-self: center; flex: none; }
	.hub-slot__name { flex: 1; font-size: 15px; }
	.hub-slot__go { align-self: center; }
	.hub-focus__barrel { display: none; }
	.hub-focus__steps { grid-template-columns: 1fr; }
	.hub-focus__view { height: 112px; }
	.hub-path__bar { flex-wrap: wrap; gap: 10px 14px; }
	.hub-path__bar > .mono { flex: 1 1 auto; white-space: normal; }
	.hub-path__line { display: none; }
	.hub-path__chs { flex-basis: 100%; flex-wrap: wrap; }
	.hub-path__feats, .hub-path__feats--3 { grid-template-columns: 1fr; }
	.hub-scenes__list, .hub-scenes__list--2, .hub-scenes__list--3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.cx-hero--hub_master .cx-hero__visual { left: auto; top: auto; width: 100%; opacity: 1; }
	.hub-mst__tag { gap: 6px; padding: 5px 9px 5px 8px; font-size: 11px; }
	.hub-mst__tag .mono { display: none; }
	.hub-mst__tag--1, .hub-mst__tag--4 { top: 17%; }
	.hub-mst__tag--2, .hub-mst__tag--3 { bottom: 17%; }
	.hub-guide { border-radius: 20px; }
	.hub-guide__bar { padding: 11px 16px; font-size: 9.5px; }
	.hub-guide__dots i { width: 14px; }
	.hub-row__ch { padding: 18px 20px 18px 16px; }
	.hub-season { grid-template-columns: 1fr; }
	.hub-tc__set { rotate: 0deg; }
}
@media (prefers-reduced-motion: reduce) {
	.hub-mst__beam, .hub-mst__mote, .hub-mst__glow, .hub-mst__layer, .hub-mst__caret, .hub-mst__pulse, .hub-mst__glass,
	.hub-row__air, .hub-id i, .hub-id b, .hub-id__flow, .hub-id__spark, .hub-id__dot,
	.hub-focus__track, .hub-focus__subj, .hub-focus__af i, .hub-focus__ok, .hub-eq i, .hub-ep__spark, .hub-tc__lamp, .hub-tc__roll { animation: none; }
	.hub-mst__mote, .hub-ep__spark, .hub-mst__pulse { display: none; }
	.hub-id i, .hub-id b, .hub-id__dot { opacity: 1; }
	.hub-id__spark { stroke-dashoffset: 0; }
	.hub-focus__track { transform: translateX(-66.666%); }
	.hub-focus__af i { border-color: #8fcf9a; }
}

/* «کدام خدمت برای کدام مسئله؟» matrix: the service column is the link index. */
#service-matrix .cx-table td a { color: var(--gold-l); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(224, 169, 95, .35); text-underline-offset: 6px; transition: color .3s, text-decoration-color .3s; }
#service-matrix .cx-table td a:hover { color: var(--gold); text-decoration-color: currentColor; }
