/* ============================================================
   VEERJI GLOBAL LTD — custom layer
   Additions that sit on top of the exported Framer styles.
   ============================================================ */

/* ------------------------------------------------------------
   Site theme — blue
   The exported Framer pages colour everything through design
   tokens, so re-pointing those tokens here re-themes the whole
   site without touching the generated markup.
   ------------------------------------------------------------ */

html body {
  /* Framer colour tokens */
  --token-0c4b96a1-2b8b-44f6-96e3-69d9416dfc4c: #ffffff;   /* page background */
  --token-44e6bd1b-7e94-469f-a6d3-1c1b083ff6d9: rgba(255, 255, 255, 0.16);
  --token-460720c4-8254-4be5-826e-478b3c693975: rgba(10, 27, 46, 0.14); /* hairlines */
  --token-49728d6d-c826-4350-8fc3-eeefade5ed28: #0a1b2e;   /* body ink */
  --token-505d4d1f-93d8-424e-81c6-66d25bf61393: rgba(255, 255, 255, 0.2);
  --token-51d28890-3110-4c0e-962c-90afa4acb106: #ffffff;
  --token-53a3f4d6-8774-4dca-b9f6-f5197ef7d8fb: #b6c2d4;
  --token-56f25161-fbfa-4ebe-843d-142809a48ce4: #123a63;   /* deep panel */
  --token-6529c38d-5192-4808-9b12-65d7a5623072: #f1f5fb;   /* nav pill */
  --token-722b6f95-2714-473e-9706-507101852393: #55637a;   /* muted copy */
  --token-792fcb9d-9d0b-439a-b169-88bfc0fa91f7: #2160ad;   /* primary hover */
  --token-7df016c5-b5aa-4262-ae52-9fec3005f534: #9fd8ff;   /* accent */
  --token-8454ef88-b6ee-4ed5-be6e-f2c4387e5309: #3557a8;
  --token-a1b9a843-16af-4904-b0d3-7c9d0328783f: #1a4d8f;   /* primary */
  --token-b8e832d5-4ca8-429e-a260-4fe72c65280e: #102a45;   /* dark panel */
  --token-b9fd665c-13a1-4158-b2cb-290438c89957: #0d2b4d;   /* darkest panel */
  --token-ea801b0b-56d2-47cd-a5a2-97d5d5e128e1: #ffffff;

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

/* ------------------------------------------------------------
   Search jobs section — live vacancy teasers
   The old interest form has been removed. The exported layout
   leaves the right half of this section empty on desktop, so the
   current vacancies are listed there instead. Each teaser links
   to its full listing on /jobs, where the application email is
   shown under the job.
   ------------------------------------------------------------ */

#search-jobs .framer-p9cvua {
  position: relative;
}

.vn-teaser-card {
  position: absolute;
  top: 124px;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(760px, calc(100% - 464px));
  max-height: 390px;
  padding: 22px 26px 18px;
  border: 1px solid var(--vn-line);
  border-radius: 24px;
  background: var(--vn-white);
  box-shadow: 0 24px 60px rgba(10, 27, 46, 0.07);
  color: var(--vn-ink);
  font-family: var(--vn-font-body);
  box-sizing: border-box;
}

.vn-teaser-head {
  flex: 0 0 auto;
}

.vn-teaser-eyebrow {
  margin: 0 0 7px;
  color: var(--vn-blue);
  font-family: var(--vn-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.vn-teaser-title {
  margin: 0 0 5px;
  color: var(--vn-ink);
  font-family: var(--vn-font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.vn-teaser-sub {
  margin: 0;
  color: var(--vn-muted);
  font-family: var(--vn-font-body);
  font-size: 13px;
  line-height: 1.5;
}

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

.vn-teaser-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.vn-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid #e6edf7;
  border-radius: 12px;
  background: #f8fbff;
  color: var(--vn-ink);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vn-teaser:hover {
  border-color: #c8d8ee;
  background: var(--vn-white);
  transform: translateY(-1px);
}

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

.vn-teaser .vn-teaser-title {
  margin: 0;
  overflow: hidden;
  font-family: var(--vn-font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vn-teaser-meta {
  overflow: hidden;
  color: var(--vn-muted);
  font-family: var(--vn-font-body);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.vn-teaser-salary {
  color: var(--vn-ink);
  font-family: var(--vn-font-body);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

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

.vn-teaser-all {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 6px;
  margin-top: 12px;
  color: var(--vn-blue);
  font-family: var(--vn-font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.vn-teaser-all:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vn-teaser-empty p {
  margin: 0;
  padding: 14px 16px;
  border: 1px dashed #b9c9de;
  border-radius: 12px;
  color: var(--vn-muted);
  font-family: var(--vn-font-body);
  font-size: 13px;
  line-height: 1.55;
}

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

@media (max-width: 1279.98px) {
  .vn-teaser-card {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 2px;
  }
}

@media (max-width: 809.98px) {
  .vn-teaser-card {
    padding: 20px 20px 16px;
    border-radius: 20px;
  }

  .vn-teaser-title {
    font-size: 23px;
  }

  .vn-teaser {
    align-items: flex-start;
    gap: 12px;
  }

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

  .vn-teaser .vn-teaser-title,
  .vn-teaser-meta {
    white-space: normal;
  }
}

/* The compact vacancy rows are rendered by scripts/jobs.js, so
   style its generic .job-teaser markup inside the homepage card. */
#vn-teaser-card .job-teaser-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

#vn-teaser-card .job-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid #e6edf7;
  border-radius: 12px;
  background: #f8fbff;
  color: var(--vn-ink);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#vn-teaser-card .job-teaser:hover {
  border-color: #c8d8ee;
  background: var(--vn-white);
  transform: translateY(-1px);
}

#vn-teaser-card .job-teaser-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#vn-teaser-card .job-teaser-title {
  overflow: hidden;
  color: var(--vn-ink);
  font-family: var(--vn-font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#vn-teaser-card .job-teaser-meta {
  overflow: hidden;
  color: var(--vn-muted);
  font-family: var(--vn-font-body);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#vn-teaser-card .job-teaser-side {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

#vn-teaser-card .job-teaser-salary {
  color: var(--vn-ink);
  font-family: var(--vn-font-body);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

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

#vn-teaser-card .job-teaser-empty p {
  margin: 0;
  padding: 14px 16px;
  border: 1px dashed #b9c9de;
  border-radius: 12px;
  color: var(--vn-muted);
  font-family: var(--vn-font-body);
  font-size: 13px;
  line-height: 1.55;
}

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

@media (max-width: 809.98px) {
  #vn-teaser-card .job-teaser {
    align-items: flex-start;
    gap: 12px;
  }

  #vn-teaser-card .job-teaser-salary {
    display: none;
  }

  #vn-teaser-card .job-teaser-title,
  #vn-teaser-card .job-teaser-meta {
    white-space: normal;
  }
}

/* ------------------------------------------------------------
   Footer legal link added by the patch script
   ------------------------------------------------------------ */

.vn-cookie-link {
  text-decoration: none;
  cursor: pointer;
}

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

/* ------------------------------------------------------------
   Expertise (sector) photo cards
   Framer ships a dark-green gradient over each sector photo.
   The client wants the supplied photos in their natural colours,
   so the green wash is replaced with a neutral ink scrim that
   only darkens enough to keep the white captions legible.
   ------------------------------------------------------------ */
[data-framer-name="Expertise Grid"] [data-framer-name="Photo Overlay"] {
  background: linear-gradient(
    0deg,
    rgba(6, 12, 20, 0.88) 0%,
    rgba(6, 12, 20, 0.45) 46%,
    rgba(6, 12, 20, 0.16) 100%
  ) !important;
}

/* ------------------------------------------------------------
   Homepage: Why VEERJI GLOBAL
   ------------------------------------------------------------ */
.vn-why {
  padding: 96px 24px;
  background: #ffffff;
}

.vn-why-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.vn-why-title {
  margin: 0 0 48px;
  color: var(--vn-ink);
  font-family: "Bricolage Grotesque", "Bricolage Grotesque Placeholder", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-align: center;
}

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

.vn-why-card {
  display: flex;
  flex-direction: column;
}

.vn-why-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: #e8eef7;
}

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

.vn-why-card:hover .vn-why-media img {
  transform: scale(1.04);
}

.vn-why-card h3 {
  margin: 24px 0 12px;
  color: var(--vn-ink);
  font-family: "Bricolage Grotesque", "Bricolage Grotesque Placeholder", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-align: center;
}

.vn-why-card p {
  margin: 0;
  color: #3d4a5c;
  font-family: "Hanken Grotesk", "Hanken Grotesk Placeholder", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .vn-why {
    padding: 64px 20px;
  }

  .vn-why-title {
    margin-bottom: 32px;
  }

  .vn-why-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .vn-why-card p {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vn-why-media img {
    transition: none;
  }
}
