:root {
  --dark: #002533;
  --dark-deeper: #001A24;
  --dark-card: #003040;
  --dark-card-hover: #003A4D;
  --dark-border: #003D50;
  --dark-border-light: #005068;

  --light: #FFFFFF;
  --light-bg: #F7F9FA;
  --light-card: #FFFFFF;
  --light-border: #E2E8EC;
  --light-border-hover: #CBD5DB;

  --highlight: #4DC9F6;
  --highlight-muted: rgba(77, 201, 246, 0.12);
  --highlight-dark: #002533;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--dark); color: #fff; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
img { max-width: 100%; display: block; }

.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.section-subtitle { font-size: 1.1rem; max-width: 640px; line-height: 1.7; margin-top: 1rem; opacity: 0.7; }

/* ── Theme modifiers ──────────────────────── */
.section--dark {
  background: var(--dark);
  color: #fff;
}
.section--dark .section-subtitle { color: #8FAAB6; }

.section--light {
  background: var(--light-bg);
  color: var(--dark);
}
.section--light .section-title { color: var(--dark); }
.section--light .section-subtitle { color: #4D6B78; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 2rem; transition: var(--transition); background: transparent; }
.nav--scrolled { background: rgba(0, 37, 51, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--dark-border); }
.nav__container { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 2rem; }
.nav__link { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.7); transition: var(--transition); position: relative; }
.nav__link:hover { color: #fff; }
.nav__link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--highlight); transition: var(--transition); }
.nav__link:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__cta { display: inline-flex; align-items: center; padding: 0.5rem 1.25rem; background: #fff; color: var(--dark); font-size: 0.85rem; font-weight: 700; border-radius: 100px; transition: var(--transition); }
.nav__cta:hover { background: #E0EDF2; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,255,255,0.15); }
.nav__cta--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.nav__cta--ghost:hover { background: rgba(255,255,255,0.08); color: #fff; box-shadow: none; border-color: rgba(255,255,255,0.7); }
.nav--solid .nav__cta--ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.nav__menu-btn { display: none; flex-direction: column; gap: 6px; padding: 4px; width: 32px; }
.nav__menu-btn span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.nav__menu-btn--open span:first-child { transform: rotate(45deg) translate(3px, 3px); }
.nav__menu-btn--open span:last-child { transform: rotate(-45deg) translate(3px, -3px); }

.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(0, 37, 51, 0.98); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition-slow); }
.mobile-menu--open { opacity: 1; visibility: visible; }
.mobile-menu__content { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.mobile-menu__link { font-size: 2rem; font-weight: 600; color: rgba(255,255,255,0.7); transition: var(--transition); }
.mobile-menu__link:hover { color: #fff; }
.mobile-menu__cta { display: inline-flex; padding: 0.75rem 2rem; background: #fff; color: var(--dark); font-size: 1rem; font-weight: 700; border-radius: 100px; margin-top: 1rem; }
.mobile-menu__cta--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); margin-top: 1.5rem; }

/* ============================================
   HERO - VIDEO BACKGROUND
   ============================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__video-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__video-wrap video { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); object-fit: cover; pointer-events: none; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(0, 37, 51, 0.90); }
.hero__container { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 10rem 2rem 6rem; text-align: center; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 1.5rem; color: #fff; }
.hero__text { font-size: 1.15rem; color: rgba(255,255,255,0.75); max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.8; }
.hero__cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.875rem 2rem; background: #fff; color: var(--dark); font-size: 1rem; font-weight: 700; border-radius: 100px; transition: var(--transition); }
.hero__cta:hover { background: #E0EDF2; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.2); }
.hero__cta svg { transition: var(--transition); }
.hero__cta:hover svg { transform: translateX(3px); }

/* ============================================
   WHAT WE DO - LIGHT
   ============================================ */
.what-we-do { padding: 7rem 2rem; }
.what-we-do__container { max-width: 900px; margin: 0 auto; }
.what-we-do__grid { margin-top: 3rem; }
.what-we-do__text p { font-size: 1.1rem; line-height: 1.85; color: #3A5A68; margin-bottom: 1.25rem; }
.what-we-do__text p:first-child { font-size: 1.3rem; font-weight: 600; color: var(--dark); }

/* ============================================
   TEAM - DARK
   ============================================ */
.team { padding: 8rem 2rem; }
.team__container { max-width: 1100px; margin: 0 auto; }
.team__header { margin-bottom: 4rem; }

.team__carousel-viewport { overflow: hidden; border-radius: var(--radius-xl); }
.team__carousel-track { display: flex; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; backface-visibility: hidden; }

.team__card { flex: 0 0 100%; min-width: 100%; display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; background: var(--dark-card); border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--dark-border); min-height: 380px; }
.team__card-image { height: 100%; min-height: 380px; background: var(--dark-card); overflow: hidden; position: relative; }
.team__card-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team__card-content { padding: 3rem 3rem 3rem 0; }
.team__card-name { font-size: 1.5rem; font-weight: 700; }
.team__card-role { font-size: 0.9rem; color: var(--highlight); margin-top: 0.25rem; font-weight: 500; }
.team__card-quote { font-size: 1.05rem; color: #8FAAB6; line-height: 1.8; margin-top: 1.5rem; font-style: italic; }
.team__nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.team__nav-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--dark-border-light); color: #8FAAB6; transition: var(--transition); background: transparent; }
.team__nav-btn:hover { border-color: var(--highlight); color: var(--highlight); }
.team__nav-dots { display: flex; gap: 8px; align-items: center; }
.team__nav-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dark-border-light); transition: var(--transition); cursor: pointer; padding: 0; border: none; }
.team__nav-dot--active { background: var(--highlight); width: 24px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  .team__carousel-track { transition: none; }
}

/* ============================================
   LEADERSHIP PRINCIPLES - LIGHT (immersive)
   ============================================ */
.principles { padding: 8rem 2rem; }
.principles__container { max-width: 900px; margin: 0 auto; }
.principles__list { margin-top: 3.5rem; display: flex; flex-direction: column; }

.principle { border-bottom: 1px solid var(--light-border); overflow: hidden; }
.principle:first-child { border-top: 1px solid var(--light-border); }

.principle__header { display: flex; align-items: center; gap: 1.5rem; padding: 1.75rem 0; cursor: pointer; transition: var(--transition); }
.principle__header:hover { padding-left: 0.5rem; }
.principle__number { font-size: 0.85rem; font-weight: 800; color: var(--highlight); min-width: 28px; letter-spacing: 0.02em; }
.principle__name { font-size: 1.35rem; font-weight: 700; flex: 1; color: var(--dark); transition: var(--transition); letter-spacing: -0.02em; }
.principle__arrow { color: #8FAAB6; flex-shrink: 0; transition: var(--transition); }
.principle--active .principle__arrow { transform: rotate(180deg); color: var(--highlight); }
.principle--active .principle__name { color: var(--highlight-dark); }
.principle--active .principle__number { color: var(--highlight); }

.principle__body { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.principle--active .principle__body { max-height: 600px; }

.principle__points { padding: 0 0 2rem 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.principle__point { padding-left: 1.25rem; border-left: 2px solid var(--light-border); transition: border-color 0.3s ease; }
.principle__point:hover { border-left-color: var(--highlight); }
.principle__point h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; }
.principle__point p { font-size: 0.9rem; color: #4D6B78; line-height: 1.7; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================
   WHAT WE OFFER - DARK
   ============================================ */
.benefits { padding: 8rem 2rem; }
.benefits__container { max-width: 1200px; margin: 0 auto; }
.offer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 3rem; }
.offer-card { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--transition); }
.offer-card:hover { border-color: var(--dark-border-light); transform: translateY(-3px); }
.offer-card__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--highlight-muted); color: var(--highlight); margin-bottom: 1.25rem; }
.offer-card__pound { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.offer-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.3; }
.offer-card p { font-size: 0.85rem; color: #8FAAB6; line-height: 1.65; }

/* ============================================
   DEPARTMENTS - LIGHT
   ============================================ */
.depts { padding: 8rem 2rem; }
.depts__container { max-width: 1200px; margin: 0 auto; }
.depts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.dept-card { background: var(--light-card); border: 1px solid var(--light-border); border-radius: var(--radius-md); padding: 1.5rem; transition: var(--transition); }
.dept-card:hover { border-color: var(--light-border-hover); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,37,51,0.06); }
.dept-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--dark); }
.dept-card p { font-size: 0.85rem; color: #4D6B78; line-height: 1.65; }

/* ============================================
   LOCATIONS / MAP - DARK
   ============================================ */
.locations { padding: 8rem 2rem; }
.locations__container { max-width: 1200px; margin: 0 auto; }
.locations__hq { display: inline-flex; align-items: center; gap: 0.85rem; margin-top: 1.75rem; padding: 0.75rem 1.1rem 0.75rem 1rem; background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 100px; color: #fff; transition: var(--transition); }
.locations__hq:hover { background: var(--dark-card-hover); border-color: var(--dark-border-light); transform: translateY(-1px); }
.locations__hq-icon { display: inline-flex; color: var(--highlight); flex-shrink: 0; }
.locations__hq-text { display: inline-flex; flex-direction: column; line-height: 1.3; }
.locations__hq-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--highlight); }
.locations__hq-address { font-size: 0.95rem; color: #DCEAF0; }
.locations__hq-arrow { color: #8FAAB6; transition: var(--transition); margin-left: 0.25rem; flex-shrink: 0; }
.locations__hq:hover .locations__hq-arrow { color: #fff; transform: translateX(2px); }
.map-wrapper { margin-top: 2rem; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--dark-border); position: relative; }
.map { width: 100%; height: 520px; background: var(--light-bg); }
.map-legend { position: absolute; bottom: 1.25rem; left: 1.25rem; z-index: 1000; display: flex; gap: 1.25rem; padding: 0.65rem 1rem; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--radius-sm); border: 1px solid var(--light-border); box-shadow: 0 2px 8px rgba(0,37,51,0.08); }
.map-legend__item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: #4D6B78; font-weight: 500; }
.map-legend__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.map-legend__dot--hq { background: var(--dark); box-shadow: 0 0 0 3px rgba(0,37,51,0.15); }
.map-legend__dot--fc { background: var(--highlight); }
.map-marker { position: relative; }
.map-marker--hq .map-marker__dot { width: 16px; height: 16px; background: var(--dark); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(0,37,51,0.2), 0 2px 8px rgba(0,37,51,0.25); z-index: 2; }
.map-marker--hq .map-marker__pulse { width: 28px; height: 28px; background: rgba(0,37,51,0.16); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: pulse 2.5s ease-out infinite; z-index: 1; }
@keyframes pulse { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; } 100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; } }
.map-marker--fc .map-marker__dot { width: 10px; height: 10px; background: var(--highlight); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px rgba(77,201,246,0.2), 0 1px 4px rgba(0,0,0,0.3); transition: transform 0.2s ease; }
.map-marker--fc:hover .map-marker__dot { transform: translate(-50%, -50%) scale(1.3); }
.map-tooltip { background: rgba(0, 37, 51, 0.92) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--dark-border) !important; border-radius: 6px !important; color: #fff !important; font-family: 'Inter', sans-serif !important; font-size: 0.8rem !important; font-weight: 600 !important; padding: 0.4rem 0.75rem !important; box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important; white-space: nowrap; }
.map-tooltip.leaflet-tooltip-top { margin-top: -10px !important; margin-bottom: 0 !important; }
.map-tooltip.leaflet-tooltip-top::before { border-top-color: rgba(0, 37, 51, 0.92) !important; bottom: 0 !important; margin-bottom: -6px !important; }
.leaflet-control-zoom a { background: rgba(0, 37, 51, 0.9) !important; color: #fff !important; border-color: var(--dark-border) !important; font-weight: 600; width: 32px !important; height: 32px !important; line-height: 32px !important; font-size: 16px !important; }
.leaflet-control-zoom a:hover { background: var(--dark-card-hover) !important; }
.leaflet-control-zoom { border: none !important; border-radius: var(--radius-sm) !important; overflow: hidden; }
.leaflet-control-attribution { background: rgba(255, 255, 255, 0.85) !important; color: #6B8390 !important; font-size: 0.65rem !important; font-family: 'Inter', sans-serif !important; }
.leaflet-control-attribution a { color: #4D6B78 !important; }

/* ============================================
   JOBS - LIGHT
   ============================================ */
.jobs { padding: 8rem 2rem; }
.jobs__container { max-width: 900px; margin: 0 auto; }
.jobs__header { margin-bottom: 3rem; }
.jobs__list { display: flex; flex-direction: column; }
.job { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; border-bottom: 1px solid var(--light-border); transition: var(--transition); gap: 1rem; }
.job:first-child { border-top: 1px solid var(--light-border); }
.job:hover { padding-left: 0.5rem; }
.job:hover .job__title { color: var(--highlight-dark); }
.job:hover .job__arrow { color: var(--highlight); transform: translateX(4px); }
.job__title { font-size: 1.05rem; font-weight: 600; transition: var(--transition); color: var(--dark); }
.job__meta { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.35rem; font-size: 0.85rem; color: #8FAAB6; }
.job__dept { color: #4D6B78; }
.job__arrow { flex-shrink: 0; color: #8FAAB6; transition: var(--transition); }
.jobs__footer { margin-top: 2.5rem; text-align: center; }
.jobs__all-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--highlight); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.jobs__all-link:hover { gap: 0.75rem; }

/* ============================================
   NEWS - DARK
   ============================================ */
.news { padding: 8rem 2rem; }
.news__container { max-width: 1200px; margin: 0 auto; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.news-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--dark-border); background: var(--dark-card); transition: var(--transition); }
.news-card:hover { border-color: var(--dark-border-light); transform: translateY(-4px); }
.news-card__image { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--dark-card-hover) 0%, var(--dark-card) 100%); }
.news-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--dark-border-light); }
.news-card__content { padding: 1.5rem; }
.news-card__title { font-size: 1rem; font-weight: 600; line-height: 1.5; margin-bottom: 0.75rem; }
.news-card:hover .news-card__title { color: var(--highlight); }
.news-card__date { font-size: 0.8rem; color: #4D6B78; }
.news__footer { margin-top: 2.5rem; text-align: center; }
.news__more { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--highlight); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.news__more:hover { gap: 0.75rem; }

/* ============================================
   CTA - DARK
   ============================================ */
.cta { padding: 6rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(77,201,246,0.05) 0%, transparent 70%); }
.cta__container { position: relative; max-width: 640px; margin: 0 auto; }
.cta__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; }
.cta__text { color: #8FAAB6; margin-top: 1rem; font-size: 1.1rem; }
.cta__btn { display: inline-flex; align-items: center; padding: 0.875rem 2.5rem; background: #fff; color: var(--dark); font-size: 1rem; font-weight: 700; border-radius: 100px; margin-top: 2rem; transition: var(--transition); }
.cta__btn:hover { background: #E0EDF2; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.15); }

/* ============================================
   FOOTER - DARK
   ============================================ */
.footer { padding: 4rem 2rem 2rem; background: var(--dark); border-top: 1px solid var(--dark-border); }
.footer__container { max-width: 1200px; margin: 0 auto; }
.footer__top { display: flex; justify-content: space-between; gap: 4rem; padding-bottom: 3rem; align-items: flex-start; }
.footer__logo-img { height: 24px; width: auto; }
.footer__tagline { color: #4D6B78; font-size: 0.85rem; margin-top: 0.75rem; }
.footer__app { display: flex; gap: 1.25rem; align-items: center; }
.footer__app-phone { height: 190px; width: auto; flex-shrink: 0; display: block; }
.footer__app-info { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__app-text { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8FAAB6; margin: 0; }
.footer__app-badges { display: flex; flex-direction: column; gap: 0.55rem; align-items: flex-start; }
.footer__app-badges a { display: inline-block; transition: var(--transition); border-radius: 6px; }
.footer__app-badges a:hover { transform: translateY(-2px); }
.footer__app-badges a:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; }
.footer__app-badge { height: 40px; width: auto; display: block; }
.footer__columns { display: flex; gap: 4rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #4D6B78; margin-bottom: 0.25rem; }
.footer__link { font-size: 0.9rem; color: #8FAAB6; transition: var(--transition); }
.footer__link:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--dark-border); }
.footer__copy, .footer__registered { font-size: 0.8rem; color: #4D6B78; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .depts__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu-btn { display: flex; }
  .hero__container { padding: 8rem 1.5rem 4rem; }
  .hero__video-wrap video { width: 100%; height: 100%; }
  .what-we-do, .team, .principles, .benefits, .depts, .locations, .jobs, .news { padding: 5rem 1.5rem; }
  .team__card { grid-template-columns: 1fr; min-height: auto; }
  .team__card-image { min-height: 220px; }
  .team__card-content { padding: 2rem; }
  .offer-grid, .depts__grid { grid-template-columns: 1fr; }
  .map { height: 380px; }
  .map-legend { gap: 0.75rem; padding: 0.5rem 0.75rem; }
  .locations__hq { display: flex; border-radius: var(--radius-md); padding: 0.85rem 1rem; }
  .locations__hq-address { font-size: 0.85rem; }
  .news__grid { grid-template-columns: 1fr; gap: 1rem; }
  .cta { padding: 4rem 1.5rem; }
  .footer__top { flex-direction: column; gap: 2.5rem; }
  .footer__columns { flex-wrap: wrap; gap: 2rem; }
  .footer__bottom { flex-direction: column-reverse; gap: 1rem; text-align: center; align-items: center; }
  .footer__app { gap: 1rem; }
  .footer__app-phone { height: 160px; }
  .footer__app-badge { height: 38px; }
  .principle__points { padding-left: 0.5rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .principle__name { font-size: 1.1rem; }
  .principle__header { gap: 1rem; }
  .job__meta { flex-wrap: wrap; }
}

/* ============================================
   TEAMTAILOR - Open Roles + Job Detail
   ============================================ */

/* Solid nav variant (non-hero pages) */
.nav--solid { background: rgba(0, 37, 51, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--dark-border); }

/* Loading skeletons (homepage + open-roles list) */
.jobs__skeleton { display: flex; flex-direction: column; }
.jobs__skeleton-row { height: 72px; border-bottom: 1px solid var(--light-border); position: relative; overflow: hidden; }
.jobs__skeleton-row:first-child { border-top: 1px solid var(--light-border); }
.jobs__skeleton-row::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(0,37,51,0.04) 50%, transparent 100%); animation: tt-shimmer 1.4s infinite; }

@keyframes tt-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Empty / error states */
.jobs__empty { padding: 2.5rem 0; text-align: center; color: #4D6B78; font-size: 1rem; line-height: 1.7; }
.jobs__empty-actions { text-align: center; margin-top: 0.5rem; }

/* ── Open Roles page ─────────────────────────────────────── */

.page-hero { padding: 9rem 2rem 3rem; text-align: center; }
.page-hero__container { max-width: 720px; margin: 0 auto; }
.page-hero__eyebrow { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--highlight); margin-bottom: 1rem; }
.page-hero__title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--dark); }
.page-hero__subtitle { font-size: 1.1rem; line-height: 1.7; color: #4D6B78; margin-top: 1rem; }

.jobs-page { padding: 2rem 2rem 6rem; }
.jobs-page__container { max-width: 900px; margin: 0 auto; }

.jobs-page__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.jobs-page__filters-skeleton { display: flex; gap: 0.5rem; }

.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: var(--light-card); border: 1px solid var(--light-border); border-radius: 100px; color: var(--dark); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: inherit; }
.chip:hover { border-color: var(--light-border-hover); }
.chip--active { background: var(--highlight-dark); color: #fff; border-color: var(--highlight-dark); }
.chip--active:hover { border-color: var(--highlight-dark); }
.chip__count { font-size: 0.75rem; padding: 0.1rem 0.5rem; border-radius: 100px; background: var(--light-bg); color: #4D6B78; font-weight: 700; }
.chip--active .chip__count { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.chip--skeleton { width: 100px; height: 32px; padding: 0; background: var(--light-bg); border-color: var(--light-border); animation: tt-pulse 1.4s infinite; }
.chip--skeleton:nth-child(2) { width: 140px; }
.chip--skeleton:nth-child(3) { width: 80px; }

@keyframes tt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.jobs-page__count { font-size: 0.85rem; color: #4D6B78; margin-bottom: 1rem; font-weight: 500; }

/* CTA inline link colour for dark CTA section */
.cta__inline-link { color: var(--highlight); transition: var(--transition); }
.cta__inline-link:hover { color: #fff; text-decoration: underline; }

/* ── Job detail page ─────────────────────────────────────── */

.job-detail { padding: 9rem 2rem 6rem; min-height: 100vh; }
.job-detail__container { max-width: 760px; margin: 0 auto; color: var(--dark); }

.job-detail__back { display: inline-flex; align-items: center; gap: 0.5rem; color: #4D6B78; font-size: 0.9rem; font-weight: 600; margin-bottom: 2rem; transition: var(--transition); }
.job-detail__back:hover { color: var(--highlight-dark); gap: 0.75rem; }

.job-detail__header { padding-bottom: 2rem; border-bottom: 1px solid var(--light-border); margin-bottom: 2.5rem; }
.job-detail__title { font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--dark); }
.job-detail__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; font-size: 0.95rem; color: #4D6B78; font-weight: 500; }
.job-detail__meta-sep { color: #8FAAB6; }
.job-detail__apply-btn { display: inline-flex; align-items: center; padding: 0.875rem 2rem; background: var(--highlight-dark); color: #fff; font-size: 0.95rem; font-weight: 700; border-radius: 100px; margin-top: 1.5rem; transition: var(--transition); }
.job-detail__apply-btn:hover { background: #003D50; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,37,51,0.18); }

.job-detail__body { font-size: 1rem; line-height: 1.8; color: #3A5A68; }
.job-detail__body h1, .job-detail__body h2, .job-detail__body h3, .job-detail__body h4 { color: var(--dark); margin: 2rem 0 0.75rem; line-height: 1.3; letter-spacing: -0.02em; }
.job-detail__body h1 { font-size: 1.75rem; }
.job-detail__body h2 { font-size: 1.4rem; }
.job-detail__body h3 { font-size: 1.15rem; }
.job-detail__body h4 { font-size: 1rem; }
.job-detail__body p { margin-bottom: 1.1rem; }
.job-detail__body ul, .job-detail__body ol { margin: 0 0 1.25rem 1.25rem; padding-left: 1rem; }
.job-detail__body li { margin-bottom: 0.5rem; }
.job-detail__body a { color: var(--highlight-dark); text-decoration: underline; }
.job-detail__body a:hover { color: var(--highlight); }
.job-detail__body strong { color: var(--dark); font-weight: 700; }
.job-detail__body img { border-radius: var(--radius-md); margin: 1.5rem 0; }
.job-detail__body hr { border: 0; border-top: 1px solid var(--light-border); margin: 2rem 0; }

/* Apply iframe section */
/* The apply section is now a CTA that opens the modal - no iframe inline. */
.job-detail__apply { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--light-border); }
.job-detail__apply-header { margin-bottom: 1.5rem; }
.job-detail__apply-title { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; color: var(--dark); }
.job-detail__apply-hint { font-size: 0.9rem; color: #4D6B78; margin-top: 0.5rem; }

/* ── Apply modal (lightbox) ────────────────────────────── */
.apply-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.apply-modal[hidden] { display: none; }
.apply-modal--open { opacity: 1; visibility: visible; }

.apply-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 26, 36, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.apply-modal__panel { position: relative; background: var(--light-card); border-radius: var(--radius-xl); width: 100%; max-width: 1100px; height: calc(100vh - 4rem); max-height: 900px; overflow: hidden; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45); transform: translateY(16px) scale(0.98); transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
.apply-modal--open .apply-modal__panel { transform: translateY(0) scale(1); }

.apply-modal__iframe { width: 100%; height: 100%; border: 0; display: block; background: var(--light-bg); }

.apply-modal__close { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 37, 51, 0.85); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); transition: var(--transition); }
.apply-modal__close:hover { background: var(--dark); transform: rotate(90deg); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.apply-modal__close:focus-visible { outline: 2px solid var(--highlight); outline-offset: 2px; }

/* Tablet - slightly tighter padding, modal fills width */
@media (max-width: 1024px) {
  .apply-modal { padding: 1.25rem; }
  .apply-modal__panel { max-width: 100%; height: calc(100vh - 2.5rem); max-height: none; }
}

/* Mobile - full-screen sheet */
@media (max-width: 640px) {
  .apply-modal { padding: 0; }
  .apply-modal__panel { max-width: 100%; width: 100%; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
  .apply-modal__close { top: 0.75rem; right: 0.75rem; width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .apply-modal, .apply-modal__panel { transition: none; }
}

/* Job detail skeleton */
.job-detail__skeleton { display: flex; flex-direction: column; gap: 1rem; }
.job-detail__skeleton-line { height: 18px; background: var(--light-bg); border-radius: 6px; animation: tt-pulse 1.4s infinite; }
.job-detail__skeleton-line--sm { width: 30%; }
.job-detail__skeleton-line--md { width: 60%; height: 16px; }
.job-detail__skeleton-line--lg { width: 80%; height: 38px; }
.job-detail__skeleton-block { height: 220px; background: var(--light-bg); border-radius: var(--radius-md); margin-top: 1.5rem; animation: tt-pulse 1.4s infinite; }

.job-detail__missing { text-align: center; padding: 3rem 0; }
.job-detail__missing .job-detail__title { margin-bottom: 1rem; }
.job-detail__missing .job-detail__body { margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 768px) {
  .page-hero { padding: 7rem 1.5rem 2rem; }
  .jobs-page { padding: 1.5rem 1.5rem 4rem; }
  .job-detail { padding: 7rem 1.5rem 4rem; }
  .job-detail__apply { margin-top: 2.5rem; padding-top: 2rem; }
  .jobs-page__filters { gap: 0.4rem; }
  .chip { padding: 0.45rem 0.85rem; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .jobs-page__filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; margin-left: -1.5rem; margin-right: -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; }
  .chip { white-space: nowrap; flex-shrink: 0; }
}

/* ============================================
   FC TEAM PAGE
   ============================================ */

/* Hero */
.fc-hero { position: relative; padding: 9rem 2rem 5rem; overflow: hidden; }
.fc-hero__container { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.fc-hero__eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--highlight); margin-bottom: 1.25rem; }
.fc-hero__title { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.5rem; }
.fc-hero__subtitle { font-size: 1.15rem; line-height: 1.7; color: #B5C9D2; max-width: 540px; margin-bottom: 2rem; }
.fc-hero__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.fc-hero__chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; font-size: 0.85rem; font-weight: 500; color: #DCEAF0; }
.fc-hero__chip svg { color: var(--highlight); flex-shrink: 0; }
.fc-hero__cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.fc-hero__cta { display: inline-flex; align-items: center; padding: 0.95rem 2.25rem; background: #fff; color: var(--dark); font-size: 1rem; font-weight: 700; border-radius: 100px; transition: var(--transition); border: none; cursor: pointer; }
.fc-hero__cta:hover { background: #E0EDF2; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.15); }
.fc-hero__cta-secondary { display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; font-size: 0.95rem; font-weight: 600; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.25); transition: var(--transition); }
.fc-hero__cta-secondary:hover { border-bottom-color: var(--highlight); color: var(--highlight); }
.fc-hero__image { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 80px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.08); }
.fc-hero__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-hero__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,37,51,0.35) 100%); pointer-events: none; }

/* Intro */
.fc-intro { padding: 5rem 2rem; }
.fc-intro__container { max-width: 820px; margin: 0 auto; }
.fc-intro__lead { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.4; color: var(--dark); margin: 1.75rem 0 1.5rem; letter-spacing: -0.01em; }
.fc-intro__body { font-size: 1.05rem; line-height: 1.75; color: #4D6B78; margin-bottom: 1.25rem; }

/* Responsibilities */
.fc-resp { padding: 5rem 2rem; border-top: 1px solid var(--light-border); }
.fc-resp__container { max-width: 1080px; margin: 0 auto; }
.fc-resp__container .section-title { margin-bottom: 3rem; }
.fc-resp__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; padding: 0; }
.fc-resp__item { display: flex; gap: 1rem; padding: 1.5rem; background: var(--light-card); border: 1px solid var(--light-border); border-radius: var(--radius-md); transition: var(--transition); }
.fc-resp__item:hover { border-color: var(--light-border-hover); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,37,51,0.06); }
.fc-resp__check { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--highlight-muted); color: var(--highlight); display: inline-flex; align-items: center; justify-content: center; }
.fc-resp__item h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.fc-resp__item p { font-size: 0.95rem; color: #4D6B78; line-height: 1.6; margin: 0; }

/* Why Join (Benefits with imagery) */
.fc-benefits { padding: 6rem 2rem; }
.fc-benefits__container { max-width: 1280px; margin: 0 auto; }
.fc-benefits__container .section-subtitle { margin-bottom: 3.5rem; }
.fc-benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.benefit-card { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); }
.benefit-card:hover { border-color: var(--dark-border-light); transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,0.35); }
.benefit-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.benefit-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.benefit-card:hover .benefit-card__media img { transform: scale(1.04); }
.benefit-card__content { padding: 1.75rem 1.75rem 2rem; }
.benefit-card__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.6rem; color: #fff; }
.benefit-card__text { font-size: 0.95rem; line-height: 1.65; color: #B5C9D2; }

.fc-progression { display: flex; gap: 1.5rem; align-items: flex-start; margin-top: 3.5rem; padding: 2rem; background: linear-gradient(135deg, rgba(77,201,246,0.10), rgba(77,201,246,0.02)); border: 1px solid rgba(77,201,246,0.25); border-radius: var(--radius-lg); }
.fc-progression__icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--highlight-muted); color: var(--highlight); display: inline-flex; align-items: center; justify-content: center; }
.fc-progression__title { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.fc-progression__text { font-size: 1rem; line-height: 1.65; color: #B5C9D2; margin: 0; }

/* Skills */
.fc-skills { padding: 5rem 2rem; }
.fc-skills__container { max-width: 820px; margin: 0 auto; }
.fc-skills__container .section-subtitle { margin-bottom: 2.5rem; }
.fc-skills__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.fc-skills__list li { position: relative; padding: 1rem 1.25rem 1rem 3.25rem; background: var(--light-card); border: 1px solid var(--light-border); border-radius: var(--radius-md); font-size: 1rem; line-height: 1.55; color: #4D6B78; }
.fc-skills__list li::before { content: ''; position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--highlight); box-shadow: inset 0 0 0 4px var(--light-card); }
.fc-skills__list li strong { color: var(--dark); font-weight: 700; }
.fc-skills__nice { margin-top: 1.75rem; font-size: 0.95rem; color: #6B8390; font-style: italic; }

/* Responsive */
@media (max-width: 960px) {
  .fc-hero { padding: 8rem 1.5rem 3.5rem; }
  .fc-hero__container { grid-template-columns: 1fr; gap: 2.5rem; }
  .fc-hero__image { aspect-ratio: 16 / 11; max-height: 420px; order: -1; }
  .fc-resp__list { grid-template-columns: 1fr; }
  .fc-benefits__grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .benefit-card__media { aspect-ratio: 16 / 11; }
  .fc-progression { flex-direction: column; padding: 1.75rem; }
}
@media (max-width: 600px) {
  .fc-hero__cta-row { gap: 1rem; }
  .fc-hero__cta { width: 100%; justify-content: center; }
  .fc-hero__cta-secondary { width: 100%; justify-content: center; }
  .fc-intro, .fc-resp, .fc-benefits, .fc-skills { padding-left: 1.5rem; padding-right: 1.5rem; }
  .fc-resp { padding-top: 4rem; padding-bottom: 4rem; }
  .fc-benefits { padding-top: 5rem; padding-bottom: 5rem; }
}

/* ============================================
   LEGAL PAGES (Cookie Policy, etc.)
   ============================================ */
.legal { padding: 9rem 2rem 5rem; }
.legal__container { max-width: 760px; margin: 0 auto; }
.legal__eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--highlight); margin-bottom: 1rem; }
.legal__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--dark); margin: 0 0 0.5rem; }
.legal__updated { font-size: 0.9rem; color: #6B8390; margin: 0 0 3rem; }
.legal__body { color: #3A5A68; line-height: 1.75; font-size: 1rem; }
.legal__body h2 { font-size: 1.4rem; font-weight: 700; color: var(--dark); letter-spacing: -0.01em; margin: 2.5rem 0 0.75rem; }
.legal__body p { margin: 0 0 1.25rem; }
.legal__body a { color: #00667A; text-decoration: underline; text-underline-offset: 2px; }
.legal__body a:hover { color: var(--dark); }
.legal__body ul { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.legal__body li { margin-bottom: 0.5rem; }
.legal__body strong { color: var(--dark); font-weight: 700; }
.legal__table-wrap { overflow-x: auto; margin: 0 0 1.5rem; border: 1px solid var(--light-border); border-radius: var(--radius-md); }
.legal__table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.legal__table th, .legal__table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--light-border); vertical-align: top; color: #3A5A68; }
.legal__table th { background: #F4F7F9; font-weight: 700; color: var(--dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.legal__table tr:last-child td { border-bottom: 0; }

@media (max-width: 600px) {
  .legal { padding: 7rem 1.25rem 4rem; }
  .legal__table { font-size: 0.85rem; }
  .legal__table th, .legal__table td { padding: 0.7rem 0.75rem; }
}

/* ============================================
   COOKIE BANNER + PREFERENCES MODAL
   ============================================ */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; padding: 1rem; transform: translateY(120%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; }
.cookie-banner--visible { transform: translateY(0); pointer-events: auto; }
.cookie-banner__inner { max-width: 1200px; margin: 0 auto; background: rgba(0, 37, 51, 0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--dark-border-light); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,0.4); color: #fff; }
.cookie-banner__title { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 0.35rem; }
.cookie-banner__desc { font-size: 0.9rem; color: #B5C9D2; line-height: 1.55; margin: 0; max-width: 640px; }
.cookie-banner__desc a { color: var(--highlight); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__desc a:hover { color: #fff; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.cookie-banner__btn { padding: 0.65rem 1.25rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: var(--transition); border: 1px solid transparent; white-space: nowrap; font-family: inherit; }
.cookie-banner__btn--ghost { background: transparent; color: #DCEAF0; border-color: var(--dark-border-light); }
.cookie-banner__btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--highlight); color: #fff; }
.cookie-banner__btn--primary { background: #fff; color: var(--dark); }
.cookie-banner__btn--primary:hover { background: #E0EDF2; transform: translateY(-1px); }
.cookie-banner__btn:focus-visible { outline: 2px solid var(--highlight); outline-offset: 2px; }

@media (max-width: 768px) {
  .cookie-banner { padding: 0.75rem; }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.25rem; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__btn { flex: 1; min-width: 0; }
}

.cookie-modal { position: fixed; inset: 0; z-index: 1100; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s; }
.cookie-modal--visible { opacity: 1; visibility: visible; }
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 18, 25, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cookie-modal__panel { position: relative; max-width: 560px; margin: 4vh auto; background: var(--dark-card); border: 1px solid var(--dark-border-light); border-radius: var(--radius-xl); padding: 2rem; color: #fff; max-height: 92vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.cookie-modal__close { position: absolute; top: 0.85rem; right: 0.85rem; background: transparent; border: none; color: #8FAAB6; cursor: pointer; padding: 0.5rem; border-radius: 50%; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; }
.cookie-modal__close:hover { background: rgba(255,255,255,0.06); color: #fff; }
.cookie-modal__title { font-size: 1.35rem; font-weight: 700; margin: 0 0 0.5rem; color: #fff; }
.cookie-modal__desc { font-size: 0.92rem; color: #B5C9D2; line-height: 1.65; margin: 0 0 1.5rem; }
.cookie-modal__desc strong { color: #fff; }
.cookie-modal__desc a { color: var(--highlight); text-decoration: underline; text-underline-offset: 2px; }
.cookie-modal__group { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.cookie-modal__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem; background: rgba(255,255,255,0.03); border: 1px solid var(--dark-border); border-radius: var(--radius-md); }
.cookie-modal__row-text h3 { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.25rem; color: #fff; }
.cookie-modal__row-text p { font-size: 0.85rem; color: #8FAAB6; line-height: 1.55; margin: 0; }
.cookie-modal__locked { font-size: 0.72rem; font-weight: 700; color: var(--highlight); text-transform: uppercase; letter-spacing: 0.1em; flex-shrink: 0; padding-top: 0.35rem; }
.cookie-modal__actions { display: flex; gap: 0.5rem; justify-content: flex-end; flex-wrap: wrap; }

.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; margin-top: 0.1rem; cursor: pointer; }
.cookie-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cookie-toggle__slider { position: absolute; inset: 0; background: var(--dark-border-light); border-radius: 100px; transition: background 0.2s ease; }
.cookie-toggle__slider::before { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform 0.2s ease; }
.cookie-toggle input:checked + .cookie-toggle__slider { background: var(--highlight); }
.cookie-toggle input:checked + .cookie-toggle__slider::before { transform: translateX(20px); }
.cookie-toggle input:focus-visible + .cookie-toggle__slider { box-shadow: 0 0 0 3px rgba(77, 201, 246, 0.35); }
.cookie-toggle__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (max-width: 600px) {
  .cookie-modal__panel { margin: 0; min-height: 100%; border-radius: 0; max-height: 100vh; }
  .cookie-modal__actions { justify-content: stretch; }
  .cookie-modal__actions .cookie-banner__btn { flex: 1; }
}

/* ============================================
   FC ROLES - overview cards + per-role blocks
   ============================================ */
.fc-roles { padding: 7rem 2rem; }
.fc-roles__container { max-width: 1200px; margin: 0 auto; }
.fc-roles__container .section-subtitle { margin-bottom: 3.5rem; }
.fc-roles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.fc-role-card { background: var(--light-card); border: 1px solid var(--light-border); border-radius: var(--radius-lg); padding: 1.75rem; transition: var(--transition); display: flex; flex-direction: column; }
.fc-role-card:hover { border-color: var(--light-border-hover); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 37, 51, 0.06); }
.fc-role-card__step { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--highlight); margin: 0 0 0.85rem; }
.fc-role-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin: 0 0 0.6rem; letter-spacing: -0.01em; line-height: 1.25; }
.fc-role-card__desc { font-size: 0.95rem; color: #4D6B78; line-height: 1.6; flex-grow: 1; margin: 0 0 1.25rem; }
.fc-role-card__link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.92rem; font-weight: 600; color: var(--dark); transition: var(--transition); }
.fc-role-card__link:hover { color: #00667A; }
.fc-role-card__link svg { transition: var(--transition); }
.fc-role-card__link:hover svg { transform: translateX(2px); }

/* Per-role block */
.role-block { padding: 6rem 2rem; scroll-margin-top: 80px; }
.role-block__container { max-width: 1100px; margin: 0 auto; }
.role-block__head { margin-bottom: 3rem; }
.role-block__eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--highlight); margin: 0 0 1rem; }
.role-block__title { font-size: clamp(1.85rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 1rem; }
.role-block__lead { font-size: 1.05rem; line-height: 1.7; max-width: 720px; margin: 0 0 1.5rem; }
.role-block__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.role-block__chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.9rem; border-radius: 100px; font-size: 0.82rem; font-weight: 500; }
.role-block__chip-icon { flex-shrink: 0; }

.role-block__body { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.role-block__col-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 1.1rem; letter-spacing: -0.01em; }
.role-block__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.role-block__list li { position: relative; padding-left: 1.4rem; line-height: 1.6; font-size: 0.95rem; }
.role-block__list li::before { content: ''; position: absolute; left: 0; top: 0.55rem; width: 8px; height: 8px; border-radius: 50%; background: var(--highlight); }
.role-block__nice { font-size: 0.9rem; font-style: italic; margin: 1.25rem 0 0; line-height: 1.6; }
.role-block__cta { display: flex; }
.role-block__apply { display: inline-flex; align-items: center; padding: 0.95rem 2.25rem; border-radius: 100px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: var(--transition); border: none; font-family: inherit; }

/* Light variant */
.role-block.section--light .role-block__title { color: var(--dark); }
.role-block.section--light .role-block__lead { color: #3A5A68; }
.role-block.section--light .role-block__chip { background: var(--light-card); border: 1px solid var(--light-border); color: #3A5A68; }
.role-block.section--light .role-block__chip-icon { color: var(--highlight); }
.role-block.section--light .role-block__col-title { color: var(--dark); }
.role-block.section--light .role-block__list li { color: #3A5A68; }
.role-block.section--light .role-block__nice { color: #6B8390; }
.role-block.section--light .role-block__apply { background: var(--dark); color: #fff; }
.role-block.section--light .role-block__apply:hover { background: #001A24; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0, 37, 51, 0.2); }

/* Dark variant */
.role-block.section--dark .role-block__title { color: #fff; }
.role-block.section--dark .role-block__lead { color: #B5C9D2; }
.role-block.section--dark .role-block__chip { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #DCEAF0; }
.role-block.section--dark .role-block__chip-icon { color: var(--highlight); }
.role-block.section--dark .role-block__col-title { color: #fff; }
.role-block.section--dark .role-block__list li { color: #B5C9D2; }
.role-block.section--dark .role-block__nice { color: #8FAAB6; }
.role-block.section--dark .role-block__apply { background: #fff; color: var(--dark); }
.role-block.section--dark .role-block__apply:hover { background: #E0EDF2; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.15); }

@media (max-width: 960px) {
  .fc-roles { padding: 5.5rem 1.5rem; }
  .fc-roles__grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .role-block { padding: 4.5rem 1.5rem; }
  .role-block__body { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2rem; }
  .role-block__apply { width: 100%; justify-content: center; }
}

/* ============================================
   HOW WE WORK - LIGHT
   ============================================ */
.how-we-work { padding: 7rem 2rem; }
.how-we-work__container { max-width: 1100px; margin: 0 auto; }
.how-we-work__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.how-we-work__heading .section-subtitle { margin-top: 0.75rem; }
.how-we-work__body { display: flex; flex-direction: column; gap: 1.25rem; }
.how-we-work__body p { font-size: 1.1rem; line-height: 1.85; color: #3A5A68; margin: 0; }
.how-we-work__lead { font-size: 1.3rem !important; font-weight: 600; color: var(--dark) !important; line-height: 1.55 !important; }
.how-we-work__values-label { font-weight: 600; }
.how-we-work__values-label strong { color: var(--dark); }
.how-we-work__values { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.how-we-work__values li { font-size: 1.1rem; color: #3A5A68; line-height: 1.55; padding-left: 1.5rem; position: relative; }
.how-we-work__values li::before { content: ''; position: absolute; left: 0; top: 0.7rem; width: 7px; height: 7px; border-radius: 50%; background: var(--highlight); }

@media (max-width: 900px) {
  .how-we-work__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .how-we-work { padding: 5rem 1.5rem; }
  .how-we-work__lead { font-size: 1.2rem !important; }
}

/* ============================================
   CHAIN-FLIP THEME OVERRIDES
   Sections were originally styled for one theme; these overrides apply
   when the section is flipped to the opposite theme.
   ============================================ */

/* Leadership Principles -> DARK */
.principles.section--dark .principle { border-bottom-color: var(--dark-border); }
.principles.section--dark .principle:first-child { border-top-color: var(--dark-border); }
.principles.section--dark .principle__name { color: #fff; }
.principles.section--dark .principle--active .principle__name { color: var(--highlight); }
.principles.section--dark .principle__point { border-left-color: var(--dark-border); }
.principles.section--dark .principle__point h4 { color: #fff; }
.principles.section--dark .principle__point p { color: #B5C9D2; }

/* What We Offer -> LIGHT */
.benefits.section--light .offer-card { background: var(--light-card); border-color: var(--light-border); }
.benefits.section--light .offer-card:hover { border-color: var(--light-border-hover); box-shadow: 0 8px 24px rgba(0,37,51,0.06); }
.benefits.section--light .offer-card h3 { color: var(--dark); }
.benefits.section--light .offer-card p { color: #4D6B78; }

/* Jobs -> DARK */
.jobs.section--dark .job { border-bottom-color: var(--dark-border); }
.jobs.section--dark .job:first-child { border-top-color: var(--dark-border); }
.jobs.section--dark .job__title { color: #fff; }
.jobs.section--dark .job:hover .job__title { color: var(--highlight); }
.jobs.section--dark .job__dept { color: #B5C9D2; }
.jobs.section--dark .jobs__skeleton-row { border-bottom-color: var(--dark-border); }
.jobs.section--dark .jobs__skeleton-row:first-child { border-top-color: var(--dark-border); }
.jobs.section--dark .jobs__skeleton-row::after { background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%); }
.jobs.section--dark .jobs__empty { color: #B5C9D2; }

/* Locations -> LIGHT (the map itself keeps its dark tiles for contrast/visibility;
   only the HQ pill and surrounding chrome flip to light) */
.locations.section--light .locations__hq { background: var(--light-card); border-color: var(--light-border); color: var(--dark); }
.locations.section--light .locations__hq:hover { background: #fff; border-color: var(--light-border-hover); box-shadow: 0 8px 24px rgba(0,37,51,0.08); }
.locations.section--light .locations__hq-address { color: #4D6B78; }
.locations.section--light .locations__hq-arrow { color: #6B8390; }
.locations.section--light .locations__hq:hover .locations__hq-arrow { color: var(--dark); }
.locations.section--light .map-wrapper { border-color: var(--light-border); }

/* Departments -> DARK */
.depts.section--dark .dept-card { background: var(--dark-card); border-color: var(--dark-border); }
.depts.section--dark .dept-card:hover { border-color: var(--dark-border-light); box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.depts.section--dark .dept-card h3 { color: #fff; }
.depts.section--dark .dept-card p { color: #B5C9D2; }

/* CTA -> LIGHT */
.cta.section--light::before { background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(77,201,246,0.10) 0%, transparent 70%); }
.cta.section--light .cta__title { color: var(--dark); }
.cta.section--light .cta__text { color: #4D6B78; }
.cta.section--light .cta__btn { background: var(--dark); color: #fff; }
.cta.section--light .cta__btn:hover { background: #001A24; box-shadow: 0 8px 32px rgba(0,37,51,0.25); }
