/* Solutions: one screen, brutal retro blocks in a horizontal strip. No vertical scroll on any device. */
.sol .t-main { display: flex; flex-direction: column; overflow: hidden; padding: clamp(10px, 3vh, 36px) 0 clamp(10px, 2.2vh, 22px); }
.sol-top { flex: 0 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 30px; align-items: end; padding: 0 clamp(4px, 3vw, 48px); }
.sol-top .eyebrow { grid-column: 1 / -1; margin: 0; font-size: clamp(10px, 1.4vh, 13px); letter-spacing: 3px; opacity: .8; }
.sol-title { font-size: clamp(1.1rem, min(3.4vw, 5.2vh), 3.4rem); line-height: 1.05; font-weight: 400; margin: 0; color: var(--g); text-transform: uppercase; }
.sol-top p.sol-p { grid-column: 1 / -1; font-size: clamp(11px, 1.7vh, 15px); line-height: 1.55; color: #b9eeb9; max-width: 780px; margin: clamp(4px, 1vh, 12px) 0 0; }
.strip-ctrl { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.strip-ctrl button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font: 18px/1 'Retro Gaming', monospace; color: var(--g); background: #000; border: 3px solid var(--g); box-shadow: 4px 4px 0 var(--g); cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s, color .12s; }
.strip-ctrl button:hover, .strip-ctrl button:focus-visible { background: var(--g); color: #000; outline: none; }
.strip-ctrl button:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--g); }
.strip-ctrl button[disabled] { opacity: .35; cursor: default; }
.strip-ctrl .count { min-width: 64px; text-align: center; letter-spacing: 2px; }

/* the strip fills all remaining height; blocks scroll horizontally */
.tiles { flex: 1 1 auto; min-height: 0; list-style: none; margin: clamp(10px, 2.6vh, 28px) 0 0; padding: 4px clamp(4px, 3vw, 48px) 14px; display: flex; gap: clamp(12px, 1.6vw, 24px);
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 0 clamp(4px, 3vw, 48px); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.tiles::-webkit-scrollbar { display: none; }
.tiles.dragging { cursor: grabbing; scroll-snap-type: none; }
.tiles.dragging a { pointer-events: none; }
.tiles > li { flex: 0 0 clamp(230px, 23.5vw, 380px); scroll-snap-align: start; display: flex; min-height: 0; }
.tile { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; max-height: 520px; padding: clamp(14px, 2.4vh, 26px) clamp(14px, 1.5vw, 22px); color: var(--g); background: #000;
  border: 3px solid var(--g); box-shadow: 8px 8px 0 var(--g); transition: transform .14s, box-shadow .14s, background-color .14s, color .14s; overflow: hidden; }
.tile .num { font-size: clamp(2.6rem, min(5vw, 11vh), 6.2rem); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--g); letter-spacing: -2px; }
.tile .name { font-size: clamp(1rem, min(1.9vw, 3.6vh), 2rem); line-height: 1.08; font-weight: 400; margin: auto 0 clamp(6px, 1.2vh, 12px); text-transform: uppercase; }
.tile .name span { display: block; }
.tile .desc { font-size: clamp(10px, 1.55vh, 13px); line-height: 1.5; color: #b9eeb9; margin: 0 0 clamp(8px, 1.6vh, 16px); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile .go { font-size: 13px; letter-spacing: 2px; display: flex; justify-content: space-between; align-items: center; border-top: 2px solid currentColor; padding-top: 10px; }
.tile .go i { font-style: normal; transition: transform .14s; }
.tile:hover, .tile:focus-visible, .tile[aria-current="page"] { background: var(--g); color: #000; transform: translate(-3px, -3px); box-shadow: 11px 11px 0 #00a500; outline: none; }
.tile:hover .num, .tile:focus-visible .num, .tile[aria-current="page"] .num { -webkit-text-stroke-color: #000; }
.tile:hover .desc, .tile:focus-visible .desc, .tile[aria-current="page"] .desc { color: #002400; }
.tile:hover .go i, .tile:focus-visible .go i { transform: translateX(6px); }
.tile:focus-visible { box-shadow: 11px 11px 0 #00a500, 0 0 0 3px #000, 0 0 0 6px var(--g); }
.tile:active { transform: translate(5px, 5px); box-shadow: 3px 3px 0 #00a500; }

/* bottom actions: fixed in the flow, with breathing room */
.sol .t-bar { padding: clamp(12px, 2.4vh, 22px) 0; }
.sol .t-bar .g-btn { border-width: 2px; box-shadow: 5px 5px 0 var(--g); padding: 9px 16px; transition: transform .12s, box-shadow .12s, background .12s, color .12s; }
.sol .t-bar .g-btn:hover, .sol .t-bar .g-btn:focus-visible { box-shadow: 5px 5px 0 var(--g) !important; transform: translate(-2px, -2px); }
.sol .t-foot { padding: 10px 0 14px; }
@media (max-height: 640px) { .tile .desc { display: none; } .sol-top p.sol-p { display: none; } }
@media (max-width: 767px) {
  .sol-top { grid-template-columns: 1fr; }
  .strip-ctrl { display: none; }
  .tiles > li { flex-basis: 74vw; }
  .sol .t-foot { display: none; }
}

/* service window (original window style) */
.svc-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, .62); backdrop-filter: blur(2px); }
.svc-win { position: fixed; z-index: 111; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(94vw, 860px); height: min(84vh, 680px); display: flex; flex-direction: column; background: rgba(0, 45, 0, .97); border: 2px solid var(--g); box-shadow: 0 0 6px 1.5px var(--g); animation: winIn .25s ease-out; }
@keyframes winIn { from { opacity: 0; transform: translate(-50%, -47%) scale(.98); } to { opacity: 1; transform: translate(-50%, -50%); } }
.svc-win .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 8px 6px 16px; border-bottom: 2px solid var(--g); }
.svc-win .bar p { margin: 0; font-size: 16px; letter-spacing: 1px; }
.svc-win .x { color: var(--g); font-size: 18px; padding: 4px 8px; line-height: 1; border: 1px solid transparent; }
.svc-win .x:hover, .svc-win .x:focus-visible { border-color: var(--g); outline: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid rgba(0, 255, 0, .35); padding: 0 10px; }
.tabs button { font: 13px/1 'Retro Gaming', monospace; letter-spacing: 1px; color: #9fe59f; background: none; border: 0; border-bottom: 2px solid transparent; padding: 13px 12px 11px; cursor: pointer; transition: color .2s, border-color .2s; }
.tabs button:hover { color: var(--g); }
.tabs button[aria-selected="true"] { color: var(--g); border-bottom-color: var(--g); text-shadow: 0 0 1px var(--g); }
.tabs button:focus-visible { outline: 2px dashed var(--g); outline-offset: -4px; }
.panels { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 22px 24px; }
.panels::-webkit-scrollbar { display: none; }
.js .panels [role="tabpanel"][hidden] { display: none; }
.panels h1 { font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 400; line-height: 1.2; margin: 0 0 14px; color: var(--g); }
.panels h2 { font-size: 1.05rem; font-weight: 400; margin: 0 0 12px; color: var(--g); }
.panels .short { font: 600 1.06rem/1.55 'Retro Gaming', monospace; color: #eaffea; margin: 0 0 12px; }
.panels .t-p { margin: 0 0 12px; }
.panels .two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 640px) { .panels .two { grid-template-columns: 1fr; } .panels { padding: 18px 16px; } }
.svc-win .foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid rgba(0, 255, 0, .35); }
.svc-win .foot a.all { font-size: 13px; }
.svc-win .foot a.all:hover, .svc-win .foot a.all:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.svc-win .steps { grid-template-columns: 1fr; gap: 14px; }
.svc-win .steps li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding-top: 12px; }
.svc-win .steps li::before { grid-row: span 2; margin: 2px 0 0; }
.svc-win .steps h3 { margin: 0; }
.svc-win .steps p { margin: 0; grid-column: 2; }

/* intro typing + staggered reveal (driven by the original matrix script) */
.js .sol .typing-heading { opacity: 0; }
.js .sol .typing-heading span { opacity: 0; }
.js .sol .typing-heading.show, .js .sol .typing-heading span.show { opacity: 1; }
.js .sol .green-glow-border { opacity: 0; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease; }
.js .sol .green-glow-border.active { opacity: 1; transform: none; }
.sol .typing-heading span { display: inline; }
.svc-win { height: auto; max-height: min(86vh, 700px); min-height: min(440px, 80vh); }
.svc-win:focus { outline: none; }
