/*
Theme Name: FDC
Version: 1.0
Text Domain: fdc
*/

/* =========================
   Fonts — Graphik
========================= */
@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-LightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: optional;
}
@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}
@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-SemiboldItalic.otf") format("opentype");
  font-weight: 600;
  font-style: italic;
  font-display: optional;
}
@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "Graphik";
  src: url("assets/fonts/Graphik-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: optional;
}

/* =========================
   Variables
========================= */
:root {
  /* Colours */
  --dark:     #282829;
  --semi:     #414042;
  --light:    #EBEAEA;
  --red:      #D92333;
  --dark-red: #B50626;
  --grey:     #E3E0DB;
  --white:    #FFFFFF;

  /* Typography */
  --heading-font: "Graphik", system-ui, sans-serif;
  --body-font:    "Graphik", system-ui, sans-serif;

  /* Layout */
  --container: 1440px;
  --gutter:    80px;
}

/* =========================
   Reset & Base
========================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.375;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { cursor: pointer; border: none; background: none; padding: 0; font-family: inherit; }
p { margin: 0 0 1.25rem; }
p:last-child { margin-bottom: 0; }
strong {
  font-weight: 600;
}

/* =========================
   Container
========================= */
.fdc-container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* =========================
   Typography
========================= */
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--heading-font); font-weight: 500; }

/* H1 — 56px/59 at 1440px */
h1, .fdc-h1 {
  font-size: clamp(2.8rem, 3.89vw, 3.5rem);
  line-height: 1.054;
}

/* H2 — 36px/40 at 1440px */
h2, .fdc-h2 {
  font-size: clamp(2rem, 2.5vw, 2.25rem);
  line-height: 1.111;
}

/* H3 — 26px/34 at 1440px */
h3, .fdc-h3 {
  font-size: clamp(1.5rem, 1.806vw, 1.625rem);
  line-height: 1.308;
}

/* H4 — 22px/30 at 1440px */
h4, .fdc-h4 {
  font-size: clamp(1.3rem, 1.528vw, 1.375rem);
  line-height: 1.364;
}

/* H5 — 20px/26 at 1440px */
h5, .fdc-h5 {
  font-size: clamp(1.15rem, 1.528vw, 1.275rem);
  line-height: 1.364;
}

/* Display-1 — 72px/74 at 1440px */
.fdc-display-1 {
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.028;
  font-weight: 500;
}

/* Body Large — 20px/26 at 1440px */
.fdc-body-lg {
  font-size: clamp(1rem, 1.389vw, 1.25rem);
  line-height: 1.3;
}

/* WYSIWYG content */
.fdc-wysiwyg h2, .fdc-wysiwyg h3, .fdc-wysiwyg h4, .fdc-wysiwyg h5 { margin-bottom: 0.75em; }
.fdc-wysiwyg p  { margin-bottom: 1.25rem; }
.fdc-wysiwyg p:last-child { margin-bottom: 0; }
.fdc-wysiwyg ul, .fdc-wysiwyg ol { padding-left: 1.25em; margin-bottom: 1.25rem; }
.fdc-wysiwyg ul { list-style: disc; }
.fdc-wysiwyg ol { list-style: decimal; }
.fdc-wysiwyg li { margin-bottom: 0.4em; }
.fdc-wysiwyg a { text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s; }
.fdc-wysiwyg a:hover { opacity: 0.65; }

/* =========================
   Utility
========================= */
.fdc-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* =========================
   Buttons
========================= */
.fdc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 1.231;
  font-weight: 600;
  padding: 15px 20px;
  border: 1px solid;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fdc-btn--white { border-color: var(--white); color: var(--white); }
.fdc-btn--dark  { border-color: var(--dark);  color: var(--dark); }

.fdc-btn--white:hover { background: var(--white); color: var(--dark-red); border-color: var(--white); }
.fdc-btn--dark:hover  { background: var(--dark-red);   color: var(--white); border-color: var(--dark-red); }

/* =========================
   Non-clickable menu items
========================= */
li.menu-item-129 > a,
li.menu-item-87  > a {
  pointer-events: none;
  cursor: default;
}

/* =========================
   Header
========================= */
.fdc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.35s ease;
}

.fdc-header.is-scrolled { background: var(--dark); }

.search-results .fdc-header { background: var(--dark); }

.fdc-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  padding: 0 var(--gutter);
  transition: height 0.3s ease;
}

.fdc-header.is-scrolled .fdc-header__inner { height: 60px; }

/* Logo */
.fdc-header__logo { display: flex; align-items: center; }
.fdc-header__logo a { display: flex; align-items: center; }
.fdc-header__logo img { height: 40px; width: auto; transition: height 0.3s ease; }
.fdc-header.is-scrolled .fdc-header__logo img { height: 30px; }
.fdc-header__logo-text {
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
}

/* Primary nav — centre column */
.fdc-header__nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fdc-primary-menu {
  display: flex;
  align-items: center;
  gap: 42px;
  height: 80px;
  transition: height 0.3s ease;
}

.fdc-header.is-scrolled .fdc-primary-menu { height: 60px; }

.fdc-primary-menu li { position: relative; display: flex; align-items: center; height: 100%; }

.fdc-primary-menu li a {
  font-family: var(--heading-font);
  font-size: 14px;
  line-height: 17px;
  font-weight: 500;
  color: var(--white);
  transition: opacity 0.2s;
  white-space: nowrap;
}


/* Dropdown chevron button */
.fdc-nav__chevron {
  display: flex;
  align-items: center;
  padding: 4px 2px;
  color: var(--white);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 3px;
}

.fdc-primary-menu .menu-item-has-children:hover > .fdc-nav__chevron,
.fdc-primary-menu .menu-item-has-children.is-open  > .fdc-nav__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown sub-menu */
.fdc-primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  min-width: 220px;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 300;
}

.fdc-primary-menu .menu-item-has-children:hover > .sub-menu,
.fdc-primary-menu .menu-item-has-children.is-open  > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fdc-primary-menu .sub-menu li {
  display: block;
  height: auto;
  width: 100%;
}

.fdc-primary-menu .sub-menu li a {
  display: block;
  padding: 11px 24px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 1;
  transition: background 0.15s;
}

.fdc-primary-menu .sub-menu li a:hover {
  background: var(--semi);
  opacity: 1;
}

.fdc-primary-menu > li::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 0;
  height: 5px;
  background: var(--white);
  transition: width 0.3s ease, top 0.3s ease;
}

.fdc-header.is-scrolled .fdc-primary-menu > li::before { top: 0; }

.fdc-primary-menu > li:hover::before { width: 100%; }

.fdc-primary-menu li.current-menu-item::before,
.fdc-primary-menu li.current-page-ancestor::before {
  animation: fdc-nav-underline 0.5s ease forwards;
}

@keyframes fdc-nav-underline {
  from { width: 0; }
  to   { width: 100%; }
}

/* Right column */
.fdc-header__right {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-end;
}

.fdc-investor-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.fdc-investor-menu li a {
  font-family: var(--heading-font);
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.fdc-investor-menu li a:hover { opacity: 0.65; }

.fdc-header__shortcode { display: flex; align-items: center; }

/* Shortcode text/links inherit white */
.fdc-header__shortcode,
.fdc-header__shortcode a {
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Search */
.fdc-header__search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--white);
  padding: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.fdc-header__search:hover { opacity: 0.65; }

.fdc-header__share-price {
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 6px 12px;
  white-space: nowrap;
  margin-right: 10px;
}

/* Hamburger */
.fdc-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.fdc-header__hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.fdc-header__hamburger.is-active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.fdc-header__hamburger.is-active span:nth-child(2) { opacity: 0; }
.fdc-header__hamburger.is-active span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.fdc-main { position: relative; }

/* =========================
   Search Overlay
========================= */
.fdc-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(40, 40, 41, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.fdc-search-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.fdc-search-overlay__inner {
  position: relative;
  width: 100%;
  max-width: 680px;
  padding: 0 var(--gutter);
}

.fdc-search-overlay__close {
  position: absolute;
  top: 0;
  right: var(--gutter);
  color: var(--white);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.fdc-search-overlay__close:hover { opacity: 1; }

/* WordPress search form reset */
.fdc-search-overlay .search-form {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.fdc-search-overlay .search-field {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--body-font);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  padding: 16px 0;
}

.fdc-search-overlay .search-field::placeholder { color: rgba(255,255,255,0.35); }

.fdc-search-overlay .search-submit { display: none; }

/* =========================
   Mobile Menu
========================= */
.fdc-mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 190;
  display: flex;
  flex-direction: column;
  padding: 100px var(--gutter) 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow-y: auto;
}

.fdc-mobile-menu.is-open { opacity: 1; pointer-events: all; }

.fdc-mobile-menu__share-price {
  margin-top: auto;
  padding: 10px 16px;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  border: 1px solid var(--white);
  align-self: flex-start;
}

.fdc-mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.fdc-mobile-nav li a {
  display: block;
  padding: 16px 0;
  font-family: var(--heading-font);
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: opacity 0.2s;
}
.fdc-mobile-nav li a:hover { opacity: 0.65; }

/* Mobile: parent items with children */
.fdc-mobile-nav .menu-item-has-children {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.fdc-mobile-nav .menu-item-has-children > a {
  flex: 1;
  border-bottom: none;
}

.fdc-mobile-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--white);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.fdc-mobile-nav .menu-item-has-children.is-open > .fdc-mobile-chevron {
  transform: rotate(180deg);
}

/* Mobile sub-menu */
.fdc-mobile-nav .sub-menu {
  display: none;
  width: 100%;
  flex-direction: column;
  padding: 4px 0 8px 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.fdc-mobile-nav .menu-item-has-children.is-open > .sub-menu {
  display: flex;
}

.fdc-mobile-nav .sub-menu li { display: block; }

.fdc-mobile-nav .sub-menu li a {
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  padding: 12px 0;
  border-bottom-color: rgba(255,255,255,0.1);
}

/* =========================
   Footer
========================= */
.fdc-footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 80px;
}

.fdc-footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 0 var(--gutter) 60px;
  margin-bottom: 0;
}

.fdc-footer__left {
  display: flex;
  flex-direction: column;
}

.fdc-footer__logo a { display: inline-block; }
.fdc-footer__logo img {
  width: auto;
  height: 30px;
}
.fdc-footer__logo-text {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

/* Right: 2 columns of footer menus */
.fdc-footer__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.fdc-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fdc-footer__nav-list {
  display: flex;
  flex-direction: column;
}

.fdc-footer__nav-list li a {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
  transition: opacity 0.2s;
  font-weight: 400;
  padding: 2px 0;
}

.fdc-footer__nav-list li a:hover { opacity: 0.65; }

/* First item = bold heading */
.fdc-footer__nav-list li:first-child a {
  font-weight: 600;
  margin-bottom: 4px;
}

/* Footer WYSIWYG block */
.fdc-footer__wysiwyg,
.fdc-footer__wysiwyg p,
.fdc-footer__wysiwyg li,
.fdc-footer__wysiwyg h2,
.fdc-footer__wysiwyg h3,
.fdc-footer__wysiwyg h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: .5rem;
}

.fdc-footer__wysiwyg a {
  color: var(--white);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.fdc-footer__wysiwyg a:hover { opacity: 0.65; }

/* Footer bottom bar */
.fdc-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px var(--gutter) 0;
}

.fdc-footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fdc-footer__copyright {
  font-size: 12px;
  color: var(--white);
  margin: 0;
}

.fdc-footer__sep { font-size: 12px; color: var(--white); }

.fdc-footer__legal { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.fdc-footer__legal a {
  font-size: 12px;
  color: var(--white);
  transition: color 0.2s;
}
.fdc-footer__legal a:hover { color: var(--white); }

/* Social icons */
.fdc-footer__social { display: flex; align-items: center; gap: 10px; }

.fdc-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
  color: var(--white);
  transition: border-color 0.2s;
}

.fdc-footer__social a:hover { border-color: var(--white); }
.fdc-footer__social img { width: 16px; height: 16px; display: block; }

.fdc-footer__credit {
  padding: 0 var(--gutter) 20px;
}

.fdc-footer__credit p, .fdc-footer__credit a {
  font-size: 11px;
  color: var(--white);
  margin: 0;
  transition: color .2s ease;
}

.fdc-footer__credit a:hover { color: rgba(255,255,255,0.6); }

/* =========================
   Scroll Animations
========================= */
.fdc-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease !important;
}

.fdc-animate.is-visible { opacity: 1; transform: translateY(0); }


/* =========================
   Partial: Intro Banner
========================= */
.fdc-intro-banner {
  position: relative;
  width: 100%;
  height: 65vh;
  background: var(--dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fdc-intro-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient for nav readability */
.fdc-intro-banner__overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 240px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Gradient for content readability */
.fdc-intro-banner__overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.fdc-intro-banner__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 var(--gutter) clamp(60px, 8vh, 100px);
  max-width: var(--container);
  width: 100%;
  align-self: center;
}

.fdc-intro-banner__title {
  color: var(--white);
  max-width: 65%;
  margin-bottom: 32px;
}

.fdc-intro-banner__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================
   Partial: Cards
========================= */
.fdc-cards {
  background: var(--white);
  padding: clamp(60px, 7vw, 100px) 0;
}

.fdc-cards__grid {
  display: grid;
  gap: 24px;
}

.fdc-cards__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.fdc-cards__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }

.fdc-cards__card {
  background: var(--light);
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.fdc-cards__card-title {
  color: var(--dark);
  margin-bottom: 20px;
}

.fdc-cards__card-content {
  color: var(--dark);
  flex: 1;
  margin-bottom: 20px;
}

.fdc-cards__card-dots {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  flex: 1;
}

.fdc-cards__card-dot {
  padding: 12px 0;
  border-top: 1px solid var(--dark);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--dark);
}

.fdc-cards__card .fdc-btn { margin-top: auto; align-self: flex-start; }

/* =========================
   Partial: Split Column
========================= */
.fdc-split {
  padding: clamp(60px, 7vw, 100px) 0;
}

.fdc-split--light { background: var(--light); color: var(--dark); }
.fdc-split--dark  { background: var(--dark);  color: var(--white); }
.fdc-split--grey  { background: var(--grey);  color: var(--dark); }
.fdc-split--white { background: var(--white); color: var(--dark); }
.fdc-split--red   { background: var(--red);   color: var(--white); }

.fdc-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.fdc-split--align-top    .fdc-split__inner { align-items: start; }
.fdc-split--align-middle .fdc-split__inner { align-items: center; }
.fdc-split--align-bottom .fdc-split__inner { align-items: end; }

.fdc-split__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fdc-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fdc-split--img-left  .fdc-split__image { order: -1; }
.fdc-split--img-right .fdc-split__image { order: 1; }

/* =========================
   Partial: CTA Cards
========================= */
.fdc-cta-cards { padding: clamp(60px, 7vw, 100px) 0; }

.fdc-cta-cards--dark  { background: var(--dark); }
.fdc-cta-cards--light { background: var(--light); }
.fdc-cta-cards--grey  { background: var(--grey); }
.fdc-cta-cards--white { background: var(--white); }
.fdc-cta-cards--red   { background: var(--red); }

.fdc-cta-cards__header { margin-bottom: 40px; }

.fdc-cta-cards--dark  .fdc-cta-cards__title,
.fdc-cta-cards--red   .fdc-cta-cards__title { color: var(--white); }
.fdc-cta-cards--light .fdc-cta-cards__title,
.fdc-cta-cards--grey  .fdc-cta-cards__title,
.fdc-cta-cards--white .fdc-cta-cards__title { color: var(--dark); }

.fdc-cta-cards__grid { display: grid; gap: 20px; }

.fdc-cta-cards__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.fdc-cta-cards__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.fdc-cta-cards__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.fdc-cta-cards__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  min-height: 250px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  position: relative;
}

.fdc-cta-cards--dark  .fdc-cta-cards__card { background: var(--semi); }
.fdc-cta-cards--light .fdc-cta-cards__card,
.fdc-cta-cards--grey  .fdc-cta-cards__card,
.fdc-cta-cards--white .fdc-cta-cards__card { background: var(--dark); }
.fdc-cta-cards--red   .fdc-cta-cards__card { background: var(--red); }

.fdc-cta-cards__card:hover {
  background: var(--grey);
}

.fdc-cta-cards__card-title { color: var(--white); }

.fdc-cta-cards__card:hover .fdc-cta-cards__card-title { color: var(--dark); }

.fdc-cta-cards__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 50px;
  background: var(--dark);
  color: var(--white);
  align-self: flex-end;
  transition: background 0.25s, color 0.25s;
}

.fdc-cta-cards__card:hover .fdc-cta-cards__arrow {
  background: var(--dark-red);
  color: var(--white);
}

/* =========================
   Partial: Stats
========================= */
.fdc-stats { padding: clamp(60px, 7vw, 100px) 0; }

.fdc-stats--dark  { background: var(--dark);  color: var(--white); }
.fdc-stats--light { background: var(--light); color: var(--dark); }
.fdc-stats--grey  { background: var(--grey);  color: var(--dark); }
.fdc-stats--white { background: var(--white); color: var(--dark); }
.fdc-stats--red   { background: var(--red);   color: var(--white); }

.fdc-stats__grid { display: grid; gap: 24px; }

.fdc-stats__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.fdc-stats__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.fdc-stats__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.fdc-stats__item {
  padding-top: 18px;
  border-top: 1px solid var(--dark);
}

.fdc-stats__item--link { padding: 18px 16px 16px; }

.fdc-stats__item--link .fdc-btn { margin-top: auto; align-self: flex-start; }

.fdc-stats--align-left   .fdc-stats__item { text-align: left; }
.fdc-stats--align-center .fdc-stats__item { text-align: center; }
.fdc-stats--align-center .fdc-stats__item--link .fdc-btn { align-self: center; }
.fdc-stats--align-right  .fdc-stats__item { text-align: right; }
.fdc-stats--align-right  .fdc-stats__item--link .fdc-btn { align-self: flex-end; }

.fdc-stats--dark .fdc-stats__item,
.fdc-stats--red  .fdc-stats__item { border-top-color: rgba(255,255,255,0.3); }

.fdc-stats__number { margin-bottom: 0; color: inherit; }
.fdc-stats__subtitle { color: inherit; margin-bottom: 18px; font-weight: 500; }

.fdc-stats__description {
  color: inherit;
  margin-bottom: 20px;
}

/* =========================
   Search Page
========================= */
.fdc-search-header {
  background: var(--dark);
  color: var(--white);
  padding: 140px 0 60px;
}

.fdc-search-header__label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.fdc-search-header__term {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.fdc-search-header__count {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.fdc-search-results {
  padding-top: 60px;
  padding-bottom: 80px;
}

.fdc-search-results__list {
  display: flex;
  flex-direction: column;
}

.fdc-search-result {
  padding: 36px 0;
  border-bottom: 1px solid var(--grey);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.fdc-search-result__meta { display: flex; align-items: center; gap: 12px; }

.fdc-search-result__type {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--semi);
  font-weight: 500;
}

.fdc-search-result__title {
  font-size: clamp(1.125rem, 1.806vw, 1.625rem);
  font-weight: 500;
}

.fdc-search-result__title a { transition: opacity 0.2s; }
.fdc-search-result__title a:hover { opacity: 0.65; }

.fdc-search-result__excerpt {
  font-size: 15px;
  color: var(--semi);
  line-height: 1.6;
  margin: 0;
}

.fdc-search-result__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  transition: opacity 0.2s;
  margin-top: 4px;
}

.fdc-search-result__link:hover { opacity: 0.65; }

.fdc-search-results__empty { max-width: 560px; padding: 60px 0; }
.fdc-search-results__empty p { font-size: 18px; margin-bottom: 32px; }
.fdc-search-results__empty .search-form { display: flex; gap: 0; border-bottom: 1px solid var(--dark); }
.fdc-search-results__empty .search-field { flex: 1; border: none; outline: none; font-family: var(--body-font); font-size: 18px; padding: 12px 0; background: none; }
.fdc-search-results__empty .search-submit { display: none; }

.fdc-search-results__pagination { margin-top: 60px; }
.fdc-search-results__pagination .nav-links { display: flex; gap: 8px; align-items: center; }
.fdc-search-results__pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--grey); font-size: 13px; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.fdc-search-results__pagination .page-numbers.current { background: var(--dark); color: var(--white); border-color: var(--dark); }
.fdc-search-results__pagination .page-numbers:hover:not(.current) { background: var(--light); }

/* =========================
   Responsive
========================= */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
}

@media (max-width: 1024px) {
  .fdc-primary-menu { gap: 24px; }
  .fdc-cta-cards__grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .fdc-stats__grid--cols-4     { grid-template-columns: repeat(2, 1fr); }
  .fdc-team__grid--cols-3      { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Page Header ──────────────────────────────────────────────────────────── */
.fdc-page-header {
  position: relative;
  min-height: clamp(320px, 38vw, 460px);
  display: flex;
  align-items: flex-end;
}

.fdc-page-header__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.fdc-page-header__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(40,40,41,0.7) 0%, transparent 40%),
    linear-gradient(to top,    rgba(40,40,41,0.65) 0%, rgba(40,40,41,0.1) 60%, transparent 100%);
}

.fdc-page-header .fdc-container {
  position: relative;
  width: 100%;
}

.fdc-page-header__content {
  padding-bottom: clamp(40px, 5vw, 72px);
}

.fdc-page-header--white .fdc-page-header__title { color: var(--white); }
.fdc-page-header--dark  .fdc-page-header__title { color: var(--dark); }
.fdc-page-header--red   .fdc-page-header__title { color: var(--red); }

/* ─── Quote ────────────────────────────────────────────────────────────────── */
.fdc-quote {
  padding: clamp(60px, 7vw, 100px) 0;
}

.fdc-quote--red      { background: var(--red);      color: var(--white); }
.fdc-quote--dark-red { background: var(--dark-red);  color: var(--white); }
.fdc-quote--dark     { background: var(--dark);      color: var(--white); }
.fdc-quote--white    { background: var(--white);     color: var(--dark); }

.fdc-quote__text {
  font-size: clamp(1.5rem, 3.2vw, 2.875rem);
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 clamp(24px, 3vw, 40px);
  max-width: 1000px;
}

.fdc-quote__attribution { display: flex; flex-direction: column; gap: 4px; }

.fdc-quote__name {
  font-size: inherit;
  font-weight: 600;
  margin: 0;
}

.fdc-quote__position {
  font-size: inherit;
  font-weight: 300;
  margin: 0;
}

/* ─── Cards with Background ─────────────────────────────────────────────────── */
.fdc-cards-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: clamp(60px, 7vw, 100px) 0;
}

.fdc-cards-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(40,40,41,0.3);
}

.fdc-cards-bg .fdc-container { position: relative; }

.fdc-cards-bg__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.fdc-cards-bg__col--wysiwyg { color: var(--white); }

.fdc-cards-bg__col--wysiwyg * { color: var(--white); }

.fdc-cards-bg__col--card {
  background: rgba(235, 234, 234, 0.85);
  color: var(--dark);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fdc-cards-bg__col-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--dark);
  gap: 16px;
  padding-top: 15px;
}

.fdc-cards-bg__col-title { color: var(--dark); margin: 0; }
.fdc-cards-bg__col-text  { color: var(--dark); margin: 0; }

.fdc-cards-bg__col--card .fdc-btn { align-self: flex-start; }

/* ─── Team ─────────────────────────────────────────────────────────────────── */
.fdc-team {
  padding: clamp(60px, 7vw, 100px) 0;
  background: var(--light);
}

.fdc-team__title {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.fdc-team__grid {
  display: grid;
  gap: clamp(24px, 2.5vw, 36px);
}

.fdc-team__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.fdc-team__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }

.fdc-team__card {
  display: flex;
  flex-direction: column;
  cursor: default;
}

.fdc-team__thumb {
  overflow: hidden;
  aspect-ratio: 9 / 6;
  cursor: pointer;
}

.fdc-team__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center 0;
}


.fdc-team__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--dark);
}

.fdc-team__name {
  margin: 0;
  font-size: clamp(1.125rem, 1.528vw, 1.375rem);
  line-height: 1.364;
}

.fdc-team__position {
  margin: 4px 0 0;
  color: var(--semi);
  font-size: 0.875rem;
  line-height: 1.214;
}

.fdc-team__expand {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.fdc-team__expand::before,
.fdc-team__expand::after {
  content: '';
  position: absolute;
  background: var(--dark-red);
  transition: transform 0.3s ease;
}

.fdc-team__expand::before {
  width: 20px;
  height: 2px;
}

.fdc-team__expand::after {
  width: 2px;
  height: 20px;
}

.fdc-team__expand.is-active {
  transform: rotate(45deg);
}

/* Team bio panel */
.fdc-team-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.fdc-team-panel.is-open {
  pointer-events: auto;
  transform: translateX(0);
}

.fdc-team-panel__inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  overflow-y: auto;
}

.fdc-team-panel__content {
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.fdc-team-panel__name {
  color: var(--red);
  margin: 0;
}

.fdc-team-panel__position {
  margin: 0;
  font-size: clamp(1.125rem, 1.528vw, 1.375rem);
  line-height: 1.364;
}

.fdc-team-panel__bio { flex: 1; }

.fdc-team-panel__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.fdc-team-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
}

.fdc-team-panel__link:hover { color: var(--red); }

.fdc-team-panel__image {
  position: relative;
  overflow: hidden;
}

.fdc-team-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fdc-team-panel__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  outline: none;
}

.fdc-team-panel__close::before,
.fdc-team-panel__close::after {
  content: '';
  position: absolute;
  background: var(--dark-red);
}

.fdc-team-panel__close::before {
  width: 20px;
  height: 2px;
  transform: rotate(45deg);
}

.fdc-team-panel__close::after {
  width: 2px;
  height: 20px;
  transform: rotate(45deg);
}

body.fdc-panel-open { overflow: hidden; }

/* ─── Documents ─────────────────────────────────────────────────────────────── */
.fdc-documents {
  padding: clamp(48px, 5.5vw, 80px) 0;
}

.fdc-documents--white { background: var(--white); }
.fdc-documents--light { background: #f7f7f7; }
.fdc-documents--grey  { background: var(--grey); }

.fdc-documents__title {
  color: var(--dark);
  margin-bottom: clamp(24px, 3vw, 40px);
}

/* Year tabs */
.fdc-documents__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.fdc-documents__tab {
  padding: 10px 20px;
  border: 1px solid var(--dark);
  color: var(--dark);
  background: transparent;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.fdc-documents__tab.is-active {
  color: var(--dark-red);
  border-color: var(--dark-red);
}

/* Year group visibility */
.fdc-documents__group { display: none; }
.fdc-documents__group.is-active { display: block; }

/* Subtitle */
.fdc-documents__subtitle {
  color: var(--dark-red);
  margin-bottom: 20px;
}

/* Document rows */
.fdc-documents__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fdc-documents__row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--light);
  padding: 14px 16px 14px 20px;
  text-decoration: none;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.375;
  transition: background 0.2s;
}

.fdc-documents__row:hover { background: var(--grey); }

.fdc-documents__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--dark);
}

.fdc-documents__icon svg {
  height: 30px;
  width: auto;
  display: block;
}

.fdc-documents__name {
  flex: 1;
}

.fdc-documents__date {
  flex-shrink: 0;
  color: var(--dark);
  margin-right: 16px;
}

.fdc-documents__action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--dark-red);
}

.fdc-documents__action svg {
  display: block;
  width: auto;
  height: auto;
}

/* Documents — Card grid (Reports layout) */
.fdc-documents__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.fdc-documents__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--dark);
}

.fdc-documents__card-cover {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--light);
}

.fdc-documents__card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.35s ease;
}

.fdc-documents__card:hover .fdc-documents__card-cover img {
  transform: scale(1.03);
}

.fdc-documents__card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fdc-documents__card-cover-placeholder svg {
  height: 48px;
  width: auto;
  opacity: 0.3;
}

.fdc-documents__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}

.fdc-documents__card-title {
  color: var(--dark);
  margin: 0;
  flex: 1;
}

.fdc-documents__card-arrow {
  flex-shrink: 0;
  color: var(--dark-red);
  transition: transform 0.2s ease;
}

.fdc-documents__card:hover .fdc-documents__card-arrow {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .fdc-documents__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .fdc-documents__cards { grid-template-columns: 1fr; }
}

/* ─── Wysiwyg Block ─────────────────────────────────────────────────────────── */
.fdc-wysiwyg-block {
  padding: clamp(48px, 5.5vw, 80px) 0;
}
.fdc-wysiwyg-block--no-pb { padding-bottom: 0; }

.fdc-wysiwyg-block--white { background: var(--white); color: var(--dark); }
.fdc-wysiwyg-block--light { background: var(--light); color: var(--dark); }
.fdc-wysiwyg-block--grey  { background: var(--grey);  color: var(--dark); }
.fdc-wysiwyg-block--dark  { background: var(--dark);  color: var(--white); }
.fdc-wysiwyg-block--red   { background: var(--red);   color: var(--white); }

.fdc-wysiwyg-block--dark .fdc-wysiwyg a,
.fdc-wysiwyg-block--red  .fdc-wysiwyg a { color: var(--white); }

.fdc-wysiwyg-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 80px);
}

@media (max-width: 768px) {
  .fdc-wysiwyg-block__grid { grid-template-columns: 1fr; }
}

/* ─── Contact Boxes ─────────────────────────────────────────────────────────── */
.fdc-contact-boxes {
  background: var(--dark);
  padding: clamp(48px, 5.5vw, 80px) 0;
}

.fdc-contact-boxes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fdc-contact-box {
  background: var(--semi);
  padding: 24px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.fdc-contact-box__title {
  color: var(--white);
  margin-bottom: 0;
}

.fdc-contact-box__content {
  margin-top: auto;
  padding-top: 20px;
  color: var(--white);
}

.fdc-contact-box__content a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.fdc-contact-box__content a:hover { opacity: 0.75; }

@media (max-width: 900px) {
  .fdc-contact-box {
    min-height: 210px;
  }
}
@media (max-width: 600px) {
  .fdc-contact-boxes__grid { grid-template-columns: 1fr; }
}

/* ─── Resources Nav ─────────────────────────────────────────────────────────── */
.fdc-resources-nav {
  background: var(--grey);
  padding: clamp(40px, 5vw, 72px) 0;
}

.fdc-resources-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(32px, 4vw, 64px);
}

.fdc-resources-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0 45px;
  border-top: 1px solid var(--dark);
  color: var(--dark);
  font-size: clamp(1rem, 1.389vw, 1.25rem);
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s;
}

.fdc-resources-nav__item:hover { color: var(--dark-red); border-top-color: var(--dark-red); }

.fdc-resources-nav__item.is-active { color: var(--dark-red); border-top-color: var(--dark-red); }

.fdc-resources-nav__arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.fdc-resources-nav__item:hover .fdc-resources-nav__arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .fdc-resources-nav__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .fdc-resources-nav__grid { grid-template-columns: 1fr; }
}

/* ─── Careers Slider ─────────────────────────────────────────────────────────── */
.fdc-careers {
  background: var(--white);
  padding: clamp(60px, 7vw, 100px) 0;
  color: var(--dark);
  overflow: hidden;
}

.fdc-careers .fdc-container { overflow: visible; }

.fdc-careers__layout {
  display: grid;
  grid-template-columns: clamp(260px, 28vw, 380px) 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}

.fdc-careers__lead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  z-index: 1;
  position: relative;
}

.fdc-careers__lead-top {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 32px);
}

.fdc-careers__lead-top .fdc-btn { align-self: flex-start; }

.fdc-careers__title { margin: 0; color: var(--dark); }

.fdc-careers__dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fdc-careers__dot {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(40,40,41,0.35);
  background: transparent;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.fdc-careers__dot.is-active,
.fdc-careers__dot:hover {
  background: var(--dark);
  border-color: var(--dark);
}

.fdc-careers__slider {
  overflow: visible;
  min-width: 0;
  position: relative;
  z-index: 0;
  clip-path: inset(0 -100vw 0 0);
}

.fdc-careers__track {
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: grab;
  user-select: none;
}
.fdc-careers__track.is-dragging { cursor: grabbing; }

.fdc-careers__card {
  position: relative;
  flex: 0 0 clamp(240px, 38vw, 545px);
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fdc-careers__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fdc-careers__card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(40,40,41,0.6);
}

.fdc-careers__card-content {
  position: relative;
  margin-top: auto;
  padding: clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.fdc-careers__card-title {
  color: var(--white);
  margin: 0;
}

.fdc-careers__card-text {
  color: var(--white);
  margin: 0;
}

@media (max-width: 900px) {
  .fdc-split__inner { grid-template-columns: 1fr; }
  .fdc-split--mobile-img-top    .fdc-split__image { order: -1; }
  .fdc-split--mobile-img-bottom .fdc-split__image { order: 1; }
  .fdc-cta-cards__card { min-height: 170px; }
  .fdc-footer__main  { grid-template-columns: 1fr; gap: 40px; }
  .fdc-footer__credit { margin-top: 10px; }

  .fdc-cards__grid--cols-3     { grid-template-columns: repeat(2, 1fr); }
  .fdc-cta-cards__grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
  .fdc-stats__grid--cols-3     { grid-template-columns: repeat(2, 1fr); }

  .fdc-careers__layout { grid-template-columns: 1fr; }
  .fdc-careers__card   { flex: 0 0 72vw; }
}

@media (max-width: 768px) {
  :root { --gutter: 24px; }

  .fdc-header__nav-wrap   { display: none; }
  .fdc-header__shortcode  { display: none; }
  .fdc-investor-menu      { display: none; }
  .fdc-header__inner      { grid-template-columns: 1fr auto; }

  .fdc-header__share-price { display: none; }

  .fdc-header__hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    border: none;
    padding: 0 11px;
    gap: 4px;
    background: var(--dark);
  }

  .fdc-header__search {
    width: 44px;
    height: 44px;
    background: var(--dark);
    border: none;
    padding: 0;
  }

  .fdc-intro-banner__title { max-width: 100%; }

  .fdc-cards__grid--cols-2,
  .fdc-cards__grid--cols-3 { grid-template-columns: 1fr; }

  .fdc-cta-cards__grid--cols-2,
  .fdc-cta-cards__grid--cols-3,
  .fdc-cta-cards__grid--cols-4 { grid-template-columns: 1fr; }

  .fdc-stats__grid--cols-2,
  .fdc-stats__grid--cols-3,
  .fdc-stats__grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .fdc-stats__item { padding-right: 0; }

  .fdc-footer__right  { grid-template-columns: 1fr; gap: 24px; }
  .fdc-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .fdc-page-header { min-height: 320px; }
  .fdc-page-header__content { padding-bottom: 40px; }

  .fdc-quote__text { font-size: clamp(1.5rem, 5.5vw, 1.75rem); }

  .fdc-cards-bg__grid { grid-template-columns: 1fr; }

  .fdc-team__grid--cols-2,
  .fdc-team__grid--cols-3 { grid-template-columns: 1fr 1fr; }

  .fdc-team-panel__inner { grid-template-columns: 1fr; }
  .fdc-team-panel__image { display: none; }

  .fdc-careers__layout { grid-template-columns: 1fr; }
  .fdc-careers__track { flex-wrap: nowrap; }
  .fdc-careers__card { min-width: 80vw; }
  .fdc-careers__dots { display: flex; margin-top: 50px; }
}
