/* ============================================================
   Hellgroup Careers — shared styles for index.html and job.html
   Colors / fonts: edit the tokens below.
   ============================================================ */
:root{
  --black: #000000;
  --surface: #0a0a0a;
  --surface-2: #141414;
  --chip: #2b2b2b;
  --border: #262626;
  --border-strong: #333333;
  --red: #a00b2b;
  --red-hover: #c00d34;
  --red-text: #e0233f;
  --white: #ffffff;
  --text: #d9d9d9;
  --muted: #a3a3a3;
  --faint: #6e6e6e;
  --display: 'Big Shoulders Display', sans-serif;
  --body: 'Saira', sans-serif;
  --gutter: clamp(16px, 5.5vw, 80px);
  --max: 1290px;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--black); color:var(--text);
  font-family:var(--body); font-size:16px; line-height:1.4;
  min-height:100vh; display:flex; flex-direction:column;
}
main{ flex:1; }
img{ max-width:100%; display:block; }
a{ color:inherit; }
::selection{ background:var(--red); color:#fff; }
::-webkit-scrollbar{ width:6px; height:6px; }
::-webkit-scrollbar-track{ background:transparent; }
::-webkit-scrollbar-thumb{ background:var(--red); border-radius:999px; }
html{ scrollbar-width:thin; scrollbar-color:var(--red) transparent; }
:focus-visible{ outline:2px solid var(--red-text); outline-offset:2px; }

.wrap{ max-width:calc(var(--max) + var(--gutter) * 2); margin:0 auto; padding:0 var(--gutter); }

/* ============ HEADER ============ */
.site-header{ position:sticky; top:0; z-index:40; background:rgba(10,10,10,0.92); backdrop-filter:blur(10px); }
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height:80px; }
.brand{ display:flex; align-items:center; gap:8px; text-decoration:none; }
.brand .icon{ width:45px; height:auto; }
.brand .wordmark{ width:199px; height:auto; }
.site-header nav a{ font-weight:500; font-size:14px; color:#fff; text-decoration:none; transition:color .15s; }
.site-header nav a:hover{ color:var(--red-text); }

/* ============ BREADCRUMB ============ */
.crumbs{ display:flex; align-items:center; gap:12px; font-size:14px; color:var(--muted); padding:38px 0 0; margin:0; list-style:none; flex-wrap:wrap; }
.crumbs a{ text-decoration:none; color:var(--muted); transition:color .15s; }
.crumbs a:hover{ color:#fff; }
.crumbs li{ display:flex; align-items:center; gap:12px; }
.crumbs li + li::before{
  content:''; width:6px; height:6px; border-right:1.5px solid var(--muted); border-top:1.5px solid var(--muted);
  transform:rotate(45deg); margin-right:4px;
}
.crumbs [aria-current]{ color:#fff; }

/* ============ BUTTONS / CHIPS ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--body); font-weight:500; font-size:18px; color:#fff; text-decoration:none;
  background:var(--red); border:none; border-radius:4px; padding:11px 29px; cursor:pointer;
  transition:background .15s, transform .15s;
}
.btn:hover{ background:var(--red-hover); }
.btn:disabled{ opacity:.6; cursor:progress; }
.btn-sm{ font-size:12px; padding:6px 12px; border-radius:3px; gap:14px; }
.btn-sm svg{ width:8px; height:13px; }

.tag{
  display:inline-flex; align-items:center; font-size:12px; font-weight:500; color:var(--red-text);
  border:1px solid var(--red-text); border-radius:999px; padding:4px 11px; line-height:1.4;
}
.tags{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{ display:inline-flex; font-size:12px; font-weight:600; color:#fff; background:var(--chip); border-radius:4px; padding:5px 12px; }
.chips{ display:flex; gap:8px; flex-wrap:wrap; }

/* ============ FOOTER ============ */
.site-footer{ background:var(--surface); margin-top:40px; }
.site-footer .wrap{ display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:64px; flex-wrap:wrap; padding-top:12px; padding-bottom:12px; }
.site-footer .brand .icon{ width:25px; }
.site-footer .brand .wordmark{ width:114px; }
.site-footer .brand{ gap:4px; }
.foot-links{ display:flex; align-items:center; gap:24px; font-size:14px; color:var(--muted); }
.foot-links a{ color:#fff; font-weight:600; text-decoration:none; }
.foot-links a:hover{ color:var(--red-text); }

/* ============ FORM BASICS ============ */
input, textarea{
  font-family:var(--body); font-size:14px; color:#fff; background:var(--black);
  border:1px solid var(--border-strong); border-radius:6px; padding:13px 12px; width:100%;
}
input::placeholder, textarea::placeholder{ color:var(--faint); }
input:focus, textarea:focus{ outline:none; border-color:var(--red-text); }
.hp-field{ position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

@media (max-width:640px){
  .site-header .wrap{ height:64px; }
  .brand .icon{ width:34px; }
  .brand .wordmark{ width:150px; }
}
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
