/* ============================================================
   PMG ENGINEERING — NEXT-GEN MARKETING · BASE + CHROME + HOME
   Loaded only under ng_skin. Depends on ng/tokens.css.
   Values mirror design-inputs/…_v1/Home Feed.dc.html exactly
   (container 1360 / 32px gutters, right-aligned utility bar,
   200px hero mosaic rows, full 4-col footer, feed card system).
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--pmg-paper); color: var(--pmg-text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
a { color: var(--pmg-blue); text-decoration: none; }
a:hover { color: var(--pmg-red); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; }
::-webkit-scrollbar { height: 8px; }
::-webkit-scrollbar-thumb { background: #c9c9c5; }
:focus-visible { outline: 2px solid var(--pmg-red); outline-offset: 2px; }

/* ---------- SHELL ---------- */
.ng-wrap { max-width: 1760px; margin: 0 auto; padding: 0 32px; }
/* Screen-reader-only: keeps a node in the a11y tree + heading outline while
   hiding it visually (used for section headings that would otherwise skip a
   level, e.g. an h1→h3 jump on card listings). */
.ng-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Form feedback (ng-forms.js) ---------- */
#ng-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: min(92vw, 380px); }
.ng-toast { font-family: var(--font-body); font-size: 14px; line-height: 1.45; padding: 13px 16px; border-radius: 6px; color: #fff; background: var(--pmg-ink); box-shadow: 0 8px 24px rgba(0,0,0,0.22); border-left: 3px solid var(--pmg-red); opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
.ng-toast.is-in { opacity: 1; transform: translateY(0); }
.ng-toast--success { border-left-color: #1f9d55; }
.ng-toast--error { border-left-color: var(--pmg-red); }
.ng-field-error { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: 11.5px; color: var(--pmg-red); }
.is-invalid { border-color: var(--pmg-red) !important; }
.ng-cond { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; }
.ng-mono { font-family: var(--font-mono); }
.ng-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--pmg-red); text-transform: uppercase; }
.ng-h2 { font-family: var(--font-display); font-weight: 700; font-size: 31px; text-transform: uppercase; line-height: 1.08; }
.ng-arrow-link { font-weight: 700; font-size: 14px; }
.ng-kicker { font-size: 12.5px; }

/* ---------- BUTTONS ---------- */
.ng-btn { display: inline-block; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 11px 20px; font-size: 14px; transition: var(--transition); }
.ng-btn--red { background: var(--pmg-red); color: #fff; }
.ng-btn--red:hover { background: var(--pmg-ink); color: #fff; }
.ng-btn--on-red { background: #fff; color: var(--pmg-ink); }
.ng-btn--on-red:hover { background: var(--pmg-ink); color: #fff; }
.ng-btn--lg { padding: 14px 26px; font-size: 14px; }
.ng-btn--ghost { color: #fff; border: 1.5px solid #555; padding: 13px 26px; font-size: 14px; }
.ng-btn--ghost:hover { border-color: #fff; color: #fff; }
.ng-btn--outline-ink { color: var(--pmg-ink); border: 1.5px solid var(--pmg-ink); padding: 12px 28px; font-size: 13.5px; }
.ng-btn--outline-ink:hover { background: var(--pmg-ink); color: #fff; }

/* ---------- UTILITY BAR ---------- */
.ng-utility { background: var(--pmg-ink); }
.ng-utility .ng-wrap { height: 34px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.ng-utility a, .ng-utility span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: #8a8a86; }
.ng-utility a:hover { color: #fff; }
.ng-utility .ng-sep { color: #333; }

/* ---------- LANGUAGE SWITCHER (in NG utility bar + footer) ---------- */
.lang-switcher { position: relative; display: inline-block; }
.lang-switcher > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: #8a8a86; text-transform: uppercase; }
.lang-switcher > summary::-webkit-details-marker { display: none; }
.lang-switcher:hover > summary, .lang-switcher[open] > summary { color: #fff; }
.lang-switcher__icon { width: 13px; height: 13px; }
.lang-switcher__current { display: none; }
.lang-switcher__caret { font-size: 8px; }
.lang-switcher__menu { position: absolute; right: 0; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--pmg-hairline-1); border-top: 3px solid var(--pmg-red); min-width: 168px; z-index: 80; box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.lang-switcher--nav .lang-switcher__menu { top: 100%; margin-top: 8px; }
.lang-switcher--footer .lang-switcher__menu { bottom: 100%; margin-bottom: 8px; }
.lang-switcher__menu li { list-style: none; }
.lang-switcher__option { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; width: 100%; text-align: left; background: none; border: 0; padding: 7px 16px; font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--pmg-ink); cursor: pointer; }
.lang-switcher__option:hover { background: var(--pmg-card-alt); color: var(--pmg-red); }
.lang-switcher__option-en { font-family: var(--font-mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.06em; color: var(--pmg-text-muted); text-transform: uppercase; }

/* ---------- HEADER ---------- */
.ng-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--pmg-hairline-1); }
.ng-header .ng-wrap { height: 68px; display: flex; align-items: center; gap: 28px; }
.ng-logo { display: flex; }
.ng-logo img { height: 34px; width: auto; }
.ng-nav { display: flex; gap: 22px; margin-left: 8px; }
.ng-nav > a, .ng-menu > a { font-size: 15px; font-weight: 600; color: var(--pmg-text-muted); }
.ng-nav > a:hover, .ng-menu > a:hover { color: var(--pmg-red); }
.ng-nav > a.is-active { color: var(--pmg-ink); border-bottom: 2px solid var(--pmg-red); padding-bottom: 2px; }
.ng-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ng-search { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: var(--pmg-text-muted); }
.ng-search:hover { color: var(--pmg-red); }

/* mega-menu (hover panels) */
.ng-menu { position: relative; display: inline-flex; align-items: center; }
.ng-menu > a::after { content: "\00a0▾"; font-size: 9px; color: var(--pmg-text-muted); }
.ng-panel { position: absolute; top: 100%; left: -18px; padding-top: 10px; z-index: 60; display: none; }
.ng-menu:hover > .ng-panel { display: block; }
.ng-panel__inner { display: block; background: #fff; border: 1px solid var(--pmg-hairline-1); border-top: 3px solid var(--pmg-red); min-width: 260px; padding: 6px 0 8px; }
.ng-panel__label { padding: 10px 18px 4px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--pmg-text-muted); text-transform: uppercase; }
.ng-panel a { display: block; padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--pmg-ink); white-space: nowrap; }
.ng-panel a:hover { background: var(--pmg-card-alt); color: var(--pmg-red); }
.ng-panel a.ng-panel__all { color: var(--pmg-blue); }

/* ---------- HERO ---------- */
.ng-hero { background: var(--pmg-ink); color: #fff; }
.ng-hero .ng-wrap { padding: 60px 32px 56px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; align-items: center; }
.ng-hero__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--pmg-red-on-dark); margin-bottom: 18px; }
.ng-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5.4vw, 92px); line-height: 0.96; letter-spacing: -0.015em; text-transform: uppercase; white-space: nowrap; }
.ng-hero__sub { margin: 24px 0 0; font-size: 19px; line-height: 1.55; color: #c9c9c5; max-width: 600px; }
.ng-hero__cta { display: flex; gap: 12px; margin-top: 30px; }
.ng-hero__stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 26px; border-top: 1px solid #333; }
.ng-hero__stats a, .ng-hero__stats div > div { color: #fff; }
.ng-stat-num { font-family: var(--font-display); font-weight: 700; font-size: 40px; }
.ng-stat-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: #8a8a86; margin-top: 4px; text-transform: uppercase; }

.ng-mosaic { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); grid-auto-rows: 200px; gap: 10px; min-width: 0; }
.ng-mosaic a { position: relative; display: block; overflow: hidden; }
.ng-mosaic__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ng-mosaic__cap { position: absolute; left: 12px; bottom: 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; background: rgba(20,20,20,0.85); color: #fff; padding: 4px 9px; }

/* ---------- SECTION HEADERS ---------- */
.ng-band { background: #fff; border-bottom: 1px solid var(--pmg-hairline-1); }
.ng-band .ng-wrap { padding: 44px 32px 48px; }
.ng-sechead { display: flex; justify-content: space-between; align-items: baseline; }
.ng-sechead h2 { margin: 0 0 20px; }

/* ---------- OFFER TRIAGE ---------- */
.ng-triage { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.ng-triage a { display: flex; flex-direction: column; border: 1px solid var(--pmg-hairline-1); color: var(--pmg-ink); transition: var(--transition); }
.ng-triage a:hover { border-color: var(--pmg-ink); color: var(--pmg-ink); }
.ng-triage__img { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.ng-triage__img .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ng-tag { position: absolute; top: 10px; left: 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; background: var(--pmg-red); color: #fff; padding: 3px 8px; text-transform: uppercase; }
.ng-triage__body { padding: 16px 18px 18px; }
.ng-triage__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; }
.ng-triage__list { font-family: var(--font-mono); font-size: 11px; color: var(--pmg-text-muted); line-height: 1.8; margin-top: 8px; text-transform: uppercase; }

/* ---------- CLIENTS ---------- */
.ng-clients .ng-wrap { padding: 56px 32px 60px; }
.ng-clients__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ng-clients__all { flex-shrink: 0; }
.ng-clients__stats { display: flex; gap: 56px; flex-wrap: wrap; margin: 28px 0; padding: 24px 0; border-top: 1px solid var(--pmg-hairline-1); border-bottom: 1px solid var(--pmg-hairline-1); }
.ng-cstat { display: flex; flex-direction: column; }
.ng-cstat__n { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; color: var(--pmg-ink); letter-spacing: -0.01em; }
.ng-cstat__l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pmg-text-muted); margin-top: 8px; }
.ng-marquee { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.9vw, 25px); line-height: 1.45; text-transform: uppercase; letter-spacing: -0.005em; color: var(--pmg-ink); margin-bottom: 26px; }
.ng-marquee span { color: var(--pmg-red); margin: 0 3px; }
.ng-certs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.ng-certs--wide { margin-top: 24px; }
.ng-certs__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--pmg-text-faint); margin-right: 6px; }
.ng-cert { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: var(--pmg-text-muted); border: 1px solid var(--pmg-hairline-1); padding: 4px 9px; }
.ng-logowall { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--pmg-hairline-2); border-left: 1px solid var(--pmg-hairline-2); }
.ng-logowall__cell { border-right: 1px solid var(--pmg-hairline-2); border-bottom: 1px solid var(--pmg-hairline-2); height: 92px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.ng-logowall__cell img { max-height: 50px; max-width: 108px; object-fit: contain; }
.ng-logowall__more { background: var(--pmg-card-alt); }
.ng-logowall__more a { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--pmg-blue); text-align: center; line-height: 1.5; }

/* ---------- FEED ---------- */
.ng-feed-intro { padding: 44px 32px 8px; }
.ng-feed-filter { position: sticky; top: 68px; z-index: 40; background: var(--pmg-paper); border-bottom: 1px solid var(--pmg-hairline-1); }
.ng-feed-filter .ng-wrap { padding: 14px 32px 12px; }
.ng-chiprow { display: flex; gap: 8px; flex-wrap: wrap; }
.ng-chiprow + .ng-chiprow { margin-top: 10px; }
.ng-chip { cursor: pointer; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; padding: 7px 14px; border: 1px solid #c9c9c5; background: transparent; color: var(--pmg-text-muted); text-transform: uppercase; }
.ng-chip.is-active { background: var(--pmg-ink); color: #fff; border-color: var(--pmg-ink); }
.ng-pill { cursor: pointer; font-size: 12.5px; font-weight: 600; padding: 6px 13px; border-radius: 99px; border: 1px solid #c9c9c5; background: #fff; color: var(--pmg-ink); }
.ng-pill.is-active { background: var(--pmg-ink); color: #fff; border-color: var(--pmg-ink); }
.ng-count { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--pmg-text-muted); align-self: center; }

.ng-feed { padding: 28px 32px 64px; }
/* Column masonry — cards pack top-to-bottom per column, no row-alignment
   whitespace. As many ~300px columns as fit. Works with the JS filter
   (display:none reflows the columns). */
.ng-feed__grid { column-width: 300px; column-gap: 20px; }
.ng-feed__grid > * { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 20px; width: 100%; }
.ng-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pmg-hairline-1); color: var(--pmg-ink); transition: border-color .15s; }
.ng-card:hover { border-color: var(--pmg-ink); color: var(--pmg-ink); }
.ng-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ECECE8; }
.ng-card__img .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
/* Shimmer skeleton shown until the lazy card image paints. The animated
   ::before sits behind the <img> (.ng-cimg); once loaded, JS adds .is-loaded
   to stop the animation (it's covered anyway, but this saves CPU across a grid). */
.ng-card__img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #ECECE8 28%, #f6f6f3 50%, #ECECE8 72%); background-size: 220% 100%; animation: ng-shimmer 1.4s ease-in-out infinite; }
.ng-card__img.is-loaded::before { display: none; }
.ng-cimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
@keyframes ng-shimmer { 0% { background-position: 220% 0; } 100% { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .ng-card__img::before { animation: none; } }
.ng-cbadge { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #fff; padding: 4px 9px; }
.ng-cbadge--inline { position: static; align-self: flex-start; }
.ng-badge-project, .ng-badge-product { background: var(--pmg-ink); }
.ng-badge-article, .ng-badge-infographic, .ng-badge-elearning, .ng-badge-technology { background: var(--pmg-blue); }
.ng-badge-video { background: var(--pmg-red); }
.ng-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ng-play span { width: 52px; height: 52px; border-radius: 50%; background: rgba(232,39,46,0.92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 4px; }
.ng-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ng-specs { display: flex; gap: 6px; flex-wrap: wrap; }
.ng-spec { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--pmg-red); border: 1px solid var(--pmg-red-tint); padding: 2px 7px; }
.ng-card__title { margin: 0; font-weight: 800; font-size: 20.5px; line-height: 1.16; letter-spacing: -0.005em; color: var(--pmg-ink); }
.ng-card__title--lg { font-size: 23px; }
.ng-card__excerpt { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--pmg-text-muted); }
.ng-card__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--pmg-hairline-2); }
.ng-card__meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--pmg-text-muted); min-width: 0; }
.ng-card__action { font-weight: 700; font-size: 12.5px; color: var(--pmg-blue); white-space: nowrap; flex-shrink: 0; }
.ng-ctacard { display: flex; flex-direction: column; justify-content: space-between; background: var(--pmg-ink); color: #fff; border-left: 4px solid var(--pmg-red); padding: 24px 26px; min-height: 240px; }
.ng-ctacard__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(255,255,255,0.8); }
.ng-ctacard__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; line-height: 1.08; }
.ng-loadmore { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- FAQ + SIDEBAR ---------- */
.ng-faq { background: #fff; border-top: 1px solid var(--pmg-hairline-1); }
.ng-faq .ng-wrap { padding: 48px 32px 52px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.ng-faq h2 { margin: 0 0 18px; }
.ng-acc { border-top: 1px solid var(--pmg-hairline-1); }
.ng-acc details { border-bottom: 1px solid var(--pmg-hairline-1); }
.ng-acc summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 800; font-size: 15.5px; }
.ng-acc summary::-webkit-details-marker { display: none; }
.ng-acc summary::after { content: "+"; font-family: var(--font-mono); font-size: 15px; color: var(--pmg-red); }
.ng-acc details[open] summary::after { content: "\2212"; }
.ng-acc__a { margin: 0; padding: 0 0 16px; font-size: 14px; line-height: 1.65; color: var(--pmg-text-muted); max-width: 640px; }
.ng-aside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 150px; }
.ng-aside__tip { background: var(--pmg-ink); color: #fff; padding: 24px; }
.ng-aside__tip .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--pmg-red-on-dark); }
.ng-aside__tip .t { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.15; margin-top: 10px; }
.ng-aside__sub { background: var(--pmg-blue); color: #fff; padding: 24px; }
.ng-aside__sub .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(255,255,255,0.95); }
.ng-aside__sub .t { font-weight: 800; font-size: 17px; line-height: 1.35; margin-top: 8px; }
.ng-subform { display: flex; margin-top: 14px; }
.ng-subform input { flex: 1; border: 0; background: #fff; color: var(--pmg-ink); font-family: var(--font-mono); font-size: 12px; padding: 11px 13px; }
.ng-subform button { font-weight: 700; font-size: 12.5px; letter-spacing: 0.05em; background: var(--pmg-ink); color: #fff; padding: 11px 18px; border: 0; }
.ng-subform button:hover { background: #fff; color: var(--pmg-ink); }
.ng-footer__subk { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: #8a8a86; margin-top: 22px; text-transform: uppercase; line-height: 1.5; }
.ng-footer__sub { margin-top: 8px; max-width: 360px; }
.ng-footer__sub button { background: var(--pmg-red); }
.ng-footer__sub button:hover { background: #fff; color: var(--pmg-ink); }
.ng-aside__hiring { display: block; background: #fff; border: 1px solid var(--pmg-hairline-1); padding: 20px 22px; color: var(--pmg-ink); }
.ng-aside__hiring:hover { border-color: var(--pmg-red); color: var(--pmg-ink); }
.ng-aside__hiring .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--pmg-red); }
.ng-aside__hiring .t { font-weight: 800; font-size: 16px; margin-top: 6px; }

/* ---------- FOOTER ---------- */
.ng-footer { background: var(--pmg-ink); color: #fff; }
.ng-footer__cols { padding: 56px 32px 44px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 36px; }
.ng-footer__logo { height: 32px; filter: brightness(0) invert(1); }
.ng-footer__tagline { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; margin-top: 18px; line-height: 1.2; }
.ng-footer__note { font-family: var(--font-mono); font-size: 11.5px; color: #8a8a86; margin-top: 14px; line-height: 1.7; text-transform: uppercase; }
.ng-footer h2 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; color: #8a8a86; margin-bottom: 16px; text-transform: uppercase; font-weight: 400; }
.ng-footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; font-weight: 600; }
.ng-footer__links a { color: #d9d9d5; }
.ng-footer__links a:hover { color: #fff; }
.ng-footer__social { display: flex; gap: 14px; margin-top: 16px; font-family: var(--font-mono); font-size: 11.5px; flex-wrap: wrap; }
.ng-footer__social a { color: #d9d9d5; }
.ng-footer__social a:hover { color: #fff; }
.ng-footer__bar { border-top: 1px solid #333; }
.ng-footer__bar .ng-wrap { padding: 18px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ng-footer__bar, .ng-footer__bar a { font-family: var(--font-mono); font-size: 11px; color: #8a8a86; }
.ng-footer__addr { font-style: normal; }
.ng-footer__addr a { color: #8a8a86; }
.ng-footer__addr a:hover { color: #fff; }
.ng-footer__esign { margin-top: 16px; }
.ng-footer__bar a:hover { color: #fff; }
.ng-footer__legal { display: flex; gap: 14px; }

/* ---------- SKIP LINK ---------- */
.ng-skip { position: absolute; left: -9999px; }
.ng-skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) { .ng-nav { display: none; } }
@media (max-width: 980px) {
  .ng-hero .ng-wrap { grid-template-columns: 1fr; }
  .ng-clients .ng-wrap { grid-template-columns: 1fr; }
  .ng-faq .ng-wrap { grid-template-columns: 1fr; }
  .ng-footer__cols { grid-template-columns: 1fr 1fr; }
  .ng-clients__intro, .ng-aside { position: static; }
}
@media (max-width: 620px) {
  .ng-wrap { padding-left: 20px; padding-right: 20px; }
  .ng-utility a[href*="Careers"] { display: none; }
  .ng-footer__cols { grid-template-columns: 1fr; }
}

/* ============================================================
   DETAIL PAGES (inner, 1160px) — skeleton + fact sheet + blocks
   ============================================================ */
.ng-wrap--inner { max-width: 1340px; }
.ng-detail { padding: 40px 40px 64px; }
.ng-crumb { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--pmg-text-muted); }
.ng-crumb a { color: var(--pmg-text-muted); }
.ng-crumb a:hover { color: var(--pmg-red); }
.ng-chipbar { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.ng-c { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; padding: 4px 9px; }
.ng-c--ink { background: var(--pmg-ink); color: #fff; }
.ng-c--red { background: var(--pmg-red); color: #fff; }
.ng-c--redline { background: #fff; color: var(--pmg-red); border: 1px solid var(--pmg-red-tint); }
.ng-c--gray { color: var(--pmg-text-muted); border: 1px solid var(--pmg-hairline-1); }
.ng-detail__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.015em; text-transform: uppercase; max-width: 940px; margin: 18px 0 0; }
.ng-detail__grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; margin-top: 24px; }
.ng-detail__main { min-width: 0; }

.ng-hero-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--pmg-ink); }
.ng-hero-img .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ng-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 10px; }
.ng-thumb { aspect-ratio: 16/10; background-size: cover; background-position: center; cursor: pointer; opacity: 0.75; transition: opacity .15s; }
.ng-thumb:hover { opacity: 1; }
.ng-thumb.is-active { opacity: 1; outline: 2px solid var(--pmg-red); }
.ng-thumb--more { background: var(--pmg-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; opacity: 1; }

.ng-pw { background: #fff; border: 1px solid var(--pmg-hairline-1); padding: 28px 32px; margin-top: 16px; }
.ng-pw--first { margin-top: 24px; }
.ng-pw__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--pmg-red); text-transform: uppercase; }
.ng-lead { margin: 12px 0 0; font-size: 17px; line-height: 1.65; color: var(--pmg-text-body); }
.ng-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 20px; }
.ng-hl { border: 1px solid var(--pmg-hairline-2); padding: 16px; }
.ng-hl__k { font-family: var(--font-mono); font-size: 11px; color: var(--pmg-red); }
.ng-hl__t { font-weight: 800; font-size: 14.5px; margin-top: 6px; line-height: 1.35; }
.ng-cs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--pmg-hairline-2); font-size: 14px; line-height: 1.55; }
.ng-cs:last-child { border-bottom: 0; }
.ng-cs .sol { color: var(--pmg-text-muted); }
.ng-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 16px; }
.ng-kv__cell { border: 1px solid var(--pmg-hairline-2); padding: 16px 18px; }
.ng-kv__v { font-family: var(--font-mono); font-weight: 600; font-size: 22px; color: var(--pmg-ink); }
.ng-kv__l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--pmg-text-muted); margin-top: 6px; text-transform: uppercase; }

.ng-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; }
.ng-fact { background: #fff; border: 1px solid var(--pmg-hairline-1); border-top: 3px solid var(--pmg-red); padding: 20px 22px; }
.ng-fact__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--pmg-text-muted); text-transform: uppercase; }
.ng-fact__rows { display: flex; flex-direction: column; font-size: 13.5px; margin-top: 4px; }
.ng-fact__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--pmg-hairline-2); }
.ng-fact__row:last-child { border-bottom: 0; }
.ng-fact__row > span { color: var(--pmg-text-muted); }
.ng-fact__row > strong { text-align: right; }
.ng-side-card { background: #fff; border: 1px solid var(--pmg-hairline-1); padding: 20px 22px; }
.ng-side-card__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--pmg-text-muted); text-transform: uppercase; }
.ng-techstack { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.ng-techchip { font-family: var(--font-mono); font-size: 11px; color: var(--pmg-blue); border: 1px solid var(--pmg-blue-tint); padding: 4px 10px; }
.ng-techchip:hover { border-color: var(--pmg-blue); }
.ng-sustcallout { display: block; background: #fff; border: 1px solid var(--pmg-hairline-1); border-left: 3px solid var(--pmg-blue); padding: 16px 20px; color: var(--pmg-ink); }
.ng-sustcallout:hover { border-color: var(--pmg-blue); color: var(--pmg-ink); }
.ng-sustcallout__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--pmg-blue); text-transform: uppercase; }
.ng-sustcallout__t { font-weight: 800; font-size: 14px; line-height: 1.4; margin-top: 6px; }
.ng-ctaside { background: var(--pmg-ink); color: #fff; border-left: 3px solid var(--pmg-red); padding: 22px; }
.ng-ctaside__t { font-family: var(--font-display); font-weight: 700; font-size: 19px; text-transform: uppercase; line-height: 1.1; }
.ng-ctaside__p { font-size: 13px; margin-top: 8px; opacity: 0.9; line-height: 1.5; }
.ng-ctaside .ng-btn { display: block; text-align: center; margin-top: 14px; }

.ng-related { margin-top: 48px; }
.ng-related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.ng-rcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pmg-hairline-1); color: var(--pmg-ink); }
.ng-rcard:hover { border-color: var(--pmg-ink); color: var(--pmg-ink); }
.ng-rcard__img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #ECECE8; }
.ng-rcard__img .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ng-rcard__cap { position: absolute; bottom: 10px; left: 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; background: var(--pmg-red); color: #fff; padding: 3px 8px; }
.ng-rcard__b { padding: 13px 16px 14px; }
.ng-rcard__t { font-weight: 800; font-size: 14.5px; line-height: 1.3; }
.ng-rcard__m { font-family: var(--font-mono); font-size: 10.5px; color: var(--pmg-text-muted); margin-top: 6px; }

/* prose body for rich-text detail (hierarchy + insights) */
.ng-prose { font-size: 16.5px; line-height: 1.75; color: var(--pmg-text-body); max-width: 860px; }
.ng-prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; margin: 32px 0 12px; color: var(--pmg-ink); }
.ng-prose h3 { font-weight: 800; font-size: 19px; margin: 24px 0 8px; color: var(--pmg-ink); }
.ng-prose p { margin: 0 0 14px; }
.ng-prose img { height: auto; margin: 14px 0; }
.ng-prose a { color: var(--pmg-blue); }
.ng-prose ul, .ng-prose ol { margin: 0 0 14px; padding-left: 20px; }
.ng-prose li { margin-bottom: 6px; }

@media (max-width: 980px) {
  .ng-detail__grid { grid-template-columns: 1fr; }
  .ng-side { position: static; }
}
@media (max-width: 620px) {
  .ng-detail { padding: 28px 20px 48px; }
  .ng-pw { padding: 22px 20px; }
}

/* ---------- MOBILE HAMBURGER (CSS-only) ---------- */
.ng-burger { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 34px; height: 34px; cursor: pointer; }
.ng-burger span { display: block; height: 2px; width: 20px; background: var(--pmg-ink); transition: transform .2s, opacity .2s; }
.ng-mobilemenu { display: none; border-top: 1px solid var(--pmg-hairline-1); background: #fff; padding: 8px 32px 20px; }
.ng-mobilemenu a { display: block; padding: 11px 0; font-size: 15px; font-weight: 600; color: var(--pmg-ink); border-bottom: 1px solid var(--pmg-hairline-2); }
.ng-mobilemenu a:hover { color: var(--pmg-red); }
.ng-mobilemenu a.ng-btn { border-bottom: 0; color: #fff; }
.ng-mobilemenu__sep { height: 8px; }
.ng-burger-cb:checked ~ .ng-mobilemenu { display: block; }
.ng-burger-cb:checked ~ .ng-wrap .ng-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ng-burger-cb:checked ~ .ng-wrap .ng-burger span:nth-child(2) { opacity: 0; }
.ng-burger-cb:checked ~ .ng-wrap .ng-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) {
  .ng-burger { display: flex; }
  .ng-cta-desktop { display: none; }
}
@media (max-width: 620px) {
  .ng-mobilemenu { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   CONTENT BLOCKS (rich engineering-resource sections)
   ============================================================ */
.ng-steps { margin-top: 6px; }
.ng-step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--pmg-hairline-2); }
.ng-step:last-child { border-bottom: 0; }
.ng-step__n { font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--pmg-red); }
.ng-step__b { font-size: 15px; line-height: 1.55; color: var(--pmg-text-body); }
.ng-step__b strong { color: var(--pmg-ink); }

.ng-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.ng-compare__card { border: 1px solid var(--pmg-hairline-2); padding: 18px 20px; }
.ng-compare__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--pmg-blue); text-transform: uppercase; }
.ng-compare__val { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--pmg-ink); margin-top: 8px; }
.ng-compare__note { font-size: 13.5px; line-height: 1.5; color: var(--pmg-text-muted); margin-top: 8px; }

.ng-callout { background: var(--pmg-card-alt); border-left: 3px solid var(--pmg-blue); padding: 18px 22px; }
.ng-callout--emphatic { border-left-color: var(--pmg-red); }
.ng-callout__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pmg-blue); margin-bottom: 8px; }
.ng-callout--emphatic .ng-callout__k { color: var(--pmg-red); }
.ng-callout__b { font-size: 15.5px; line-height: 1.6; color: var(--pmg-text-body); }
.ng-callout--emphatic .ng-callout__b { font-size: 18px; font-weight: 700; color: var(--pmg-ink); }

.ng-curated { margin-top: 8px; }
.ng-curated__row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--pmg-hairline-2); color: var(--pmg-ink); }
.ng-curated__row:hover { color: var(--pmg-red); }
.ng-curated__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pmg-blue); }
.ng-curated__title { font-weight: 700; font-size: 15px; }
.ng-curated__meta { font-family: var(--font-mono); font-size: 11px; color: var(--pmg-text-faint); }

.ng-downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 14px; }
.ng-download { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--pmg-hairline-1); border-left: 3px solid var(--pmg-red); padding: 14px 16px; color: var(--pmg-ink); }
.ng-download:hover { border-color: var(--pmg-red); color: var(--pmg-ink); }
.ng-download__t { font-weight: 700; font-size: 14.5px; }
.ng-download__m { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--pmg-red); text-transform: uppercase; }

/* ---------- MEGA-MENU 3rd-level flyouts ---------- */
.ng-group { position: relative; display: block; }
.ng-group > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ng-group__arr { color: #c9c9c5; font-size: 12px; }
.ng-sub { position: absolute; left: 100%; top: -7px; padding-left: 6px; z-index: 61; display: none; }
.ng-group:hover > .ng-sub { display: block; }
.ng-sub__inner { display: block; background: #fff; border: 1px solid var(--pmg-hairline-1); border-top: 3px solid var(--pmg-blue); min-width: 220px; max-height: 70vh; overflow-y: auto; padding: 6px 0 8px; }
.ng-sub__inner a { display: block; padding: 7px 18px; font-size: 13px; font-weight: 600; color: var(--pmg-ink); white-space: nowrap; }
.ng-sub__inner a:hover { background: var(--pmg-card-alt); color: var(--pmg-red); }
/* Last menu's flyout opens leftward so it doesn't overflow the viewport */
.ng-menu--last .ng-sub { left: auto; right: 100%; padding-left: 0; padding-right: 6px; }
/* NB: do NOT put overflow on .ng-panel__inner — it clips the category
   flyout (which sits outside the panel at left:100%). Group lists fit. */
