/* Luxe Consulting careers: the open roles on the homepage and the
   application flow.
   Loaded after styles.css and uses its tokens, so every surface, colour,
   radius and type style matches the main site exactly. */

/* ---------- shared: role icon tile (same construction as the client tape) ---------- */

.role-ic{
  position:relative;flex:none;width:52px;height:52px;border-radius:15px;
  display:grid;place-items:center;color:var(--gold-hi);
  background:
    radial-gradient(120% 120% at 30% 20%,rgba(251,191,36,.22),rgba(212,150,10,.04) 60%),
    linear-gradient(160deg,#1D1A12,#0F0D09);
  border:1px solid rgba(212,150,10,.38);
  box-shadow:inset 0 1px 0 rgba(255,231,160,.14),0 0 18px rgba(212,150,10,.10);
}
.role-ic svg{
  width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px rgba(251,191,36,.35));
}

.fact-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.fact-pill{
  display:inline-flex;align-items:center;gap:10px;
  padding:7px 16px 7px 7px;border-radius:var(--r-pill);
  border:1px solid var(--line);background:var(--fill);
  font-size:14px;color:var(--cream-2);
}
.fact-pill i{
  width:28px;height:28px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:rgba(212,150,10,.12);border:1px solid rgba(212,150,10,.3);color:var(--gold-hi);
}
.fact-pill svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- /careers: open roles, no hero ---------- */

.careers-page{padding-top:clamp(40px,7vw,90px)}
.careers-page h1{font-size:clamp(38px,6.4vw,72px);letter-spacing:-.035em;line-height:1.02;margin:0}
.nav-links a[aria-current="page"]{color:var(--cream);background:var(--fill-2)}
.careers-foot{
  border-top:1px solid var(--line);padding:30px 0;background:var(--ink);
  font-family:var(--f-mono);font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2);
}
.careers-foot .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}

.roles{display:flex;flex-direction:column;gap:12px;margin-top:38px}
.role-card{
  position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;
  padding:24px 24px 24px 22px;border-radius:var(--r-md);text-decoration:none;color:inherit;
  border:1px solid var(--line);
  background:linear-gradient(150deg,rgba(243,240,233,.045),rgba(243,240,233,.01) 46%),var(--card);
  transition:transform .28s cubic-bezier(.2,.7,.3,1),border-color .28s,box-shadow .28s;
}
.role-card::before{
  content:"";position:absolute;left:24px;right:24px;top:-1px;height:1px;
  background:linear-gradient(90deg,transparent,var(--gold-soft),transparent);
}
.role-card:hover{transform:translateY(-3px);border-color:rgba(212,150,10,.42);box-shadow:0 14px 36px rgba(0,0,0,.5)}
.role-card:hover .disc{transform:translate(2px,-2px)}
.role-name{font-size:clamp(19px,2vw,23px);letter-spacing:-.02em;line-height:1.2}
.role-sum{font-size:15px;color:var(--muted);line-height:1.6;margin-top:6px;max-width:62ch}
.role-meta{margin-top:10px;font-family:var(--f-mono);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.role-card .btn{pointer-events:none;white-space:nowrap}

/* ---------- /careers/apply: the screening flow ---------- */

.apply-page{min-height:100vh;display:flex;flex-direction:column}
.apply-wrap{width:100%;max-width:760px;margin:0 auto;padding-inline:var(--pad)}

.apply-head{
  position:sticky;top:0;z-index:60;
  background:rgba(8,9,12,.86);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.apply-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0 15px}
.step-label{font-family:var(--f-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.progress{height:2px;background:var(--line);margin-bottom:-1px}
.progress i{
  display:block;height:100%;width:4%;
  background:linear-gradient(90deg,var(--gold-2),var(--gold) 60%,var(--gold-hi));
  box-shadow:0 0 12px rgba(251,191,36,.55);
  transition:width .55s cubic-bezier(.2,.7,.3,1);
}

.apply-body{position:relative;flex:1;isolation:isolate}
.apply-body::before{
  content:"";position:absolute;inset:0 0 auto;height:520px;z-index:-1;pointer-events:none;
  background:
    radial-gradient(55% 60% at 50% 0%,rgba(212,150,10,.11),transparent 70%),
    linear-gradient(to right,rgba(243,240,232,.05) 1px,transparent 1px) 0 0/64px 64px,
    linear-gradient(rgba(243,240,232,.05) 1px,transparent 1px) 0 0/64px 64px;
  -webkit-mask-image:linear-gradient(180deg,#000 30%,transparent);
  mask-image:linear-gradient(180deg,#000 30%,transparent);
}
.apply-main{padding:clamp(44px,7vw,72px) 0 clamp(80px,10vw,120px)}
.apply-main h1{font-size:clamp(34px,5.4vw,52px);letter-spacing:-.035em;line-height:1.05;margin-top:14px}
.apply-main .lede{margin-top:14px}

.q-list{display:flex;flex-direction:column;gap:42px;margin-top:46px}
.q-label{display:block;font-size:16.5px;font-weight:500;color:var(--cream);line-height:1.5}
.q-optional{margin-left:8px;font-size:12.5px;font-weight:400;color:var(--muted-2)}
.q-help{margin-top:6px;font-size:14px;color:var(--muted);line-height:1.55}

.opts{display:flex;flex-direction:column;gap:9px;margin-top:16px}
.opt{
  display:flex;align-items:center;gap:14px;width:100%;text-align:left;
  padding:14px 16px;border-radius:var(--r-sm);
  border:1px solid var(--line);background:var(--card);
  font-family:var(--f-body);font-size:15px;line-height:1.45;color:var(--cream-2);
  cursor:pointer;transition:border-color .18s,background .18s,color .18s;
}
.opt:hover{border-color:rgba(212,150,10,.4)}
.opt.on{border-color:rgba(212,150,10,.65);background:rgba(212,150,10,.08);color:var(--cream)}
.opt .dot{
  width:17px;height:17px;flex:none;border-radius:50%;display:grid;place-items:center;
  border:1.5px solid rgba(243,240,233,.32);transition:border-color .18s;
}
.opt.on .dot{border-color:var(--gold-hi)}
.opt.on .dot::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold-hi);box-shadow:0 0 8px rgba(251,191,36,.7)}
.opt .box{
  width:17px;height:17px;flex:none;border-radius:5px;display:grid;place-items:center;
  border:1.5px solid rgba(243,240,233,.32);color:#1A1204;transition:background .18s,border-color .18s;
}
.opt .box svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.opt.on .box{background:var(--gold-hi);border-color:var(--gold-hi)}
.opt.on .box svg{opacity:1}
.opt input{position:absolute;opacity:0;pointer-events:none}
.opt:focus-within{outline:2px solid var(--gold);outline-offset:2px}

.field-input{
  display:block;width:100%;margin-top:14px;padding:13px 15px;border-radius:var(--r-sm);
  border:1px solid var(--line);background:var(--card);color:var(--cream);
  font-family:var(--f-body);font-size:15.5px;line-height:1.5;
  transition:border-color .18s,box-shadow .18s;
}
.field-input::placeholder{color:var(--muted-2)}
.field-input:focus{outline:none;border-color:rgba(212,150,10,.7);box-shadow:0 0 0 3px rgba(212,150,10,.15)}
textarea.field-input{min-height:136px;resize:vertical}

[data-error="true"] .field-input,[data-error="true"] .opt,[data-error="true"] .cv-drop{border-color:rgba(255,122,107,.55)}
.q-error{margin-top:10px;font-size:14px;color:var(--bad)}

.cv-drop{
  display:flex;align-items:center;gap:15px;margin-top:14px;padding:18px 20px;cursor:pointer;
  border-radius:var(--r-md);border:1.5px dashed rgba(212,150,10,.45);background:rgba(212,150,10,.04);
  transition:border-color .2s,background .2s;
}
.cv-drop:hover,.cv-drop:focus-within{border-color:var(--gold-hi);background:rgba(212,150,10,.08)}
.cv-drop .role-ic{width:42px;height:42px;border-radius:12px}
.cv-drop .role-ic svg{width:19px;height:19px}
.cv-drop b{display:block;font-size:15px;font-weight:500;color:var(--cream)}
.cv-drop small{display:block;margin-top:2px;font-size:13px;color:var(--muted)}
.cv-drop input{position:absolute;width:1px;height:1px;opacity:0}

.apply-actions{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin-top:56px;padding-top:28px;border-top:1px solid var(--line);
}
.btn[disabled]{opacity:.45;cursor:not-allowed;transform:none}
.btn-back svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.spin{
  width:18px;height:18px;border-radius:50%;flex:none;
  border:2px solid rgba(12,12,12,.2);border-top-color:#0C0C0C;animation:spin .8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

.form-error{
  margin-top:20px;padding:13px 16px;border-radius:var(--r-sm);
  border:1px solid rgba(255,122,107,.4);background:rgba(255,122,107,.08);
  font-size:14.5px;color:#FFB4AA;
}
.cancel-link{
  margin-top:34px;padding:0;border:0;background:none;cursor:pointer;
  font-family:var(--f-body);font-size:13px;color:var(--muted-2);text-decoration:underline;text-underline-offset:3px;
}
.cancel-link:hover{color:var(--cream-2)}

.result{padding:clamp(60px,10vw,110px) 0}
.result .role-ic{width:68px;height:68px;border-radius:20px}
.result .role-ic svg{width:32px;height:32px}
.result h1{margin-top:28px}
.result .note{margin-top:14px;max-width:52ch}
.result .btn{margin-top:34px}

/* ---------- responsive ---------- */

@media (max-width:760px){
  .role-card{grid-template-columns:auto 1fr;gap:16px 18px;padding:20px}
  .role-card .btn{grid-column:1 / -1;justify-self:start}
  .role-card .role-ic{align-self:start}
}
@media (max-width:480px){
  .apply-actions .btn-lg{padding-inline:18px}
}

/* spam trap, kept out of sight and out of the tab order */
.trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
