/* ============================================================
   APTR GLOBAL — About v2 & Careers v2 components
   Loads AFTER styles.css + homepage-v2.css. Brand-locked:
   navy #00276A · blue #305FB0 · amber #FFA600 · white dominant
   ============================================================ */

/* ---------- light page hero (subpage, white) ---------- */
.subhero { position: relative; background: var(--white); overflow: hidden; padding: clamp(30px,4vw,52px) 0 clamp(56px,6vw,92px); }
.subhero .hero-glow { position: absolute; top: -200px; right: -160px; width: 560px; height: 560px; border-radius: 50%; background: var(--blue); opacity: .06; pointer-events: none; }
.subhero .hero-glow.amber { top: auto; bottom: -220px; left: -180px; right: auto; background: var(--amber); opacity: .07; }
.subhero .container { position: relative; z-index: 2; }
.subhero .breadcrumb { color: var(--muted); margin-bottom: 22px; }
.subhero .breadcrumb a { color: var(--muted); }
.subhero .breadcrumb a:hover { color: var(--navy); }
.subhero .breadcrumb .sep { color: var(--muted-2); }
.subhero .breadcrumb .here { color: var(--blue); }
.subhero-top { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(24px,4vw,64px); align-items: end; }
.subhero h1 { color: var(--navy); font-size: clamp(36px,5vw,66px); line-height: 1.05; letter-spacing: -0.03em; max-width: 16ch; }
.subhero h1 .accent { color: var(--blue); }
.subhero h1 .amberword { color: var(--amber-600); }
.subhero .sh-side { padding-bottom: 8px; }
.subhero .sh-lede { font-size: clamp(15.5px,1.4vw,18px); color: var(--ink-soft); }
.subhero .sh-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* wide hero image + grayscale option */
.subhero-stage { margin-top: clamp(30px,4vw,46px); position: relative; }
.subhero-stage image-slot { width: 100%; height: clamp(280px,34vw,430px); display: block; box-shadow: var(--shadow-md); border-radius: 20px; }
.subhero-tags { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: max-content; max-width: 92%; z-index: 3; }
.subhero-tag { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); border-radius: 100px; padding: 11px 20px; font-family: var(--ff-display); font-weight: 600; font-size: 14.5px; color: var(--navy); display: inline-flex; align-items: center; gap: 9px; }
.subhero-tag .st-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.subhero-tag:nth-child(2n) .st-dot { background: var(--blue); }

/* ---------- two-column intro (heading left, paragraphs right) ---------- */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,80px); align-items: start; }
.intro-split .is-head h2 { font-size: clamp(28px,3.6vw,46px); margin-top: 16px; }
.intro-split .is-head h2 .accent { color: var(--blue); }
.intro-body { display: grid; gap: 18px; padding-top: 8px; }
.intro-body p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.intro-body p.lead-line { color: var(--ink); font-size: clamp(18px,1.7vw,21px); font-weight: 500; line-height: 1.5; }

/* ---------- principles : 3 tall feature cards ---------- */
.principles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: clamp(36px,4vw,52px); }
.pcard { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 32px 30px; min-height: 470px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard .pc-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.pcard .pc-kicker { font-family: var(--ff-text); font-weight: 700; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.pcard .pc-star { width: 30px; height: 30px; }
.pcard .pc-star svg { width: 100%; height: 100%; }
.pcard h3 { font-size: clamp(22px,2vw,27px); line-height: 1.16; margin-top: 22px; position: relative; z-index: 2; max-width: 15ch; }
.pcard .pc-body { margin-top: auto; padding-top: 28px; font-size: 15px; line-height: 1.62; position: relative; z-index: 2; }
.pcard .pc-num { position: absolute; right: -10px; bottom: -22px; font-family: var(--ff-display); font-weight: 700; font-size: 150px; line-height: 1; opacity: .08; z-index: 1; letter-spacing: -0.04em; }
.pcard.navy { background: linear-gradient(165deg, var(--navy) 0%, #001b4a 100%); color: #fff; }
.pcard.navy h3 { color: #fff; }
.pcard.navy .pc-kicker { color: var(--amber); }
.pcard.navy .pc-star { color: var(--amber); }
.pcard.navy .pc-body { color: rgba(255,255,255,0.72); }
.pcard.navy .pc-num { color: #fff; }
.pcard.amber { background: linear-gradient(160deg, var(--amber) 0%, var(--amber-600) 100%); color: var(--navy); }
.pcard.amber .pc-kicker { color: var(--navy); opacity: .68; }
.pcard.amber .pc-star { color: var(--navy); }
.pcard.amber .pc-body { color: rgba(0,39,106,0.82); }
.pcard.amber .pc-num { color: var(--navy); }
.pcard.media { padding: 0; }
.pcard.media image-slot { width: 100%; height: 100%; min-height: 470px; display: block; }

/* ---------- history : interactive timeline ---------- */
.history { position: relative; background: var(--paper); overflow: hidden; padding: clamp(56px,7vw,104px) 0; }
.history .hist-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px,4vw,52px); }
.history .hist-head h2 { font-size: clamp(28px,3.8vw,46px); margin-top: 16px; }
.history .hist-head h2 .accent { color: var(--amber-600); }
.history-stage { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: clamp(440px,52vw,560px); box-shadow: var(--shadow-md); }
.history-stage .hs-img { position: absolute; inset: 0; }
.history-stage .hs-img image-slot { width: 100%; height: 100%; display: block; filter: grayscale(1) contrast(1.02); }
.history-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(0,18,48,0.78) 0%, rgba(0,18,48,0.30) 46%, rgba(0,18,48,0.05) 70%); z-index: 1; }
.hist-card { position: absolute; left: clamp(18px,3vw,40px); bottom: clamp(18px,3vw,40px); z-index: 3; width: min(420px, calc(100% - 36px)); background: rgba(255,255,255,0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius-xl); padding: clamp(24px,3vw,34px); box-shadow: var(--shadow-lg); }
.hist-card .hc-yr { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-display); font-weight: 700; font-size: 13px; color: var(--blue); background: var(--blue-tint); padding: 5px 13px; border-radius: 100px; letter-spacing: 0.02em; }
.hist-card .hc-mark { position: absolute; top: clamp(24px,3vw,34px); right: clamp(24px,3vw,34px); width: 40px; height: 40px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; }
.hist-card .hc-mark svg { width: 20px; height: 20px; color: var(--navy); }
.hist-card h3 { font-size: clamp(22px,2.4vw,30px); color: var(--navy); margin-top: 16px; }
.hist-card p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.62; margin-top: 12px; }
.hist-card.swap { opacity: 0; transform: translateY(10px); }
.hist-card { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hist-years { position: absolute; right: clamp(18px,3vw,40px); bottom: clamp(18px,3vw,40px); z-index: 3; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }
.hist-yr { font-family: var(--ff-display); font-weight: 700; font-size: 15px; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); padding: 9px 16px; border-radius: 100px; cursor: pointer; transition: all .3s var(--ease); backdrop-filter: blur(6px); }
.hist-yr:hover { background: rgba(255,255,255,0.24); color: #fff; }
.hist-yr.active { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.hist-progress { position: absolute; left: 0; top: 0; height: 4px; background: var(--amber); width: 0; z-index: 4; transition: width .1s linear; }

/* ---------- people : leadership + advisors ---------- */
.people-group + .people-group { margin-top: clamp(34px,4vw,52px); }
.people-label { font-family: var(--ff-text); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.people-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.person .pp-photo { position: relative; }
.person .pp-photo image-slot { width: 100%; height: 200px; border-radius: 14px; display: block; background: var(--paper-2); }
.person .pp-ring { position: absolute; inset: 0; border-radius: 14px; pointer-events: none; box-shadow: inset 0 0 0 0 var(--amber); transition: box-shadow .35s var(--ease); }
.person:hover .pp-ring { box-shadow: inset 0 0 0 3px var(--amber); }
.person .pp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.person .pp-name { font-family: var(--ff-display); font-weight: 700; font-size: 17px; color: var(--navy); }
.person .pp-role { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-top: 3px; }
.person .pp-arr { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: all .3s var(--ease); }
.person .pp-arr svg { width: 16px; height: 16px; }
.person:hover .pp-arr { background: var(--navy); border-color: var(--navy); color: var(--amber); transform: rotate(-45deg); }

/* ---------- quote band : image w/ glass quote cards ---------- */
.quoteband { position: relative; overflow: hidden; min-height: clamp(480px,56vw,620px); display: flex; align-items: center; }
.quoteband .qb-img { position: absolute; inset: 0; }
.quoteband .qb-img image-slot { width: 100%; height: 100%; display: block; }
.quoteband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,18,48,0.62) 0%, rgba(0,18,48,0.18) 52%, rgba(0,18,48,0) 72%); z-index: 1; }
.quoteband .container { position: relative; z-index: 2; }
.qb-card { width: min(440px, 100%); background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius-xl); padding: clamp(26px,3vw,38px); box-shadow: var(--shadow-lg); position: relative; }
.qb-card .qb-mark { font-family: var(--ff-display); font-size: 60px; line-height: .7; color: var(--amber); height: 30px; display: block; }
.qb-card .qb-badge { position: absolute; top: clamp(26px,3vw,38px); right: clamp(26px,3vw,38px); width: 38px; height: 38px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; }
.qb-card .qb-badge svg { width: 18px; height: 18px; color: var(--navy); }
.qb-card p { font-size: clamp(16px,1.6vw,18.5px); color: var(--ink); line-height: 1.6; margin-top: 14px; }
.qb-card .qb-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.qb-card .qb-who { display: flex; align-items: center; gap: 12px; }
.qb-card .qb-ava { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 15px; flex: none; }
.qb-card .qb-name { font-family: var(--ff-display); font-weight: 700; font-size: 15px; color: var(--navy); }
.qb-card .qb-role { font-size: 12.5px; color: var(--muted); }

/* ---------- awards row : image + amber callout (careers) ---------- */
.awards-row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 18px; margin-top: clamp(36px,4vw,52px); }
.awards-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); min-height: 420px; }
.awards-media image-slot { width: 100%; height: 100%; min-height: 420px; display: block; }
.awards-media .gptw { position: absolute; right: 22px; bottom: 22px; z-index: 2; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.awards-media .gptw .gptw-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: var(--amber); display: grid; place-items: center; flex: none; }
.awards-media .gptw .gptw-ic svg { width: 22px; height: 22px; }
.awards-media .gptw .gptw-t { font-family: var(--ff-display); font-weight: 700; font-size: 13px; color: var(--navy); line-height: 1.2; }
.awards-media .gptw .gptw-s { font-size: 11px; color: var(--muted); }
.awards-call { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(160deg, var(--amber) 0%, var(--amber-600) 100%); color: var(--navy); padding: clamp(30px,3.4vw,46px); display: flex; flex-direction: column; }
.awards-call .ac-star { position: absolute; top: 30px; right: 30px; width: 34px; height: 34px; color: var(--navy); }
.awards-call .ac-star svg { width: 100%; height: 100%; }
.awards-call .pc-kicker { font-family: var(--ff-text); font-weight: 700; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); opacity: .68; }
.awards-call h3 { font-size: clamp(24px,2.6vw,33px); color: var(--navy); margin-top: 20px; line-height: 1.14; max-width: 16ch; }
.awards-call p { margin-top: auto; padding-top: 26px; color: rgba(0,39,106,0.82); font-size: 15.5px; line-height: 1.6; }
.awards-call .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- difference : 4 perk cards ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(36px,4vw,52px); }
.diffcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; min-height: 250px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); position: relative; overflow: hidden; }
.diffcard::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--amber); transition: width .4s var(--ease); }
.diffcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.diffcard:hover::after { width: 100%; }
.diffcard .dc-ic { width: 54px; height: 54px; border-radius: 15px; background: var(--blue-tint); display: grid; place-items: center; color: var(--blue); transition: .35s var(--ease); }
.diffcard:hover .dc-ic { background: var(--navy); color: var(--amber); transform: rotate(-6deg); }
.diffcard .dc-ic svg { width: 26px; height: 26px; }
.diffcard h3 { font-size: 19px; color: var(--navy); margin-top: auto; padding-top: 26px; }
.diffcard p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin-top: 10px; }

/* ---------- openings band : dark interactive list ---------- */
.openings-band { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--navy) 0%, #001b4a 100%); color: #fff; border-radius: var(--radius-xl); padding: clamp(40px,5vw,68px) clamp(28px,5vw,64px); }
.openings-band .ob-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.openings-band .ob-glow.g1 { top: -120px; left: -100px; width: 340px; height: 340px; background: var(--blue); opacity: .32; }
.openings-band .ob-glow.g2 { bottom: -160px; right: -110px; width: 420px; height: 420px; background: #0a3fa0; opacity: .36; }
.openings-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px,5vw,72px); position: relative; z-index: 2; align-items: start; }
.openings-intro h2 { color: #fff; font-size: clamp(28px,3.4vw,42px); margin-top: 16px; }
.openings-intro h2 .accent { color: var(--amber); }
.openings-intro p { color: rgba(255,255,255,0.74); font-size: 16px; margin-top: 18px; max-width: 40ch; }
.openings-intro .btn { margin-top: 28px; }
.openings-list { display: grid; }
.opening { border-top: 1px solid rgba(255,255,255,0.14); }
.opening:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.opening-head { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 24px 6px; color: #fff; transition: padding .3s var(--ease); }
.opening-head:hover { padding-left: 14px; }
.opening-title { font-family: var(--ff-display); font-weight: 600; font-size: clamp(17px,1.7vw,21px); color: rgba(255,255,255,0.86); transition: color .3s var(--ease); }
.opening.open .opening-title, .opening-head:hover .opening-title { color: var(--amber); }
.opening-arr { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.22); display: grid; place-items: center; color: #fff; transition: all .35s var(--ease); }
.opening-arr svg { width: 17px; height: 17px; }
.opening.open .opening-arr { background: var(--amber); border-color: var(--amber); color: var(--navy); transform: rotate(45deg); }
.opening-body { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.opening-body-inner { padding: 0 6px 26px; }
.opening-meta { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 16px; }
.opening-tag { font-size: 12px; font-weight: 700; color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); padding: 5px 13px; border-radius: 100px; }
.opening-tag.amber { color: var(--navy); background: var(--amber); border-color: var(--amber); }
.opening-body p { color: rgba(255,255,255,0.74); font-size: 15px; line-height: 1.65; max-width: 56ch; }
.opening-body .btn { margin-top: 20px; }

/* ---------- recognition strip (credentials, scroll) ---------- */
.recog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(34px,4vw,48px); }
.recog { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 24px 22px; display: flex; flex-direction: column; min-height: 168px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.recog:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.recog .rc-top { display: flex; align-items: center; justify-content: space-between; }
.recog .rc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--amber); display: grid; place-items: center; }
.recog .rc-ic svg { width: 22px; height: 22px; }
.recog .rc-yr { font-family: var(--ff-display); font-weight: 700; font-size: 12px; color: var(--muted-2); border: 1px solid var(--line); padding: 4px 11px; border-radius: 100px; }
.recog h4 { font-size: 16px; color: var(--navy); margin-top: auto; padding-top: 22px; line-height: 1.3; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .subhero-top { grid-template-columns: 1fr; align-items: start; }
  .subhero .sh-side { padding-bottom: 0; }
  .intro-split, .openings-grid, .awards-row { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .pcard { min-height: 0; }
  .pcard.media image-slot { min-height: 280px; }
  .people-grid, .diff-grid, .recog-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-media, .awards-media image-slot { min-height: 340px; }
}
@media (max-width: 620px) {
  .people-grid, .diff-grid, .recog-grid { grid-template-columns: 1fr; }
  .hist-years { max-width: 100%; }
  .hist-card { width: calc(100% - 36px); }
  .qb-card { width: 100%; }
}

/* ──────────────────── Apply modal ──────────────────── */
.apply-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 18, 48, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.apply-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 780px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 18, 48, 0.28);
}

.am-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0;
  flex-shrink: 0;
}

.am-head h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--navy);
  margin: 0;
}

.am-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin-top: 6px;
}

.am-close {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  line-height: 1;
  transition: all 0.25s var(--ease);
}

.am-close:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.am-body {
  overflow-y: auto;
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px);
  flex: 1;
}

.am-body .form-card {
  box-shadow: none;
  padding: 0;
  background: transparent;
  border: none;
}
