/* What we do (Manny, 2026-11-15; approved "no edits", locked - no re-tuning without asking): one company page, drawn
   with IGM's own shapes, beside the five jobs IGM does on it.
   The page is sized in container units, so it scales as one picture. Navy glass cards: the approved Charcoal Shuttle
   layers (sheen, shade, rim) over a navy tint, so they read as glass on the pale ground. Motion in wd.js: nothing
   holds the page; as the section passes through the screen, the light glides from part to part and each card rises
   into place as the last one lifts away. The section takes its natural height. */
.wd { position: relative; background: var(--surface); }
.wd-in {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  padding: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 48px);
}

/* ---- the company page ---- */
.pg {
  container-type: inline-size; position: relative; display: flex; flex-direction: column; aspect-ratio: 4 / 3.25;
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(13,43,69,.45); font-family: var(--font-body); color: var(--text);
}
.pg-cover { height: 15cqw; flex: none; background: linear-gradient(120deg, var(--navy), var(--igm-blue) 60%, var(--sky)); }
.pg-id { display: flex; align-items: flex-start; gap: 2cqw; margin-top: -5cqw; padding: 0 3cqw; }
.pg-name { margin-top: 5.8cqw; }
.pg-logo { width: 10cqw; height: 10cqw; flex: none; border: .6cqw solid #fff; border-radius: 1.6cqw; background: linear-gradient(135deg, var(--deep-blue), var(--igm-blue)); }
.pg-logo--sm { width: 4.4cqw; height: 4.4cqw; border: 0; border-radius: .8cqw; }
.pg-name b { display: block; font: 700 2.6cqw/1.2 var(--font-head); }
.pg-name small { display: block; font-size: 1.6cqw; color: var(--muted); }
.pg-sk { display: block; height: 1.1cqw; margin-top: .8cqw; border-radius: .6cqw; background: #E3EBF1; }
.pg-acts { position: relative; display: inline-flex; align-self: flex-start; gap: 1.2cqw; margin: 1.4cqw 0 0 2cqw; padding: 1cqw; border-radius: 1.4cqw; }
.pg-btn { font: 700 1.5cqw/1 var(--font-head); padding: 1cqw 1.8cqw; border-radius: 99px; white-space: nowrap; }
.pg-btn--fill { background: var(--igm-blue); color: #fff; }
.pg-btn--line { box-shadow: inset 0 0 0 .25cqw var(--igm-blue); color: var(--igm-blue); }
.pg-tabs { display: flex; gap: 3cqw; padding: 1cqw 3cqw 0; border-bottom: 1px solid #E3EBF1; font-size: 1.5cqw; color: var(--muted); }
.pg-tabs > * { padding-bottom: 1cqw; }
.pg-tabs b { color: var(--text); box-shadow: inset 0 -.4cqw 0 var(--igm-blue); }
.pg-body { flex: 1; display: grid; grid-template-columns: 1.7fr 1fr; gap: 2cqw; padding: 2cqw 3cqw 3cqw; background: var(--surface); }
.pg-panel { position: relative; margin-bottom: 1.6cqw; padding: 1.6cqw; background: #fff; border: 1px solid #E3EBF1; border-radius: 1.2cqw; }
.pg-panel:last-child { margin-bottom: 0; }
.pg-h { margin: 0 0 1cqw; font: 700 1.6cqw/1.2 var(--font-head); }
.pg-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; }
.ft { position: relative; aspect-ratio: 4 / 3; border-radius: .8cqw; overflow: hidden; }
.ft em { position: absolute; left: 1cqw; bottom: .8cqw; font: 600 1.2cqw/1 var(--font-body); font-style: normal; color: #fff; }
.ft-guide { background: linear-gradient(160deg, var(--navy), var(--deep-blue)); }
.ft-guide::before { content: ""; position: absolute; left: 1cqw; right: 2cqw; top: 1.2cqw; height: 1cqw; border-radius: .5cqw; background: var(--sky); box-shadow: 0 1.8cqw 0 rgba(255,255,255,.35), -0 3.6cqw 0 rgba(255,255,255,.2); }
.ft-car { background: var(--igm-blue); }
.ft-car::before { content: ""; position: absolute; inset: 1.2cqw 2.4cqw 3.4cqw 1.2cqw; border-radius: .6cqw; background: rgba(255,255,255,.9); box-shadow: .8cqw .8cqw 0 rgba(255,255,255,.45), 1.6cqw 1.6cqw 0 rgba(255,255,255,.25); }
.ft-vid { background: linear-gradient(160deg, var(--sky), var(--igm-blue)); }
.ft-vid i { position: absolute; left: 50%; top: 42%; width: 4.6cqw; height: 4.6cqw; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255,255,255,.92); }
.ft-vid i::after { content: ""; position: absolute; left: 1.9cqw; top: 1.4cqw; border-left: 1.4cqw solid var(--igm-blue); border-top: .9cqw solid transparent; border-bottom: .9cqw solid transparent; }
.pg-post-h { display: flex; align-items: center; gap: 1cqw; margin-bottom: .6cqw; }
.pg-post-h b { display: block; font: 700 1.4cqw/1.2 var(--font-head); }
.pg-post-img { display: flex; align-items: flex-end; gap: 1cqw; height: 7cqw; margin-top: 1.2cqw; padding: 1.2cqw 2cqw 0; border-radius: .8cqw; background: linear-gradient(160deg, #EDF6FB, #CFE7F5); }
.pg-post-img i { flex: 1; border-radius: .4cqw .4cqw 0 0; background: var(--sky); }
.pg-post-img i:nth-child(1) { height: 34%; } .pg-post-img i:nth-child(2) { height: 52%; }
.pg-post-img i:nth-child(3) { height: 46%; } .pg-post-img i:nth-child(4) { height: 80%; background: var(--igm-blue); }
.pg-react { display: flex; justify-content: space-between; margin-top: 1cqw; padding-top: .8cqw; border-top: 1px solid #E3EBF1; font: 600 1.2cqw/1 var(--font-body); color: var(--muted); }
.pg-msg { display: grid; grid-template-columns: 3.6cqw 1fr auto; align-items: center; gap: 1cqw; margin-top: 1.2cqw; }
.pg-msg .pg-sk { margin-top: .5cqw; }
.pg-av { display: grid; place-items: center; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: var(--igm-blue); color: #fff; font: 800 1.2cqw/1 var(--font-head); }
.pg-av--b { background: var(--deep-blue); }
.pg-msg em { padding: .3cqw .8cqw; border-radius: 99px; background: var(--pale-blue); color: var(--deep-blue); font: 700 1.1cqw/1.2 var(--font-head); font-style: normal; }
.pg-spark { display: flex; align-items: flex-end; gap: .6cqw; height: 6cqw; }
.pg-spark i { flex: 1; height: var(--h); border-radius: .3cqw .3cqw 0 0; background: var(--sky); }
.pg-spark i:last-child { background: var(--igm-blue); }
.pg-s { margin: 1.2cqw 0 .2cqw; font: 600 1.2cqw/1.2 var(--font-body); color: var(--muted); }
.pg-rank { display: grid; grid-template-columns: 3cqw 1fr; align-items: center; gap: .8cqw; margin-top: .7cqw; font: 700 1.1cqw/1 var(--font-head); color: var(--muted); }
.pg-rank i { height: 1cqw; border-radius: .5cqw; background: linear-gradient(#C3D5E1, #C3D5E1) 0 0 / var(--w) 100% no-repeat, #EEF3F6; }
.pg-rank.is-you { color: var(--deep-blue); }
.pg-rank.is-you i { background: linear-gradient(var(--igm-blue), var(--igm-blue)) 0 0 / var(--w) 100% no-repeat, #EEF3F6; }
/* the numbered marks that match the cards */
.pg-dot {
  position: absolute; z-index: 2; top: -1.4cqw; right: -1.4cqw; width: 3.6cqw; height: 3.6cqw; border-radius: 50%;
  background: var(--igm-blue); color: #fff; font: 800 1.7cqw/3.6cqw var(--font-head); text-align: center;
  box-shadow: 0 0 0 .5cqw rgba(0,126,187,.18);
}

/* ---- the words ---- */
.wd-k { margin: 0 0 14px; font: 600 14px/1 var(--font-body); color: var(--muted); }
.wd-h2 { margin: 0; font: 700 clamp(28px, 3.2vw, 46px)/1.06 var(--font-head); letter-spacing: -.018em; text-wrap: balance; }
.wd-li { color: var(--igm-blue); }
.wd-sub { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.wd-cards { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.wd-card {
  position: relative; padding: 20px 22px; border-radius: 14px; color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,0) 50%),   /* sheen */
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.22) 100%),            /* shade */
    linear-gradient(160deg, rgba(13,43,69,.94) 0%, rgba(0,90,140,.9) 100%);      /* navy tint */
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 24px 50px -28px rgba(13,43,69,.7);
}
.wd-card::before { /* the rim */
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.21) 25%, rgba(255,255,255,.07) 60%, rgba(255,255,255,.28) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.wd-kick { display: flex; align-items: center; gap: 9px; margin: 0; font: 700 13px/1.2 var(--font-head); color: var(--sky); }
.wd-kick span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sky); color: var(--navy); font: 800 12px/1 var(--font-head); }
.wd-card h3 { margin: 10px 0 6px; font: 700 22px/1.15 var(--font-head); color: #fff; }
.wd-card p:not(.wd-kick) { margin: 0; font-size: 15.5px; line-height: 1.5; color: rgba(255,255,255,.88); }
.wd-steps { display: none; }

/* Gliding (desktop, motion allowed): one card at a time, the steps under it. Each step's bar fills blue as the
   scroll carries the reader toward that part (--f, 0 to 1, set by wd.js). */
.wd-live .wd-cards { position: relative; display: block; }
.wd-live .wd-card { position: absolute; left: 0; right: 0; top: 0; }
.wd-live .wd-steps { display: flex; gap: 6px; margin-top: 16px; }
.wd-steps i {
  width: 30px; height: 4px; border-radius: 2px;
  background: linear-gradient(var(--igm-blue), var(--igm-blue)) 0 0 / calc(var(--f, 0) * 100%) 100% no-repeat, rgba(13,43,69,.14);
}

@media (max-width: 980px) {
  .wd-in { grid-template-columns: 1fr; }
}
