@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:        #0B1F3A;
  --navy-mid:    #132d52;
  --blue:        #1D6FE8;
  --blue-light:  #4B8EF0;
  --blue-pale:   #EBF2FD;
  --white:       #FFFFFF;
  --off-white:   #F7F9FC;
  --grey-light:  #E8EDF4;
  --grey-mid:    #9AAFC8;
  --text-dark:   #0B1F3A;
  --text-mid:    #3D5577;
  --text-light:  #6B85A8;
  --gold:        #C9A84C;
  --shadow-sm:   0 2px 8px rgba(11,31,58,0.08);
  --shadow-md:   0 8px 32px rgba(11,31,58,0.12);
  --shadow-lg:   0 24px 64px rgba(11,31,58,0.16);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Outfit', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
.display { font-family: 'Cormorant Garamond', serif; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
p { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }
.lead { font-size: 1.15rem; color: var(--text-mid); line-height: 1.8; }
.eyebrow { font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue); }

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(11, 31, 58, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 130px;
}
.nav-logo img { height: 100px; width: auto; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 1.0625rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 10px 24px; border-radius: 6px;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--blue-light) !important; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-mobile-toggle span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: var(--transition); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 6px;
  font-family: 'Outfit', sans-serif; font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(29,111,232,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-mid); }
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn svg { width: 18px; height: 18px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 130px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(29,111,232,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(29,111,232,0.1) 0%, transparent 50%);
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-eyebrow { margin-bottom: 24px; }
.hero h1 { color: var(--white); margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: #7EB3F8; }
.hero .lead { color: rgba(255,255,255,0.72); margin-bottom: 44px; max-width: 560px; font-size: 1.125rem; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ── Stats bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy-mid);
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-inner { display: flex; justify-content: space-around; align-items: center; }
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--white); line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.12); }

/* ── Section styles ────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 { color: var(--navy); margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; color: var(--text-mid); }
.section-dark { background: var(--navy); }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }
.section-alt { background: var(--off-white); }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-light);
  padding: 36px;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue-pale);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--blue-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.card-icon svg { width: 26px; height: 26px; color: var(--blue); }
.card h3 { color: var(--navy); margin-bottom: 12px; font-size: 1.3rem; }
.card p { font-size: 0.9375rem; }

/* ── Media placeholder ─────────────────────────────────────── */
.media-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem; letter-spacing: 0.05em;
  gap: 16px; position: relative; overflow: hidden;
}
.media-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(29,111,232,0.15) 0%, transparent 70%);
}
.media-placeholder svg { width: 48px; height: 48px; opacity: 0.4; position: relative; }
.media-placeholder span { position: relative; text-transform: uppercase; letter-spacing: 0.1em; }
.video-placeholder { aspect-ratio: 16/9; }
.image-placeholder { aspect-ratio: 4/3; }
.portrait-placeholder { aspect-ratio: 3/4; }

/* ── Jobs board ────────────────────────────────────────────── */
.jobs-filters {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 100px;
  border: 1.5px solid var(--grey-light);
  background: var(--white); color: var(--text-mid);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.jobs-grid { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  transition: var(--transition);
  cursor: pointer;
}
.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
  transform: translateX(4px);
}
.job-card-left { flex: 1; }
.job-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; font-family: 'Outfit', sans-serif; font-weight: 600; }
.job-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.job-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--text-light); }
.job-meta-item svg { width: 15px; height: 15px; }
.job-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  background: var(--blue-pale); color: var(--blue);
}
.jobs-empty { text-align: center; padding: 80px 24px; color: var(--text-light); }
.jobs-loading { text-align: center; padding: 60px; color: var(--text-light); }

/* ── Sector tags ───────────────────────────────────────────── */
.sectors-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sector-tag {
  padding: 10px 24px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem; font-weight: 500;
  transition: var(--transition); cursor: default;
}
.sector-tag:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); color: var(--white); }

/* ── Team ──────────────────────────────────────────────────── */
.team-card { text-align: center; }
.team-photo { margin-bottom: 20px; text-align: center; display:inline-block; border-radius:24px; overflow:hidden; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--navy); margin-bottom: 4px; }
.team-role { font-size: 0.875rem; color: var(--blue); font-weight: 500; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Process steps ─────────────────────────────────────────── */
.process-step { display: flex; gap: 28px; align-items: flex-start; }
.step-number {
  flex-shrink: 0; width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-pale); color: var(--blue);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-content h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.15rem; }

/* ── CTA banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2a4f 100%);
  padding: 96px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(29,111,232,0.2) 0%, transparent 70%);
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.65); margin-bottom: 40px; font-size: 1.1rem; }
.cta-banner-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: #070F1E;
  color: rgba(255,255,255,0.6);
  padding: 72px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 20px;
}
.footer-col a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 12px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: 8px;
}
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--grey-light);
  border-radius: 8px; font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem; color: var(--text-dark);
  background: var(--white); transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,232,0.1); }
.form-control::placeholder { color: var(--grey-mid); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-upload {
  border: 2px dashed var(--grey-light);
  border-radius: 8px; padding: 32px;
  text-align: center; cursor: pointer;
  transition: var(--transition);
}
.form-upload:hover { border-color: var(--blue); background: var(--blue-pale); }
.form-upload input { display: none; }
.form-error { color: #DC2626; font-size: 0.875rem; margin-top: 4px; }
.form-success {
  background: #F0FDF4; border: 1px solid #BBF7D0;
  border-radius: 8px; padding: 16px 20px;
  color: #166534; font-weight: 500; margin-bottom: 20px;
}

/* ── Page header ───────────────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 160px 0 80px;
  position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(29,111,232,0.15) 0%, transparent 60%);
}
.page-header-content { position: relative; z-index: 1; }
.page-header .eyebrow { margin-bottom: 16px; color: var(--blue-light); }
.page-header h1 { color: var(--white); margin-bottom: 20px; }
.page-header .lead { color: rgba(255,255,255,0.65); max-width: 600px; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.3; }

/* ── Animations ────────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
#job-description br {
  display: block;
  margin-bottom: 0.25rem;
  content: "";
}

#job-description {
  white-space: normal !important;
}
/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .hero h1 { font-size: 2.5rem; }
  .stats-inner { flex-wrap: wrap; gap: 32px; }
  .stat-divider { display: none; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .sectors-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .sector-tag { flex: 0 0 auto; }
  .process-grid { grid-template-columns: 1fr 1fr !important; width: 100% !important; overflow: hidden !important; }
}

#job-description br {
  display: block;
  margin-bottom: 0.25rem;
  content: "";
}

#job-description {
  white-space: normal !important;
}
