/* Major Achievements + Gallery (majorachievements.php, gallery.php). Builds on service-page / listings / about.css. */
#hero.svc-hero.lst-hero .hero-stats { margin-top: 36px; }
.ach-section { scroll-margin-top: 90px; }
.ach-head { max-width: 720px; margin-bottom: 32px; }
.ach-head--center { margin: 0 auto 32px; text-align: center; }

/* ===== Track record: bento cards ===== */
.ach-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ach-card { position: relative; grid-column: span 3; padding: 30px; border: 1px solid rgba(7,19,63,.08); border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(7,19,63,.06); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1), box-shadow .25s, border-color .25s; }
.ach-card--0 { grid-column: span 4; background: radial-gradient(circle at 100% 0%, rgba(255,102,0,.28), transparent 50%), #07133f; border-color: transparent; }
.ach-card--1 { grid-column: span 2; grid-row: span 2; }
.ach-card--2, .ach-card--3 { grid-column: span 2; }
.ach-card.is-in:hover { transform: translateY(-5px); border-color: rgba(255,102,0,.35); box-shadow: 0 20px 40px rgba(7,19,63,.12); }
.ach-card__no { position: absolute; top: 24px; right: 26px; color: rgba(7,19,63,.15); font-size: 13px; font-weight: 800; letter-spacing: .1em; font-feature-settings: "lnum" 1, "tnum" 1; }
.ach-card > i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #fff4ec; color: #ff6600; font-size: 26px; transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .25s, color .25s; }
.ach-card:hover > i { transform: rotate(-8deg) scale(1.08); background: #ff6600; color: #fff; }
.ach-card h3 { margin: 18px 0 12px; color: #07133f; font-family: "Raleway", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.ach-card ul { margin: 0; padding: 0; list-style: none; }
.ach-card li { position: relative; padding: 9px 0 9px 20px; border-top: 1px solid #edf0f6; color: #2b3550; font-size: 15px; line-height: 1.6; }
.ach-card li:first-child { border-top: 0; padding-top: 0; }
.ach-card li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: #ff6600; }
.ach-card li:first-child::before { top: 9px; }
.ach-card--0 h3 { color: #fff; font-size: 24px; }
.ach-card--0 li { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.82); font-size: 16px; }
.ach-card--0 > i { background: #ff6600; color: #fff; }
.ach-card--0 .ach-card__no { color: rgba(255,255,255,.25); }
.ach-card--0.ab-glow::after { background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,138,61,.22), transparent 60%); }

/* ===== Awards (dark band) ===== */
.ach-awards { position: relative; overflow: hidden; padding: 90px 0; background: radial-gradient(circle at 10% 0%, rgba(255,102,0,.22), transparent 45%), radial-gradient(circle at 90% 100%, rgba(78,110,255,.18), transparent 45%), #07133f; color: #fff; }
.ach-awards::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.ach-awards .container { position: relative; }
.ach-awards__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ach-awards h2 { margin: 12px 0 14px; color: #fff; font-family: "Raleway", sans-serif; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
.ach-awards p { color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.7; }
.ach-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.ach-badges img { display: block; width: 100%; height: auto; padding: 14px; border-radius: 14px; background: #fff; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.ach-badges img:hover { transform: translateY(-4px) rotate(-1deg); }
.ach-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ach-photos figure { margin: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.ach-photos figure:nth-child(2) { transform: translateY(36px); }
.ab-js:not(.ab-static) .ach-photos figure:nth-child(2)[data-reveal].is-in { transform: translateY(36px); }
.ach-photos img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.ach-photos figure:hover img { transform: scale(1.06); }

/* ===== Certifications ===== */
.ach-iso { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.ach-cert { margin: 0; }
.ach-cert a { position: relative; display: block; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid rgba(7,19,63,.08); box-shadow: 0 18px 40px rgba(7,19,63,.12); transform: rotate(-2deg); transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.ach-cert a:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 24px 50px rgba(7,19,63,.18); }
.ach-cert img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ach-cert__zoom { position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #ff6600; color: #fff; font-size: 20px; box-shadow: 0 8px 18px rgba(255,102,0,.35); }
.ach-isos { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.ach-isos li { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid rgba(7,19,63,.08); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(7,19,63,.04); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1), border-color .2s; }
.ach-isos li:hover { border-color: rgba(255,102,0,.35); }
.ach-isos strong { color: #07133f; font-family: "Raleway", sans-serif; font-size: 16px; font-weight: 800; font-feature-settings: "lnum" 1; }
.ach-isos span { color: #4a5670; font-size: 15px; }
.ach-isos em { padding: 5px 12px; border-radius: 999px; background: #f6f8fc; color: #4a5670; font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.ach-isos em.is-cert { background: #ff6600; color: #fff; }

/* ===== Clients ===== */
.ach-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ach-names li { min-width: 150px; padding: 22px 28px; border: 1px solid rgba(7,19,63,.08); border-radius: 16px; background: #fff; color: #07133f; font-family: "Raleway", sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.01em; text-align: center; box-shadow: 0 8px 22px rgba(7,19,63,.05); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1), border-color .2s, color .2s; }
.ach-names li.is-in:hover { transform: translateY(-4px); border-color: rgba(255,102,0,.4); color: #c2410c; }

/* ===== Gallery ===== */
.gal-hero-meta { display: flex; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.gal-hero-meta li { padding: 10px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; }
.gal-hero-meta strong { color: #ff8b3d; font-family: "Raleway", sans-serif; font-size: 18px; margin-right: 4px; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 18px; }
.gal-card { position: relative; display: block; overflow: hidden; border-radius: 18px; background: #0b1846; box-shadow: 0 10px 28px rgba(7,19,63,.1); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.gal-card--featured { grid-column: span 2; grid-row: span 2; }
.gal-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.gal-card:hover { text-decoration: none; box-shadow: 0 22px 44px rgba(7,19,63,.22); }
.gal-card:hover img { transform: scale(1.07); }
.gal-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,7,39,.92) 0%, rgba(3,7,39,.35) 45%, transparent 70%); transition: background .3s; }
.gal-card:hover .gal-card__shade { background: linear-gradient(0deg, rgba(3,7,39,.95) 0%, rgba(7,19,63,.5) 60%, rgba(255,102,0,.12) 100%); }
.gal-card__flag { position: absolute; top: 18px; left: 18px; padding: 6px 12px; border-radius: 999px; background: #ff6600; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gal-card__count { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: rgba(3,7,39,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 700; }
.gal-card__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 22px; }
.gal-card__body strong { color: #fff; font-family: "Raleway", sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; }
.gal-card--featured .gal-card__body { padding: 32px; }
.gal-card--featured .gal-card__body strong { max-width: 560px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.gal-card__body small { display: inline-flex; align-items: center; gap: 4px; color: #ff8b3d; font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gal-card:hover .gal-card__body small, .gal-card:focus-visible .gal-card__body small { opacity: 1; transform: none; }
.gal-empty { color: #4a5670; text-align: center; }

@media (max-width: 991px) {
  .ach-bento { grid-template-columns: 1fr 1fr; }
  .ach-card, .ach-card--0, .ach-card--1, .ach-card--2, .ach-card--3 { grid-column: auto; grid-row: auto; }
  .ach-card--0 { grid-column: 1 / -1; }
  .ach-awards__grid, .ach-iso { grid-template-columns: 1fr; gap: 40px; }
  .ach-cert { max-width: 300px; margin: 0 auto; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
}
@media (max-width: 640px) {
  .ach-bento { grid-template-columns: 1fr; }
  .ach-awards { padding: 64px 0; }
  .ach-photos figure:nth-child(2), .ab-js:not(.ab-static) .ach-photos figure:nth-child(2)[data-reveal].is-in { transform: none; }
  .ach-isos li { grid-template-columns: 1fr auto; }
  .ach-isos span { grid-column: 1 / -1; grid-row: 2; }
  .ach-names li { min-width: 0; flex: 1 1 40%; font-size: 18px; padding: 18px; }
  .gal-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gal-card--featured { grid-column: auto; grid-row: span 1; }
  .gal-card__body small { opacity: 1; transform: none; }
}

/* ===== Compact pass (achievements): smaller certificate + photos, tighter bands ===== */
.ach-awards { padding: 72px 0; }
.ach-awards__grid { grid-template-columns: 1fr 1fr; gap: 48px; }
.ach-badges { max-width: 420px; }
.ach-photos { gap: 14px; }
.ach-photos img { aspect-ratio: 4 / 3; }
.ach-photos figure { border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.28); }
.ach-photos figure:nth-child(2), .ab-js:not(.ab-static) .ach-photos figure:nth-child(2)[data-reveal].is-in { transform: translateY(24px); }

.ach-iso { grid-template-columns: 190px 1fr; gap: 48px; max-width: 980px; margin: 0 auto; }
.ach-cert a { padding: 10px; border-radius: 14px; }
.ach-cert__zoom { right: 16px; bottom: 16px; width: 34px; height: 34px; font-size: 17px; }
.ach-isos { margin-top: 20px; gap: 10px; }
.ach-isos li { padding: 14px 18px; }

.ach-names li { min-width: 130px; padding: 18px 24px; font-size: 19px; }

@media (max-width: 991px) {
  .ach-awards__grid { grid-template-columns: 1fr; gap: 32px; }
  .ach-iso { grid-template-columns: 160px 1fr; gap: 28px; }
  .ach-cert { max-width: none; margin: 0; }
}
@media (max-width: 640px) {
  .ach-iso { grid-template-columns: 1fr; }
  .ach-cert { max-width: 170px; margin: 0 auto; }
  .ach-photos figure:nth-child(2), .ab-js:not(.ab-static) .ach-photos figure:nth-child(2)[data-reveal].is-in { transform: none; }
}

/* ===================== Motion pass (majorachievements) ===================== */
/* Reading progress */
.ach-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; height: 3px; pointer-events: none; }
.ach-progress span { display: block; height: 100%; background: linear-gradient(90deg, #ff6600, #ffb27a); transform: scaleX(0); transform-origin: left; }

/* Hero stats: stagger in */
.ab-js:not(.ab-static) #hero .hero-stats li { animation: ab-rise .8s cubic-bezier(.22,1,.36,1) both; }
.ab-js:not(.ab-static) #hero .hero-stats li:nth-child(1) { animation-delay: .35s; }
.ab-js:not(.ab-static) #hero .hero-stats li:nth-child(2) { animation-delay: .45s; }
.ab-js:not(.ab-static) #hero .hero-stats li:nth-child(3) { animation-delay: .55s; }
.ab-js:not(.ab-static) #hero .hero-stats li:nth-child(4) { animation-delay: .65s; }

/* Bento: list points stagger in after the card */
.ab-js:not(.ab-static) .ach-card li { opacity: 0; transform: translateX(-10px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--d, 0ms) + 350ms + var(--k, 0) * 110ms); }
.ab-js:not(.ab-static) .ach-card.is-in li { opacity: 1; transform: none; }
.ab-js:not(.ab-static) .ach-card li::before { transform: scale(0); transition: transform .4s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--d, 0ms) + 500ms + var(--k, 0) * 110ms); }
.ab-js:not(.ab-static) .ach-card.is-in li::before { transform: scale(1); }
.ach-card { overflow: hidden; }
/* Feature card: expanding signal rings + slow shine */
.ach-rings { position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; pointer-events: none; }
.ach-rings i { position: absolute; inset: 0; border: 1.5px solid rgba(255,138,61,.4); border-radius: 50%; opacity: 0; animation: ach-ring 4.5s ease-out infinite; }
.ach-rings i:nth-child(2) { animation-delay: 1.5s; }
.ach-rings i:nth-child(3) { animation-delay: 3s; }
@keyframes ach-ring { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
.ach-card--0::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.07), transparent); transform: skewX(-18deg); animation: ach-shine 6s ease-in-out 1.5s infinite; pointer-events: none; }
@keyframes ach-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* Awards: watermark, sparkles, badge shimmer, parallax photos */
.ach-awards__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); font-family: "Raleway", sans-serif; font-size: clamp(90px, 16vw, 230px); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; pointer-events: none; animation: ach-drift 18s ease-in-out infinite alternate; }
@keyframes ach-drift { from { transform: translate(-54%, -50%); } to { transform: translate(-46%, -50%); } }
.ach-sparks { position: absolute; inset: 0; pointer-events: none; }
.ach-sparks i { position: absolute; left: var(--x); top: var(--y); width: 4px; height: 4px; border-radius: 50%; background: #ffb27a; box-shadow: 0 0 10px 2px rgba(255,138,61,.6); opacity: 0; animation: ach-spark 4.2s ease-in-out var(--t) infinite; }
@keyframes ach-spark { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: .9; transform: scale(1); } }
.ach-badges { position: relative; }
.ach-badges::after { content: ""; position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); background-size: 250% 100%; background-position: 150% 0; mix-blend-mode: overlay; pointer-events: none; }
.ab-js:not(.ab-static) .ach-badges.is-in::after { animation: ach-sweep 1.6s ease-in-out .5s both, ach-sweep 1.6s ease-in-out 6s infinite; }
@keyframes ach-sweep { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.ach-photos figure { --py: 0px; }
.ach-photos figure img { transform: translateY(var(--py)) scale(1.08); transition: transform .2s linear; }
.ach-photos figure:hover img { transform: translateY(var(--py)) scale(1.14); transition: transform 1.2s cubic-bezier(.22,1,.36,1); }

/* ISO: seal stamps onto the certificate; rows slide in with a check */
.ach-seal { position: absolute; top: -26px; right: -30px; display: grid; place-items: center; width: 92px; height: 92px; }
.ach-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: ach-spin 16s linear infinite; }
.ach-seal circle { fill: #ff6600; stroke: #fff; stroke-width: 3; }
.ach-seal text { fill: #fff; font: 800 9.5px "Open Sans", sans-serif; letter-spacing: .12em; }
.ach-seal > i { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #ff6600; font-size: 26px; }
.ab-js:not(.ab-static) .ach-seal { opacity: 0; transform: scale(2.4) rotate(-25deg); transition: opacity .25s ease .7s, transform .5s cubic-bezier(.34,1.7,.5,1) .7s; }
.ab-js:not(.ab-static) .ach-cert.is-in .ach-seal { opacity: 1; transform: none; }
.ab-js:not(.ab-static) .ach-cert.is-in a { animation: ach-thud .4s ease 1s; }
@keyframes ach-thud { 40% { transform: rotate(-2deg) scale(.97); } }
@keyframes ach-spin { to { transform: rotate(360deg); } }
.ach-isos li { grid-template-columns: 28px 150px 1fr auto; }
.ach-isos li > i { color: #ff6600; font-size: 22px; }
.ab-js:not(.ab-static) [data-reveal="slide"] { transform: translateX(40px); }
.ab-js:not(.ab-static) .ach-isos li > i { transform: scale(0) rotate(-90deg); transition: transform .5s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--d, 0ms) + 350ms); }
.ab-js:not(.ab-static) .ach-isos li.is-in > i { transform: none; }

/* Clients: dual marquee ribbon */
.ach-marquee { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ach-marquee__track { display: flex; gap: 14px; width: max-content; margin: 0; padding: 0; list-style: none; animation: ach-marquee 38s linear infinite; }
.ach-marquee__track--rev { animation-direction: reverse; animation-duration: 46s; }
.ach-marquee:hover .ach-marquee__track { animation-play-state: paused; }
.ach-marquee li { display: inline-flex; align-items: center; gap: 18px; padding: 18px 30px; border: 1px solid rgba(7,19,63,.08); border-radius: 16px; background: #fff; color: #07133f; font-family: "Raleway", sans-serif; font-size: 22px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 18px rgba(7,19,63,.05); transition: color .2s, border-color .2s; }
.ach-marquee li:hover { color: #c2410c; border-color: rgba(255,102,0,.4); }
.ach-marquee li i { color: #ff6600; font-size: 8px; }
.ach-marquee__track--rev li { background: transparent; box-shadow: none; color: rgba(7,19,63,.35); }
@keyframes ach-marquee { to { transform: translateX(-50%); } }

@media (max-width: 640px) {
  .ach-seal { width: 74px; height: 74px; top: -18px; right: -18px; }
  .ach-isos li { grid-template-columns: 24px 1fr auto; }
  .ach-isos span { grid-column: 2 / -1; }
  .ach-marquee li { font-size: 18px; padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ach-rings i, .ach-card--0::before, .ach-awards__mark, .ach-sparks i, .ach-seal svg, .ach-marquee__track, .ach-badges::after { animation: none !important; }
  .ach-marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ach-marquee__track--rev { display: none; }
}

/* ===================== Track record: network-ops console ===================== */
.ach-ops { --ops-dur: 7s; overflow: hidden; border-radius: 24px; background: radial-gradient(circle at 85% 0%, rgba(255,102,0,.22), transparent 45%), radial-gradient(circle at 0% 100%, rgba(78,110,255,.16), transparent 45%), #07133f; box-shadow: 0 30px 60px rgba(7,19,63,.22); color: #fff; }
.ach-ops__bar { display: flex; justify-content: space-between; gap: 16px; padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.45); font: 700 11px/1 "Open Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.ach-ops__live { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); }
.ach-ops__live i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ops-live 2s ease-out infinite; }
@keyframes ops-live { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.ach-ops__grid { display: grid; grid-template-columns: 300px 1fr; min-height: 420px; }

/* Channel tabs */
.ach-ops__tabs { display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.08); }
.ach-ops__tab { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: baseline; flex: 1; padding: 20px 24px; border: 0; border-bottom: 1px solid rgba(255,255,255,.06); background: transparent; color: rgba(255,255,255,.55); text-align: left; cursor: pointer; transition: background .25s, color .25s; }
.ach-ops__tab:last-child { border-bottom: 0; }
.ach-ops__tab:hover { background: rgba(255,255,255,.03); color: rgba(255,255,255,.85); }
.ach-ops__tab:focus-visible { outline: 2px solid #ff8a3d; outline-offset: -2px; }
.ach-ops__tab.is-active { background: linear-gradient(90deg, rgba(255,102,0,.16), rgba(255,102,0,0)); color: #fff; }
.ach-ops__tab::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #ff6600; transform: scaleY(0); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.ach-ops__tab.is-active::before { transform: none; }
.ach-ops__tab .ach-ops__code { grid-row: 1 / 3; }
.ach-ops__tab strong { font-family: "Raleway", sans-serif; font-size: 17px; font-weight: 700; line-height: 1.3; }
.ach-ops__tab small { grid-column: 2; margin-top: 3px; color: rgba(255,255,255,.4); font-size: 12px; font-weight: 600; }
.ach-ops__code { color: #ff8a3d; font: 800 11px/1.4 "Open Sans", sans-serif; letter-spacing: .14em; font-feature-settings: "lnum" 1, "tnum" 1; }
.ach-ops__timer { position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.ach-ops__timer i { display: block; height: 100%; background: #ff6600; transform: scaleX(0); transform-origin: left; }
.ach-ops.is-auto .ach-ops__tab.is-active .ach-ops__timer i { animation: ops-timer var(--ops-dur) linear both; }
.ach-ops.is-paused .ach-ops__tab.is-active .ach-ops__timer i { animation-play-state: paused; }
@keyframes ops-timer { to { transform: scaleX(1); } }

/* Screen */
.ach-ops__screen { position: relative; display: grid; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 20px 20px; }
.ach-ops__screen::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, rgba(255,138,61,.07), transparent); animation: ops-scan 5s linear infinite; pointer-events: none; }
@keyframes ops-scan { from { transform: translateY(-100%); } to { transform: translateY(340%); } }
.ach-ops__panel { grid-area: 1 / 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; padding: 40px 44px; }
.ach-ops.is-js .ach-ops__panel { visibility: hidden; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .55s cubic-bezier(.22,1,.36,1), visibility 0s .45s; }
.ach-ops.is-js .ach-ops__panel.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity .45s ease .1s, transform .55s cubic-bezier(.22,1,.36,1) .1s, visibility 0s; }
.ach-ops__art svg { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; overflow: visible; }
.ach-ops__copy .ach-ops__code { display: block; }
.ach-ops__copy h3 { margin: 10px 0 16px; color: #fff; font-family: "Raleway", sans-serif; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.ach-ops__copy ul { margin: 0; padding: 0; list-style: none; }
.ach-ops__copy li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.82); font-size: 15.5px; line-height: 1.65; }
.ach-ops__copy li:first-child { border-top: 0; }
.ach-ops__copy li::before { content: ""; position: absolute; left: 0; top: 19px; width: 14px; height: 2px; background: #ff6600; }
.ach-ops__copy li::after { content: ""; position: absolute; left: 12px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: #ff6600; box-shadow: 0 0 10px rgba(255,102,0,.7); }

/* Line art: structure (navy-light), signal (orange) */
.op-l { stroke: rgba(255,255,255,.75); stroke-width: 2.2; }
.op-a { stroke: #ff6600; stroke-width: 2.6; stroke-dasharray: 1; }
.op-f { fill: rgba(255,255,255,.06); stroke: none; }
.op-n { fill: #ff6600; transform-box: fill-box; transform-origin: center; }
.op-pin { fill: #ff6600; stroke: #07133f; stroke-width: 2; }
.op-sat { transform-box: fill-box; transform-origin: center; animation: ops-float 5s ease-in-out infinite; }
@keyframes ops-float { 50% { transform: translate(-3px, 4px) rotate(-4deg); } }

/* Draw-in each time a panel becomes active (JS only) */
.ach-ops.is-js .op-l, .ach-ops.is-js .op-a { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ach-ops.is-js .op-n, .ach-ops.is-js .op-pin, .ach-ops.is-js .op-f { opacity: 0; }
.ach-ops.is-js .ach-ops__copy li { opacity: 0; transform: translateX(-12px); }
.ach-ops.is-js .is-active .op-l { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.65,0,.35,1) .15s; }
.ach-ops.is-js .is-active .op-a { animation: ops-signal 2.4s linear .9s infinite; }
.ach-ops.is-js .is-active .op-a--2 { animation-delay: 1.3s; }
.ach-ops.is-js .is-active .op-a--3 { animation-delay: 1.7s; }
.ach-ops.is-js .is-active .op-f, .ach-ops.is-js .is-active .op-pin { opacity: 1; transition: opacity .5s ease .7s; }
.ach-ops.is-js .is-active .op-n { opacity: 1; transition: opacity .4s ease 1s; animation: ops-node 2s ease-in-out 1.4s infinite; }
.ach-ops.is-js .is-active .op-n--2 { animation-delay: 1.8s; }
.ach-ops.is-js .is-active .op-n--3 { animation-delay: 2.2s; }
.ach-ops.is-js .is-active .ach-ops__copy li { opacity: 1; transform: none; transition: opacity .5s ease, transform .55s cubic-bezier(.22,1,.36,1); transition-delay: calc(.3s + var(--k) * .12s); }
/* Signal: draws in, holds, flows out — repeats like a transmission */
@keyframes ops-signal { 0% { stroke-dashoffset: 1; } 45% { stroke-dashoffset: 0; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@keyframes ops-node { 50% { transform: scale(1.6); } }

@media (max-width: 991px) {
  .ach-ops__grid { grid-template-columns: 1fr; min-height: 0; }
  .ach-ops__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); scrollbar-width: none; }
  .ach-ops__tab { flex: 1 0 200px; border-bottom: 0; border-right: 1px solid rgba(255,255,255,.06); }
  .ach-ops__tab::before { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 3px; transform: scaleX(0); }
  .ach-ops__tab.is-active::before { transform: none; }
  .ach-ops__panel { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .ach-ops__art svg { max-width: 240px; }
}
@media (max-width: 640px) {
  .ach-ops__bar span:last-child { display: none; }
  .ach-ops__tab { flex-basis: 170px; padding: 16px 18px; }
  .ach-ops__panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ach-ops__screen::after, .op-sat, .ach-ops__live i { animation: none !important; }
  .ach-ops.is-js .is-active .op-a { animation: none; stroke-dashoffset: 0; }
  .ach-ops.is-js .is-active .op-n { animation: none; }
}

/* ===== Ops panel: realistic illustrations (v2) ===== */
.ach-ops__art svg { max-width: 380px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.op-s { transform-box: fill-box; }
.ach-ops.is-js .op-s { opacity: 0; transform: translateY(10px); }
.ach-ops.is-js .is-active .op-s { opacity: 1; transform: none; transition: opacity .6s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.ach-ops.is-js .is-active .op-s:nth-of-type(2n) { transition-delay: .08s; }
.ach-ops.is-js .is-active .op-s:nth-of-type(3n) { transition-delay: .16s; }
.ach-ops.is-js .is-active .op-s:nth-of-type(5n) { transition-delay: .24s; }
.op-l { stroke-width: inherit; }
.ach-ops__art .op-l:not([stroke]) { stroke: rgba(255,255,255,.75); }
.op-a { stroke: #ff6600; filter: drop-shadow(0 0 4px rgba(255,102,0,.7)); }
.op-n { filter: drop-shadow(0 0 6px rgba(255,102,0,.9)); }
.ach-ops__grid { min-height: 440px; }
@media (prefers-reduced-motion: reduce) { .ach-ops.is-js .op-s { opacity: 1; transform: none; } }
.ach-ops__art .op-l-wrap .op-l { stroke: rgba(159,178,255,.35); stroke-width: 1.2; }
.ach-ops__art ellipse.op-l { stroke: rgba(255,138,61,.45); stroke-width: 1.5; }
.ach-ops__art path.op-l[stroke="#d6dcec"] { stroke: #d6dcec; stroke-width: 3; }

/* CH-02 tower beacons */
.op-beacon { filter: drop-shadow(0 0 4px rgba(255,59,59,.9)); animation: op-blink 1.6s steps(1) infinite; }
.op-beacon:nth-of-type(2n) { animation-delay: .8s; }
@keyframes op-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .op-beacon { animation: none; } }

/* CH-03 partner tags */
.ach-ops__copy .ach-ops__partners { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ach-ops__copy .ach-ops__partners li { padding: 8px 14px; border: 1px solid rgba(255,138,61,.4); border-radius: 999px; background: rgba(255,102,0,.1); color: #fff; font-family: "Raleway", sans-serif; font-size: 14px; font-weight: 700; line-height: 1.2; }
.ach-ops__copy .ach-ops__partners li::before, .ach-ops__copy .ach-ops__partners li::after { display: none; }

/* Performance: pause looping animations while a section is off-screen (achievements.js toggles .is-offscreen),
   and avoid animated filters (they force a repaint every frame). */
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after, .is-offscreen::before, .is-offscreen::after { animation-play-state: paused !important; }
.op-a { filter: none; }
.ach-ops__art svg { filter: none; }
