/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ TOKENS ============ */
:root {
  --brand: #0e6fd8;
  --brand-dark: #0a54a8;
  --brand-bright: #3f9bff;
  --bg: #0d0d12;
  --ink: #ecedef;
  --ink-soft: #a0a3ae;
  --paper: #0d0d12;
  --card: #16161d;
  --field: #1c1c24;
  --line: rgba(255, 255, 255, 0.09);
  --footer-bg: #0a0a0e;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 18px 44px rgba(14, 111, 216, 0.22);
  --card-border: linear-gradient(140deg, rgba(255,255,255,0.16), rgba(14,111,216,0.30) 45%, rgba(255,255,255,0.05));
  --heading: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { font-family: var(--heading); line-height: 1.15; }

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

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand);
  color: #fff;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
}

@media (min-width: 800px) { .wordmark { font-size: 1.25rem; } }

.main-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.92;
}

.main-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.nav-cta {
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav open state */
.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  background: var(--brand-dark);
  padding: 1.25rem;
  gap: 1.1rem;
}

@media (min-width: 800px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* ============ FIXED CITY BACKDROP ============ */
/* position:fixed layer (not background-attachment:fixed) so it works on iOS */
.city-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  /* Photo: Wikimedia Commons (see public/media/ATTRIBUTION.md). Gradient = instant-paint fallback. */
  background: linear-gradient(180deg, #131318 0%, #0d0d12 60%, #05050a 100%);
}

.city-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/media/city-photo.jpg?v=ramp1') center 30% / cover no-repeat;
}

/* Frosted sections: content stays readable, the skyline ghosts through everywhere */
.specialisms, .pillars, .locations, .insights { background: rgba(13, 13, 18, 0.86); }
.engagement, .testimonials, .contact { background: rgba(17, 17, 24, 0.84); }
.jobs-page { background: rgba(13, 13, 18, 0.9); }

/* ============ HERO ============ */
/* iOS Safari pans sideways to blurred/animated children that other engines clip
   (the hero wash) — hard-stop horizontal panning site-wide. clip doesn't create
   a scroll container, so position:sticky keeps working. */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }

.hero {
  position: relative;
  min-height: 82vh;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
  padding-bottom: 3.5vw;
  margin-bottom: -3.5vw; /* specialisms fills the angled notch — no backdrop sliver */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero-media,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-wash {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 55% at 20% 30%, rgba(14, 111, 216, 0.5), transparent 70%),
    radial-gradient(35% 50% at 80% 65%, rgba(255, 94, 58, 0.35), transparent 70%),
    radial-gradient(50% 60% at 60% 15%, rgba(120, 8, 40, 0.55), transparent 75%);
  filter: blur(42px);
  mix-blend-mode: screen;
  animation: washDrift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes washDrift {
  from { transform: translate3d(-4%, -2%, 0) rotate(-2deg) scale(1); }
  to { transform: translate3d(4%, 3%, 0) rotate(2deg) scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.45) 0%, rgba(10, 10, 12, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 1.25rem;
  max-width: 860px;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-sub {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  opacity: 0.9;
}

.hero-search {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  padding: 0.75rem;
  border-radius: var(--radius);
}

.hero-search input {
  border: 0;
  border-radius: 6px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-family: var(--body);
}

.hero-search button {
  border: 0;
  border-radius: 6px;
  padding: 0.9rem 1.5rem;
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--heading);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hero-search button:hover { background: var(--brand-dark); }

@media (min-width: 720px) {
  .hero-search { grid-template-columns: 2fr 1.4fr auto; }
}

/* ============ SECTIONS ============ */
.section-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.25rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ============ SPECIALISMS ============ */
.specialisms { padding: 5rem 0 6rem; }

.specialism-grid {
  max-width: 1200px;
  margin: 2.75rem auto 0;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) { .specialism-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .specialism-grid { grid-template-columns: repeat(4, 1fr); } }

.spec-card {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.spec-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Real photography (Unsplash, free commercial licence); gradient behind = load fallback */
.spec-img-1 { background: linear-gradient(135deg, #2b2b33, #55555f); background-image: url('/media/spec-1.jpg'); background-size: cover; background-position: center; }
.spec-img-2 { background: linear-gradient(135deg, #04305c, #0a5cb0); background-image: url('/media/spec-2.jpg'); background-size: cover; background-position: center; }
.spec-img-3 { background: linear-gradient(135deg, #1e2a38, #3d5468); background-image: url('/media/spec-3.jpg'); background-size: cover; background-position: center; }
.spec-img-4 { background: linear-gradient(135deg, #3a3a3a, #171717); background-image: url('/media/spec-4.jpg'); background-size: cover; background-position: center; }

.spec-body { padding: 1.25rem 1.25rem 1.5rem; }

.spec-body h3 { font-size: 1.15rem; letter-spacing: 0.02em; }

.spec-body h3 a { text-decoration: none; }
.spec-body h3 a:hover { color: var(--brand); }

.spec-toggle {
  margin-top: 0.8rem;
  background: none;
  border: 0;
  padding: 0.2rem 0;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand);
  cursor: pointer;
}

.spec-toggle::after {
  content: "▾";
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.2s ease;
}

.spec-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

.spec-list {
  list-style: none;
  margin-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.spec-list li { border-bottom: 1px solid var(--line); }

.spec-list a {
  display: block;
  padding: 0.55rem 0.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.spec-list a:hover { color: var(--brand); }

.hero-employer { margin-top: 1.4rem; font-size: 0.95rem; opacity: 0.85; }
.hero-employer a { color: #fff; font-weight: 600; }

/* ============ ENGAGEMENT MODEL ============ */
.engagement { padding: 5rem 0; }

.tier-grid {
  max-width: 1100px;
  margin: 2.75rem auto 0;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }

.tier-card {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.tier-featured { border-top: 5px solid var(--brand); }

.tier-step {
  font-family: var(--heading);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.15em;
}

.tier-card h3 { font-size: 1.25rem; }
.tier-card p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }

.tier-cta {
  align-self: flex-start;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
}

/* ============ STATS ============ */
/* semi-transparent so the fixed skyline glints through on scroll */
.stats {
  background: rgba(163, 2, 33, 0.88);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  padding: 3.5rem 1.25rem;
  text-align: center;
}

@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat-num {
  display: block;
  font-family: var(--heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stat-label { font-size: 0.9rem; opacity: 0.9; }

/* ============ PILLARS ============ */
.pillars { padding: 5.5rem 0; }

.pillar-grid {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2.5rem;
}

@media (min-width: 640px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillar-grid { grid-template-columns: repeat(5, 1fr); } }

.pillar h3 {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.pillar p { margin-top: 0.6rem; color: var(--ink-soft); font-size: 0.93rem; }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 5rem 0; }

.carousel {
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 0 1.25rem;
}

/* Slides stack in one grid cell: the tallest quote sets the height, nothing overflows */
.carousel-track { display: grid; }

.testimonial {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.25rem;
  pointer-events: none;
}

.testimonial[aria-hidden="false"] { opacity: 1; pointer-events: auto; }

.testimonial p { font-size: 1.08rem; line-height: 1.7; }

.testimonial footer { margin-top: 1.25rem; }
.testimonial footer strong { display: block; font-family: var(--heading); }
.testimonial footer span { color: var(--ink-soft); font-size: 0.9rem; }

.carousel-controls {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.carousel-btn {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn:hover { background: var(--ink); color: var(--bg); }

.carousel-dots { display: flex; gap: 0.5rem; }

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #3a3a44;
  cursor: pointer;
  padding: 0;
}

.carousel-dots button[aria-selected="true"] { background: var(--brand); }

/* ============ LOCATIONS ============ */
.locations { padding: 5.5rem 0; }

.location-grid {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 900px) { .location-grid { grid-template-columns: repeat(4, 1fr); } }

.loc-card {
  height: 180px;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.loc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

/* City photography (Unsplash, free commercial licence); dark gradient keeps names readable */
.loc-1 { background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.6)), url('/media/loc-teterboro.jpg') center/cover; }
.loc-2 { background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.6)), url('/media/loc-dallas.jpg') center/cover; }
.loc-3 { background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.6)), url('/media/loc-fortlauderdale.jpg') center/cover; }
.loc-4 { background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.6)), url('/media/loc-vannuys.jpg') center/cover; }

/* ============ BENTO (how we work + numbers) ============ */
.bento-band {
  padding: calc(6rem + 2.5vw) 0;
  background: rgba(13, 13, 18, 0.86);
  clip-path: polygon(0 2.5vw, 100% 0, 100% calc(100% - 2.5vw), 0 100%);
  position: relative;
  z-index: 1;
  margin: -2.5vw 0; /* angled edges overlap the neighbours so no backdrop sliver shows */
}

.bento {
  max-width: 1150px;
  margin: 2.75rem auto 0;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "a a b c"
      "d e f c";
  }
  .bento-a { grid-area: a; }
  .bento-b { grid-area: b; }
  .bento-c { grid-area: c; }
  .bento-d { grid-area: d; }
  .bento-e { grid-area: e; }
  .bento-f { grid-area: f; }
}

.bento-tile {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.bento-stat .stat-num {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--brand-bright);
  line-height: 1;
}

.bento-stat .stat-label { color: var(--ink-soft); font-size: 0.95rem; }

.bento-a .stat-num { font-size: clamp(3rem, 6vw, 4.6rem); }

.bento-tile h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.bento-tile p { color: var(--ink-soft); font-size: 0.95rem; }

.bento-c { background: linear-gradient(160deg, #051a2e, #060b14) padding-box, var(--card-border) border-box; }
.bento-c h3 { font-size: 1.45rem; }

.bento-cta {
  align-self: flex-start;
  margin-top: 0.6rem;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-bright);
  text-decoration: none;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
}

/* ---- salary teaser inside CTA band ---- */
.salary-teaser {
  margin: 1.75rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 640px;
}

.salary-teaser input {
  flex: 1 1 180px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  color: var(--ink);
  font-size: 1rem;
  font-family: var(--body);
}

.salary-teaser button {
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-family: var(--heading);
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
}

.salary-teaser button:hover { background: var(--brand-dark); }

/* ============ EMPLOYER CONTACT ============ */
.contact { padding: 5rem 1.25rem; }

.contact-form {
  max-width: 680px;
  margin: 2.25rem auto 0;
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-row { grid-template-columns: 1fr 1fr; } }

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--body);
  background: var(--field);
  color: var(--ink);
}

.contact-done { color: #4ade80; font-weight: 600; }

/* ============ JOB DETAIL PAGE ============ */
.job-breadcrumb { margin-bottom: 1.5rem; }
.job-breadcrumb a { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; }
.job-breadcrumb a:hover { color: var(--brand); }

.job-detail h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }

.job-detail-summary { margin-top: 1rem; font-size: 1.1rem; color: var(--ink-soft); }

.job-detail-desc {
  margin-top: 1.5rem;
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.job-detail-apply { margin-top: 3rem; }
.job-detail-apply h2 { font-size: 1.4rem; }

.detail-apply-form {
  margin-top: 1.25rem;
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 560px;
}

.detail-apply-form label { font-size: 0.85rem; font-weight: 600; display: flex; flex-direction: column; gap: 0.3rem; }

.detail-apply-form input[type="text"],
.detail-apply-form input[type="email"],
.detail-apply-form input[type="tel"],
.detail-apply-form textarea {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--body);
}

.job-title-link { text-decoration: none; }
.job-title-link:hover { color: var(--brand); }

.leads-subhead { margin: 1.5rem 0 0.75rem; font-size: 1.05rem; }

/* ============ INSIGHTS ARTICLE ============ */
.post h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin-top: 0.4rem; }

.post-body {
  margin-top: 1.75rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.25rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 760px;
}

.post-body h2 { margin: 1.75rem 0 0.75rem; font-size: 1.35rem; }
.post-body h3 { margin: 1.4rem 0 0.6rem; font-size: 1.1rem; }
.post-body p { margin: 0.9rem 0; }
.post-body ul { margin: 0.9rem 0 0.9rem 1.4rem; }
.post-body a { color: var(--brand); }

/* ============ TOOL PAGES (salary checker / register) ============ */
.tool-form {
  margin-top: 2rem;
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 680px;
}

.tool-form label { font-size: 0.85rem; font-weight: 600; display: flex; flex-direction: column; gap: 0.3rem; }

.tool-form input[type="text"],
.tool-form input[type="email"],
.tool-form input[type="tel"],
.tool-form select,
.tool-form textarea {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--body);
  background: var(--field);
  color: var(--ink);
}

.alerts-opt { flex-direction: row !important; align-items: center; gap: 0.5rem !important; }
.alerts-opt input { accent-color: var(--brand); width: 17px; height: 17px; }

.salary-result {
  margin-top: 2rem;
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 680px;
}

.salary-result h2 { font-size: 1.3rem; }

.salary-bar { margin: 1.75rem 0 1.25rem; }

.salary-bar-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3a232a, var(--brand));
}

.salary-bar-median {
  position: absolute;
  top: -5px;
  width: 4px;
  height: 24px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
}

.salary-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.sr-median { color: var(--brand-dark); }

.salary-result p { margin-top: 0.75rem; color: var(--ink-soft); }
.salary-result ul { margin: 0.75rem 0 1rem 1.3rem; color: var(--ink-soft); font-size: 0.95rem; }

.salary-ctas { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.sr-cta { text-decoration: none; text-align: center; padding: 0.7rem 1.3rem !important; }
.sr-cta-alt { background: #2a2a33 !important; }

/* ============ SALARY CTA BAND (homepage) ============ */
.salary-cta-band { background: rgba(17,17,24,0.9); color: #fff; clip-path: polygon(0 2.5vw, 100% 0, 100% calc(100% - 2.5vw), 0 100%); padding-top: calc(6rem + 2.5vw); padding-bottom: calc(6rem + 2.5vw); position: relative; z-index: 1; margin: -2.5vw 0; padding: 4.5rem 1.25rem; text-align: center; }
.salary-cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.salary-cta-band p { margin-top: 0.9rem; opacity: 0.85; max-width: 560px; margin-left: auto; margin-right: auto; }
.salary-cta-band a {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  padding: 0.85rem 1.8rem;
  font-family: var(--heading);
  font-weight: 700;
  text-decoration: none;
}
.salary-cta-band a:hover { background: var(--brand-dark); }

/* ============ LEAD MAGNET ============ */
.lead-magnet { background: var(--ink); color: #fff; padding: 4.5rem 1.25rem; }

.lead-inner { max-width: 680px; margin: 0 auto; text-align: center; }

.lead-inner h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.lead-inner p { margin-top: 0.9rem; opacity: 0.85; }

.lead-inner form {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.lead-inner input {
  flex: 1 1 260px;
  max-width: 340px;
  border: 0;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
}

.lead-inner button {
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-family: var(--heading);
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
}

.lead-done { margin-top: 1rem; color: #8be28b; }

/* ============ INSIGHTS ============ */
.insights { padding: 5.5rem 0 6rem; }

.insight-grid {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) { .insight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .insight-grid { grid-template-columns: repeat(4, 1fr); } }

.insight-card {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding-bottom: 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.insight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.insight-img { height: 130px; }

.insight-tag {
  display: inline-block;
  margin: 1rem 1.25rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.insight-card h3 { font-size: 1.02rem; margin: 0.5rem 1.25rem 0; line-height: 1.4; }

.insights-all { color: var(--brand); font-weight: 600; text-decoration: none; }
.insights-all:hover { text-decoration: underline; }

.ai-draft-label { display: flex !important; flex-direction: row !important; align-items: center; gap: 0.5rem !important; font-weight: 600; }
.post-view-link {
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 0.45rem 1rem;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-block;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--footer-bg);
  color: #d9d9d9;
  padding: 3.5rem 1.25rem 2rem;
}

.footer-cols {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (min-width: 800px) { .footer-cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-col h4 {
  font-family: var(--heading);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  color: #d9d9d9;
  text-decoration: none;
  font-size: 0.93rem;
  padding: 0.25rem 0;
}

.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-tag { margin-top: 0.75rem; font-size: 0.9rem; opacity: 0.7; }

.footer-strip {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2a2e;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
}

.footer-strip p + p { margin-top: 0.5rem; }

.wordmark-footer { color: #fff; font-size: 1.2rem; }

.footer-note { font-size: 0.85rem; }

/* ============ JOBS PAGE ============ */
.jobs-page { max-width: 900px; margin: 0 auto; padding: 3rem 1.25rem 5rem; }

@media (min-width: 960px) {
  .jobs-page { border-radius: var(--radius); margin-top: 1.5rem; margin-bottom: 1.5rem; }
}

.jobs-hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.jobs-hero p { margin-top: 0.6rem; color: var(--ink-soft); }

.jobs-filters {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 720px) { .jobs-filters { grid-template-columns: 2fr 1.6fr 1fr 1fr; } }

.jobs-filters input,
.jobs-filters select {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--body);
  background: var(--field);
  color: var(--ink);
}

.jobs-count { margin-top: 1.5rem; color: var(--ink-soft); font-size: 0.9rem; }

.jobs-list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 1rem; }

/* ---- Envelope stacks: one pile per discipline, tap to open ---- */
.job-stack { position: relative; margin-bottom: 0.85rem; }

.job-stack::before, .job-stack::after {
  content: '';
  position: absolute;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 0;
}

.job-stack::before { left: 9px; right: 9px; bottom: -6px; height: 16px; }
.job-stack::after { left: 18px; right: 18px; bottom: -11px; height: 16px; opacity: 0.65; }

.stack-open::before, .stack-open::after { display: none; }
.stack-open { margin-bottom: 0.25rem; }

.stack-head {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  padding: 1.2rem 1.5rem;
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.stack-head:hover { box-shadow: var(--shadow-lift); }

.stack-count {
  color: var(--ink-soft);
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
}

.stack-chev { margin-left: auto; color: var(--brand); transition: transform 0.2s ease; }
.stack-open .stack-chev { transform: rotate(180deg); }

.stack-body { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.stack-body[hidden] { display: none; }

.job-card {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

.job-main { flex: 1 1 420px; }

.job-card h3 { font-size: 1.15rem; }

.job-meta { margin-top: 0.35rem; color: var(--brand); font-size: 0.85rem; font-weight: 600; }

.job-summary { margin-top: 0.6rem; color: var(--ink-soft); font-size: 0.95rem; }

.job-desc {
  margin-top: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--field);
  border-radius: 6px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.job-actions { display: flex; gap: 0.6rem; }

.job-actions button {
  border-radius: 6px;
  padding: 0.55rem 1.1rem;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.job-more { background: none; border: 2px solid var(--ink); color: var(--ink); }
.job-more:hover { background: var(--ink); color: var(--bg); }

.job-apply { background: var(--brand); border: 2px solid var(--brand); color: #fff; }
.job-apply:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.jobs-empty { color: var(--ink-soft); padding: 2rem 0; }

/* ============ MODAL ============ */
.modal-backdrop[hidden] { display: none; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.modal h2 { font-size: 1.4rem; }
.modal-job { color: var(--brand); font-weight: 600; margin-top: 0.3rem; font-size: 0.95rem; }

.modal form { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; }

.modal label { font-size: 0.85rem; font-weight: 600; display: flex; flex-direction: column; gap: 0.3rem; }

.modal input[type="text"],
.modal input[type="email"],
.modal input[type="tel"],
.modal textarea {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--body);
}

.modal input[type="file"] { font-size: 0.85rem; }

.apply-submit {
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.85rem;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.apply-submit:hover { background: var(--brand-dark); }
.apply-submit:disabled { opacity: 0.6; cursor: wait; }

/* External listings (scraped): primary link out to the employer's own careers site */
.apply-external-wrap { margin: 0.5rem 0 1rem; }
.apply-external-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  padding: 0.85rem 1.2rem;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.apply-external-btn:hover { background: var(--brand-dark); }

.apply-status { color: var(--brand); font-size: 0.9rem; min-height: 1.2em; }

.apply-done h3 { color: #4ade80; }
.apply-done p { margin-top: 0.6rem; color: var(--ink-soft); }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-wash { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .spec-card, .spec-card:hover { transform: none; transition: none; }
}


/* ============ OFFICE PAGES ============ */
.office-hero {
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  padding: 4.5rem 2rem;
  border: 1px solid var(--line);
}

.office-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -0.02em; color: #fff; }
.office-hero p { margin-top: 0.9rem; max-width: 560px; color: rgba(255, 255, 255, 0.85); }

.office-contact { margin-top: 1.25rem; }
.office-contact a { color: var(--brand-bright); }

.office-jobs-head { margin-top: 2.5rem; font-size: 1.4rem; letter-spacing: -0.01em; }

/* ---- Application status tracker (/status/:token) ---- */
.status-steps { list-style: none; margin: 2rem 0 1rem; padding: 0; max-width: 480px; }
.status-step { position: relative; padding: 0 0 1.6rem 2.2rem; color: var(--ink-soft); font-size: 1rem; }
.status-step::before { content: ''; position: absolute; left: 0.55rem; top: 1.2rem; bottom: 0; width: 2px; background: var(--line); }
.status-step:last-child::before { display: none; }
.status-dot { position: absolute; left: 0; top: 0.15rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 2px solid var(--line); background: var(--card); }
.status-done { color: var(--ink); }
.status-done .status-dot { background: #1da24e; border-color: #1da24e; }
.status-now { color: var(--ink); font-weight: 700; }
.status-now .status-dot { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 14px rgba(228, 3, 46, 0.5); }
.status-note { color: var(--ink-soft); max-width: 520px; font-size: 0.95rem; }

/* ---- Interview booking (/book/:token) ---- */
.slot-grid { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.5rem 0 1rem; }
.slot-btn {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
}
.slot-btn:hover { box-shadow: var(--shadow-lift); }
.slot-btn:disabled { opacity: 0.5; cursor: wait; }

/* ---- Client shortlist review (/shortlist/:token) ---- */
.sl-grid { display: grid; gap: 1.2rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.sl-card {
  position: relative;
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--card-border) border-box;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem;
}
.sl-card h3 { font-size: 1.15rem; padding-right: 3.2rem; }
.sl-score {
  position: absolute; top: 1.1rem; right: 1.2rem;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #15803d; color: #fff; font-family: var(--heading); font-weight: 700;
}
.sl-role { color: var(--brand); font-size: 0.85rem; font-weight: 600; margin-top: 0.2rem; }
.sl-summary { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.6rem; line-height: 1.6; }
.sl-skills { margin-top: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sl-skills span { background: rgba(255,255,255,0.06); border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.65rem; font-size: 0.75rem; color: var(--ink-soft); }
.sl-verdict { display: flex; gap: 0.6rem; margin-top: 1rem; }
.sl-verdict button {
  flex: 1; padding: 0.7rem; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: var(--field); color: var(--ink);
  font-family: var(--heading); font-weight: 700; font-size: 0.9rem;
}
.sl-yes.sl-picked { background: #16833f; border-color: #1da24e; }
.sl-no.sl-picked { background: #6b1522; border-color: #a02236; }
.sl-comment {
  width: 100%; margin-top: 0.7rem; padding: 0.6rem 0.8rem; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 8px; background: var(--field); color: var(--ink);
  font-family: var(--body); font-size: 0.9rem;
}
.sl-saved { min-height: 1.2em; margin-top: 0.4rem; font-size: 0.82rem; color: #2bc25f; }

/* ---- "Match Me" / For You feed ---- */
.match-panel {
  max-width: 820px; margin: 0 auto 2rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem;
}
.match-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.match-panel label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; color: var(--ink); }
.match-panel label small { color: var(--ink-soft); }
.match-panel input[type="file"] { color: var(--ink); font-size: 0.85rem; }
.match-panel textarea {
  width: 100%; background: var(--field); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); padding: 0.7rem; font: inherit; resize: vertical;
}
.match-or { display: flex; align-items: center; color: var(--ink-soft); font-size: 0.85rem; }
.match-panel .apply-submit { margin-top: 1.2rem; }
@media (max-width: 640px) {
  .match-inputs { grid-template-columns: 1fr; }
  .match-or { justify-content: center; }
}
.match-profile { max-width: 820px; margin: 0 auto 0.5rem; font-size: 1.05rem; color: var(--ink); }
.match-card { position: relative; }
.match-scorewrap { margin-bottom: 0.4rem; }
.match-score { display: inline-block; border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.78rem; font-weight: 700; }
.match-strong { background: rgba(61, 220, 132, 0.16); color: #6ff0a8; border: 1px solid rgba(61, 220, 132, 0.4); }
.match-good { background: rgba(63, 155, 255, 0.16); color: var(--brand-bright); border: 1px solid rgba(63, 155, 255, 0.4); }
.match-soft { background: rgba(255, 255, 255, 0.09); color: var(--ink-soft); border: 1px solid var(--line); }
.match-reason { color: var(--ink); font-size: 0.92rem; margin: 0.3rem 0; }
.job-apply-link { display: inline-block; margin-top: 0.5rem; color: var(--brand-bright); font-weight: 600; }
.match-footer { max-width: 820px; margin: 1.5rem auto 0; color: var(--ink-soft); }
.match-footer a { color: var(--brand-bright); }

/* ---- AI concierge chat widget ---- */
.concierge-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 950;
  background: var(--brand); color: #fff; border: 0; border-radius: 999px;
  padding: 0.75rem 1.2rem; font-size: 0.95rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); display: flex; align-items: center; gap: 0.5rem;
}
.concierge-fab:hover { background: var(--brand-dark); }
.concierge-panel {
  position: fixed; bottom: 20px; right: 20px; z-index: 960;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 90px));
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}
.concierge-head { background: var(--field); padding: 0.9rem 1rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.concierge-head strong { color: var(--ink); font-size: 0.95rem; }
.concierge-head small { color: var(--ink-soft); display: block; font-size: 0.72rem; font-weight: 400; }
.concierge-close { background: none; border: 0; color: var(--ink-soft); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.concierge-close:hover { color: var(--ink); }
.concierge-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.concierge-msg { max-width: 85%; padding: 0.6rem 0.8rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.concierge-msg a { color: var(--brand-bright); }
.concierge-user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.concierge-bot { align-self: flex-start; background: var(--field); color: var(--ink); border-bottom-left-radius: 4px; }
.concierge-bot.typing { color: var(--ink-soft); font-style: italic; }
.concierge-form { display: flex; align-items: center; gap: 0.55rem; padding: 0.7rem 0.8rem; border-top: 1px solid var(--line); }
.concierge-form input { flex: 1 1 auto; min-width: 0; background: var(--field); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); padding: 0.6rem 0.9rem; font: inherit; }
.concierge-send { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: background 0.15s ease, transform 0.1s ease; }
.concierge-send svg { display: block; margin-left: 1px; }
.concierge-send:hover { background: var(--brand-dark); }
.concierge-send:active { transform: scale(0.92); }
.concierge-send:disabled { opacity: 0.5; cursor: default; }
.concierge-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.2rem; }
.concierge-chip {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  color: var(--ink); border-radius: 999px; padding: 0.4rem 0.7rem; font-size: 0.82rem; cursor: pointer;
}
.concierge-chip:hover { background: rgba(14, 111, 216, 0.22); border-color: rgba(63, 155, 255, 0.5); }
.concierge-nurture { align-self: stretch; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
.concierge-nurture p { font-size: 0.86rem; color: var(--ink); margin: 0; }
.concierge-nurture input { background: var(--field); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); padding: 0.5rem 0.6rem; font: inherit; }
.concierge-nurture .nurture-btn { background: var(--brand); color: #fff; border: 0; border-radius: 8px; padding: 0.5rem; font-weight: 700; cursor: pointer; }
.concierge-nurture .nurture-btn:disabled { opacity: 0.5; }
.concierge-nurture .nurture-done { color: #6ff0a8; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .concierge-panel { animation: concierge-in 0.18s ease-out; }
}
@keyframes concierge-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---- "A consultant reviewed your profile" (status tracker) ---- */
.status-reviewed {
  max-width: 640px; margin: 1.2rem auto 0;
  background: rgba(61, 220, 132, 0.1); border: 1px solid rgba(61, 220, 132, 0.32);
  border-radius: 12px; padding: 0.8rem 1rem; color: #cfeede; font-size: 0.95rem;
}
.status-reviewed strong { color: var(--ink); }
