/* ============================================================
   VEERJI GLOBAL LTD — standalone page styles
   Used by /team and /cookie. Matches the exported site tokens,
   type and layout so the new pages feel native.
   ============================================================ */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/3y9U6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiaaD30YfKfjZZoLvZvlyMg-792489.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/3y9U6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiaaD30YfKfjZZoLvfzlyMg-3ebb44.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/ieVq2YZDLWuGJpnzaiwFXS9tYvBRzyFLlZg_f_Ncs2Za5PpNzXhRKA.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/ieVq2YZDLWuGJpnzaiwFXS9tYvBRzyFLlZg_f_NcgWZa5PpNzXhRKA.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/ieVq2YZDLWuGJpnzaiwFXS9tYvBRzyFLlZg_f_NcbWFa5PpNzXhRKA.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/ieVq2YZDLWuGJpnzaiwFXS9tYvBRzyFLlZg_f_NcVGFa5PpNzXhRKA.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --ink: #0a1b2e;
  --ink-2: #102a45;
  --blue: #1a4d8f;
  --blue-2: #2160ad;
  --accent: #9fd8ff;
  --muted: #55637a;
  --line: #e0e8f2;
  --bg: #f1f5fb;
  --white: #ffffff;
  --display: "Bricolage Grotesque", "Bricolage Grotesque Placeholder", sans-serif;
  --body: "Hanken Grotesk", "Hanken Grotesk Placeholder", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

.container {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(10, 27, 46, 0.13);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  height: 80px;
  margin: 0 auto;
  padding: 0 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.brand img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--bg);
}

.nav-links a {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(159, 216, 255, 0.45);
}

.nav-links a[aria-current="page"] {
  background: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 5px 5px 5px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1;
}

.btn-dark {
  background: var(--blue);
  color: var(--white);
}

.btn-dark .btn-arrow {
  background: var(--accent);
  color: var(--ink);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-accent .btn-arrow {
  background: var(--ink-2);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(10, 27, 46, 0.16);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  display: none;
  padding: 8px 20px 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-menu a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mobile-menu a:first-child {
  border-top: 0;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 16px;
  justify-content: space-between;
  font-size: 15px;
}

/* ------------------------------------------------------------
   Team page
   ------------------------------------------------------------ */

.team-hero {
  padding: 104px 0 66px;
}

.eyebrow {
  margin: 0 0 28px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.team-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.62fr);
  gap: 64px;
  align-items: end;
}

.team-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 5.6vw, 78px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.team-hero h1 mark {
  display: inline-block;
  margin-top: 0.12em;
  padding: 0 0.07em;
  border-radius: 2px;
  background: var(--accent);
  color: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.team-hero-copy {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.team-section {
  padding: 0 0 120px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.person-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.person-card:hover {
  border-color: #cfdcf0;
  box-shadow: 0 24px 60px rgba(10, 27, 46, 0.08);
  transform: translateY(-2px);
}

.person-photo {
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  background: var(--bg);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.person-card:hover .person-photo img {
  transform: scale(1.025);
}

.person-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 24px;
}

.person-body h2 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.person-role {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.person-facts {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.15fr) minmax(0, 0.6fr);
  gap: 14px;
  margin: 0 0 20px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.person-facts strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.person-facts span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.person-profile {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.person-profile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.person-profile summary::-webkit-details-marker {
  display: none;
}

.person-profile summary .profile-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 14px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.person-profile[open] summary .profile-arrow {
  background: var(--accent);
  transform: rotate(90deg);
}

.person-profile p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Join / register CTA */

.team-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  overflow: hidden;
  width: calc(100% - 80px);
  max-width: 1200px;
  margin: 0 auto 120px;
  padding: 58px 60px;
  border-radius: 24px;
  background: var(--ink-2);
  color: var(--white);
}

.team-cta::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(159, 216, 255, 0.12);
  content: "";
  pointer-events: none;
}

.team-cta .eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
}

.team-cta h2 {
  max-width: 620px;
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.team-cta p {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

/* ------------------------------------------------------------
   Jobs page
   ------------------------------------------------------------ */

.jobs-hero {
  padding: 104px 0 66px;
}

.jobs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.62fr);
  gap: 64px;
  align-items: end;
}

.jobs-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 5.6vw, 78px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.jobs-hero h1 mark {
  display: inline-block;
  margin-top: 0.12em;
  padding: 0 0.07em;
  border-radius: 2px;
  background: var(--accent);
  color: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.jobs-hero-copy {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.jobs-section {
  padding: 0 0 100px;
}

.jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1000px, 100%);
  margin: 0 auto 18px;
}

.jobs-count {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.jobs-list {
  display: grid;
  gap: 20px;
  width: min(1000px, 100%);
  margin: 0 auto;
}

/* ------------------------------------------------------------
   Jobs accordion: one teaser-style row per vacancy. Clicking a
   row expands the full advert underneath it; clicking again
   collapses it.
   ------------------------------------------------------------ */
.jobs-board {
  width: min(1000px, 100%);
  margin: 0 auto;
  scroll-margin-top: 92px;
}

.jobs-board .jobs-toolbar {
  width: auto;
  margin: 0 0 14px;
}

.jobs-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.jobs-list {
  gap: 12px;
}

.job-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  scroll-margin-top: 96px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-item:hover {
  border-color: #cfdcf0;
  box-shadow: 0 18px 40px rgba(10, 27, 46, 0.08);
}

.job-item.is-open {
  border-color: #cfdcf0;
  box-shadow: 0 22px 50px rgba(10, 27, 46, 0.09);
}

.job-item-heading {
  margin: 0;
  font: inherit;
}

.job-item-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  font-family: var(--body);
  text-align: left;
  cursor: pointer;
}

.job-item-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.job-item-arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  transition: transform 0.3s ease;
}

.job-item-arrow svg {
  width: 18px;
  height: 18px;
}

.job-item.is-open .job-item-arrow {
  transform: rotate(180deg);
}

/* Collapsible body: animates from 0 to content height. */
.job-item-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.job-item-inner {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.34s;
}

.job-item.is-open .job-item-body {
  grid-template-rows: 1fr;
}

.job-item.is-open .job-item-inner {
  visibility: visible;
  transition-delay: 0s;
}

.job-item-content {
  padding: 22px 24px 26px;
  border-top: 1px solid var(--line);
}

.job-item-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 40px;
}

.job-item-main > p {
  margin: 0 0 12px;
  color: #3d4a5c;
  font-size: 15px;
  line-height: 1.7;
}

.job-item-main > .job-item-posted {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.job-item-main > .job-item-apply {
  margin: 0 0 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.job-item-apply a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.job-item-main h3,
.job-item-side h3 {
  margin: 24px 0 8px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.job-item-side h3 {
  margin-top: 0;
}

/* Mid-size desktops / tablets: stack the job facts under the
   description so the text column never gets too narrow to read. */
@media (max-width: 1180px) {
  .job-item-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .job-item-side {
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }
}

.job-facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 14px 0 0;
}

.job-fact dt {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.job-fact dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.job-card {
  padding: 34px 38px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  scroll-margin-top: 96px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.job-card:hover {
  border-color: #cfdcf0;
  box-shadow: 0 24px 60px rgba(10, 27, 46, 0.08);
}

.job-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
}

.job-side {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.job-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.job-toggle:hover {
  border-color: #cfdcf0;
  background: var(--bg);
}

.job-toggle svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.job-card.is-open .job-toggle svg {
  transform: rotate(180deg);
}

/* Collapsible description: animates from 0 to content height. */
.job-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.job-details-inner {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 0.32s;
}

.job-card.is-open .job-details {
  grid-template-rows: 1fr;
}

.job-card.is-open .job-details-inner {
  visibility: visible;
  transition-delay: 0s;
}

.job-card h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.job-company {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.job-tag {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.job-meta svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.job-salary {
  color: var(--ink);
  font-weight: 600;
}

.job-body {
  margin-top: 0;
  padding-top: 22px;
}

.job-body h3 {
  margin: 22px 0 8px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.job-body h3:first-child {
  margin-top: 0;
}

.job-body p {
  margin: 0 0 12px;
  color: #3d4a5c;
  font-size: 15px;
  line-height: 1.7;
}

.job-skills {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-skills li {
  position: relative;
  padding-left: 22px;
  color: #3d4a5c;
  font-size: 15px;
  line-height: 1.6;
}

.job-skills li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.job-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.job-apply p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.job-apply p a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.job-empty {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 56px 40px;
  border: 1px dashed #9aabc2;
  border-radius: 20px;
  text-align: center;
}

.job-empty h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.job-empty p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.job-cv {
  margin-top: 26px;
  padding: 26px 30px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
}

.job-cv h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.job-cv p {
  margin: 0 0 12px;
  color: #3d4a5c;
  font-size: 14px;
  line-height: 1.65;
}

.job-cv p:last-child {
  margin-bottom: 0;
}

.job-cv a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.job-cv-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.job-cv-email > span:not(.job-cv-icon) {
  font-weight: 700;
}

.job-cv-icon {
  display: inline-flex;
}

.job-cv-icon svg {
  width: 17px;
  height: 17px;
}

.job-cv p.job-cv-fine {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

/* ------------------------------------------------------------
   Legal / cookie page
   ------------------------------------------------------------ */

.legal-hero {
  padding: 96px 0 92px;
  background: var(--bg);
}

.legal-hero .container {
  width: min(760px, calc(100% - 80px));
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.legal-updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-body {
  width: min(760px, calc(100% - 80px));
  margin: 0 auto;
  padding: 84px 0 40px;
}

.legal-body h2 {
  margin: 42px 0 12px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  margin: 26px 0 8px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-body p {
  margin: 0 0 14px;
  color: #3d4a5c;
  font-size: 15px;
  line-height: 1.75;
}

.legal-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #3d4a5c;
  font-size: 15px;
  line-height: 1.75;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-note {
  margin: 0 0 40px;
  padding: 14px 18px;
  border: 1px dashed #9aabc2;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cookie-table {
  width: 100%;
  margin: 20px 0 10px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-table th {
  padding: 0 14px 10px 0;
  border-bottom: 1px solid #d3dfef;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.cookie-table td {
  padding: 14px 14px 14px 0;
  border-bottom: 1px solid #e6edf7;
  color: #3d4a5c;
  vertical-align: top;
}

.cookie-table td strong {
  color: var(--ink);
  font-weight: 600;
}

.cookie-table tr:last-child td {
  border-bottom: 0;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.footer-section {
  padding: 24px 20px 20px;
  background: var(--bg);
}

.site-footer {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 56px 0;
  border-radius: 24px;
  background: var(--ink-2);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr 1.1fr;
  gap: 40px;
  padding-bottom: 54px;
}

.footer-brand p {
  max-width: 290px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.75;
  text-transform: uppercase;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ------------------------------------------------------------
   Shared content pages (About, Candidates, Expertise)
   ------------------------------------------------------------ */

.page-hero {
  padding: 104px 0 66px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.62fr);
  gap: 64px;
  align-items: end;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 5.6vw, 78px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.page-hero h1 mark {
  display: inline-block;
  margin-top: 0.12em;
  padding: 0 0.07em;
  border-radius: 2px;
  background: var(--accent);
  color: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.page-hero-copy {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.section-block {
  padding: 0 0 96px;
}

.section-head {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section-head-split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.section-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.about-split .eyebrow {
  margin-bottom: 16px;
}

.about-split h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.about-copy p {
  max-width: 660px;
  margin: 0 0 16px;
  color: #3d4a5c;
  font-size: 17px;
  line-height: 1.7;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-links {
  display: grid;
  gap: 12px;
}

.about-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.about-link:hover {
  border-color: #cfdcf0;
  box-shadow: 0 16px 36px rgba(10, 27, 46, 0.07);
  transform: translateY(-1px);
}

.about-link > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-link strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.about-link span span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.about-link-arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  transition: background-color 0.2s ease;
}

.about-link:hover .about-link-arrow {
  background: var(--accent);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-card {
  padding: 28px 28px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.value-number {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.value-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.value-card p {
  margin: 0;
  color: #3d4a5c;
  font-size: 15px;
  line-height: 1.65;
}

.value-card a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Expertise sectors */

.expertise-list {
  display: grid;
  gap: 24px;
}

.sector-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sector-card:hover {
  border-color: #cfdcf0;
  box-shadow: 0 24px 60px rgba(10, 27, 46, 0.08);
}

.sector-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--bg);
}

.sector-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.sector-card:hover .sector-media img {
  transform: scale(1.025);
}

.sector-number {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(6, 12, 20, 0.72);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.sector-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 42px 34px;
}

.sector-body .eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
}

.sector-body h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.sector-body > p {
  margin: 0 0 18px;
  color: #3d4a5c;
  font-size: 15.5px;
  line-height: 1.7;
}

.sector-points {
  display: grid;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.sector-points li {
  position: relative;
  padding-left: 20px;
  color: #3d4a5c;
  font-size: 14px;
  line-height: 1.55;
}

.sector-points li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.sector-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.sector-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Candidate CV panel */

.cv-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.cv-panel-main {
  padding: 42px 44px;
}

.cv-panel-main .eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
}

.cv-panel-main h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.cv-panel-main p {
  max-width: 620px;
  margin: 0 0 24px;
  color: #3d4a5c;
  font-size: 16px;
  line-height: 1.7;
}

.cv-panel-main p a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cv-panel-aside {
  padding: 42px 36px;
  border-left: 1px solid var(--line);
  background: var(--bg);
}

.cv-panel-aside h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cv-list {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.cv-list li {
  position: relative;
  padding-left: 20px;
  color: #3d4a5c;
  font-size: 14px;
  line-height: 1.55;
}

.cv-list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.cv-note {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.cv-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Compact vacancy teasers (homepage + candidates) */

.job-teaser-list {
  display: grid;
  gap: 10px;
}

.job-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.job-teaser:hover {
  border-color: #cfdcf0;
  box-shadow: 0 18px 40px rgba(10, 27, 46, 0.08);
  transform: translateY(-1px);
}

.job-teaser-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.job-teaser-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.job-teaser-meta {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.job-teaser-side {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
}

.job-teaser-salary {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.job-teaser-arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
}

.job-teaser-empty p {
  margin: 0;
  padding: 26px 28px;
  border: 1px dashed #b9c9de;
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.job-teaser-empty a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jobs-loading {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1100px) {
  .team-hero-grid {
    gap: 48px;
  }

  .team-hero h1 {
    font-size: clamp(44px, 6.4vw, 70px);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
    gap: 28px;
  }

  .site-footer {
    padding: 48px 40px 0;
  }
}

@media (max-width: 1099.98px) {
  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu.is-open {
    display: block;
  }
}

@media (max-width: 899.98px) {
  .header-inner {
    height: 72px;
    padding: 0 20px;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .container {
    width: calc(100% - 40px);
  }

  .team-hero {
    padding: 64px 0 48px;
  }

  .jobs-hero {
    padding: 64px 0 48px;
  }

  .jobs-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jobs-hero-copy {
    max-width: 540px;
    font-size: 16px;
  }

  .jobs-section {
    padding-bottom: 72px;
  }

  .job-item-content {
    padding: 20px 20px 24px;
  }

  .job-card {
    padding: 28px 26px 26px;
  }

  .job-head {
    flex-direction: column;
    gap: 14px;
  }

  .job-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .job-card h2 {
    font-size: 26px;
  }

  .job-apply {
    align-items: stretch;
    flex-direction: column;
  }

  .job-apply .btn {
    justify-content: space-between;
    width: 100%;
  }

  .job-cv {
    padding: 20px 20px 18px;
  }

  .job-cv h3 {
    font-size: 18px;
  }

  .team-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .team-hero-copy {
    max-width: 540px;
    font-size: 16px;
  }

  .team-section {
    padding-bottom: 80px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 560px;
  }

  .team-cta {
    grid-template-columns: 1fr;
    gap: 0;
    width: calc(100% - 40px);
    margin-bottom: 80px;
    padding: 40px 32px;
  }

  .legal-hero {
    padding: 64px 0 56px;
  }

  .legal-hero .container,
  .legal-body {
    width: calc(100% - 40px);
  }

  .legal-body {
    padding: 56px 0 24px;
  }

  .legal-body h2 {
    margin-top: 34px;
    font-size: 24px;
  }

  .cookie-table {
    display: block;
    white-space: normal;
  }

  .cookie-table thead {
    display: none;
  }

  .cookie-table tbody,
  .cookie-table tr,
  .cookie-table td {
    display: block;
  }

  .cookie-table tr {
    padding: 18px 0;
    border-bottom: 1px solid #e6edf7;
  }

  .cookie-table tr:last-child {
    border-bottom: 0;
  }

  .cookie-table td {
    padding: 0;
    border: 0;
  }

  .cookie-table td + td {
    margin-top: 10px;
  }

  .cookie-table td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .footer-section {
    padding: 16px 12px 12px;
  }

  .site-footer {
    padding: 40px 28px 0;
    border-radius: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .team-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .jobs-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .person-body {
    padding: 24px 22px 22px;
  }

  .person-body h2 {
    font-size: 28px;
  }

  .person-facts {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .person-facts div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }

  .person-facts strong {
    margin-bottom: 0;
    font-size: 16px;
  }

  .team-cta {
    padding: 34px 24px;
    border-radius: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 1100px) {
  .page-hero-grid,
  .about-split {
    gap: 48px;
  }

  .sector-body {
    padding: 34px 34px 30px;
  }

  .cv-panel-main {
    padding: 38px 36px;
  }

  .cv-panel-aside {
    padding: 38px 30px;
  }
}

@media (max-width: 899.98px) {
  .page-hero {
    padding: 64px 0 48px;
  }

  .page-hero-grid,
  .about-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-hero-copy,
  .about-copy p {
    max-width: 540px;
    font-size: 16px;
  }

  .section-block {
    padding-bottom: 72px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sector-card {
    grid-template-columns: 1fr;
  }

  .sector-media {
    min-height: 260px;
  }

  .sector-body {
    padding: 30px 26px 28px;
  }

  .cv-panel {
    grid-template-columns: 1fr;
  }

  .cv-panel-main {
    padding: 34px 28px;
  }

  .cv-panel-aside {
    padding: 30px 28px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .job-teaser {
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }

  .job-teaser-salary {
    display: none;
  }
}

@media (max-width: 560px) {
  .page-hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .section-head h2,
  .about-split h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .job-teaser {
    gap: 12px;
    padding: 16px 18px;
  }

  .job-teaser-title {
    font-size: 19px;
  }

  /* The chevron already signals that rows expand, so the hint
     would only crowd the count on narrow phones. */
  .jobs-hint {
    display: none;
  }

  .job-item-toggle {
    padding: 18px 20px;
  }

  .job-item-content {
    padding: 18px 20px 22px;
  }

  .sector-media {
    min-height: 220px;
  }

  .sector-body {
    padding: 26px 22px 24px;
  }

  .cv-panel-main,
  .cv-panel-aside {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
