/* TeeQue Recruitment — TimeQuantum corporate identity
   Navy #272A4A · Blue #3A63AC · Poppins
   ------------------------------------------------------------------ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --ink:    #272A4A;   /* TQ navy — headings, dark surfaces */
  --blue:   #3A63AC;   /* TQ blue — links and actions */
  --blue-d: #2E4F8C;
  --body:   #4A4F63;   /* TQ body grey */
  --haze:   #A2ACD7;   /* TQ muted lilac — secondary text on navy */
  --mist:   #F2F4F9;   /* light section ground */
  --rule:   #DDE1EC;
  --paper:  #FFFFFF;

  --wrap: 1120px;
  --gut: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  font-weight: 400;
}

h1, h2, h3 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 50;
}
.skip:focus { left: 0; }

/* ---------- masthead ---------------------------------------------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 86px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span {
  font-weight: 600; font-size: 1.22rem; color: var(--ink); letter-spacing: -0.02em;
}
.brand small {
  display: block; font-size: .72rem; font-weight: 400; color: var(--body);
  letter-spacing: .01em;
}

.nav { display: flex; gap: clamp(.9rem, 2.4vw, 2rem); align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--blue); }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* ---------- the split: the site's one bold device ------------------ */

.doors { background: var(--ink); color: #fff; }
.doors .wrap { padding-block: clamp(3.5rem, 8vw, 6rem); }

.doors .lede {
  color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 600;
  line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; max-width: 20ch;
}
.doors .sub { color: var(--haze); max-width: 56ch; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.split { display: grid; gap: 0; }
@media (min-width: 760px) {
  .split { grid-template-columns: 1fr 1px 1fr; }
  .split .rule { background: rgba(162,172,215,.32); }
}
.door { padding: 2rem 0; }
@media (min-width: 760px) {
  .door { padding: .5rem clamp(2rem, 4vw, 3.5rem); }
  .door:first-of-type { padding-left: 0; }
  .door:last-of-type { padding-right: 0; }
}
@media (max-width: 759px) {
  .door + .door { border-top: 1px solid rgba(162,172,215,.32); }
}
.door h2 {
  color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-bottom: .45em;
}
.door p { color: var(--haze); font-size: 1rem; margin-bottom: 1.4rem; }
.door a.go {
  color: #fff; font-weight: 500; text-decoration: none;
  border-bottom: 2px solid var(--haze); padding-bottom: 3px;
}
.door a.go:hover { border-bottom-color: #fff; }

/* ---------- page head (inner pages) -------------------------------- */

.pagehead { background: var(--ink); color: #fff; }
.pagehead .wrap { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.pagehead h1 { color: #fff; margin-bottom: .35em; }
.pagehead p { color: var(--haze); max-width: 60ch; margin: 0; }

/* ---------- sections ------------------------------------------------ */

section { padding-block: clamp(3rem, 7vw, 5.25rem); }
section.mist { background: var(--mist); }

.measure { max-width: 70ch; }

.two {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; } }

/* a short intro column keeps pace with the long list beside it */
@media (min-width: 860px) {
  .two > .lead-col { position: sticky; top: 2.5rem; align-self: start; }
}

/* qualities / talent-lab list: hairline-separated, no cards */
.points { list-style: none; margin: 0; padding: 0; }
.points li { border-top: 1px solid var(--rule); padding: 1.35rem 0; }
.points li:last-child { border-bottom: 1px solid var(--rule); }
.points h3 { margin-bottom: .35em; }
.points p { margin: 0; font-size: .99rem; }

/* capability index — a register, not a grid of cards */
.index { columns: 2; column-gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 1.5rem; }
@media (min-width: 720px) { .index { columns: 3; } }
.index p {
  break-inside: avoid; margin: 0; padding: .62rem 0;
  border-top: 1px solid var(--rule);
  font-size: .97rem; color: var(--ink); font-weight: 500;
}

/* ---------- call to action ------------------------------------------ */

.btn {
  display: inline-block; background: var(--blue); color: #fff;
  padding: .85rem 1.6rem; border-radius: 3px; text-decoration: none;
  font-weight: 500; font-size: 1rem; border: 0; cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--blue-d); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--haze); color: var(--ink); }

.cta { background: var(--ink); color: #fff; }
.cta .wrap { padding-block: clamp(2.75rem, 6vw, 4rem); }
.cta h2 { color: #fff; }
.cta p { color: var(--haze); }

/* ---------- vacancies ----------------------------------------------- */

.roles { margin-top: 1.75rem; }
.role {
  border-top: 1px solid var(--rule); padding: 1.6rem 0;
}
.role:last-child { border-bottom: 1px solid var(--rule); }
.role h3 { margin-bottom: .3em; font-size: 1.18rem; }
.role .meta { font-size: .92rem; color: var(--body); margin: 0 0 .7em; }
.role p { margin-bottom: .5em; }

/* ---------- form ----------------------------------------------------- */

form { max-width: 34rem; }
.field { margin-bottom: 1.15rem; }
label { display: block; font-size: .93rem; font-weight: 500; color: var(--ink); margin-bottom: .35rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .7rem .85rem; border: 1px solid var(--rule); border-radius: 3px;
  background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
textarea { min-height: 7.5rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.note { font-size: .93rem; }

/* ---------- footer ---------------------------------------------------- */

.foot { background: var(--ink); color: var(--haze); font-size: .95rem; }
.foot .wrap { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.foot a { color: #fff; }
.foot h3 { color: #fff; font-size: .98rem; margin-bottom: .6em; }
.foot .cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .foot .cols { grid-template-columns: 2fr 1fr 1fr; } }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: .18rem 0; }
.foot .fine {
  margin-top: 2.25rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(162,172,215,.25); font-size: .86rem;
}
.foot p { max-width: 42ch; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
