/* ============================================================================
   careers.css, Screens careers page
   Reuses tokens, nav, buttons, footer, and svc-* helpers from
   home.css / home-sections.css / subtitling.css conventions.
   Only careers-specific sections live here.
   ========================================================================= */

/* reveal-on-scroll (self-contained, same as service pages) --------------- */
.s-rv{opacity:0; transform:translateY(22px); transition:opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);}
.s-rv.in{opacity:1; transform:none;}
.s-rv.d1{transition-delay:.08s;} .s-rv.d2{transition-delay:.16s;} .s-rv.d3{transition-delay:.24s;} .s-rv.d4{transition-delay:.32s;}
@media (prefers-reduced-motion: reduce){ .s-rv{opacity:1; transform:none; transition:none;} }

.mono{font-family:'DM Sans', ui-monospace, monospace; font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;}
.svc-section{padding:110px 0;}
.svc-section .wrap{max-width:min(1360px,92vw);}
.svc-head{max-width:760px; margin:0 auto 64px; text-align:center;}
.svc-head .mono{color:var(--blue); display:block; margin-bottom:16px;}
.svc-head h2{font-size:clamp(32px,3.6vw,52px); font-weight:800; line-height:1.06;}
.svc-head p{margin-top:20px; font-size:18px; line-height:1.6; color:var(--muted);}
.soft-bg{background:var(--soft);}

/* ── HERO (dark) ────────────────────────────────────────────────────────── */
.svc-hero{position:relative; overflow:hidden; color:#fff;
  margin-top:calc(-1 * var(--nav-h)); padding:calc(var(--nav-h) + 72px) 0 96px;
  background:radial-gradient(120% 120% at 82% 30%, #12244a 0%, #0A152D 46%, #060d1c 100%);}
.svc-hero::before{content:""; position:absolute; inset:0;
  background-image:radial-gradient(rgba(127,178,255,.10) 1px, transparent 1px);
  background-size:26px 26px; -webkit-mask-image:radial-gradient(70% 70% at 70% 30%, #000, transparent 78%);
  mask-image:radial-gradient(70% 70% at 70% 30%, #000, transparent 78%); opacity:.8; pointer-events:none;}
.svc-hero .wrap{position:relative; z-index:2;}

.crumb{display:flex; align-items:center; gap:9px; font-size:13px; color:rgba(224,231,242,.6); margin-bottom:26px;}
.crumb a{color:rgba(224,231,242,.72); text-decoration:none; transition:color .18s;}
.crumb a:hover{color:#fff;}
.crumb .sep{opacity:.4;}
.crumb .cur{color:#fff;}

.svc-eyebrow{display:inline-flex; align-items:center; gap:9px; color:var(--blue-light); margin-bottom:22px;}
.svc-eyebrow .dot{width:7px; height:7px; border-radius:50%; background:var(--blue-light); box-shadow:0 0 0 4px rgba(91,163,255,.18);}
.careers-hero-copy{max-width:820px;}
.svc-hero h1{font-size:clamp(48px,6vw,84px); font-weight:800; letter-spacing:-.03em; line-height:1; color:#F4F7FC;}
.svc-hero .tag{margin-top:16px; font-size:clamp(19px,1.7vw,24px); font-weight:600; color:var(--blue-light); letter-spacing:-.01em;}
.svc-hero .lead{margin-top:24px; max-width:64ch; font-size:17px; line-height:1.68; color:rgba(224,231,242,.76);}
.svc-hero-cta{display:flex; flex-wrap:wrap; gap:14px; margin-top:36px;}
.btn-lg{display:inline-flex; align-items:center; gap:10px; font-family:'Inter',sans-serif; font-size:16px; font-weight:600;
  border-radius:999px; padding:16px 30px; text-decoration:none; cursor:pointer; transition:transform .18s ease, box-shadow .25s ease, background .2s, border-color .2s;}
.btn-lg svg{width:17px; height:17px; transition:transform .2s ease;}
.btn-lg:hover svg{transform:translateX(3px);}
.btn-fill{background:var(--blue); color:#fff;}
.btn-fill:hover{transform:translateY(-2px); box-shadow:0 16px 38px rgba(47,107,255,.4);}
.btn-line{background:rgba(255,255,255,.06); color:#fff; border:1.5px solid rgba(255,255,255,.24);}
.btn-line:hover{border-color:rgba(255,255,255,.55); background:rgba(255,255,255,.12);}

/* hero two-column grid (copy + globe) */
.careers-hero-grid{display:grid; grid-template-columns:1.02fr .98fr; gap:52px; align-items:center;}
.careers-hero-grid .careers-hero-copy{max-width:none;}

/* ── 3D GLOBE (hero) ────────────────────────────────────────────────────── */
.cglobe-wrap{position:relative; z-index:2;}
.cglobe{position:relative; width:100%; aspect-ratio:1/1; max-width:540px; margin:0 auto;
  display:flex; align-items:center; justify-content:center;}
#cglobeCanvas{display:block; cursor:grab; touch-action:pan-y;}
#cglobeCanvas:active{cursor:grabbing;}
.cglobe-hint{position:absolute; top:6px; inset-inline-start:6px; z-index:3; display:flex; align-items:center; gap:7px;
  font-family:'DM Sans',ui-monospace,monospace; font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;
  color:rgba(224,231,242,.5); pointer-events:none;}
.cglobe-hint span{color:var(--blue-light);}
.cglobe-coords{position:absolute; bottom:6px; inset-inline-start:6px; z-index:3;
  font-family:'DM Sans',ui-monospace,monospace; font-size:11px; letter-spacing:.04em; color:rgba(224,231,242,.45); pointer-events:none;}

/* location card popped from a pin */
.cglobe-card{position:absolute; right:-6px; bottom:0; z-index:6; width:258px;
  background:rgba(9,17,37,.86); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.15); border-radius:16px; padding:22px 22px 20px;
  box-shadow:0 26px 60px -22px rgba(0,0,0,.8);
  opacity:0; transform:translateY(10px) scale(.98); pointer-events:none;
  transition:opacity .28s ease, transform .28s cubic-bezier(.22,.61,.36,1);}
.cglobe-card.show{opacity:1; transform:none; pointer-events:auto;}
.cg-close{position:absolute; top:12px; inset-inline-end:12px; width:26px; height:26px; border-radius:50%; border:none; cursor:pointer;
  background:rgba(255,255,255,.08); color:rgba(224,231,242,.7); font-size:13px; line-height:1; display:flex; align-items:center; justify-content:center; transition:background .2s, color .2s;}
.cg-close:hover{background:rgba(255,255,255,.16); color:#fff;}
.cg-top{display:flex; align-items:center; gap:12px;}
.cg-flag{font-size:26px; line-height:1;}
.cg-head h3{font-size:20px; font-weight:800; letter-spacing:-.01em; color:#fff; line-height:1.1;}
.cg-head .cg-country{margin-top:3px; font-size:12.5px; color:rgba(224,231,242,.6);}
.cg-status{display:inline-flex; align-items:center; gap:8px; margin-top:16px; font-size:12px; font-weight:600;
  font-family:'DM Sans',ui-monospace,monospace; letter-spacing:.04em; text-transform:uppercase; color:rgba(224,231,242,.72);}
.cg-dot{width:7px; height:7px; border-radius:50%; background:#5B87FF; box-shadow:0 0 0 4px rgba(91,131,255,.2);}
.cglobe-card.is-hiring .cg-dot{background:#34D399; box-shadow:0 0 0 4px rgba(52,211,153,.22);}
.cg-desc{margin-top:12px; font-size:13.5px; line-height:1.55; color:rgba(224,231,242,.72);}
.cg-apply{display:inline-flex; align-items:center; gap:8px; margin-top:18px; width:100%; justify-content:center;
  font-family:'Inter',sans-serif; font-size:14.5px; font-weight:600; border-radius:999px; padding:12px 20px;
  background:var(--blue); color:#fff; text-decoration:none; transition:transform .18s ease, box-shadow .25s ease;}
.cg-apply::after{content:"→"; font-size:15px; transition:transform .2s ease;}
.cg-apply:hover{transform:translateY(-2px); box-shadow:0 14px 32px rgba(47,107,255,.42);}
.cg-apply:hover::after{transform:translateX(3px);}

/* clickable city rail under the hero */
.cloc-rail{position:relative; z-index:2; margin-top:56px; padding-top:28px; border-top:1px solid rgba(255,255,255,.1);}
.cloc-rail-t{font-size:13px; font-weight:600; color:rgba(224,231,242,.6); margin-bottom:18px;}
.cloc-rail-t .mono{color:var(--blue-light); margin-inline-end:8px;}
.cloc-chips{display:flex; flex-wrap:wrap; gap:10px;}
.cloc-chip{display:inline-flex; align-items:center; gap:9px; cursor:pointer;
  font-family:'Inter',sans-serif; font-size:14px; font-weight:600; color:rgba(224,231,242,.82);
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:999px; padding:9px 16px;
  transition:background .2s, border-color .2s, color .2s, transform .18s ease;}
.cloc-chip:hover{background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.28); color:#fff; transform:translateY(-2px);}
.cloc-chip.active{background:var(--blue); border-color:var(--blue); color:#fff;}
.cloc-chip .flag{font-size:16px; line-height:1;}
.cloc-chip .hiring{width:7px; height:7px; border-radius:50%; background:#34D399; box-shadow:0 0 0 3px rgba(52,211,153,.2);}

/* ── WHY JOIN (pillars) ─────────────────────────────────────────────────── */
.why{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.why-card{background:#fff; border:1px solid var(--line); border-radius:18px; padding:34px 32px; transition:transform .25s ease, box-shadow .25s ease, border-color .25s;}
.why-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:#CFE0FF;}
.why-card .ico{width:46px; height:46px; border-radius:12px; background:var(--soft-2); color:var(--blue); display:flex; align-items:center; justify-content:center; margin-bottom:20px;}
.why-card .ico svg{width:23px; height:23px;}
.why-card h3{font-size:19px; font-weight:800; letter-spacing:-.01em; color:var(--ink); line-height:1.25;}
.why-card p{margin-top:12px; font-size:15px; line-height:1.62; color:var(--muted);}

/* ── OPEN POSITIONS ─────────────────────────────────────────────────────── */
.jobs{max-width:min(1040px,92vw); margin:0 auto; display:flex; flex-direction:column; gap:22px;}
.job{background:#fff; border:1px solid var(--line); border-radius:20px; overflow:hidden;
  transition:box-shadow .28s ease, border-color .25s;}
.job:hover{box-shadow:0 24px 54px -30px rgba(10,21,45,.4); border-color:#CFE0FF;}
.job-head{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:22px; padding:30px 34px; cursor:pointer;}
.job-idx{font-family:'DM Sans',ui-monospace,monospace; font-size:13px; font-weight:700; color:var(--blue); letter-spacing:.08em;}
.job-titles{min-width:0;}
.job-titles h3{font-size:clamp(21px,2.1vw,27px); font-weight:800; letter-spacing:-.01em; color:var(--ink); line-height:1.14;}
.job-tags{margin-top:12px; display:flex; flex-wrap:wrap; gap:8px;}
.job-tag{display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; color:var(--muted);
  background:var(--soft-2); border:1px solid var(--line); border-radius:999px; padding:6px 13px;}
.job-tag svg{width:13px; height:13px; color:var(--blue);}
.job-toggle{width:44px; height:44px; flex:none; border-radius:50%; border:1.5px solid var(--line-2); background:#fff; color:var(--ink);
  display:flex; align-items:center; justify-content:center; cursor:pointer; transition:transform .3s ease, background .2s, border-color .2s;}
.job-toggle svg{width:20px; height:20px; transition:transform .3s ease;}
.job:hover .job-toggle{border-color:var(--blue); color:var(--blue);}
.job.open .job-toggle{background:var(--blue); border-color:var(--blue); color:#fff;}
.job.open .job-toggle svg{transform:rotate(45deg);}

.job-body{display:grid; grid-template-rows:0fr; transition:grid-template-rows .4s cubic-bezier(.22,.61,.36,1);}
.job.open .job-body{grid-template-rows:1fr;}
.job-body-inner{overflow:hidden;}
.job-body-pad{padding:0 34px 34px; border-top:1px solid var(--line); margin-top:0; padding-top:30px;}
.job-desc{font-size:16px; line-height:1.7; color:var(--muted); max-width:70ch;}
.job-desc + .job-desc{margin-top:14px;}
.req-label{margin-top:28px; margin-bottom:16px; font-family:'DM Sans',ui-monospace,monospace; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--blue);}
.req-list{display:grid; grid-template-columns:1fr 1fr; gap:12px 30px; list-style:none; padding:0; margin:0;}
.req-list li{display:flex; align-items:flex-start; gap:11px; font-size:15px; line-height:1.5; color:var(--ink);}
.req-list li .ck{flex:none; width:20px; height:20px; margin-top:1px; border-radius:6px; background:var(--soft-2); color:var(--blue); display:flex; align-items:center; justify-content:center;}
.req-list li .ck svg{width:12px; height:12px;}
.job-apply{margin-top:30px;}
.jobs-empty{background:#fff; border:1px solid var(--line); border-radius:20px; padding:60px 40px; text-align:center; display:flex; flex-direction:column; align-items:center;}
.jobs-empty .je-ico{width:60px; height:60px; border-radius:16px; background:var(--soft-2); color:var(--blue); display:flex; align-items:center; justify-content:center; margin-bottom:24px;}
.jobs-empty .je-ico svg{width:28px; height:28px;}
.jobs-empty h3{font-size:clamp(22px,2.2vw,28px); font-weight:800; letter-spacing:-.01em; color:var(--ink); line-height:1.15;}
.jobs-empty p{margin-top:14px; max-width:56ch; font-size:16px; line-height:1.65; color:var(--muted);}
.jobs-empty .je-cta{margin-top:28px;}

/* ── responsive ─────────────────────────────────────────────────────────── */
@media (max-width:1080px){
  .why{grid-template-columns:1fr 1fr;}
  .careers-hero-grid{grid-template-columns:1fr; gap:44px;}
  .cglobe{max-width:460px;}
  .cglobe-card{inset-inline-end:0;}
}
@media (max-width:820px){
  .svc-section{padding:78px 0;}
  .why{grid-template-columns:1fr;}
  .req-list{grid-template-columns:1fr;}
}
@media (max-width:560px){
  .svc-hero{padding:calc(var(--nav-h) + 44px) 0 68px;}
  .cglobe{max-width:340px;}
  .cglobe-card{position:static; width:100%; margin-top:18px; opacity:1; transform:none;}
  .cglobe-card:not(.show){display:none;}
  .job-head{grid-template-columns:1fr auto; gap:14px 16px; padding:24px 22px;}
  .job-idx{grid-column:1 / -1;}
  .job-body-pad{padding-inline-start:22px; padding-inline-end:22px;}
}
