/* =============================================================================
   Viva Talent — base: fonts, reset, layout helpers, text styles
   Breakpoint: the Figma frames contain Desktop (1440) and Mobile (375) only.
   Mobile layout < 1024px · Desktop layout ≥ 1024px. 376–1023 is NOT drawn in Figma.
   ============================================================================= */

/* Fonts (both OFL)
   · Bricolage Grotesque — Google Fonts, requested with its opsz axis so optical sizing
     follows font-size. Measured against 18 Figma hug-width text nodes: mean |Δ| 1.2px
     (pinning opsz 96 or 14 was 19px / 9px off).
   · Inter — self-hosted v3.19 (rsms/inter, OFL, licence in assets/fonts). Measured against
     18 Figma hug-width text nodes: v3.19 mean |Δ| 0.5px vs Google's Inter 4 0.9px, and v3.19
     reproduces Figma's line breaks. It also carries the → ← glyphs the Google latin subset lacks. */
/* Self-hosted 2026-09-30 (was a Google Fonts @import): the same variable woff2 Google serves for
   opsz 12..96 / wght 700..800, latin subset — so it can be preloaded and the hero never re-wraps on font swap. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700 800; font-stretch: 100%; font-display: swap; src: url("../assets/fonts/BricolageGrotesque-latin-opsz-wght.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/Inter-Bold.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--vt-font-text);
  font-size: 15px;
  line-height: 1.55;
  color: var(--vt-semantic-body);
  background: var(--vt-semantic-sunken);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; }

.vt-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link — first focusable element on every page */
.vt-skip { position: absolute; left: 12px; top: 12px; z-index: 2000; padding: 12px 18px; border-radius: 999px;
  background: #fff; color: #1E1962; font: 600 15px/18px var(--vt-font-text, sans-serif); text-decoration: none;
  transform: translate3d(0, -200%, 0); }
/* The skip link always opens over the navy header: white ring 2px outside the white pill (dp-dev PR #9 r2 sweep; the
   #3E4095 ring was 2.19:1 on #010B2B). */
.vt-skip:focus { transform: none; outline: 3px solid var(--vt-base-white, #FFFFFF); outline-offset: 2px; }
main:focus { outline: none; }

/* DEVIATION: form text is 16px below 1024 (Figma 15px) so iOS Safari does not zoom on focus. */
@media (max-width: 1023.98px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea, select { font-size: 16px !important; }
}

/* Section gutter + 1152 content cap */
.vt-section { padding-inline: var(--vt-gutter-mobile); }
.vt-wrap { width: 100%; max-width: var(--vt-content-max); margin-inline: auto; }
@media (min-width: 1024px) {
  .vt-section { padding-inline: var(--vt-gutter-desktop); }
}

/* Responsive visibility */
@media (max-width: 1023.98px) { .vt-only-desktop { display: none !important; } }
@media (min-width: 1024px)    { .vt-only-mobile  { display: none !important; } }

/* Icons — SVGs exported from Figma, painted with currentColor through a mask */
.vt-icon {
  display: inline-block; flex: none;
  width: 24px; height: 24px;
  background-color: currentColor;
  -webkit-mask: var(--vt-icon) center / contain no-repeat;
          mask: var(--vt-icon) center / contain no-repeat;
}
.vt-icon--16 { width: 16px; height: 16px; }
.vt-icon--search       { --vt-icon: url("../assets/icons/icon-24-search.svg"); }
.vt-icon--menu         { --vt-icon: url("../assets/icons/icon-24-menu.svg"); }
.vt-icon--chevron-down { --vt-icon: url("../assets/icons/icon-16-chevron-down.svg"); }
.vt-icon--arrow-up-right { --vt-icon: url("../assets/icons/icon-24-arrow-up-right.svg"); }
.vt-icon--bell         { --vt-icon: url("../assets/icons/icon-24-bell.svg"); }
.vt-icon--briefcase    { --vt-icon: url("../assets/icons/icon-24-briefcase.svg"); }
.vt-icon--check-circle { --vt-icon: url("../assets/icons/icon-24-check-circle.svg"); }
.vt-icon--user         { --vt-icon: url("../assets/icons/icon-24-user.svg"); }
.vt-icon--calendar     { --vt-icon: url("../assets/icons/icon-24-calendar.svg"); }
.vt-icon--upload-cv    { --vt-icon: url("../assets/icons/icon-24-upload-cv.svg"); }
.vt-icon--close        { --vt-icon: url("../assets/icons/icon-24-close.svg"); } /* header search panel (Viva UI/UX Figma ND8Vh51S7xfOXKOvIZ7Dn2, approved 2026-11-04) */


/* LINE-HEIGHTS: Figma lays text out on whole-pixel line boxes (its 24.8 renders 25, 23.25 → 23,
   18.85 → 19 — verified against the text-node heights). Every px line-height here is therefore the
   Figma value rounded half-up; the exact Figma figure stays in the comment beside each style. */
/* ---------------------------------------------------------------------------
   Text styles — the file's LOCAL TEXT STYLES (letter-spacing converted from %)
   --------------------------------------------------------------------------- */
.vt-t-display-l {   /* VT/Display L · Bricolage ExtraBold 56 / 100% / −2.5% */
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 56px; line-height: 56px; letter-spacing: -1.4px;
  color: var(--vt-semantic-ink);
}
.vt-t-display-m {   /* VT/Display M · Bricolage Bold 28 / 115% / −1.5% */
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 28px; line-height: 32px; letter-spacing: -0.42px;
  color: var(--vt-semantic-ink);
}
.vt-t-body-l {      /* VT/Body L · Inter Regular 20 / 155% */
  font-size: 20px; line-height: 31px; font-weight: 400;
}
.vt-t-label {       /* VT/Label · Inter Semi Bold 12 / 120% / +12% / UPPER */
  font-size: 12px; line-height: 14px; font-weight: 600;
  letter-spacing: 1.44px; text-transform: uppercase;
  color: var(--vt-semantic-meta);
}
.vt-t-meta {        /* VT/Meta · Inter Regular 13 / 145% */
  font-size: 13px; line-height: 19px; font-weight: 400;
}
.vt-t-nav-link {    /* UI/Nav Link · Inter Medium 15 / 100% */
  font-size: 15px; line-height: 15px; font-weight: 500;
}
.vt-t-pill-label {  /* UI/Pill Label · Inter Semi Bold 15 / 100% */
  font-size: 15px; line-height: 15px; font-weight: 600;
}
.vt-t-row-key {     /* UI/Row Key · Inter Bold 11.5 / 120% / +12% / UPPER */
  font-size: 11.5px; line-height: 14px; font-weight: 700;
  letter-spacing: 1.38px; text-transform: uppercase;
  color: var(--vt-semantic-meta);
}
.vt-t-row-value {   /* UI/Row Value · Inter Semi Bold 14 / 140% */
  font-size: 14px; line-height: 20px; font-weight: 600;
  color: var(--vt-semantic-ink);
}
