/* Global Talent Group — shared styles */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/outfit.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;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/outfit-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #03173C;
  --gold: #C89733;
  --gold-hover: #B7862B;
  --gold-soft: #F3E8D0;
  --cream: #F7F5F0;
  --white: #ffffff;
  --ink: #03173C;
  --muted: #45505E;
  --line: #E4DED3;
  --radius: 1.05rem;
  --pill: 999px;
  --header-h: 4.6rem;
  --max: 70rem;
  --font: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 10px 30px rgba(3, 23, 60, 0.07);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

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

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--gold-hover); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--pill);
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; color: var(--white); }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  width: 11.8rem;
  height: auto;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 0.5rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.25rem;
  background: var(--navy);
  border-radius: 2px;
  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); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.7rem 0.85rem;
  display: block;
  border-radius: 0.6rem;
  color: var(--navy);
}

.site-nav a:hover {
  color: var(--navy);
  background: var(--gold-soft);
}

.site-nav .btn { width: max-content; margin-top: 0.25rem; }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--header-h) + 4px);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: var(--shadow);
}

.site-header:has(.nav-toggle[aria-expanded="true"]) .site-nav { display: block; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-family: inherit;
  font-size: 1.02rem;
  line-height: 1.2;
  padding: 0.9rem 1.5rem;
  border-radius: var(--pill);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  min-height: 3rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--gold-hover); color: var(--navy); }
.btn:active { transform: translateY(1px); }

.btn-sm {
  min-height: 2.6rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
}

/* Hero */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.25rem 0 3.75rem;
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: none;
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.05rem, 6.2vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--white);
}

.lede {
  margin: 0 0 0.9rem;
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 38rem;
}

.hero .support {
  margin: 0 0 1.85rem;
  color: rgba(255, 255, 255, 0.74);
  max-width: 38rem;
}

.hero-visual { display: none; justify-content: center; }
.hero-visual img { width: min(100%, 22rem); }

/* Sections */

.section { padding: 4rem 0; }

.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 800;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.section-head { max-width: 42rem; margin-bottom: 2.25rem; }

/* Services */

.service-grid {
  display: grid;
  gap: 1.15rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem 1.7rem;
}

.service-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.service-card p { margin: 0; color: var(--muted); }

/* How it works */

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.5rem;
}

.step-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.step p { margin: 0; color: var(--muted); }

/* About */

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-visual { display: none; }
.about-visual img { width: min(100%, 20rem); margin-inline: auto; }

.about-copy p { color: var(--muted); }
.about-copy p + p { margin-top: 1rem; }

.proof {
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  background: var(--white);
  color: var(--ink);
  border-radius: 0 0.6rem 0.6rem 0;
}

.proof p { margin: 0; color: var(--ink); }

/* Band */

.tag-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 2.75rem 0;
}

.tag-band p {
  margin: 0;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Form */

.enquire { padding-bottom: 5rem; }

.candidate-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.form-wrap { position: relative; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem 1.2rem 1.7rem;
  box-shadow: var(--shadow);
}

.form-grid { display: grid; gap: 1rem; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label { font-weight: 600; font-size: 0.92rem; }

.optional { font-weight: 500; color: var(--muted); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2303173C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1rem;
  padding-right: 2.4rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #cfc6b6; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 151, 51, 0.28);
  background: var(--white);
}

.field textarea { min-height: 8rem; resize: vertical; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.35rem 0 0.5rem;
  font-size: 0.95rem;
}

.consent input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.consent a { color: var(--navy); font-weight: 600; }

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.footer-logo img { width: 13.5rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover { color: var(--gold); }

.footer-links svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

/* Inner pages */

.page-main { padding: 3rem 0 4.5rem; }

.prose { max-width: 42rem; }

.prose h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 800;
}

.prose h2 {
  margin: 2rem 0 0.7rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.prose p, .prose ul { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem; }

.legal-placeholder {
  display: block;
  border: 2px dashed var(--gold);
  background: var(--gold-soft);
  color: var(--navy);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin: 0.7rem 0 1rem;
}

.thanks {
  text-align: left;
  padding: 4rem 0 5.5rem;
  max-width: 36rem;
}

.thanks h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.thanks p {
  color: var(--muted);
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
}

/* Desktop */

@media (min-width: 720px) {
  .container { width: min(100% - 3rem, var(--max)); }

  .nav-toggle { display: none; }

  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav a { padding: 0.45rem 0.7rem; }
  .site-nav .btn { margin-top: 0; }

  .hero { padding: 5rem 0 5.4rem; }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .eyebrow::before,
  .eyebrow::after { display: block; }
  .hero-visual { display: flex; }

  .section { padding: 5rem 0; }

  .service-grid { grid-template-columns: 1fr 1fr; gap: 1.35rem; }

  .steps { grid-template-columns: 1fr 1fr; gap: 1.15rem; }

  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; }
  .about-visual { display: block; }

  .form-card { padding: 2.1rem 2rem 2.2rem; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }
}

@media (min-width: 960px) {
  .logo img { width: 13.75rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle span { transition: none; }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-brand:hover { color: var(--gold); }

.footer-globe {
  width: 2.6rem;
  height: auto;
  flex-shrink: 0;
}

#how { padding-top: 1.5rem; }

@media (min-width: 720px) {
  #how { padding-top: 1.75rem; }
}
