/* ============================================================
   raynes — home page
   Light editorial monochrome · Clash Display + Satoshi + Hanken
   black / white / grey · rotating connection globe · wave lines
   ============================================================ */

:root {
  /* palette — monochrome */
  --paper:     #FFFFFF;
  --paper-2:   #F6F6F7;
  --paper-3:   #ECECEE;
  --ink:       #0A0A0B;
  --ink-2:     #1C1D20;
  --grey:      #6C6E73;
  --grey-2:    #9A9CA1;
  --line:      rgba(10, 10, 11, 0.12);
  --line-soft: rgba(10, 10, 11, 0.07);

  /* dark surfaces (cta + footer) */
  --night:     #0A0A0B;
  --night-2:   #141518;
  --line-dk:   rgba(255, 255, 255, 0.12);

  --display: "Clash Display", "Hanken Grotesk", system-ui, sans-serif;
  --body:    "Satoshi", system-ui, -apple-system, sans-serif;
  --mark:    "Hanken Grotesk", system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1320px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--paper); }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.005em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint grain for paper texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

/* ---------- shared type ---------- */
.kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey);
}
.kicker--light { color: rgba(255,255,255,0.6); }

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
}

/* ============================================================
   BRAND / WORDMARK
   ============================================================ */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__icon { width: 30px; height: 30px; color: var(--ink); }
.brand__icon svg { width: 100%; height: 100%; }
.brand__icon .mk-sq { fill: none; stroke: currentColor; stroke-width: 10; }
.brand__icon .mk-r, .brand__icon .mk-dot { fill: currentColor; }
.brand__word {
  font-family: var(--mark);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
/* real wordmark logo (nav + footer) */
.brand__logo { height: 23px; width: auto; display: block; }
.brand--footer .brand__logo { height: 26px; filter: invert(1); }

/* ============================================================
   INTRO LOADER
   ============================================================ */
.loader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  /* cover the LARGE viewport so the page never peeks below the loader while
     iOS Safari's toolbar is still showing on first paint */
  height: 100vh;
  height: 100lvh;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--paper);
}
/* lock scroll while the intro loader is on screen */
body.is-loading { overflow: hidden; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }

.loader__mark { width: clamp(84px, 13vw, 118px); aspect-ratio: 1; color: var(--ink); }
.loader__mark .mk-sq {
  fill: none; stroke: currentColor; stroke-width: 9;
  stroke-dasharray: 290; stroke-dashoffset: 290;
  animation: draw 0.8s var(--ease-io) 0.05s forwards;
}
.loader__mark .mk-r {
  fill: currentColor; opacity: 0;
  transform-box: fill-box; transform-origin: 50% 100%;
  transform: translateY(10px) scale(0.92);
  animation: markIn 0.6s var(--ease) 0.5s forwards;
}
.loader__mark .mk-dot {
  fill: currentColor; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  transform: scale(0);
  animation: dotPop 0.5s var(--ease) 0.82s forwards;
}

.loader__word {
  display: flex;
  font-family: var(--mark);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 3.2rem);
  letter-spacing: -0.04em;
  color: var(--ink);
}
.loader__word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(70%);
  animation: wordUp 0.6s var(--ease) forwards;
}
.loader__word span:nth-child(1) { animation-delay: 0.62s; }
.loader__word span:nth-child(2) { animation-delay: 0.68s; }
.loader__word span:nth-child(3) { animation-delay: 0.74s; }
.loader__word span:nth-child(4) { animation-delay: 0.80s; }
.loader__word span:nth-child(5) { animation-delay: 0.86s; }
.loader__word span:nth-child(6) { animation-delay: 0.92s; }
.loader__wordmark {
  height: clamp(2rem, 7vw, 3.2rem); width: auto; display: block;
  opacity: 0; transform: translateY(28%);
  animation: wordUp 0.6s var(--ease) 0.62s forwards;
}

.loader__tag {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--grey);
  opacity: 0;
  animation: fadeIn 0.6s ease 1.05s forwards;
}

.loader.is-done { animation: loaderOut 0.7s var(--ease) forwards; pointer-events: none; }

@keyframes draw      { to { stroke-dashoffset: 0; } }
@keyframes fadeIn    { to { opacity: 1; } }
@keyframes wordUp    { to { opacity: 1; transform: translateY(0); } }
@keyframes markIn    { to { opacity: 1; transform: none; } }
@keyframes dotPop    { to { opacity: 1; transform: scale(1); } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  padding: 1.1rem var(--pad);
  transition: padding 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 0.7rem var(--pad);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}

/* links dead-centre in the header regardless of side widths */
.nav__links { display: flex; gap: 2rem; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nav__links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey);
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.35s var(--ease), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--solid {
  background: var(--ink); color: var(--paper);
  padding: 0.9rem 1.5rem; border-radius: 100px;
}
.btn--solid:hover { transform: translateY(-2px); background: var(--ink-2); }

.btn--ghost {
  background: transparent; color: var(--ink);
  padding: 0.9rem 1.5rem; border-radius: 100px;
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--sm { padding: 0.62rem 1.15rem; font-size: 0.88rem; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.02rem; }
.btn--linkedin svg { width: 20px; height: 20px; }
.btn--linkedin:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }

/* inverted (on dark) */
.btn--invert { background: var(--paper); color: var(--ink); padding: 1.1rem 1.9rem; border-radius: 100px; }
.btn--invert:hover { transform: translateY(-2px); background: var(--paper-3); }
.btn--ghost-light {
  background: transparent; color: var(--paper);
  padding: 1.1rem 1.9rem; border-radius: 100px;
  border: 1px solid var(--line-dk);
}
.btn--ghost-light:hover { border-color: var(--paper); transform: translateY(-2px); }

/* WhatsApp button — monochrome to match brand; works on dark surfaces */
.btn--wa {
  background: transparent; color: var(--paper);
  padding: 1.1rem 1.9rem; border-radius: 100px;
  border: 1px solid var(--line-dk);
}
.btn--wa:hover { border-color: var(--paper); transform: translateY(-2px); }
.btn--wa svg { width: 22px; height: 22px; color: #25D366; transition: transform 0.35s var(--ease); }
.btn--wa:hover svg { transform: none; }
/* light-surface variant for the hire/sector pages */
.btn--wa-dark {
  background: transparent; color: var(--ink);
  padding: 0.9rem 1.5rem; border-radius: 100px;
  border: 1px solid var(--line);
}
.btn--wa-dark:hover { border-color: #25D366; color: #25D366; transform: translateY(-2px); }
.btn--wa-dark svg { width: 22px; height: 22px; color: #25D366; }

/* ============================================================
   HERO
   ============================================================ */
/* scroll-through stage: when JS confirms desktop + motion allowed it adds .is-fly,
   which pins the hero and gives ~1.2 extra viewports to scrub the fly-through.
   Without .is-fly (no-JS / reduced-motion / mobile) the hero behaves exactly as before. */
.hero-stage { position: relative; }
.hero__inner { transition: none; will-change: transform, opacity; }
@media (min-width: 861px) {
  .hero-stage.is-fly { height: 210vh; }
  .hero-stage.is-fly .hero { position: sticky; top: 0; height: 100vh; min-height: 0; }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem var(--pad) 4rem;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 20%, var(--paper) 40%, var(--paper-2) 100%);
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

/* content you emerge into after flying through the globe (desktop only; JS-driven) */
.hero__reveal {
  position: absolute;
  z-index: 3;
  left: 50%; top: 50%;
  transform: translate(-50%, calc(-50% + 40px));
  width: min(880px, 90vw);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.hero__reveal h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em; line-height: 0.98; color: var(--ink);
  margin: 0.3rem 0 0.2rem;
}
.hero__reveal h2 .outline {
  -webkit-text-stroke: 1.4px var(--ink); color: transparent;
}
.hero__reveal > p {
  color: var(--grey); font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  max-width: 60ch; margin: 0.4rem auto 0.6rem;
}
.hero__reveal-sectors {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  width: 100%; text-align: left;
  margin: 0.8rem 0 1.6rem;
}
.rv-sector { padding-top: 0.9rem; border-top: 1px solid var(--line); }
.rv-sector h4 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.18rem); letter-spacing: -0.01em;
  color: var(--ink); margin: 0 0 0.4rem;
}
.rv-sector p { color: var(--grey); font-size: 0.9rem; line-height: 1.5; margin: 0; }
.hero__reveal-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 760px) { .hero__reveal-sectors { grid-template-columns: 1fr; gap: 0.8rem; } }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 1.6rem;
}
.hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(10,10,11,0.35); }
  70%  { box-shadow: 0 0 0 10px rgba(10,10,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(10,10,11,0); }
}

.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 1.8rem;
  max-width: 16ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .word { display: inline-block; transform: translateY(110%); opacity: 0; }
.is-ready .hero__title .word { animation: wordUp 0.9s var(--ease) forwards; }
.hero__title .word.outline {
  color: transparent;
  -webkit-text-stroke: 1.6px var(--ink);
  text-stroke: 1.6px var(--ink);
}
.hero__title .line:nth-child(1) .word:nth-child(1) { animation-delay: 0.10s; }
.hero__title .line:nth-child(1) .word:nth-child(2) { animation-delay: 0.18s; }
.hero__title .line:nth-child(2) .word:nth-child(1) { animation-delay: 0.26s; }
.hero__title .line:nth-child(3) .word:nth-child(1) { animation-delay: 0.34s; }

.hero__sub {
  max-width: 44ch;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--grey);
  line-height: 1.62;
  margin-bottom: 2.2rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

.hero__meta { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.hero__tag {
  font-family: var(--mark); font-weight: 700;
  font-size: 0.95rem; color: var(--ink); letter-spacing: -0.01em;
}
.hero__rule { width: 40px; height: 1px; background: var(--line); }
.hero__reach { font-size: 0.92rem; color: var(--grey); }
.hero__reach strong { color: var(--ink); font-weight: 700; }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--grey-2);
}
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--ink), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 40%; background: var(--ink);
  animation: scrollDot 1.8s var(--ease-io) infinite;
}
@keyframes scrollDot { 0% { transform: translateY(-100%);} 100%{ transform: translateY(250%);} }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
  overflow: hidden;
  padding: 1.3rem 0;
}
.marquee__track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee 60s linear infinite;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: -0.01em; color: var(--ink);
  white-space: nowrap;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__cell {
  display: inline-flex; align-items: center; gap: clamp(2rem, 4vw, 3.4rem);
  padding-left: clamp(2rem, 4vw, 3.4rem);
}
.marquee__cell .sep { color: var(--grey-2); font-weight: 300; }
/* track holds exactly two identical sequences; -50% = one sequence width */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   COMPANY / INTRO
   ============================================================ */
.company {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  display: grid; gap: 2.4rem;
}
.section-waves {
  position: absolute; top: 0; height: 100%;
  left: 50%; width: 100vw; transform: translateX(-50%);
  z-index: 0; pointer-events: none;
}
.company > *:not(.section-waves) { position: relative; z-index: 1; }
.company__statement h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.2vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.022em;
  color: var(--grey);
  text-wrap: balance;        /* even line lengths — no lone last word */
}
.company__statement h2 em { font-style: normal; color: var(--ink); }
.company__meta { display: grid; gap: 1.6rem; max-width: 62ch; }
.company__meta p { color: var(--grey); font-size: 1.05rem; }
.company__meta p strong { color: var(--ink); font-weight: 700; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--ink); width: fit-content;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ============================================================
   SECTION HEAD (generic)
   ============================================================ */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto 3rem;
  padding: 0 var(--pad);
  display: flex; flex-direction: column; gap: 1rem;
}

/* ============================================================
   SECTORS
   ============================================================ */
.sectors { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--line-soft); background: var(--paper-2); }
.sectors__list { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) clamp(2rem, 8vh, 7rem); position: relative; }
/* stacking scroll cards: each sticks, the next scrolls up and stacks on top */
.sector {
  position: sticky;
  top: var(--stack-top, clamp(88px, 13vh, 140px));
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  padding: clamp(1.8rem, 3.4vw, 2.8rem) clamp(1.4rem, 2.6vw, 2.4rem);
  margin-bottom: clamp(1rem, 3vh, 2.2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: clamp(16px, 1.8vw, 24px);
  box-shadow: 0 -6px 22px rgba(10, 10, 11, 0.04), 0 26px 60px rgba(10, 10, 11, 0.07);
  cursor: pointer;
  transform: scale(var(--stack-scale, 1));
  transform-origin: center top;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  outline: none;
}
.sector:nth-of-type(1) { --stack-top: clamp(88px, 13vh, 140px); }
.sector:nth-of-type(2) { --stack-top: calc(clamp(88px, 13vh, 140px) + 26px); }
.sector:nth-of-type(3) { --stack-top: calc(clamp(88px, 13vh, 140px) + 52px); }
.sector:last-of-type { margin-bottom: 0; }

.sector__no {
  font-family: var(--display); font-size: 0.95rem; font-weight: 600;
  color: var(--grey-2); letter-spacing: 0.05em; transition: color 0.4s ease;
}
.sector:hover .sector__no, .sector:focus-visible .sector__no { color: var(--ink); }

.sector__icon { width: clamp(46px, 6vw, 64px); aspect-ratio: 1; color: var(--ink); }
.sector__icon svg {
  width: 100%; height: 100%;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.6s var(--ease);
}
.sector:hover .sector__icon svg, .sector:focus-visible .sector__icon svg { transform: scale(1.06) rotate(-2deg); }

.sector__body h3 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  letter-spacing: -0.025em; line-height: 1.05;
  margin-bottom: 0.6rem; color: var(--ink);
}
.sector__body p { color: var(--grey); max-width: 58ch; font-size: 1rem; margin-bottom: 0.9rem; }
.sector__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sector__tags li {
  font-size: 0.76rem; letter-spacing: 0.02em; color: var(--ink);
  padding: 0.32rem 0.7rem; border: 1px solid var(--line); border-radius: 100px;
  background: var(--paper);
}
.sector__cta {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink); background: var(--paper);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.5s var(--ease);
}
.sector__cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sector:hover .sector__cta, .sector:focus-visible .sector__cta {
  background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-45deg);
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-soft);
}
.stat { display: flex; flex-direction: column; gap: 0.5rem; }
.stat__num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1; letter-spacing: -0.04em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 0.92rem; color: var(--grey); max-width: 22ch; }

/* ============================================================
   APPROACH
   ============================================================ */
.approach {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.approach__intro { display: grid; gap: 1.4rem; position: sticky; top: 100px; z-index: 1; }
.approach__grid { position: relative; z-index: 1; }
.approach__intro p { color: var(--grey); font-size: 1.05rem; max-width: 40ch; }

.approach__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.principle { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; gap: 0.7rem; transition: background 0.4s ease; }
.principle:hover { background: var(--paper-2); }
.principle__no { font-family: var(--display); color: var(--ink); font-size: 0.9rem; font-weight: 600; }
.principle h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.principle p { color: var(--grey); font-size: 0.95rem; }

/* ============================================================
   CAREERS
   ============================================================ */
.careers {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.careers__head { display: grid; gap: 1.4rem; }
.careers__head > p { color: var(--grey); font-size: 1.05rem; max-width: 44ch; }
.careers__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }

.careers__roles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.role {
  position: relative;
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 1rem;
  padding: 1.3rem clamp(0.4rem, 1.4vw, 1rem);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
/* smooth highlight only — no horizontal movement */
.role::before {
  content: ""; position: absolute; inset: 0;
  background: var(--paper-2); opacity: 0;
  transition: opacity 0.5s var(--ease); z-index: -1;
}
.role:not(.role--all):hover::before { opacity: 1; }
.role__main h4 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.role__sector { font-size: 0.82rem; color: var(--grey); }
.role__loc { font-size: 0.85rem; color: var(--grey); white-space: nowrap; }
.role__go {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink);
  transition: all 0.4s var(--ease);
}
.role__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.role:hover .role__go { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-45deg); }
.role--all { justify-content: center; padding-top: 1.4rem; }
.role--all a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--ink); }
.role--all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.role--all a:hover svg { transform: translateX(5px); }

/* ============================================================
   CTA (dark band)
   ============================================================ */
.cta {
  position: relative;
  background: var(--night);
  color: var(--paper);
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  overflow: hidden;
}
.cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.6; }
.cta__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; display: grid; gap: 1.6rem; place-items: center; text-align: center; }
.cta__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: 0.94; letter-spacing: -0.045em; color: var(--paper);
}
.cta__inner > p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 40ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1rem; }

/* ============================================================
   FOOTER (dark)
   ============================================================ */
.footer {
  background: var(--night);
  color: var(--paper);
  border-top: 1px solid var(--line-dk);
  padding: clamp(3rem, 6vw, 5rem) var(--pad) 2rem;
}
.footer__top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line-dk);
}
.footer__brand { display: grid; gap: 1.2rem; align-content: start; }
.brand--footer .brand__icon, .brand--footer .brand__word { color: var(--paper); }
.brand--footer .brand__icon .mk-sq { stroke: var(--paper); }
.brand--footer .brand__icon .mk-r, .brand--footer .brand__icon .mk-dot { fill: var(--paper); }
.footer__tag { color: rgba(255,255,255,0.55); font-family: var(--mark); font-weight: 600; }
.footer__contact { font-style: normal; display: grid; gap: 0.3rem; margin-top: 0.4rem; }
.footer__contact strong { color: var(--paper); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.2rem; }
.footer__contact a { color: rgba(255,255,255,0.7); font-family: var(--mark); font-weight: 600; transition: color 0.3s ease; }
.footer__contact a:hover { color: var(--paper); }
.footer__addr { display: block; color: rgba(255,255,255,0.6); font-family: var(--mark); font-weight: 600; font-size: 0.9rem; line-height: 1.5; margin-top: 0.6rem; max-width: 26ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h5 { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; font-weight: 600; }
.footer__cols a { display: block; color: rgba(255,255,255,0.72); padding: 0.35rem 0; font-size: 0.95rem; transition: color 0.3s ease; }
.footer__cols a:hover { color: var(--paper); }
.footer__base {
  max-width: var(--maxw); margin: 0 auto; padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; color: rgba(255,255,255,0.4); font-size: 0.85rem;
}
.footer__wordmark { font-family: var(--mark); font-weight: 600; color: rgba(255,255,255,0.5); }

/* ============================================================
   REVEAL SYSTEM
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--rd, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-lines span.rl { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal-lines span.rl > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal-lines.is-in span.rl > span { transform: translateY(0); }
.reveal-lines .__em { color: var(--ink); font-style: normal; }
.cta .reveal-lines .__em { color: var(--paper); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav__links, .nav .btn--sm { display: none; }
  .nav__burger { display: flex; }
  /* Lower grain below nav so iOS 26 Liquid Glass samples the nav (solid colour)
     rather than looking through the near-transparent grain to the scroll layer. */
  body::before { z-index: 199; }
  /* Solid bar on mobile — no backdrop-filter because that would make .nav a
     containing block for position:fixed children (breaking the full-screen menu). */
  .nav {
    background: #FFFFFF;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav.is-scrolled {
    background: #FFFFFF;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav.is-open .nav__links {
    display: flex; position: fixed; inset: 0; transform: none;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; font-size: 1.5rem;
    /* solid fill — the burger (close) and profile icon come after this in the
       DOM so they still paint on top; no z-index needed (it would hide them) */
    background: #FFFFFF;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav.is-open .nav__links a { font-family: var(--display); color: var(--ink); }

  .approach, .careers { grid-template-columns: 1fr; }
  .approach__intro { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .sector { grid-template-columns: auto 1fr; row-gap: 1.2rem; }
  .sector__icon { grid-row: 1; }
  .sector__no { grid-column: 1; }
  .sector__body { grid-column: 1 / -1; }
  .sector__cta { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .approach__grid { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .hero { padding-bottom: 3rem; }
}

@media (max-width: 460px) {
  .stats { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title .word { opacity: 1; transform: none; }
  .loader { display: none; }
}

/* ============================================================
   SUBPAGES — shared (hire.html / jobs.html)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 9rem var(--pad) 3.2rem;
  overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, var(--paper) 45%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; }
.page-hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 0.96; letter-spacing: -0.04em; color: var(--ink);
  margin: 1rem 0 1.1rem; max-width: 16ch;
}
.page-hero h1 .outline { color: transparent; -webkit-text-stroke: 1.4px var(--ink); }
.page-hero p { color: var(--grey); font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 52ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.page-section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--pad); }

/* ============================================================
   TEAM
   ============================================================ */
.team { border-top: 1px solid var(--line-soft); }
.team__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem); margin-top: 2.6rem;
}
.member { position: relative; }
.member__photo {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  background: var(--paper-3); border: 1px solid var(--line);
}
.member__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) contrast(1.02);
  transition: filter 0.5s var(--ease), transform 0.7s var(--ease);
}
.member:hover .member__photo img { filter: grayscale(0%); transform: scale(1.04); }
.member__info { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.member__name { font-family: var(--mark); font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.member__role { font-size: 0.9rem; color: var(--grey); margin-top: 0.15rem; }
.member__mail {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink);
  transition: all 0.4s var(--ease);
}
.member__mail svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.member__mail:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* name-only variant (headshots off): each member is a tidy card with name + mail */
.team__grid--names .member {
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  padding: clamp(1.2rem, 2vw, 1.7rem) clamp(1.4rem, 2.2vw, 1.9rem);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.team__grid--names .member:hover { border-color: var(--ink); transform: translateY(-2px); }
.team__grid--names .member__info { margin-top: 0; align-items: center; }
.team__grid--names .member__name { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

/* ============================================================
   HIRE PAGE
   ============================================================ */
.hire-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.hire-grid__aside { position: sticky; top: 110px; align-self: start; }
.register-points { border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem 1.7rem; background: var(--paper-2); }
.register-points__title { font-family: var(--mark); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin: 0 0 1.1rem; }
.register-points__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.register-points__list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--grey); font-size: 0.95rem; line-height: 1.5; }
.register-points__list li span { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--mark); font-weight: 700; font-size: 0.85rem; display: grid; place-items: center; }
.register-points__note { color: var(--grey); font-size: 0.88rem; margin: 1.3rem 0 0; }
.register-points__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.contact-cards { display: grid; gap: 1rem; margin-top: 0.5rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper); transition: border-color 0.4s ease, transform 0.4s var(--ease);
}
.contact-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-card__ic { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; }
.contact-card__ic svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.contact-card__label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-2); }
.contact-card__val { font-family: var(--mark); font-weight: 700; font-size: 1.05rem; color: var(--ink); }

.hire-form { display: grid; gap: 1rem; }
.hire-form .row, .auth__form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }
.field input, .field textarea {
  width: 100%; font-family: var(--body); font-size: 0.98rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.8rem 0.95rem; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,11,0.06); }
.hire-note { margin-top: 0.4rem; font-size: 0.9rem; color: var(--grey); }
.hire-note strong { color: var(--ink); }
.hire-note.is-err { color: #C0392B; }

/* ============================================================
   JOBS BOARD
   ============================================================ */
.jobs { max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) var(--pad) clamp(4rem,8vw,6rem); }
.jobs-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 3vw, 2.6rem); align-items: start; }

.filters {
  position: sticky; top: 92px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 18px; padding: 1.6rem 1.4rem; display: grid; gap: 1.4rem;
}
.filter h4 { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.7rem; font-family: var(--mark); }
.input-ico { position: relative; }
.input-ico svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--grey); stroke-width: 1.8; pointer-events: none; }
.filters input[type="text"], .filters select {
  width: 100%; font-family: var(--body); font-size: 0.92rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.72rem 0.9rem 0.72rem 2.5rem; appearance: none; -webkit-appearance: none;
  transition: border-color 0.3s ease;
}
.filters select { padding-left: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236C6E73' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; }
.filters input[type="text"]:focus, .filters select:focus { outline: none; border-color: var(--ink); }
.range-val { font-size: 0.92rem; color: var(--ink); font-weight: 600; margin-bottom: 0.5rem; }
.range-val span { color: var(--grey); font-weight: 400; }
input[type="range"] { width: 100%; accent-color: var(--ink); }
.radios { display: grid; gap: 0.55rem; }
.radios label { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--grey); cursor: pointer; }
.radios input { accent-color: var(--ink); }
.filters__clear { font-size: 0.85rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: start; background: none; border: none; padding: 0; font-family: var(--body); }

.results__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.results__count { font-size: 0.95rem; color: var(--grey); }
.results__count strong { color: var(--ink); }
.results__controls { display: flex; gap: 0.7rem; }
.results__controls select {
  font-family: var(--body); font-size: 0.9rem; color: var(--ink); cursor: pointer;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.6rem 2.2rem 0.6rem 1rem; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236C6E73' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center;
}

.jobs-list { display: grid; gap: 1rem; }
.job {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 1.1rem;
  align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.4rem 1.5rem;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
  will-change: transform;
}
.job:hover { border-color: var(--ink); box-shadow: 0 18px 44px -28px rgba(10,10,11,0.35); transform: translateY(-3px); }
.job__logo { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mark); font-weight: 800; font-size: 1.4rem; color: var(--paper); background: var(--ink); }
.job__body { min-width: 0; }
.job__title { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); display: inline; }
.job__featured { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); border-radius: 100px; padding: 0.1rem 0.5rem; margin-left: 0.6rem; vertical-align: middle; }
.job__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; margin-top: 0.6rem; color: var(--grey); font-size: 0.9rem; }
.job__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.job__meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.job__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.chip { font-size: 0.76rem; padding: 0.3rem 0.7rem; border-radius: 100px; border: 1px solid var(--line); color: var(--ink); background: var(--paper-2); }
.chip--type { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip--urgent { background: transparent; color: var(--ink); border-color: var(--ink); }
.job__side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.8rem; }
.job__save { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--grey); transition: all 0.35s var(--ease); }
.job__save svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.job__save.is-saved { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.job__save.is-saved svg { fill: currentColor; }
.job__apply { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; color: var(--ink); white-space: nowrap; }
.job__apply svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.35s var(--ease); }
.job__apply:hover svg { transform: translateX(3px); }
.jobs-empty { padding: 3rem 1rem; text-align: center; color: var(--grey); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 0.4rem; margin-top: 2.4rem; }
.pagination button {
  min-width: 40px; height: 40px; padding: 0 0.7rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: var(--body); font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: all 0.3s ease;
}
.pagination button:hover:not(:disabled) { border-color: var(--ink); }
.pagination button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 980px) {
  .hire-grid { grid-template-columns: 1fr; }
  .hire-grid__aside { position: static; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
}
@media (max-width: 560px) {
  .team__grid { grid-template-columns: 1fr; }
  .hire-form .row, .auth__form .row { grid-template-columns: 1fr; }
  .job { grid-template-columns: 44px 1fr; }
  .job__logo { width: 44px; height: 44px; font-size: 1.1rem; }
  .job__side { flex-direction: row; grid-column: 1 / -1; justify-content: space-between; margin-top: 0.4rem; }
}

/* ============================================================
   CTA CONTACT FORM (shared across subpages)
   ============================================================ */
.cta-form {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background: var(--paper-2);
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
}
.cta-form__inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.cta-form__intro { display: grid; gap: 1.2rem; }
.cta-form__intro p { color: var(--grey); font-size: 1.05rem; max-width: 42ch; }
.cta-form__contact { display: grid; gap: 0.45rem; margin-top: 0.6rem; }
.cta-form__contact a { font-family: var(--mark); font-weight: 700; color: var(--ink); font-size: 1.06rem; width: fit-content; }
.cta-form__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cta-form .hire-form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2rem); }
@media (max-width: 860px) { .cta-form__inner { grid-template-columns: 1fr; } }

/* sector detail page bits */
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2.4rem; }
.spec-list li { background: var(--paper); padding: 1.4rem 1.5rem; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.spec-list li span { display: block; font-family: var(--body); font-weight: 400; font-size: 0.92rem; color: var(--grey); margin-top: 0.4rem; }
@media (max-width: 620px) { .spec-list { grid-template-columns: 1fr; } }

.page-lead { max-width: 60ch; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--grey); }
.page-lead strong { color: var(--ink); font-weight: 500; }
.page-prose { max-width: 64ch; display: grid; gap: 1.3rem; }
.page-prose p { color: var(--grey); font-size: 1.08rem; line-height: 1.7; }
.sector-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.sector-card { display: grid; gap: 1rem; padding: 1.8rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); transition: border-color 0.45s var(--ease), transform 0.45s var(--ease); }
.sector-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.sector-card__ic { width: 52px; height: 52px; color: var(--ink); }
.sector-card__ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sector-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); }
.sector-card p { color: var(--grey); font-size: 0.98rem; }
.sector-card__go { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--ink); }
.sector-card__go svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.35s var(--ease); }
.sector-card:hover .sector-card__go svg { transform: translateX(4px); }
@media (max-width: 860px) { .sector-cards { grid-template-columns: 1fr; } }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-badge { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); border: 1px solid var(--line); border-radius: 100px; padding: 0.2rem 0.55rem; margin-left: 0.6rem; }
.admin-wrap { max-width: 1240px; margin: 0 auto; padding: 8rem var(--pad) 5rem; min-height: 100vh; }
.admin-login { max-width: 420px; }
.admin-h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; margin: 0.6rem 0; color: var(--ink); }
.admin-sub { color: var(--grey); margin-bottom: 1.6rem; }
.admin-err { color: #b00020; font-size: 0.9rem; min-height: 1em; margin-top: 0.4rem; }
.admin-count { font-family: var(--body); font-size: 1rem; font-weight: 700; color: var(--paper); background: var(--ink); border-radius: 100px; padding: 0.1rem 0.7rem; vertical-align: middle; margin-left: 0.4rem; }
.admin-dash__head { margin-bottom: 2rem; }
.enquiry-list { display: grid; gap: 1rem; }
.enquiry { border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; background: var(--paper); }
.enquiry__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.enquiry__who { font-size: 1.05rem; }
.enquiry__head time { color: var(--grey-2); font-size: 0.82rem; white-space: nowrap; }
.enquiry__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.5rem; font-size: 0.9rem; align-items: center; }
.enquiry__meta a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.enquiry__tag { color: var(--grey); border: 1px solid var(--line); border-radius: 100px; padding: 0.1rem 0.6rem; font-size: 0.74rem; }
.enquiry__role { margin-top: 0.7rem; font-size: 0.92rem; color: var(--ink); }
.enquiry__role span { color: var(--grey); }
.enquiry__msg { margin-top: 0.5rem; color: var(--grey); font-size: 0.95rem; white-space: pre-wrap; }
.enquiry__foot { margin-top: 0.7rem; font-size: 0.74rem; color: var(--grey-2); }
.admin-empty { color: var(--grey); padding: 2rem 0; }

/* editorial two-column prose (approach page) */
.prose-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose-split__aside { position: sticky; top: 110px; }
.prose-split__body { display: grid; gap: 1.5rem; }
.prose-split__body p { color: var(--grey); font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.75; max-width: 58ch; }
@media (max-width: 860px) {
  .prose-split { grid-template-columns: 1fr; gap: 2rem; }
  .prose-split__aside { position: static; }
}

/* hire "Talk to the team" — heading spans full width; columns align at top */
.enquire__head { display: grid; gap: 0.8rem; margin-bottom: 2.6rem; }
.hire-grid .hire-form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2rem); }

/* ============================================================
   FLOATING WHATSAPP WIDGET
   ============================================================ */
.wa-fab {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 300; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  box-shadow: 0 12px 32px -10px rgba(10,10,11,0.5);
  transition: background 0.35s ease, transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.wa-fab.is-hidden { opacity: 0; transform: translateY(24px) scale(0.8); pointer-events: none; }
.wa-fab svg { width: 28px; height: 28px; }   /* white icon (inherits --paper) */
.wa-fab:hover { background: #25D366; transform: translateY(-3px) scale(1.04); }
.wa-fab__tip {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--ink); color: var(--paper);
  font-family: var(--body); font-size: 0.82rem; font-weight: 600;
  padding: 0.4rem 0.7rem; border-radius: 8px;
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.wa-fab:hover .wa-fab__tip { opacity: 1; transform: translateX(0); }
@media (max-width: 560px) { .wa-fab__tip { display: none; } .wa-fab { width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: background 0.2s ease; } }

/* ============================================================
   NAV PROFILE ICON
   ============================================================ */
.nav__profile {
  width: 40px; height: 40px; flex: none;
  margin-left: auto;            /* push profile + CTA together to the right */
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease);
}
.nav__profile svg { width: 19px; height: 19px; }
.nav__profile:hover, .nav__profile.is-active, .nav__profile.is-authed { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav__profile:hover { transform: translateY(-1px); }
/* pre-paint the signed-in candidate avatar (set synchronously in <head>) so it
   never flashes the white/default icon before main.js runs */
html.is-candidate .nav__profile { background: var(--ink); color: var(--paper); border-color: var(--ink); transition: none; }
.nav__initials { font-family: var(--mark); font-weight: 800; font-size: 0.82rem; line-height: 1; }

/* ============================================================
   ACCOUNT / AUTH
   ============================================================ */
.auth-wrap { min-height: 100vh; }
.auth { max-width: 560px; margin: 0 auto; padding: 9rem var(--pad) 5rem; text-align: center; }
.auth__h1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.02; letter-spacing: -0.03em; margin: 0.8rem 0 0.6rem; color: var(--ink); white-space: nowrap; }
.auth__lead { color: var(--grey); max-width: 42ch; margin: 0 auto 2rem; }
.auth__card { border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem); text-align: left; background: var(--paper); box-shadow: 0 24px 60px -36px rgba(10,10,11,0.4); }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 0.3rem; margin-bottom: 1.6rem; }
.auth__tab { font-family: var(--body); font-weight: 600; font-size: 0.92rem; padding: 0.6rem; border: none; background: transparent; color: var(--grey); border-radius: 100px; cursor: pointer; transition: background 0.3s ease, color 0.3s ease; }
.auth__tab.is-active { background: var(--ink); color: var(--paper); }
.auth__form { display: grid; gap: 1rem; }
.auth__form .btn { width: 100%; justify-content: center; margin-top: 0.3rem; }
.auth__note { margin-top: 1rem; padding: 0.9rem 1rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; font-size: 0.9rem; color: var(--ink); }
.auth__alt { margin-top: 1.4rem; font-size: 0.9rem; color: var(--grey); text-align: center; }
.auth__alt a { color: var(--ink); font-weight: 600; }

/* mobile: tighten the candidate auth view so 'Create profile' fits on screen
   without scrolling (less top whitespace, compact fields, first/last side-by-side) */
@media (max-width: 600px) {
  /* vertically centre the auth view so there's balanced whitespace top & bottom,
     while still fitting 'Create profile' without a scroll */
  .auth {
    min-height: 100svh; box-sizing: border-box;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 6rem; padding-bottom: 3rem;
  }
  .auth__h1 { margin: 0.4rem 0 0.4rem; }
  .auth__lead { margin-bottom: 1.1rem; font-size: 0.92rem; }
  .auth__card { padding: 1.1rem 1.1rem 1.3rem; }
  .auth__tabs { margin-bottom: 1rem; }
  .auth__form { gap: 0.7rem; }
  .auth__form .row { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .auth__form .field input { padding: 0.62rem 0.85rem; }
  .auth__form .btn { margin-top: 0.1rem; }
  .auth__alt { margin-top: 1rem; }
}

/* ensure the hidden attribute always wins over component display rules */
[hidden] { display: none !important; }

/* ============================================================
   JOBS PLATFORM
   ============================================================ */
/* home careers row → whole row is a link (stretched, doesn't break grid) */
.role__link { position: absolute; inset: 0; z-index: 1; }
.role__main, .role__loc, .role__go { position: relative; z-index: 0; }

/* jobs board card title/logo are links now */
.job__title { color: var(--ink); }
.job__logo { text-decoration: none; }
a.job__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.chip--li { border-color: #0A66C2; color: #0A66C2; background: transparent; }

/* search button + brand dropdowns */
.filters__search { width: 100%; justify-content: center; margin-top: 0.2rem; }
.csel { position: relative; }
.csel__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.csel__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  font-family: var(--body); font-size: 0.92rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.72rem 1rem; cursor: pointer; transition: border-color 0.3s ease;
}
.input-ico .csel__btn { padding-left: 2.5rem; }
.csel__btn:hover, .csel.is-open .csel__btn { border-color: var(--ink); }
.csel__chev { width: 12px; height: 8px; color: var(--grey); flex: none; transition: transform 0.3s var(--ease); }
.csel.is-open .csel__chev { transform: rotate(180deg); }
.csel__panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 20px 44px -26px rgba(10,10,11,0.45); padding: 0.35rem; display: none;
}
.csel.is-open .csel__panel { display: grid; gap: 2px; }
.csel__opt {
  text-align: left; background: none; border: none; padding: 0.6rem 0.7rem; border-radius: 8px;
  font-family: var(--body); font-size: 0.92rem; color: var(--ink); cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.csel__opt:hover { background: var(--paper-2); }
.csel__opt.is-sel { background: var(--ink); color: var(--paper); }
.results__controls .csel { min-width: 168px; }

/* ---- job detail page ---- */
.job-head { max-width: var(--maxw); margin: 0 auto; padding: 8rem var(--pad) 1.5rem; }
.job-head .kicker { display: block; margin-top: 0.4rem; }
.job-back { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--grey); font-size: 0.9rem; font-weight: 500; margin-bottom: 1.4rem; }
.job-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.job-back:hover svg { transform: translateX(-4px); }
.job-title { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--ink); margin: 0.6rem 0 0; max-width: 20ch; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; color: var(--grey); font-size: 0.95rem; margin-top: 1.1rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.job-meta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.job-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.job-head__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.btn--linkedinapply svg { width: 20px; height: 20px; }
.btn--linkedinapply:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }

.job-body { max-width: var(--maxw); margin: 0 auto; padding: 1.5rem var(--pad) clamp(4rem, 8vw, 6rem); display: grid; grid-template-columns: 1fr 400px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.job-content { display: grid; gap: 2.4rem; }
.job-block h2 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 0.8rem; color: var(--ink); }
.job-block p { color: var(--grey); line-height: 1.7; margin-bottom: 0.8rem; max-width: 60ch; }
.job-list { display: grid; gap: 0.6rem; }
.job-list li { position: relative; padding-left: 1.4rem; color: var(--grey); line-height: 1.6; }
.job-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

.apply-panel { position: sticky; top: 90px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2rem); }
.apply-panel__title { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.apply-panel__sub { color: var(--grey); font-size: 0.95rem; margin: 0.4rem 0 1.3rem; }
.apply-form { display: grid; gap: 1rem; }
.apply-form .btn--lg { width: 100%; justify-content: center; }
.opt { color: var(--grey-2); font-weight: 400; text-transform: none; letter-spacing: 0; }
.file-drop { display: flex; align-items: center; gap: 0.7rem; border: 1px dashed var(--line); border-radius: 10px; padding: 1rem; cursor: pointer; color: var(--grey); font-size: 0.9rem; background: var(--paper); transition: border-color 0.3s ease, background 0.3s ease; }
.file-drop svg { width: 22px; height: 22px; fill: none; stroke: var(--grey); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.file-drop:hover, .file-drop.is-over { border-color: var(--ink); }
.file-drop.has-file { border-style: solid; border-color: var(--ink); color: var(--ink); }
.file-drop.has-file svg { stroke: var(--ink); }
.apply-alt { font-size: 0.88rem; color: var(--grey); text-align: center; }
.apply-alt a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.apply-done { margin-top: 0.2rem; padding: 0.85rem 1rem; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 0.92rem; }
.apply-done.is-err { background: transparent; border: 1px solid #b00020; color: #b00020; }
.job-missing { max-width: var(--maxw); margin: 0 auto; padding: 9rem var(--pad); text-align: center; display: grid; gap: 1rem; justify-items: center; }

@media (max-width: 920px) {
  .job-body { grid-template-columns: 1fr; }
  .apply-panel { position: static; }
}

/* ============================================================
   ADMIN — jobs management
   ============================================================ */
.admin-or { display: flex; align-items: center; gap: 1rem; color: var(--grey-2); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 1.6rem 0; max-width: 420px; }
.admin-or::before, .admin-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.admin-tabs { display: flex; gap: 1.6rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.admin-tab { background: none; border: none; font-family: var(--body); font-weight: 600; font-size: 1rem; color: var(--grey); padding: 0.6rem 0; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 0.5rem; }
.admin-tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.admin-h2 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 1.2rem; color: var(--ink); }
.admin-grid { display: grid; grid-template-columns: minmax(320px, 0.85fr) 1.15fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.field select { width: 100%; font-family: var(--body); font-size: 0.98rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem 2.2rem 0.8rem 0.95rem; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236C6E73' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; }
.field select:focus { outline: none; border-color: var(--ink); }
.admin-checks { display: flex; gap: 1.6rem; }
.chk { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; color: var(--ink); cursor: pointer; }
.chk input { width: 16px; height: 16px; accent-color: var(--ink); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--paper); position: relative; }
.toggle__txt { display: grid; gap: 0.1rem; }
.toggle__txt strong { font-weight: 700; color: var(--ink); }
.toggle__txt small { color: var(--grey); font-size: 0.82rem; }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle__track { width: 46px; height: 26px; border-radius: 100px; background: var(--paper-3); position: relative; transition: background 0.3s ease; flex: none; }
.toggle__knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.3); transition: transform 0.3s var(--ease); }
.toggle input:checked ~ .toggle__track { background: var(--ink); }
.toggle input:checked ~ .toggle__track .toggle__knob { transform: translateX(20px); }
.admin-ok { margin-top: 0.2rem; padding: 0.75rem 1rem; background: var(--ink); color: var(--paper); border-radius: 10px; font-size: 0.9rem; }
.admin-muted { color: var(--grey-2); font-weight: 400; font-size: 0.9rem; }
.admin-jobs { display: grid; gap: 0.6rem; }   /* natural page flow — no inner scroll (avoids scroll trapping) */
.admin-job { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); flex-wrap: nowrap; }
.admin-job__main { min-width: 0; }
.admin-job__title { font-family: var(--mark); font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 0.5rem; }
.admin-job__li { font-family: var(--mark); font-weight: 800; font-size: 0.6rem; background: #0A66C2; color: #fff; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 4px; flex: none; }
.admin-job__conf { font-family: var(--body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.03em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 0.12rem 0.4rem; border-radius: 4px; flex: none; }
.admin-job__meta { color: var(--grey); font-size: 0.82rem; margin-top: 0.25rem; }
.admin-job__act { display: flex; align-items: center; gap: 0.45rem; flex: none; }
.admin-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer; background: var(--paper); }
.admin-icon svg { width: 16px; height: 16px; }
.admin-icon:hover { border-color: var(--ink); }
.admin-icon--del:hover { background: #b00020; border-color: #b00020; color: #fff; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }

/* remove the custom-select chevron (kept the field clean) */
.csel__chev { display: none !important; }
/* tidy + on-brand scrollbar for the admin live-jobs list */
.admin-jobs { padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(10,10,11,0.2) transparent; }
.admin-jobs::-webkit-scrollbar { width: 8px; }
.admin-jobs::-webkit-scrollbar-track { background: transparent; margin: 4px 0; }
.admin-jobs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 100px; }
.admin-jobs::-webkit-scrollbar-thumb:hover { background: var(--grey-2); }

/* ============================================================
   "CREATE A PROFILE" MODAL (save-job gate)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 500; display: none; place-items: center; padding: 1.5rem; }
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,10,11,0.45); backdrop-filter: blur(4px); animation: fadeIn 0.3s ease; }
.modal__card { position: relative; z-index: 1; width: min(440px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: 0 30px 70px -30px rgba(10,10,11,0.5); animation: modalIn 0.35s var(--ease); }
.modal__close { position: absolute; top: 0.8rem; right: 1rem; background: none; border: none; font-size: 1.7rem; line-height: 1; color: var(--grey); cursor: pointer; }
.modal__close:hover { color: var(--ink); }
.modal__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.7rem); letter-spacing: -0.02em; color: var(--ink); margin: 0.6rem 0 0.5rem; }
.modal__sub { color: var(--grey); font-size: 0.98rem; margin-bottom: 1.4rem; line-height: 1.55; }
.modal__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ============================================================
   ADMIN — candidates
   ============================================================ */
.cand-list { display: grid; gap: 0.8rem; max-height: 640px; overflow: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(10,10,11,0.2) transparent; }
.cand-list::-webkit-scrollbar { width: 8px; }
.cand-list::-webkit-scrollbar-track { background: transparent; margin: 4px 0; }
.cand-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 100px; }
.cand-list::-webkit-scrollbar-thumb:hover { background: var(--grey-2); }
.cand { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; background: var(--paper); }
.cand__head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.cand__name { font-family: var(--mark); font-weight: 700; color: var(--ink); }
.cand__email { color: var(--grey); font-size: 0.88rem; text-decoration: underline; text-underline-offset: 2px; }
.cand__tags { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.cand__tags time { color: var(--grey-2); font-size: 0.78rem; }
.cand-tag { font-size: 0.72rem; border: 1px solid var(--line); border-radius: 100px; padding: 0.12rem 0.55rem; color: var(--ink); }
.cand-tag--app { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cand-tag--open { background: #EEF8F1; color: #1E8E4E; border-color: #B8E0C6; font-weight: 600; }
.cand-app--reg { border-style: dashed; }
.cand-apps { margin-top: 0.7rem; display: grid; gap: 0.3rem; }
.cand-apps li { font-size: 0.88rem; color: var(--grey); padding-left: 1rem; position: relative; }
.cand-apps li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.cand-cv { color: var(--ink); }

/* ============================================================
   CANDIDATE DASHBOARD
   ============================================================ */
.dash { max-width: var(--maxw); margin: 0 auto; padding: 8rem var(--pad) 5rem; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.dash__hi { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; margin-top: 0.5rem; color: var(--ink); }
.dash__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 3vw, 2rem); align-items: start; }
.dash__col { display: grid; gap: 1.5rem; }
.dash-card { border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2rem); background: var(--paper); }
.dash-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.dash-card__title { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--ink); }
.dash-muted { color: var(--grey-2); font-weight: 400; font-size: 0.9rem; }
.dash-edit { background: none; border: 1px solid var(--line); border-radius: 100px; padding: 0.4rem 1rem; font-family: var(--body); font-weight: 600; font-size: 0.85rem; color: var(--ink); cursor: pointer; transition: all 0.3s ease; }
.dash-edit:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.profile-dl { display: grid; gap: 0.9rem; }
.profile-dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: baseline; }
.profile-dl dt { color: var(--grey); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.profile-dl dd { color: var(--ink); font-size: 1rem; }
.dash__actions { display: flex; gap: 0.8rem; }
.dash-rows { display: grid; gap: 0.6rem; }
.dash-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 12px; }
.dash-row__main { display: grid; gap: 0.15rem; text-decoration: none; }
.dash-row__title { font-family: var(--mark); font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.dash-row__meta { color: var(--grey); font-size: 0.82rem; }
.dash-row__x { background: none; border: none; font-size: 1.3rem; color: var(--grey-2); cursor: pointer; line-height: 1; }
.dash-row__x:hover { color: var(--ink); }
.dash-empty { color: var(--grey); font-size: 0.92rem; padding: 0.5rem 0; }

/* candidate application card (what you applied for + simple status) */
.app-card { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.app-card + .app-card { margin-top: 0.7rem; }
.app-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.app-card__main { display: grid; gap: 0.18rem; min-width: 0; }
a.dash-row__title { text-decoration: none; }
a.dash-row__title:hover { text-decoration: underline; text-underline-offset: 2px; }
.app-card__note { color: var(--grey); font-size: 0.86rem; margin: 0.55rem 0 0; line-height: 1.5; }
.app-card__date { color: var(--grey-2); font-size: 0.76rem; margin-top: 0.35rem; display: block; }
.app-state { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.76rem; font-weight: 600; color: var(--ink); white-space: nowrap; padding: 0.25rem 0.65rem; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); flex: none; }
.app-state__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grey-2); }
.app-state--received .app-state__dot { background: var(--grey-2); }
.app-state--reviewing .app-state__dot { background: #C7920B; }
.app-state--reviewing { border-color: #E7CE8F; background: #FBF6E9; }
.app-state--contact .app-state__dot { background: #1E8E4E; }
.app-state--contact { border-color: #B8E0C6; background: #EEF8F1; }

/* status pills (candidate dashboard + admin) */
.status-pill { font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 100px; border: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
button.status-pill { font-family: var(--body); cursor: pointer; transition: opacity 0.2s ease, filter 0.2s ease; }
button.status-pill:hover { opacity: 0.82; }
.status-pill--new { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.status-pill--reviewing { background: var(--paper-2); }
.status-pill--shortlisted { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.status-pill--rejected { color: var(--grey-2); }
@media (max-width: 860px) { .dash__grid { grid-template-columns: 1fr; } }

/* job status pills (admin list) */
.status-pill--open { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.status-pill--paused { background: var(--paper-2); color: var(--grey); }
.status-pill--closed { background: transparent; color: var(--grey-2); }

/* admin application detail + status */
.cand-apps { margin-top: 0.8rem; display: grid; gap: 0.6rem; }
.cand-app { border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem 0.9rem; background: var(--paper-2); }
.cand-app__top { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; }
.cand-app__role { font-family: var(--mark); font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.cand-status { font-family: var(--body); font-size: 0.8rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: 0.3rem 1.5rem 0.3rem 0.7rem; cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236C6E73' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.6rem center; }
.cand-status-wrap { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 0.2rem; flex: none; }
.cand-status-wrap__cap { font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--grey-2); }
.cand-app__meta { color: var(--grey); font-size: 0.82rem; margin-top: 0.45rem; }
.cand-app__meta a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cand-app__note { color: var(--grey); font-size: 0.88rem; margin-top: 0.5rem; white-space: pre-wrap; line-height: 1.5; }
.cand-app__note-label { display: block; font-family: var(--mark); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.2rem; }

/* candidate's profile, shown to the recruiter */
.cand-profile { margin-top: 0.9rem; padding: 0.85rem 0.95rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); }
.cand-profile__cap { display: block; font-family: var(--mark); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.55rem; }
.cand-profile__dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.5rem 1.4rem; margin: 0; }
.cand-profile__dl dt { font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--grey-2); }
.cand-profile__dl dd { margin: 0.1rem 0 0; font-size: 0.9rem; color: var(--ink); }

/* admin private notes on a candidate */
.cand-notes { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.cand-notes__label { display: block; font-family: var(--mark); font-weight: 700; font-size: 0.78rem; color: var(--ink); margin-bottom: 0.5rem; }
.cand-notes__hint { font-family: var(--body); font-weight: 400; color: var(--grey); }
.cand-notes__field { width: 100%; font-family: var(--body); font-size: 0.9rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.85rem; line-height: 1.5; resize: vertical; min-height: 64px; transition: border-color 0.2s ease; }
.cand-notes__field:focus { outline: none; border-color: var(--ink); }
.cand-notes__field::placeholder { color: var(--grey); }
.cand-notes__bar { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.6rem; }
.cand-notes__ok { font-size: 0.82rem; color: var(--grey); }

/* ============================================================
   SECTOR COLOUR UNDERTONES
   monochrome by default; a subtle sector colour peeks through on hover
   ============================================================ */
:root {
  --sec-logistics: #1F9D57;     /* Supply Chain & Logistics — green */
  --sec-construction: #E07B0E;  /* Construction — orange */
  --sec-facilities: #2F6FE0;    /* Facilities — blue */
}
/* assign each sector its colour (home rows + sectors-page cards) */
.sector[href="logistics.html"],    .sector-card[href="logistics.html"]    { --sec: var(--sec-logistics); }
.sector[href="construction.html"], .sector-card[href="construction.html"] { --sec: var(--sec-construction); }
.sector[href="facilities.html"],   .sector-card[href="facilities.html"]   { --sec: var(--sec-facilities); }
/* home sector cards — coloured outline + faint tint + number on hover */
.sector[href$=".html"]:hover,
.sector[href$=".html"]:focus-visible { border-color: var(--sec, var(--ink)); background: color-mix(in srgb, var(--sec) 4%, var(--paper)); }
.sector:hover .sector__no, .sector:focus-visible .sector__no { color: var(--sec, var(--ink)); }
/* sectors page cards — coloured outline + faint background tint on hover */
.sector-card[href$=".html"]:hover,
.sector-card[href$=".html"]:focus-visible { border-color: var(--sec, var(--ink)); background: color-mix(in srgb, var(--sec) 4%, var(--paper)); }
/* footer sector links tint on hover */
.footer__cols a[href="logistics.html"]:hover    { color: var(--sec-logistics); }
.footer__cols a[href="construction.html"]:hover { color: var(--sec-construction); }
.footer__cols a[href="facilities.html"]:hover   { color: var(--sec-facilities); }

/* ============================================================
   JOB POSTED-DATE CHIPS + "LIVE TODAY"
   ============================================================ */
.chip--date { color: var(--grey); background: var(--paper); }
.chip--today { background: #0FA958; color: #fff; border-color: #0FA958; font-weight: 700; display: inline-flex; align-items: center; gap: 0.4rem; }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.chip--today .chip__dot { background: #fff; animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); } 70% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.job--today { border-color: var(--ink); }

/* ============================================================
   ADMIN — job posted date + aging controls
   ============================================================ */
.admin-job__posted { margin-top: 0.3rem; }
.admin-age { font-size: 0.78rem; color: var(--grey); display: inline-flex; align-items: center; gap: 0.35rem; }
.admin-age--today { color: #0B7A3E; font-weight: 600; }
.admin-age--today .chip__dot { background: #0FA958; }
.admin-age--warn { color: #9A6700; font-weight: 600; }
.admin-job--old { background: #FFFBEB; border-color: #F2D98D; }
.admin-date-set { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.55rem; flex-wrap: wrap; }
.admin-date-set__lbl { font-size: 0.7rem; color: var(--grey-2); text-transform: uppercase; letter-spacing: 0.05em; }
.admin-date-set button { font-family: var(--body); font-size: 0.74rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 100px; padding: 0.25rem 0.65rem; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.admin-date-set button:hover { border-color: var(--ink); }
.admin-date-set__pub { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.field-hint { display: block; font-size: 0.74rem; color: var(--grey-2); margin-top: 0.35rem; line-height: 1.4; }

/* danger button (delete confirm) */
.btn--danger { background: #C0362C; border-color: #C0362C; color: #FFFFFF; }
.btn--danger:hover { background: #A52A21; border-color: #A52A21; }

/* candidates: active/archived tabs + archive/restore buttons */
.cand-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.cand-tabs { display: inline-flex; gap: 0.3rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 0.25rem; }
.cand-tab { font-family: var(--body); font-weight: 600; font-size: 0.82rem; padding: 0.4rem 0.9rem; border: none; background: transparent; color: var(--grey); border-radius: 100px; cursor: pointer; transition: background 0.25s ease, color 0.25s ease; }
.cand-tab.is-active { background: var(--ink); color: var(--paper); }
.cand-archive { font-family: var(--body); font-size: 0.78rem; color: var(--grey); background: var(--paper); border: 1px solid var(--line); border-radius: 100px; padding: 0.3rem 0.8rem; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease; }
.cand-archive:hover { border-color: var(--ink); color: var(--ink); }

/* admin live-jobs pagination */
.admin-jobs-pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.admin-jobs-pager button { font-family: var(--body); font-size: 0.82rem; min-width: 36px; padding: 0.4rem 0.6rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 9px; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease; }
.admin-jobs-pager button:hover:not(:disabled) { border-color: var(--ink); }
.admin-jobs-pager button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.admin-jobs-pager button:disabled { opacity: 0.4; cursor: default; }

/* ============================================================
   ADMIN — live coverage world map
   ============================================================ */
.coverage { margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); }
.coverage__legend i { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }   /* keeps the white 'Candidates' swatch visible */
.coverage__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.coverage__sub { color: var(--grey); font-size: 0.9rem; margin-top: 0.25rem; }
.coverage__legend { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; }
.coverage__legend span { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; color: var(--grey); }
.coverage__legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
#coverageMap { width: 100%; display: block; border-radius: 16px; border: 1px solid var(--line); background: #0A0A0B; }

/* ============================================================
   TYPOGRAPHY — avoid orphan words dangling on their own line
   ============================================================ */
p { text-wrap: pretty; }   /* keeps a lone word off the last line where supported */
.principle p, .approach__intro p, .page-lead, .sector-card p, .sector__body p,
.page-hero__inner p, .cta-form__intro p, .register-points__list li,
.dash-empty, .modal__sub, .auth__lead { text-wrap: balance; }
