@media screen and (min-width: 768px){
	* {
		scroll-margin-top: 9.375rem;
	}

}



/* ==========================================================
   Fifth Designs – Home   (values taken from the Figma "Home" frame, 1440px)
   1 tokens · 2 base · 3 buttons · 4 header · 5 hero · 6 services · 7 work
   8 about · 9 process · 10 testimonials · 11 cta · 12 footer · 13 responsive
   ========================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --fd-bg: #0a0a0a;
  --fd-bg-alt: #161616;
  --fd-line: rgba(255, 255, 255, 0.22);
  --fd-text: #ffffff;
  --fd-text-80: rgba(255, 255, 255, 0.8);
  --fd-text-70: rgba(255, 255, 255, 0.7);
  --fd-text-60: rgba(255, 255, 255, 0.6);
  --fd-gold: #c9a24b;

  --fd-font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fd-font-2: "Manrope", "Urbanist", system-ui, sans-serif;
  --fd-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --fd-inter: "Inter", system-ui, sans-serif;

  --fd-max: 1440px;
  --fd-pad: clamp(20px, 5.55vw, 80px); /* 80px at 1440 */
  --fd-ls: 0.06em; /* 6% letter-spacing used across the design */
}

/* ---------- 2. Base ---------- */
.fd-home,
.fd-header,
.fd-footer {
  font-family: var(--fd-font);
  color: var(--fd-text);
  background: var(--fd-bg);
  letter-spacing: var(--fd-ls);
  -webkit-font-smoothing: antialiased;
}
/* Resets use :where() so they never out-rank component classes */
:where(.fd-home, .fd-header, .fd-footer) *,
:where(.fd-home, .fd-header, .fd-footer) *::before,
:where(.fd-home, .fd-header, .fd-footer) *::after {
  box-sizing: border-box;
}
:where(.fd-home, .fd-footer) img {
  display: block;
  max-width: 100%;
  height: auto;
}
:where(.fd-home, .fd-header, .fd-footer) a {
  color: inherit;
  text-decoration: none;
}
:where(.fd-home, .fd-header, .fd-footer) :is(ul, ol) {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(.fd-home) :is(h1, h2, h3, p, figure, blockquote) {
  margin: 0;
}
:where(.fd-home) button {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:where(.fd-home, .fd-header, .fd-footer) :focus-visible {
  outline: 2px solid var(--fd-gold);
  outline-offset: 3px;
}

.fd-container {
  width: 100%;
  max-width: var(--fd-max);
  margin-inline: auto;
  padding-inline: var(--fd-pad);
}
.fd-center {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 56px);
}

/* Section heading block: pill → h2 → sub */
.fd-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.fd-head .fd-sub {
  margin-top: -4px;
}
.fd-head--center {
  align-items: center;
  text-align: center;
}
.fd-pill {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 24px;
  border: 1px solid var(--fd-gold);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-gold);
  white-space: nowrap;
}
.fd-h2 {
  font-size: clamp(30px, 3.34vw, 48px);
  font-weight: 600;
  line-height: 1.29;
  letter-spacing: var(--fd-ls);
}
.fd-sub {
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.5;
}

/* ---------- 3. Buttons ---------- */
.fd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid #f1f1f1;
  border-radius: 21px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.fd-btn:hover {
  background: #fff;
  color: var(--fd-bg);
}
.fd-btn--solid {
  background: #fff;
  color: var(--fd-bg);
  text-transform: uppercase;
}
.fd-btn--solid:hover {
  background: var(--fd-gold);
  border-color: var(--fd-gold);
}
.fd-hero__actions .fd-btn svg.fd-ico {
  flex: none;
	color: var(--fd-gold);
	width: 16px;
	height: 16px;
}

.fd-ico {
  flex: none;
	width: 16px;
	height: 16px;
}

.fd-circle {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--fd-text-60);
  border-radius: 50%;
  color: var(--fd-text);
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.fd-circle:hover {
  background: #fff;
  color: var(--fd-bg);
  border-color: #fff;
}
.fd-circle--lg {
  width: 48px;
  height: 48px;
  border-color: #fff;
}

/* ---------- 4. Header (header.php) ---------- */
.fd-header {
  position: relative;
  z-index: 30;
  background: var(--fd-bg);
}
.fifth-hero {
  background: var(--fd-bg);
}
.fifth-hero .fd-header {
  position: absolute;
  inset: 0 0 auto 0;
  background: transparent;
}

.fd-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(18px, 2.2vw, 28px);
}
.fifth-hero .fd-header__bar {
  padding-block: clamp(24px, 4.7vw, 68px) 0;
}
.fd-header__logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0;
}
.fd-header__logo img {
  width: auto;
  height: clamp(48px, 5.55vw, 80px);
}
.fd-header__right {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4.3vw, 62px);
}

.fd-header__nav ul {
  display: flex;
  gap: clamp(22px, 3.5vw, 51px);
}
.fd-header__nav a {
  display: inline-block;
  padding-bottom: 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--fd-text-60);
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.fd-header__nav .current-menu-item > a,
.fd-header__nav .current_page_item > a,
.fd-header__nav .current-menu-ancestor > a,
.fd-header__nav a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.fd-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 39px;
  padding: 0 20px;
  border-radius: 20px;
  background: #fff;
  color: var(--fd-bg) !important;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.fd-header__cta:hover {
  background: var(--fd-gold);
}

.fd-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: none;
  color: #fff;
  cursor: pointer;
}
.fd-header__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.fd-header__bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 0.25s,
    opacity 0.2s,
    top 0.25s;
}
.fd-header__bars i:nth-child(1) {
  top: 0;
}
.fd-header__bars i:nth-child(2) {
  top: 5px;
}
.fd-header__bars i:nth-child(3) {
  top: 10px;
}
.fd-header.is-open .fd-header__bars i:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.fd-header.is-open .fd-header__bars i:nth-child(2) {
  opacity: 0;
}
.fd-header.is-open .fd-header__bars i:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

.fd-header__drawer {
  display: none;
}

/* ---------- Header: dark version on case studies (ACF "header_theme" = dark) ---------- */
.fifth-header-dark .fd-header__bar .fd-header__logo img {
  filter: invert(1); /* white logo → black */
}
.fifth-header-dark .fd-header__bar .fd-header__nav a {
  color: rgba(0, 0, 0, 0.6);
}
.fifth-header-dark .fd-header__bar .fd-header__nav .current-menu-item > a,
.fifth-header-dark .fd-header__bar .fd-header__nav .current_page_item > a,
.fifth-header-dark .fd-header__bar .fd-header__nav .current-menu-ancestor > a,
.fifth-header-dark .fd-header__bar .fd-header__nav a:hover {
  color: #000;
  border-bottom-color: #000;
}
.fifth-header-dark .fd-header__bar .fd-header__cta {
  background: #000;
  color: #fff !important;
}
.fifth-header-dark .fd-header__bar .fd-header__cta:hover {
  background: var(--fd-gold);
  color: var(--fd-bg) !important;
}
.fifth-header-dark .fd-header__bar .fd-header__toggle {
  border-color: rgba(0, 0, 0, 0.3);
  color: #000;
}

/* mobile: while the drawer is open, go back to the light header so it stays readable on the dark drawer */
.fifth-header-dark .fd-header.is-open .fd-header__logo img {
  filter: none;
}
.fifth-header-dark .fd-header.is-open .fd-header__toggle {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* smooth switch */
.fd-header__logo img,
.fd-header__cta,
.fd-header__toggle {
  transition:
    filter 0.2s,
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}



/* ---------- 5. Hero ---------- */
.fd-hero {
  position: relative;
  padding-top: clamp(170px, 22vw, 250px);
  padding-bottom: clamp(40px, 4.5vw, 64px); /* gap before the video card */
  background: var(--fd-bg);
  text-align: center;
  overflow: hidden;
}
.fd-hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.fd-hero__line {
  font-size: clamp(44px, 6.11vw, 88px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fd-hero__line--gold {
  font-size: clamp(32px, 4.44vw, 64px);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--fd-gold);
  line-height: 1.2;
}

/* ---- hero: yellow text, letter-by-letter fade ---- */
.fd-rotate {
  display: inline-grid;
  justify-items: center;
}
.fd-rotate__word {
  grid-area: 1 / 1; /* all texts sit on top of each other; the box is as wide as the longest one */
}
.fd-rotate__tok {
  display: inline-block;
  white-space: nowrap;
}
.fd-rotate__ch {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.25s ease;
  transition-delay: calc(var(--i) * 25ms); /* leaving: left to right */
}
.fd-rotate__word.is-active .fd-rotate__ch {
  opacity: 1;
  transition-delay: calc(var(--i) * 25ms + 150ms); /* arriving: starts while the old text is still fading */
}
.fd-rotate__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .fd-rotate__ch {
    transition: none;
  }
}

/* ---- hero: glow that follows the mouse ---- */
.fd-hero {
  isolation: isolate;
}
.fd-hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1; /* behind the text, above the hero background */
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fd-hero__glow.is-on {
  opacity: 1;
}
.fd-hero__orb {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  border-radius: 50%;
  will-change: transform;
}
.fd-hero__orb--a {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 35%,
    rgba(255, 255, 255, 0) 68%
  );
}
.fd-hero__orb--b {
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  background: radial-gradient(
    circle,
    rgba(190, 60, 70, 0.16) 0%,
    rgba(190, 60, 70, 0.06) 38%,
    rgba(190, 60, 70, 0) 70%
  );
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .fd-hero__glow {
    display: none;
  }
}

.fd-hero__tagline {
  margin-top: clamp(28px, 3.6vw, 52px);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--fd-text-80);
}
.fd-hero__actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: clamp(28px, 3.3vw, 48px);
  flex-wrap: wrap;
}

/* only the top ~230px of the banner peeks in, like the Figma frame */
.fd-hero__banner {
  display: block;
  position: relative;
  margin: clamp(48px, 8vw, 115px) auto 0;
  width: min(1110px, calc(100% - 2 * var(--fd-pad)));
  height: clamp(130px, 16.1vw, 232px);
  overflow: hidden;
  background: radial-gradient(
    120% 140% at 50% 100%,
    #b07a34 0%,
    #7a4c18 40%,
    #2a1808 100%
  );
}
.fd-hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.fd-hero__banner-text {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: min(720px, 90%);
  transform: translateX(-50%);
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: #f0a850;
}

.fd-scroll {
  position: absolute;
  right: var(--fd-pad);
  top: clamp(400px, 41.2vw, 550px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--fd-inter);
  font-size: 12px;
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.fd-scroll span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ---------- 5b. Hero video (section under the hero) ----------
   Starts as a rounded card peeking in, grows to full width as you scroll.
   --fd-vp (0 → 1) is set by custom.js. */
.fd-video {
  --fd-vp: 0;
  --fd-vstart: min(1110px, calc(100% - 2 * var(--fd-pad)));
  position: relative;
  margin-top: 0;
  background: var(--fd-bg);
  overflow: hidden;
}
.fd-video__frame {
  width: calc(var(--fd-vstart) + (100% - var(--fd-vstart)) * var(--fd-vp));
  height: min(56.25vw, 100vh);
  min-height: 220px;
  margin-inline: auto;
  border-radius: calc(28px * (1 - var(--fd-vp)));
  overflow: hidden;
  background: linear-gradient(135deg, #1c1c1c 0%, #111 55%, #1a1a1a 100%);
  will-change: width;
}
.fd-video__player { position: relative; width: 100%; height: 100%; }
.fd-video__el,
.fd-video__player iframe,
.fd-video__poster,
.fd-video__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}
.fd-video__poster { transition: opacity 0.3s; }
.fd-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(72px, 6.5vw, 96px);
  height: clamp(72px, 6.5vw, 96px);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(60, 60, 60, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--fd-font-2);
  font-size: 14px;
  letter-spacing: var(--fd-ls);
  cursor: pointer;
  transition: transform 0.25s, background-color 0.25s, color 0.25s, opacity 0.25s;
}
.fd-video__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
  color: var(--fd-bg);
}
.fd-video__player.is-playing .fd-video__play,
.fd-video__player.is-playing .fd-video__poster {
  opacity: 0;
  pointer-events: none;
}
/* admin-only hint when the ACF field is empty */
.fd-video--missing {
  padding-block: 24px 40px;
}
.fd-video--missing p {
  margin: 0;
  padding: 18px 22px;
  border: 1px dashed var(--fd-gold);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--fd-text-80);
}
.fd-video--missing code {
  padding: 1px 6px;
  border-radius: 4px;
  background: #1f1f1f;
  color: var(--fd-gold);
  font-family: var(--fd-mono);
}
@media (max-width: 960px) {
  .fd-video__frame { height: 56.25vw; min-height: 200px; }
}

.fd-video__el::-webkit-media-controls,
.fd-video__el::-webkit-media-controls-enclosure,
.fd-video__el::-webkit-media-controls-panel { display: none !important; }

/* ---------- 6. Services ---------- */
.fd-services {
  background: var(--fd-bg);
}
.fd-services__sticky {
  padding-top: clamp(64px, 7.6vw, 110px);
  padding-bottom: clamp(56px, 7vw, 96px);
	margin-top: clamp(56px, 7vw, 100px);
}
.fd-services__grid {
  display: grid;
  grid-template-columns: minmax(0, 738fr) minmax(0, 490fr);
  gap: clamp(28px, 3.6vw, 52px);
  align-items: start;
  margin-top: clamp(28px, 2.9vw, 42px);
}

.fd-svc__item {
  position: relative;
  margin-left: 26px;
  border-bottom: 1px solid var(--fd-line);
}
.fd-svc__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(255, 255, 255, 0.28);
}
.fd-svc__item.is-open::before {
  top: 0;
  bottom: 0;
  background: #fff;
}
.fd-svc {
  position: relative;
}
.fd-svc__dot {
  position: absolute;
  left: -4px;
  top: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}
.fd-svc__dot.is-smooth {
  transition: transform 0.35s ease;
}

.fd-svc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-right: 24px;
}
.fd-svc__toggle {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 31px 0;
  text-align: left;
  color: var(--fd-text-60);
  transition: color 0.2s;
}
.fd-svc__item.is-open .fd-svc__toggle,
.fd-svc__toggle:hover {
  color: #fff;
}
.fd-svc__item.is-open .fd-svc__toggle {
  padding-bottom: 12px;
}
.fd-svc__num {
  flex: none;
  width: 34px;
  font-family: var(--fd-font-2);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 500;
  opacity: 0.7;
}
.fd-svc__name {
  font-size: clamp(20px, 1.94vw, 28px);
  font-weight: 500;
  line-height: 1.36;
}

.fd-svc__go {
  position: relative;
}
.fd-svc__ico {
  display: grid;
  place-items: center;
}
.fd-svc__ico--up {
  display: none;
}
.fd-svc__item.is-open .fd-svc__go {
  background: #fff;
  color: var(--fd-bg);
  border-color: #fff;
}
.fd-svc__item.is-open .fd-svc__ico--right {
  display: none;
}
.fd-svc__item.is-open .fd-svc__ico--up {
  display: grid;
}

.fd-svc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.fd-svc__item.is-open .fd-svc__body {
  grid-template-rows: 1fr;
}
.fd-svc__body-inner {
  overflow: hidden;
}
.fd-svc__body-inner p {
  padding: 0 50px 36px 58px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.66;
  color: var(--fd-text-80);
}

.fd-svc__media {
  position: relative;
  aspect-ratio: 490 / 681;
  border-radius: 4px;
  overflow: hidden;
  background: #161616;
}
.fd-svc__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.fd-svc__img.is-active {
  opacity: 1;
}
.fd-svc__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pinned services: the section is tall, the content sticks, scrolling steps through the services */
@media (min-width: 961px) and (min-height: 700px) {
  .fd-services {
    height: calc(100vh + (var(--fd-n, 6) - 1) * 55vh);
  }
  .fd-services__sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-block: 24px;
  }
  .fd-services__sticky > .fd-container {
    width: 100%;
  }
  .fd-services__grid {
    margin-top: clamp(14px, 2.6vh, 42px);
    align-items: center;
  }
  .fd-svc__toggle {
    padding-block: clamp(10px, 2.2vh, 31px);
  }
  .fd-svc__item.is-open .fd-svc__toggle {
    padding-bottom: 8px;
  }
  .fd-svc__body-inner p {
    padding-bottom: clamp(14px, 2.6vh, 36px);
  }

  .fd-svc__media {
    height: min(681px, calc(100vh - 290px));
    width: auto;
    max-width: 100%;
    justify-self: stretch;
  }
}

This is home page template which has same portfolio section in our work.....  I want the same hover effect here too

/* ---------- 7. Our Work ---------- */
.fd-work {
  padding-block: clamp(24px, 2vw, 30px) clamp(64px, 8vw, 120px);
  background: var(--fd-bg);
	margin-top: clamp(56px, 7vw, 100px);
}
.fd-work__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
  margin-top: clamp(32px, 5vw, 72px);
}
.fd-card {
  display: block;
}
.fd-card__img {
  aspect-ratio: 628 / 651;
  border-radius: 16px;
  overflow: hidden;
  background: #161616;
}
.fd-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
/* ---------- 7. Our Work ---------- */
.fd-work {
  padding-block: clamp(24px, 2vw, 30px) clamp(64px, 8vw, 120px);
  background: var(--fd-bg);
  margin-top: clamp(56px, 7vw, 100px);
}
.fd-work__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
  margin-top: clamp(32px, 5vw, 72px);
}
.fd-card {
  display: block;
}
.fd-card__img {
  aspect-ratio: 628 / 651;
  border-radius: 16px;
  overflow: hidden;
  background: #161616;
}
.fd-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
/* the image hover (blur + overlay + arrow) now lives in the
   "Portfolio card hover" block of portfolio-and-cursor.css and works
   on both the Home "Our Work" grid and the Portfolio page grid. */
.fd-card__title {
  margin-top: 16px;
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 1.2;
}
.fd-card__meta {
  display: block;
  margin-top: 2px;
  font-family: var(--fd-font-2);
  font-size: 13px;
  line-height: 20px;
}
.fd-card__title {
  margin-top: 16px;
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 1.2;
}
.fd-card__meta {
  display: block;
  margin-top: 2px;
  font-family: var(--fd-font-2);
  font-size: 13px;
  line-height: 20px;
}

/* ---------- 8. Who We Are ---------- */
.fd-about {
  padding-top: clamp(64px, 7.6vw, 110px);
  padding-bottom: clamp(56px, 6vw, 90px);
  background: var(--fd-bg-alt);
}
.fd-about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.fd-about__quote {
  width: min(1010px, 100%);
  margin: 20px 0 8px;
}
.fd-about__quote p {
  font-size: clamp(17px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.fd-about__quote strong {
  font-weight: 700;
}
.fd-about__inner .fd-btn {
  margin-top: 20px;
}

/* scroll-reveal: JS wraps each word in .fd-word and lights them up */
.fd-about__quote.is-enhanced .fd-word {
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.25s;
}
.fd-about__quote.is-enhanced .fd-word.is-lit {
  color: #e9e9e9;
}
.fd-about__quote.is-enhanced strong .fd-word.is-lit {
  color: #fff;
}

.fd-logos {
  position: relative;
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: 22px;
  overflow: hidden;
}
/* .fd-logos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: #f4f4f4;
} */
.fd-logos__track {
  display: flex;
  width: max-content;
  animation: fd-marquee 40s linear infinite;
}
.fd-logos:hover .fd-logos__track {
  animation-play-state: paused;
}
.fd-logos__list {
  display: flex;
  align-items: center;
  flex: none;
}
.fd-logos--plain {
  margin-top: 0;
  padding-top: 0;
}
.fd-logos--plain::before {
  display: none;
}
.fd-logos__item {
  display: grid;
  place-items: center;
  min-width: clamp(180px, 20vw, 290px);
  height: 70px;
  padding-inline: 24px;
}
.fd-logos__item img {
  height: 70px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 1;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease;
}
.fd-logos__item:hover img,
.fd-logos__item:focus-within img {
  filter: none;
  opacity: 1;
}
@keyframes fd-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 9. Process Flow ---------- */
.fd-process {
  padding-top: clamp(40px, 4.2vw, 60px);
  padding-bottom: clamp(64px, 7vw, 100px);
  background: var(--fd-bg-alt);
}
.fd-process__grid {
  display: grid;
  grid-template-columns: minmax(0, 375fr) minmax(0, 905fr);
  gap: 0;
  align-items: start;
}
.fd-process__head {
  position: sticky;
  top: 40px;
}

.fd-steps-wrap {
  position: relative;
  padding-left: clamp(24px, 3.4vw, 48px);
}
.fd-steps__line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.22);
}
.fd-steps__fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--fd-progress, 30%);
  background: #fff;
}
.fd-steps__dot {
  position: absolute;
  left: -4px;
  top: var(--fd-progress, 30%);
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #fff;
}

.fd-steps {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  padding-top: clamp(24px, 3vw, 40px);
}
.fd-step {
  display: grid;
  grid-template-columns: clamp(64px, 8.2vw, 118px) minmax(0, 1fr);
  align-items: start;
  opacity: 0.38;
  transition: opacity 0.35s;
}
.fd-step.is-active {
  opacity: 1;
}
.fd-step__num {
  font-family: var(--fd-mono);
  font-size: clamp(36px, 4.44vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.22px;
  color: rgba(255, 255, 255, 0.2);
}
.fd-step.is-active .fd-step__num {
  color: rgba(255, 255, 255, 0.26);
}
.fd-step__title {
  font-size: clamp(24px, 2.22vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 2px;
}
.fd-step__text {
  margin-top: 10px;
  max-width: 736px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--fd-text-70);
}
.fd-step__tags {
  display: flex;
  flex-wrap: wrap;
  margin-top: 12px;
  font-family: var(--fd-mono);
  font-size: 13px;
  line-height: 21px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}
.fd-step__tags li:not(:last-child)::after {
  content: "·";
  margin-inline: 8px;
}

/* ---------- 10. Testimonials ---------- */
.fd-tests {
  padding-block: clamp(64px, 7vw, 100px) clamp(56px, 6.2vw, 90px);
  background: var(--fd-bg);
}
.fd-tests__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.fd-tests__head > .fd-head {
  margin: 0;
}
.fd-tests__nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.fd-tests__viewport {
  overflow: hidden;
  margin-top: clamp(16px, 3vw, 44px);
}
.fd-tests__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fd-quote {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(56px, 7vw, 100px) clamp(0px, 12vw, 170px) 0;
  text-align: center;
}
.fd-quote__mark {
  position: absolute;
  width: clamp(40px, 4.6vw, 66px);
  color: #2b2b2b;
}
.fd-quote__mark svg {
  display: block;
  width: 100%;
  height: auto;
}
.fd-quote__mark--open {
  top: clamp(10px, 2vw, 30px);
  left: clamp(0px, 5.8vw, 84px);
}
.fd-quote__mark--close {
  bottom: clamp(60px, 7vw, 100px);
  right: clamp(0px, 5.8vw, 84px);
  transform: rotate(180deg);
}
.fd-quote__text {
  position: relative;
  max-width: 1070px;
  font-size: clamp(19px, 2.22vw, 32px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--fd-text-80);
}
.fd-quote__by {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: clamp(32px, 4vw, 100px);
  text-align: center;
}
.fd-quote__avatar {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #1c1c1c;
}
.fd-quote__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fd-quote__who {
  display: grid;
  gap: 2px;
}
.fd-quote__who strong {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
}
.fd-quote__who span {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--fd-text-70);
}

.fd-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.fd-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
  transition:
    background-color 0.2s,
    transform 0.2s;
}
.fd-dots button[aria-selected="true"] {
  background: #fff;
  transform: scale(1.25);
}

/* ---------- 11. Let's build something great ---------- */
.fd-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10.4vw, 150px) 0 clamp(190px, 18vw, 260px);
  text-align: center;
  background: var(--fd-bg);
	border-top: 3px solid #ffffff50;
}
.fd-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fd-cta__title {
  font-size: clamp(28px, 3.34vw, 48px);
  font-weight: 600;
  line-height: 1.29;
  letter-spacing: var(--fd-ls);
}
.fd-cta__text {
  margin: 10px 0 24px;
  font-family: var(--fd-font-2);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  color: var(--fd-text-70);
}
.fd-cta__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(150px, 16.5vw, 240px);
}

/* wave animation (each wave is a repeating pattern, so sliding it by exactly
   one pattern width loops with no jump: back = 896, mid + front = 448) */
.fd-cta__wave {
  overflow: visible;
  pointer-events: none;
}
.fd-wave {
  will-change: transform;
}
.fd-wave--back {
  animation: fd-wave-896 18s linear infinite;
}
.fd-wave--mid {
  animation: fd-wave-448 12s linear infinite reverse;
}
.fd-wave--front {
  animation: fd-wave-448 8s linear infinite;
  animation-delay: -3s;
}
.fd-wave-glow {
  animation: fd-wave-breathe 6s ease-in-out infinite;
}
@keyframes fd-wave-896 {
  to {
    transform: translateX(896px);
  }
}
@keyframes fd-wave-448 {
  to {
    transform: translateX(448px);
  }
}
@keyframes fd-wave-breathe {
  0%,
  100% {
    opacity: 0.16;
  }
  50% {
    opacity: 0.28;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fd-wave,
  .fd-wave-glow {
    animation: none;
  }
}

/* ---------- 12. Footer (footer.php) ---------- */
.fd-footer {
  padding-top: clamp(48px, 5vw, 72px);
  overflow: hidden;
  background: var(--fd-bg);
  color: #fff;
  font-family: var(--fd-inter);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
.fd-footer *,
.fd-footer *::before,
.fd-footer *::after {
  box-sizing: border-box;
}
.fd-footer a {
  color: inherit;
  text-decoration: none;
}
.fd-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fd-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 359fr) minmax(0, 320fr) minmax(
      0,
      320fr
    ) minmax(0, 281fr);
  gap: 24px 0;
}
.fd-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fd-footer__logo img {
  width: auto;
  height: clamp(44px, 4.2vw, 60px);
  max-width: 300px;
}
.fd-footer__brand p {
  max-width: 260px;
  margin: 18px 0 0;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.67;
  text-transform: uppercase;
}
.fd-footer__title {
  margin: 0 0 24px;
  font-family: var(--fd-font-2);
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fd-footer__list {
  display: grid;
  gap: 18px;
}
.fd-footer__list a {
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.fd-footer__list a:hover,
.fd-footer__contact a:hover {
  color: var(--fd-gold);
}

.fd-footer__contact > a {
  display: block;
  width: fit-content;
  margin-bottom: 18px;
  font-size: 14px;
  transition: color 0.2s;
}
.fd-footer__contact a.is-underline {
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fd-footer__social {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}
.fd-footer__social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.fd-footer__social a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.fd-footer__social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fd-footer__social a.is-fallback {
  border-radius: 8px;
  background: #fff;
  color: var(--fd-bg);
} /* built-in glyph when no icon image is set */

.fd-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "Jost", var(--fd-inter);
  font-size: 13px;
  text-transform: uppercase;
}
.fd-footer__bottom a:hover {
  color: var(--fd-gold);
}

/* Big scrolling text, clipped to the container like Figma */
.fd-footer__big {
  margin: clamp(24px, 4vw, 56px) 0 0;
  overflow: hidden;
}
.fd-footer__big-clip {
  overflow: hidden;
}
.fd-footer__big-track {
  display: flex;
  width: max-content;
  animation: fd-marquee 40s linear infinite;
}
.fd-footer__big-track span {
  flex: none;
  padding-right: 0.25em;
  font-family: var(--fd-font);
  font-size: clamp(48px, 6.94vw, 100px);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  white-space: nowrap;
  text-transform: uppercase;
  color: transparent;
	-webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
}


/* Footer: Navigation + Services side by side on mobile */
@media (max-width: 991px) {
  footer.fd-footer .fd-footer__top {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px 20px !important;
  }

  footer.fd-footer .fd-footer__brand,
  footer.fd-footer .fd-footer__contact {
    grid-column: 1 / -1 !important;
  }

  footer.fd-footer .fd-footer__top > nav {
    grid-column: auto !important;
    min-width: 0;
  }

  footer.fd-footer .fd-footer__title {
    margin-bottom: 16px;
    font-size: 16px;
    letter-spacing: 0.08em;
  }

  footer.fd-footer .fd-footer__list {
    gap: 14px;
  }

  footer.fd-footer .fd-footer__list a {
    overflow-wrap: anywhere;
  }
}

/* ---------- 14. About page (page-templates/template-about.php) ---------- */
.fd-about-page {
  background: var(--fd-bg);
}

/* hero */
.fd-ahero {
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 48.6vw, 700px);
  padding-bottom: clamp(56px, 12.2vw, 176px);
  background: var(--fd-bg);
}
.fd-ahero .fd-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.fd-ahero__title {
  font-size: clamp(34px, 4.44vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--fd-ls);
  text-transform: uppercase;
}

/* band: who we are · stats · trusted by · full-width image  (#161616) */
.fd-aband {
  background: var(--fd-bg-alt);
}
.fd-who {
  padding-top: clamp(64px, 8.3vw, 120px);
  padding-bottom: clamp(40px, 5.5vw, 80px);
}
.fd-who__grid {
  display: grid;
  grid-template-columns: minmax(0, 458fr) minmax(0, 822fr);
  align-items: start;
}
.fd-who__quote {
  margin: 0;
}
.fd-who__quote p {
  font-size: clamp(17px, 1.67vw, 24px);
  line-height: 1.75;
}


.fd-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
  margin-top: clamp(48px, 6.7vw, 96px);
  text-align: center;
}
.fd-stat__num {
  display: block;
  font-size: clamp(34px, 3.61vw, 52px);
  font-weight: 700;
  line-height: 1.2;
}
.fd-stat__label {
  display: block;
  margin-top: 17px;
  font-size: clamp(15px, 1.39vw, 20px);
  line-height: 1.4;
  color: var(--fd-text-70);
}

.fd-trust {
  margin-top: clamp(20px, 2.7vw, 39px);
}
.fd-trust__title {
  margin: 0 0 clamp(20px, 2.8vw, 41px);
  font-size: clamp(34px, 4.44vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  color: #2f2f2f;
  user-select: none;
}

.fd-fullimg {
  margin-top: clamp(80px, 15.8vw, 110px);
}
.fd-fullimg img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1438 / 839;
  object-fit: cover;
}

/* story (#0a0a0a) */
.fd-story {
  padding-top: clamp(64px, 8.3vw, 120px);
  background: var(--fd-bg);
}
.fd-story__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.fd-story__text {
  display: grid;
  gap: 12px;
  max-width: 1118px;
  margin-top: 8px;
}
.fd-story__text p {
  font-family: var(--fd-font-2);
  font-size: clamp(16px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 1.625;
  color: #e0e0e0;
}
.fd-story__text strong {
  font-weight: 700;
  color: #fff;
}
.fd-story__inner .fd-btn {
  margin-top: 14px;
}

/* process – dark version */
.fd-process--dark {
  padding-top: clamp(56px, 7.2vw, 104px);
  background: var(--fd-bg);
}

/* offices (#161616) */
.fd-offices {
  padding-top: clamp(64px, 8.6vw, 124px);
  padding-bottom: clamp(56px, 5.6vw, 80px);
  background: var(--fd-bg-alt);
}
.fd-offices__head .fd-sub {
  max-width: 638px;
  margin-top: 8px;
  font-family: var(--fd-font-2);
  font-size: clamp(17px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 1.625;
  color: #e0e0e0;
}
.fd-globe {
  width: min(573px, 100%);
  margin: clamp(24px, 4.4vw, 64px) auto;
}
.fd-globe svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.fd-pin__dot {
  fill: #ffc83d;
  stroke: #fff;
  stroke-width: 1.5;
}
.fd-pin__pulse {
  fill: none;
  stroke: #ffc83d;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: fd-pulse 2.2s ease-out infinite;
}
.fd-pin__bg {
  fill: rgba(14, 26, 43, 0.85);
}
.fd-pin__label {
  fill: #fff;
  font: 500 11px/1 "Inter", system-ui, sans-serif;
  letter-spacing: 0.02em;
}
@keyframes fd-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fd-pin__pulse {
    animation: none;
    opacity: 0;
  }
}

.fd-office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.fd-office {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 24px;
  border-radius: 12px;
  background: #1f1f1f;
  letter-spacing: 0;
}
.fd-office__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.fd-office__name {
  font-size: clamp(19px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: 0;
  color: #fff;
}
.fd-office__name em {
  font-style: normal;
  color: var(--fd-gold);
}
.fd-office__pin {
  flex: none;
  margin-top: 2px;
  color: var(--fd-gold);
}
.fd-office__addr {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
  color: var(--fd-text-70);
}
.fd-office__contact {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 16px;
  color: var(--fd-text-70);
}
.fd-office__contact a:hover {
  color: var(--fd-gold);
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 1100px) {
  .fd-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
}

@media (max-width: 960px) {
  .fd-header__nav,
  .fd-header__right > .fd-header__cta {
    display: none;
  }
  .fd-header__toggle {
    display: inline-grid;
  }

  .fd-header__drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  .fd-header.is-open .fd-header__drawer {
    display: block;
  }
  .fd-header__drawer .fd-container {
    padding-block: 20px 28px;
  }
  .fd-header__drawer ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .fd-header__drawer nav a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--fd-text-70);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
  }
  .fd-header__drawer nav .current-menu-item > a,
  .fd-header__drawer nav a:hover {
    color: #fff;
  }
  .fd-header__cta--drawer {
    display: inline-flex;
    margin-top: 20px;
  }
  .fifth-hero .fd-header__bar {
    padding-block-start: 24px;
  }

  .fd-scroll {
    display: none;
  }

  .fd-services__grid {
    grid-template-columns: 1fr;
  }
  .fd-svc__media {
    order: -1;
    aspect-ratio: 16 / 11;
  }
  .fd-process__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .fd-process__head {
    position: static;
  }
}

@media (max-width: 640px) {
  .fd-work__grid {
    grid-template-columns: 1fr;
  }
  .fd-svc__toggle {
    gap: 14px;
    padding-block: 22px;
  }
  .fd-svc__body-inner p {
    padding-left: 48px;
  }
	
  .fd-step {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .fd-quote__mark--close {
    display: none;
  }
  .fd-tests__head {
    align-items: flex-start;
  }
  .fd-circle--lg {
    width: 40px;
    height: 40px;
  }
  .fd-footer__top {
    grid-template-columns: 1fr;
  }
  .fd-footer__bottom {
    flex-direction: column;
  }
  .fd-logos__item {
    min-width: 150px;
  }
}

@media (max-width: 960px) {
  .fd-who__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fd-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fd-office-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .fd-office-grid {
    grid-template-columns: 1fr;
  }
  .fd-ahero {
    min-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fd-logos__track,
  .fd-footer__big-track {
    animation: none;
  }
  .fd-svc__body,
  .fd-svc__img,
  .fd-tests__track,
  .fd-card__img img,
  .fd-step {
    transition: none;
  }
}

/* ==========================================================================
   PORTFOLIO PAGE + CASE STUDY   (paste at the END of css/style-desktop.css)
   ========================================================================== */

/* ---------- Portfolio page (page-templates/template-portfolio.php) ---------- */
/* ---------- Portfolio page (page-templates/template-portfolio.php) ---------- */
.fd-pf {
  padding-block: clamp(48px, 5.6vw, 80px);
  background: var(--fd-bg-alt);
}

.fd-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(28px, 3.2vw, 46px);
}
.fd-filter__btn {
  height: 34px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.fd-filter__btn:hover {
  border-color: #fff;
}
.fd-filter__btn[aria-pressed="true"] {
  background: #fff;
  border-color: #fff;
  color: var(--fd-bg);
}

.fd-pf__grid {
  margin-top: 0;
}
.fd-card[hidden] {
  display: none;
}
.fd-card.is-showing {
  animation: fd-card-in 0.45s ease both;
}
@keyframes fd-card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fd-pf__empty {
  padding: 64px 0;
  text-align: center;
  color: var(--fd-text-70);
}
.fd-pf__empty[hidden] {
  display: none;
}

/* ---------- Portfolio card hover: blur + dark overlay + label + arrow that follows the mouse ---------- */
.fd-work__grid .fd-card__img {
  position: relative;
  overflow: hidden;
}
.fd-work__grid .fd-card__img img {
  transition:
    filter 0.45s ease,
    transform 0.6s ease;
}
.fd-card__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.fd-card__view {
  padding-bottom: 2px;
  border-bottom: 1px solid #fff;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.fd-card__arrow {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  opacity: 0;
  scale: 0.5;
  transition:
    opacity 0.3s ease,
    scale 0.3s ease;
  will-change: transform;
}

/* mouse devices: hover effect, arrow position is set by js/custom.js */
@media (hover: hover) and (pointer: fine) {
  .fd-work__grid .fd-card__img:hover img {
    filter: blur(14px);
    transform: scale(1.08);
  }
  .fd-work__grid .fd-card__img:hover .fd-card__hover {
    opacity: 1;
  }
  .fd-work__grid .fd-card__img:hover .fd-card__arrow {
    opacity: 1;
    scale: 1;
  }
}

/* touch devices: no hover, so just show a small arrow in the corner */
@media (hover: none), (pointer: coarse) {
  .fd-card__hover {
    opacity: 1;
    background: none;
  }
  .fd-card__view {
    display: none;
  }
  .fd-card__arrow {
    top: auto;
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    opacity: 1;
    scale: 1;
  }
}

/* ---------- Global cursor dot (white, 20px) - created by js/custom.js ---------- */
.fd-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    scale 0.2s ease;
  will-change: transform;
}
.fd-cursor.is-on {
  opacity: 1;
}
/* hidden while the arrow bubble is showing on a portfolio card */
.fd-cursor.is-hidden {
  opacity: 0;
  scale: 0.3;
}

/* ---------- Portfolio card hover: blur + dark overlay + label + arrow that follows the mouse ---------- */
.fd-pf__grid .fd-card__img {
  position: relative;
  overflow: hidden;
}
.fd-pf__grid .fd-card__img img {
  transition:
    filter 0.45s ease,
    transform 0.6s ease;
}
.fd-card__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.fd-card__view {
  padding-bottom: 2px;
  border-bottom: 1px solid #fff;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.fd-card__arrow {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  opacity: 0;
  scale: 0.75;
  transition:
    opacity 0.3s ease,
    scale 0.3s ease;
  will-change: transform;
}

.fd-card__arrow svg{
	width:35px;
	height:35px;
}

/* mouse devices: hover effect, arrow position is set by js/custom.js */
@media (hover: hover) and (pointer: fine) {
  .fd-pf__grid .fd-card__img:hover img {
    filter: blur(14px);
    transform: scale(1.08);
  }
  .fd-pf__grid .fd-card__img:hover .fd-card__hover {
    opacity: 1;
  }
  .fd-pf__grid .fd-card__img:hover .fd-card__arrow {
    opacity: 1;
    scale: 1;
  }
}

/* touch devices: no hover, so just show a small arrow in the corner */
@media (hover: none), (pointer: coarse) {
  .fd-card__hover {
    opacity: 1;
    background: none;
  }
  .fd-card__view {
    display: none;
  }
  .fd-card__arrow {
    top: auto;
    left: auto;
    right: 12px;
    bottom: 12px;
    width: 80px;
    height: 80px;
    opacity: 1;
    scale: 1;
  }
}

/* ---------- Global cursor dot (white, 20px) - created by js/custom.js ---------- */
.fd-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    scale 0.2s ease;
  will-change: transform;
}
.fd-cursor.is-on {
  opacity: 1;
}
/* hidden while the arrow bubble is showing on a portfolio card */
.fd-cursor.is-hidden {
  opacity: 0;
  scale: 0.3;
}

/* ---------- 16. Case study ---------- */
.fd-cshero {
  position: relative;
  height: clamp(420px, 61.25vw, 882px);
  overflow: hidden;
  background: #1a1a1a;
}
.fd-cshero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fd-cshero--empty {
  height: clamp(220px, 24vw, 340px);
  background: var(--fd-bg);
}

.fd-cs {
  padding-top: clamp(48px, 5.6vw, 80px);
  padding-bottom: clamp(56px, 8.3vw, 120px);
  background: var(--fd-bg-alt);
}
.fd-cs__head {
  max-width: 1120px;
  margin-inline: auto;
  text-align: center;
}
.fd-cs__sub {
  margin: 0;
  font-size: clamp(13px, 1.11vw, 16px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-text-70);
}
.fd-cs__title {
  margin: 8px 0 0;
  font-size: clamp(32px, 3.34vw, 48px);
  font-weight: 600;
  line-height: 1.29;
  letter-spacing: var(--fd-ls);
}
.fd-cs__desc {
  max-width: 820px;
  margin: 28px auto 0;
  font-size: clamp(16px, 1.39vw, 20px);
  line-height: 1.75;
  color: var(--fd-text-80);
}

.fd-meta {
  display: flex;
  max-width: 1120px;
  margin: clamp(32px, 3.9vw, 56px) auto 0;
  padding: 32px 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
}
.fd-meta__item {
  position: relative;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0 32px;
}
.fd-meta__item + .fd-meta__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%);
}
.fd-meta__label {
  display: block;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-text-60);
}
.fd-meta__value {
  display: block;
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.fd-meta__value a {
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.fd-meta__value a:hover {
  color: var(--fd-gold);
}

.fd-shots {
  margin-top: clamp(56px, 8.3vw, 120px);
}
.fd-shot {
  margin: 0;
}
.fd-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}
.fd-shot--wide img {
  aspect-ratio: 2 / 1;
}
.fd-shots__row .fd-shot img {
  aspect-ratio: 628 / 640;
}
.fd-shot figcaption {
  margin-top: 20px;
  font-size: clamp(13px, 1.11vw, 16px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fd-shots__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.fd-shots__row:first-child {
  margin-top: 0;
}

.fd-related {
  margin-top: clamp(56px, 8.3vw, 120px);
}
.fd-related .fd-work__grid {
  margin-top: clamp(24px, 2.9vw, 42px);
}
.fd-related .fd-card__img {
  aspect-ratio: 628 / 440;
}

@media (max-width: 960px) {
  .fd-meta {
    flex-wrap: wrap;
    row-gap: 24px;
    padding: 24px 0;
  }
  .fd-meta__item {
    flex: 1 1 50%;
    padding: 0 24px;
  }
  .fd-meta__item:nth-child(odd)::before {
    display: none;
  }
}
@media (max-width: 640px) {
  .fd-shots__row {
    grid-template-columns: 1fr;
  }
  .fd-filter {
    gap: 10px;
  }
  .fd-filter__btn {
    padding: 0 16px;
  }
  .fd-meta__item {
    flex-basis: 100%;
  }
  .fd-meta__item + .fd-meta__item::before {
    display: none;
  }
}

/* ---------- 17. Services page (page-templates/template-services.php) ---------- */
.fd-sv {
  padding-top: clamp(56px, 8.3vw, 120px);
  padding-bottom: clamp(48px, 5.5vw, 80px);
  background: var(--fd-bg-alt);
}
.fd-sv__head {
  margin-bottom: clamp(40px, 5.6vw, 80px);
  padding-bottom: clamp(20px, 2.2vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.fd-sv__list {
  display: grid;
  gap: clamp(56px, 6.9vw, 100px);
}
.fd-svrow {
  display: grid;
  grid-template-columns: minmax(0, 489fr) minmax(0, 685fr);
  column-gap: clamp(32px, 7.4vw, 106px);
  align-items: start;
}
.fd-svrow:nth-child(even) {
  grid-template-columns: minmax(0, 685fr) minmax(0, 489fr);
}
.fd-svrow:nth-child(even) .fd-svrow__img {
  order: -1;
}
.fd-svrow__img {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 685 / 500;
  background: #1f1f1f;
}
.fd-svrow__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fd-svrow__num {
  display: block;
  font-family: var(--fd-font-2);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--fd-text-60);
}
.fd-svrow__title {
  margin: 12px 0 0;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: var(--fd-ls);
}
.fd-svrow__desc {
  margin: 16px 0 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--fd-text-70);
}
.fd-svrow__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
  margin-top: clamp(24px, 2.2vw, 32px);
}
.fd-svrow__tags li {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.fd-svrow__link {
  display: inline-block;
  margin-top: clamp(28px, 3vw, 43px);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.fd-svrow__link:hover {
  color: var(--fd-gold);
  border-bottom-color: var(--fd-gold);
}

/* Mobile / tablet: single column, image ALWAYS first, then the content */
@media (max-width: 960px) {
  .fd-svrow,
  .fd-svrow:nth-child(even) {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .fd-svrow__img,
  .fd-svrow:nth-child(even) .fd-svrow__img {
    order: -1;
  }
}
/* ---------- 18. Footer call-to-action (footer.php) ---------- */
.fd-footer-cta {
  background: var(--fd-bg);
}


/* ----------  Blog page (page-templates/template-blog.php) ---------- */
.fd-blog {
  padding-block: clamp(48px, 5.6vw, 80px) clamp(64px, 7vw, 100px);
  background: var(--fd-bg-alt);
}
.fd-feat[hidden],
.fd-post[hidden] {
  display: none;
}
.fd-blog .fd-filter__btn[aria-pressed="true"] {
  background: #fff;
  border-color: #fff;
  color: var(--fd-bg);
}

/* latest article – full width */
.fd-feat {
  margin-bottom: clamp(32px, 3.6vw, 48px);
  padding-bottom: clamp(32px, 3.6vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.fd-feat__link {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
.fd-feat__img {
  margin: 0;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border-radius: 16px;
  background: #1f1f1f;
}
.fd-feat__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.fd-feat__link:hover .fd-feat__img img {
  transform: scale(1.03);
}
.fd-feat__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.fd-feat__cat {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-gold);
}
.fd-feat__title {
  margin: 12px 0 0;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--fd-ls);
  transition: color 0.2s;
}
.fd-feat__link:hover .fd-feat__title {
  color: var(--fd-gold);
}
.fd-feat__excerpt {
  max-width: 100%;
  margin: 14px 0 0;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
  color: var(--fd-text-70);
}
.fd-feat__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-text-60);
}
.fd-feat__author .fd-feat__avatar,
.fd-feat__author img {
  display: block;
  width: 24px;
}
.fd-feat__author i {
  margin-inline: 4px;
  font-style: normal;
}

@media (max-width: 768px) {
  .fd-feat__link {
    grid-template-columns: 1fr;
  }
}

/* article cards (grid + related articles) */
.fd-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 3.3vw, 48px) 24px;
}
.fd-post__link {
  display: block;
}
.fd-post__img {
  margin: 0;
  aspect-ratio: 410 / 290;
  overflow: hidden;
  border-radius: 12px;
  background: #1f1f1f;
}
.fd-post__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.fd-post__link:hover .fd-post__img img {
  transform: scale(1.04);
}
.fd-post__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0;
  font-size: 12px;
}
.fd-post__cat {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-gold);
}
.fd-post__time {
  margin-left: auto;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fd-text-60);
}
.fd-post__title {
  margin: 8px 0 0;
  font-size: clamp(18px, 1.67vw, 24px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.fd-post__link:hover .fd-post__title {
  color: var(--fd-gold);
}
.fd-post.is-showing {
  animation: fdPostIn 0.5s ease both;
}
@keyframes fdPostIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* load more */
.fd-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 4.4vw, 64px);
}
.fd-more__btn {
  height: 44px;
  padding: 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.fd-more__btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--fd-bg);
}
.fd-more__btn[hidden] {
  display: none;
}
/* ---------- 20. Single article (single-post.php) ---------- */

/* HERO: category · title · meta · image, left-aligned on the dark background */
.fd-sphead {
  padding-block: clamp(36px, 4.2vw, 60px) 0;
  background: var(--fd-bg);
  text-align: left;
}
.fd-sphead__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* category: small gold uppercase label (no pill) */
.fd-sphead__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fd-sphead__cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fd-gold);
  transition: opacity 0.2s;
}
.fd-sphead__cat:hover {
  opacity: 0.75;
}

.fd-sphead__title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 3.89vw, 56px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: var(--fd-ls);
}

/* meta row: avatar + author · date · reading time */
.fd-sphead__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-text-70);
}
.fd-sphead__meta i {
  font-style: normal;
  opacity: 0.6;
}
.fd-sphead__author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fd-sphead__author img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* hero image: sits inside the hero, on the same dark background */
.fd-article__img {
  width: 100%;
  margin: clamp(12px, 2vw, 28px) 0 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #1f1f1f;
}
.fd-article__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ARTICLE BODY */
.fd-article {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(64px, 8vw, 120px);
  background: var(--fd-bg);
}

.fd-prose {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(16px, 1.39vw, 19px);
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: var(--fd-text-80);
}
.fd-prose > * + * {
  margin-top: 1.4em;
}
.fd-prose h2 {
  margin-top: 2em;
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.fd-prose h3 {
  margin-top: 1.8em;
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}
.fd-prose h4 {
  margin-top: 1.6em;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}
.fd-prose a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--fd-gold);
  text-underline-offset: 4px;
}
.fd-prose a:hover {
  color: var(--fd-gold);
}
.fd-prose strong {
  color: #fff;
  font-weight: 600;
}
.fd-prose ul {
  padding-left: 1.4em;
  list-style: disc;
}
.fd-prose ol {
  padding-left: 1.5em;
  list-style: decimal;
}
.fd-prose li + li {
  margin-top: 0.5em;
}
.fd-prose blockquote {
  margin-inline: 0;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--fd-gold);
  font-size: 1.15em;
  color: #fff;
}
.fd-prose img,
.fd-prose video,
.fd-prose iframe {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.fd-prose figure {
  margin-inline: 0;
}
.fd-prose figcaption {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  color: var(--fd-text-60);
}
.fd-prose hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.fd-prose pre,
.fd-prose code {
  font-family: var(--fd-mono);
  background: #1f1f1f;
  border-radius: 8px;
}
.fd-prose pre {
  padding: 20px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}
.fd-prose code {
  padding: 2px 6px;
  font-size: 0.9em;
}
.fd-prose pre code {
  padding: 0;
  background: none;
}
.fd-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}
.fd-prose th,
.fd-prose td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}
.fd-prose th {
  color: #fff;
  font-weight: 500;
}

.fd-related-posts {
  margin-top: clamp(64px, 8.3vw, 120px);
}
.fd-related-posts .fd-h2 {
  margin: 0 0 clamp(24px, 3vw, 40px);
}


/* ---------- Share row on the single blog article ---------- */
.fd-share-wrap { padding-block: 0; }
.fd-share {
  --fd-share-glyph: #171717; /* colour of the "in", X and f cut-outs – set it to your page background */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16); /* the divider */
}
.fd-share .fd-share__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.fd-share .fd-share__list { display: flex; align-items: center; gap: 16px; }
.fd-share .fd-share__btn {
  display: flex;
  width: 24px;
  height: 24px;
  color: #fff;
  text-decoration: none;
  border: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.fd-share .fd-share__btn svg { display: block; width: 24px; height: 24px; }
.fd-share .fd-share__glyph { fill: var(--fd-share-glyph); }
.fd-share .fd-share__btn:hover,
.fd-share .fd-share__btn:focus-visible { transform: translateY(-2px); opacity: 0.85; }
@media (max-width: 640px) {
  .fd-share { justify-content: space-between; }
}
/* ---------- 21. Contact page (page-templates/template-contact.php) ---------- */
.fd-ahero__desc {
  max-width: 640px;
  margin: 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
  color: var(--fd-text-80);
}
.fd-ct {
  padding-block: clamp(56px, 8.3vw, 120px) clamp(56px, 7vw, 100px);
  background: var(--fd-bg-alt);
}
.fd-ct__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 4.2vw, 60px);
  align-items: start;
}

/* right side: 2 × 2  →  Email | Phone  /  Global Offices | Follow */
.fd-ct__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.3vw, 48px) clamp(24px, 3vw, 40px);
  align-items: start;
}
.fd-ct__label {
  margin: 0 0 12px;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}
.fd-ct__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  border-bottom: 1px solid transparent;
  overflow-wrap: anywhere;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.fd-ct__link:hover {
  color: var(--fd-gold);
  border-bottom-color: var(--fd-gold);
}
.fd-ct__social {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fd-ct__social a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.fd-ct__social a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.fd-ct__social img,
.fd-ct__social svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fd-ct__social a.is-fallback {
  border-radius: 6px;
  background: #fff;
  color: var(--fd-bg);
}

/* global offices: city names separated by dots */
.fd-gl {
  padding: 0;
  border: 0;
}
.fd-gl__cities {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
  color: #fff;
}
.fd-gl__city {
  white-space: nowrap;
}
.fd-gl__dot {
  margin-inline: 2px;
  color: var(--fd-text-60);
}
.fd-gl__more {
  display: inline-flex;
  gap: 6px;
  margin-top: 12px;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.fd-gl__more:hover {
  color: var(--fd-gold);
  border-bottom-color: var(--fd-gold);
}

/* form (Contact Form 7 / generic) */
.fd-ct__form form {
  display: grid;
  gap: 20px;
}
.fd-ct__form p {
  margin: 0;
}
.fd-ct__form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fd-text-70);
}
.fd-ct__form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}
.fd-ct__form
  input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not(
    [type="file"]
  ),
.fd-ct__form textarea,
.fd-ct__form select {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #1f1f1f;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #fff;
  transition: border-color 0.2s;
}
.fd-ct__form textarea {
  min-height: 160px;
  resize: vertical;
}
.fd-ct__form input::placeholder,
.fd-ct__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.fd-ct__form input:focus,
.fd-ct__form textarea:focus,
.fd-ct__form select:focus {
  border-color: var(--fd-gold);
  outline: 0;
}
.fd-ct__form input[type="submit"],
.fd-ct__form button[type="submit"] {
  height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-weight: 500;
  color: var(--fd-bg);
  cursor: pointer;
  transition: background-color 0.2s;
}
.fd-ct__form input[type="submit"]:hover,
.fd-ct__form button[type="submit"]:hover {
  background: var(--fd-gold);
}
.fd-ct__form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #ff8a8a;
}
.fd-ct__form .wpcf7-response-output {
  margin: 8px 0 0 !important;
  padding: 12px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px;
  font-size: 14px;
}
.fd-ct__form .wpcf7-spinner {
  margin-left: 12px;
}

/* remove the extra line CF7 adds between label and field */
.fd-ct__form br {
  display: none;
}
.fd-ct__form p:empty {
  display: none;
}
.fd-ct__form label {
  margin: 0;
}
.fd-ct__form .wpcf7-form-control-wrap {
  margin-top: 8px;
}

/* selected pill: dot filled white */
.fd-ct__form .wpcf7-list-item label:has(input:checked)::before {
  background: #fff !important;
  border-color: #fff !important;
}
.fd-ct__form .wpcf7-list-item label:has(input:checked) {
  border-color: #fff;
}


@media (max-width: 960px) {
  .fd-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fd-feat__body {
    flex-direction: column;
    align-items: flex-start;
  }
  .fd-ct__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .fd-post-grid {
    grid-template-columns: 1fr;
  }
  .fd-sphead__back {
    align-self: center;
  }
	
	  .fd-ct__info {
    grid-template-columns: 1fr;
  }
}



/* ---------- 22. 404 page (404.php) ---------- */
.fd-ahero__actions {
  margin-top: 12px;
}

/* Privacy Policy Page – dark version */

.privacy-hero {
    padding: 100px 0 70px;
    background: var(--fd-bg, #171717);
    color: #fff;
}

.privacy-hero .section-label {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fd-gold, #C59F4A);
}

.privacy-hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    margin: 20px 0;
    color: #fff;
}

.privacy-hero p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--fd-text-80, rgba(255, 255, 255, 0.8));
}

.updated-date {
    display: block;
    margin-top: 25px;
    font-size: 14px;
    color: var(--fd-text-70, rgba(255, 255, 255, 0.7));
}

.privacy-content-section {
    padding: 60px 0 100px;
    background: var(--fd-bg-alt, #1c1c1c);
    color: var(--fd-text-80, rgba(255, 255, 255, 0.8));
}

.privacy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 70px;
}

.privacy-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
    color: #fff;
}

.privacy-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.privacy-sidebar nav a {
    text-decoration: none;
    font-size: 14px;
    color: var(--fd-gold, #C59F4A);
    transition: color 0.2s;
}

.privacy-sidebar nav a:hover,
.privacy-sidebar nav a:focus-visible {
    color: #fff;
}

.privacy-main-content {
    max-width: 850px;
}

.privacy-main-content h2 {
    font-size: 24px;
    margin: 40px 0 15px;
    color: #fff;
}

.privacy-main-content p,
.privacy-main-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--fd-text-80, rgba(255, 255, 255, 0.8));
}

.privacy-main-content a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--fd-gold, #C59F4A);
    text-underline-offset: 4px;
}

.privacy-main-content a:hover {
    color: var(--fd-gold, #C59F4A);
}

.privacy-main-content strong {
    color: #fff;
}

.privacy-contact {
    padding: 80px 20px;
    text-align: center;
    background: var(--fd-bg, #171717);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.privacy-contact p {
    max-width: 600px;
    margin: 20px auto;
    color: var(--fd-text-80, rgba(255, 255, 255, 0.8));
}

@media (max-width: 768px) {
    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .privacy-sidebar {
        position: static;
    }

    .privacy-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding-left: 0;
        border-left: 0;
    }
}

.privacy-main-content ul,
.privacy-main-content ol {
    padding-left: 1.4em;
    margin: 15px 0;
}

.privacy-main-content ul {
    list-style: disc outside;
}

.privacy-main-content ol {
    list-style: decimal outside;
}

.privacy-main-content li {
    display: list-item;
    padding-left: 0;
}

.privacy-main-content li + li {
    margin-top: 0.5em;
}

/* remove any custom bullets from the theme */
.privacy-main-content li::before,
.privacy-main-content li::after {
    content: none;
}

.fd-svrow[id^="service-"] {
    scroll-margin-top: 120px;
}