:root {
  --d4w-primary: #7c4dff;
  --d4w-accent: #ff3eb5;
  --d4w-dark: #111522;
  --d4w-ink: #171822;
  --d4w-muted: #696b78;
  --d4w-paper: #f7f6f3;
  --d4w-cream: #f7e7d3;
  --d4w-line: rgba(23, 24, 34, 0.13);
  --d4w-gradient: linear-gradient(100deg, var(--d4w-primary), var(--d4w-accent));
  --d4w-display: "Barlow Condensed", Impact, sans-serif;
  --d4w-body: "DM Sans", Arial, sans-serif;
  --d4w-header-height: 96px;
  --d4w-radius: 24px;
}

html:root {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--d4w-ink);
  background: #fff;
  font-family: var(--d4w-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

body:not(.d4w-motion-enabled) .hero-reveal,
body:not(.d4w-motion-enabled) .d4w-hero__title .line-inner {
  opacity: 1;
  transform: none;
  transition: none;
}

body:not(.d4w-motion-enabled) .d4w-orbit svg,
body:not(.d4w-motion-enabled) .d4w-marquee__track,
body:not(.d4w-motion-enabled) .d4w-contact-shape {
  animation: none;
}

body:not(.d4w-loops-enabled) .d4w-orbit svg,
body:not(.d4w-loops-enabled) .d4w-marquee__track,
body:not(.d4w-loops-enabled) .d4w-contact-shape,
body:not(.d4w-loops-enabled) .d4w-ambient-grain {
  animation: none;
}

body:not(.d4w-parallax-enabled) .d4w-parallax {
  translate: none !important;
}

html:not(.d4w-js) .d4w-preloader,
html.d4w-js-timeout .d4w-preloader {
  display: none;
}

html:not(.d4w-js) .hero-reveal,
html:not(.d4w-js) .d4w-hero__title .line-inner,
html.d4w-js-timeout .hero-reveal,
html.d4w-js-timeout .d4w-hero__title .line-inner {
  opacity: 1 !important;
  transform: none !important;
}

::selection {
  color: #fff;
  background: var(--d4w-primary);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  top: 8px;
  left: 8px;
  z-index: 100000;
  display: block;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto !important;
  color: #fff;
  background: var(--d4w-dark);
  border-radius: 8px;
}

.d4w-shell {
  width: min(100%, 1520px);
  padding-right: clamp(20px, 4vw, 72px);
  padding-left: clamp(20px, 4vw, 72px);
  margin-inline: auto;
}

.section-space {
  padding-top: clamp(90px, 10vw, 180px);
  padding-bottom: clamp(90px, 10vw, 180px);
}

.section-space-sm {
  padding-top: clamp(80px, 8vw, 140px);
  padding-bottom: clamp(80px, 8vw, 140px);
}

.d4w-display {
  max-width: 1050px;
  margin: 0;
  font-family: var(--d4w-display);
  font-size: clamp(3rem, 6.1vw, 6.8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.d4w-lead {
  margin: 0;
  color: var(--d4w-muted);
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.65;
}

.d4w-section-label {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.d4w-section-label::after {
  width: 52px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.45;
}

.d4w-section-label span {
  color: var(--d4w-primary);
}

.d4w-section-label--light {
  color: rgba(255, 255, 255, 0.75);
}

.d4w-section-label--light span {
  color: var(--d4w-accent);
}

.d4w-section-kicker {
  margin: 0 0 24px;
  color: var(--d4w-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.gradient-text {
  color: transparent;
  background: var(--d4w-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Keep the hero gradient on one composited text layer throughout its reveal. */
.d4w-hero__title .gradient-text {
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Preloader and creative cursor */
.d4w-preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0c0f18;
  transition: visibility 0s 0.85s;
}

.d4w-preloader::before,
.d4w-preloader::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--d4w-dark);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}

.d4w-preloader::after {
  z-index: 1;
  background: var(--d4w-primary);
  transition-delay: 0.08s;
}

.d4w-preloader__mark,
.d4w-preloader__line,
.d4w-preloader__count {
  position: relative;
  z-index: 2;
}

.d4w-preloader__mark {
  font-family: var(--d4w-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.d4w-preloader__mark span {
  color: var(--d4w-accent);
}

.d4w-preloader__line {
  position: absolute;
  top: 65%;
  width: min(260px, 65vw);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.d4w-preloader__line span {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}

.d4w-preloader__count {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: clamp(20px, 4vw, 48px);
  font-family: var(--d4w-display);
  font-size: 2rem;
}

.d4w-preloader.is-complete {
  visibility: hidden;
}

.d4w-preloader.is-complete::before,
.d4w-preloader.is-complete::after {
  transform: translateY(-105%);
}

.d4w-preloader.is-complete::after {
  transform: translateY(105%);
}

.d4w-preloader.is-complete > * {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.d4w-cursor,
.d4w-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}

.d4w-cursor {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 1px solid rgba(124, 77, 255, 0.7);
  transition: width 0.25s, height 0.25s, margin 0.25s, background 0.25s, opacity 0.2s;
}

.d4w-cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--d4w-accent);
}

.d4w-cursor.is-visible,
.d4w-cursor-dot.is-visible {
  opacity: 1;
}

.d4w-cursor.is-hovering {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(124, 77, 255, 0.12);
  border-color: var(--d4w-accent);
}

.d4w-cursor-label {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translate(-50%, -35%);
  transition: opacity 0.2s, transform 0.25s;
}

.d4w-cursor.is-labeled {
  width: 82px;
  height: 82px;
  margin: -41px 0 0 -41px;
  background: rgba(124, 77, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.d4w-cursor.is-labeled .d4w-cursor-label {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.d4w-cursor.is-labeled + .d4w-cursor-dot {
  opacity: 0;
}

.d4w-ambient-grain {
  position: fixed;
  inset: -80%;
  z-index: 9990;
  pointer-events: none;
  background-image: repeating-radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.3) 0 0.5px, transparent 0.7px 3px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
  opacity: 0.035;
  animation: d4w-grain 0.9s steps(2) infinite;
}

.d4w-page-transition {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: grid;
  overflow: hidden;
  pointer-events: none;
  place-items: center;
  color: #fff;
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover;
  transform: translateY(102%);
  visibility: hidden;
  transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 0.62s;
}

.d4w-page-transition::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  content: "";
  background: var(--d4w-gradient);
}

.d4w-page-transition span {
  font-family: var(--d4w-display);
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
  opacity: 0;
  transform: translateY(55px) skewY(5deg);
  transition: opacity 0.3s ease 0.2s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.16s;
}

.is-page-leaving .d4w-page-transition {
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.is-page-leaving .d4w-page-transition span {
  opacity: 1;
  transform: translateY(0) skewY(0);
}

.d4w-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 0;
  height: 3px;
  background: var(--d4w-gradient);
}

.site-main section {
  isolation: isolate;
}

.d4w-motion-section {
  position: relative;
}

.d4w-motion-meter {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  width: 3px;
  height: calc(var(--section-progress, 0) * 100%);
  max-height: 100%;
  pointer-events: none;
  background: var(--d4w-gradient);
  box-shadow: 0 0 22px rgba(255, 62, 181, 0.45);
  opacity: 0.7;
}

.d4w-click-ripple {
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  animation: d4w-ripple 0.7s ease-out;
}

.d4w-btn,
.d4w-header-cta,
.d4w-circle-link,
.d4w-slider-controls button {
  position: relative;
  overflow: hidden;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--d4w-header-height);
  color: #fff;
  transition: height 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-sticky {
  position: fixed;
  height: 78px;
  background: rgba(13, 16, 27, 0.86);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.admin-bar .site-header.is-sticky {
  top: 32px;
}

.site-header.is-hidden {
  transform: none;
}

.admin-bar .site-header {
  top: 32px;
}

.d4w-header-container {
  max-width: 1640px;
  height: 100%;
  padding-right: clamp(18px, 3vw, 54px);
  padding-left: clamp(18px, 3vw, 54px);
}

.d4w-header-container > div {
  height: 100%;
}

.d4w-logo {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
}

.d4w-logo img {
  display: block;
  width: clamp(174px, 14vw, 224px);
  height: auto;
}

.site-header .navbar-nav {
  gap: clamp(20px, 2.3vw, 38px);
  margin: 0 28px 0 0;
  padding: 0;
  list-style: none;
}

.site-header .menu-item {
  position: relative;
}

.site-header .menu-item > a {
  position: relative;
  display: block;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header .menu-item > a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--d4w-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.site-header .menu-item > a:hover,
.site-header .current-menu-item > a {
  color: #fff;
}

.site-header .menu-item > a:hover::after,
.site-header .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -22px;
  min-width: 220px;
  padding: 12px;
  margin: 0;
  visibility: hidden;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: 0.25s ease;
}

.site-header .sub-menu:has(.d4w-product-menu-copy) {
  width: min(420px, 86vw);
  padding: 14px;
}

.site-header .sub-menu:has(.d4w-product-menu-copy) a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
}

.d4w-product-menu-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #138e54;
  background: #e9fbf2;
  border-radius: 10px;
}

.d4w-product-menu-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.d4w-product-menu-copy strong {
  color: var(--d4w-ink);
  font-size: 0.86rem;
  line-height: 1.15;
}

.d4w-product-menu-copy small {
  overflow: hidden;
  color: var(--d4w-muted);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .menu-item:hover > .sub-menu,
.site-header .menu-item:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-header .sub-menu a {
  display: block;
  padding: 9px 12px;
  color: var(--d4w-ink);
  font-size: 0.85rem;
  border-radius: 8px;
}

.site-header .sub-menu a:hover {
  color: var(--d4w-primary);
  background: #f4f1ff;
}

.d4w-header-cta {
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--d4w-gradient);
  border-radius: 999px;
}

.d4w-header-cta i {
  transition: transform 0.3s ease;
}

.d4w-header-cta:hover i {
  transform: translate(3px, -3px);
}

.d4w-menu-toggle {
  position: relative;
  z-index: 1002;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.d4w-menu-toggle span {
  position: absolute;
  top: 21px;
  left: 13px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: 0.35s ease;
}

.d4w-menu-toggle span:last-child {
  top: 27px;
  left: 19px;
  width: 14px;
}

.d4w-menu-toggle[aria-expanded="true"] span:first-child {
  top: 23px;
  transform: rotate(45deg);
}

.d4w-menu-toggle[aria-expanded="true"] span:last-child {
  top: 23px;
  left: 13px;
  width: 20px;
  transform: rotate(-45deg);
}

.d4w-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
  color: #fff;
  opacity: 0;
  transition: visibility 0s 0.6s, opacity 0.25s ease;
}

.d4w-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover;
  transform: translateY(-102%);
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
}

.d4w-mobile-menu__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 110px 28px 38px;
  opacity: 0;
  transform: translateY(25px);
  transition: 0.35s ease 0.12s;
}

.d4w-mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.d4w-mobile-menu.is-open .d4w-mobile-menu__backdrop {
  transform: translateY(0);
}

.d4w-mobile-menu.is-open .d4w-mobile-menu__inner {
  opacity: 1;
  transform: translateY(0);
}

.d4w-mobile-menu__label {
  margin-bottom: 20px;
  color: var(--d4w-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.d4w-mobile-nav,
.d4w-mobile-nav .sub-menu,
.d4w-mobile-menu .navbar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.d4w-mobile-nav > li > a,
.d4w-mobile-menu .navbar-nav > li > a {
  display: inline-flex;
  padding: 3px 0;
  font-family: var(--d4w-display);
  font-size: clamp(2.7rem, 12vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.d4w-mobile-nav .sub-menu {
  display: none;
  padding: 8px 0 12px 20px;
}

.d4w-mobile-nav .sub-menu a {
  color: rgba(255, 255, 255, 0.62);
}

.d4w-mobile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 34px;
  padding-top: 22px;
  font-size: 0.86rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hero */
.d4w-hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--d4w-header-height) + clamp(45px, 6vw, 95px)) 0 clamp(70px, 8vw, 130px);
  overflow: hidden;
  color: #fff;
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover fixed;
}

.d4w-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(6, 8, 14, 0.25), rgba(8, 10, 18, 0.1) 60%, rgba(5, 6, 11, 0.4));
}

.d4w-hero__glow {
  position: absolute;
  top: 6%;
  right: 2%;
  width: min(38vw, 620px);
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 62, 181, 0.18), transparent 65%);
  filter: blur(20px);
}

.d4w-eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.d4w-eyebrow span {
  width: 30px;
  height: 2px;
  background: var(--d4w-accent);
}

.d4w-hero__title {
  max-width: 1320px;
  margin: 0;
  font-family: var(--d4w-display);
  font-size: clamp(4.1rem, 8.9vw, 9.7rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.d4w-hero__title .line-wrap,
.d4w-hero__title .line-inner {
  display: block;
}

.d4w-hero__title .line-wrap {
  padding-bottom: 0.06em;
  overflow: hidden;
}

.d4w-hero__title .line-inner {
  transform: translateY(115%);
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-page-loaded .d4w-hero__title .line-inner {
  transform: translateY(0);
}

.d4w-page-loaded .d4w-hero__title .line-wrap:nth-child(2) .line-inner {
  transition-delay: 0.12s;
}

.d4w-orbit {
  position: relative;
  display: grid;
  width: 135px;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.d4w-orbit::before {
  position: absolute;
  inset: 18px;
  content: "";
  background: var(--d4w-gradient);
  border-radius: 50%;
}

.d4w-orbit svg {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  overflow: visible;
  animation: d4w-spin 18s linear infinite;
}

.d4w-orbit text {
  fill: #fff;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.d4w-orbit i {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
}

.d4w-hero__meta {
  margin-top: clamp(30px, 4vw, 55px);
}

.d4w-hero__meta p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.d4w-btn {
  position: relative;
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  overflow: hidden;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.3s, border 0.3s, background 0.3s, transform 0.2s;
}

.d4w-btn > * {
  position: relative;
  z-index: 1;
}

.d4w-btn i {
  transition: transform 0.3s ease;
}

.d4w-btn:hover i {
  transform: translate(4px, -4px);
}

.d4w-btn--gradient {
  color: #fff;
  background: var(--d4w-gradient);
}

.d4w-btn--gradient::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, var(--d4w-accent), var(--d4w-primary));
  opacity: 0;
  transition: opacity 0.35s;
}

.d4w-btn--gradient:hover::before {
  opacity: 1;
}

.d4w-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.d4w-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #fff;
}

.d4w-btn--light {
  color: var(--d4w-dark);
  background: #fff;
}

.d4w-btn--light:hover {
  color: #fff;
  background: var(--d4w-accent);
}

.d4w-hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.3vw, 20px);
  margin-top: clamp(45px, 6.5vw, 95px);
  perspective: 1200px;
}

.d4w-hero-card {
  position: relative;
  height: clamp(230px, 27vw, 415px);
  overflow: hidden;
  border-radius: 18px;
  transform: rotate(-2deg);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s;
}

.d4w-hero-card:nth-child(even) {
  transform: translateY(28px) rotate(2deg);
}

.d4w-hero-card:hover {
  z-index: 2;
  transform: translateY(-10px) rotate(0) scale(1.035);
}

.d4w-hero-card:nth-child(even):hover {
  transform: translateY(15px) rotate(0) scale(1.035);
}

.d4w-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-hero-card:hover img {
  transform: scale(1.08);
}

.d4w-hero-card > span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  font-family: var(--d4w-display);
  font-weight: 700;
  background: rgba(10, 12, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.d4w-project-stat {
  position: absolute;
  right: -12px;
  bottom: -45px;
  z-index: 3;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  color: var(--d4w-ink);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  transform: rotate(-3deg);
}

.d4w-project-stat strong {
  font-family: var(--d4w-display);
  font-size: 2rem;
  line-height: 1;
}

.d4w-project-stat small {
  max-width: 90px;
  color: var(--d4w-muted);
  font-size: 0.68rem;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Marquee */
.d4w-marquee {
  padding: 20px 0;
  overflow: hidden;
  color: #fff;
  background: var(--d4w-gradient);
  transform: rotate(-1deg) scale(1.015);
}

.d4w-marquee__track {
  display: flex;
  width: max-content;
  animation: d4w-marquee 28s linear infinite;
}

.d4w-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.d4w-marquee span {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  padding-right: 34px;
  font-family: var(--d4w-display);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.d4w-marquee i {
  font-style: normal;
  color: #fff6a5;
}

/* About */
.d4w-about {
  position: relative;
  background: #fff;
}

.d4w-about::before {
  position: absolute;
  top: 16%;
  left: -90px;
  width: 260px;
  height: 260px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(124, 77, 255, 0.08), transparent 68%);
}

.d4w-about-badge {
  display: inline-flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: clamp(50px, 8vw, 115px);
}

.d4w-about-badge strong {
  font-family: var(--d4w-display);
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.04em;
}

.d4w-about-badge small {
  max-width: 100px;
  color: var(--d4w-muted);
  font-size: 0.72rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.d4w-text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 4px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.d4w-text-link i {
  transition: transform 0.3s ease;
}

.d4w-text-link:hover i {
  transform: translateX(5px);
}

.d4w-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(70px, 9vw, 140px);
  border-top: 1px solid var(--d4w-line);
  border-bottom: 1px solid var(--d4w-line);
}

.d4w-stats > div {
  position: relative;
  padding: clamp(28px, 4vw, 55px) clamp(10px, 3vw, 38px);
  text-align: center;
}

.d4w-stats > div:not(:last-child)::after {
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  content: "";
  background: var(--d4w-line);
}

.d4w-stats strong,
.d4w-stats small {
  display: block;
}

.d4w-stats strong {
  font-family: var(--d4w-display);
  font-size: clamp(2.9rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

.d4w-stats small {
  margin-top: 12px;
  color: var(--d4w-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Services */
.d4w-services {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover fixed;
}

.d4w-services::before {
  position: absolute;
  top: -250px;
  right: -200px;
  width: 600px;
  height: 600px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(255, 62, 181, 0.13), transparent 68%);
}

.d4w-service-list {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.d4w-service-item {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  grid-template-columns: 64px 62px minmax(220px, 1.25fr) minmax(260px, 1fr) 58px;
  gap: 24px;
  align-items: center;
  min-height: 134px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: padding 0.35s ease, color 0.35s ease;
}

.d4w-service-item::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(255, 255, 255, 0.055);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-service-item::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: 2px;
  content: "";
  background: var(--d4w-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-service-item:hover {
  padding-right: 18px;
  padding-left: 18px;
}

.d4w-service-item:hover::before {
  transform: scaleY(1);
}

.d4w-service-item:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.d4w-card-glow {
  position: absolute !important;
  inset: 0;
  z-index: 0 !important;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(124, 77, 255, 0.16), transparent 58%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.d4w-services .d4w-card-glow,
.d4w-process .d4w-card-glow {
  background: radial-gradient(380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 62, 181, 0.15), transparent 60%);
}

.is-pointing > .d4w-card-glow {
  opacity: 1;
}

.d4w-card-glow ~ * {
  position: relative;
  z-index: 1;
}

.d4w-service-number {
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--d4w-display);
  font-size: 1.25rem;
}

.d4w-service-icon {
  font-size: 2rem;
  color: var(--d4w-accent);
}

.d4w-service-item h3 {
  margin: 0;
  font-family: var(--d4w-display);
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.d4w-service-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.93rem;
  line-height: 1.55;
}

.d4w-circle-link,
.d4w-slider-controls button,
.d4w-back-top {
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  color: currentColor;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: 0.3s ease;
}

.d4w-circle-link:hover {
  color: #fff;
  background: var(--d4w-accent);
  border-color: var(--d4w-accent);
  transform: rotate(45deg);
}

.d4w-service-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 230px;
  height: 270px;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  border: 7px solid #fff;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-5deg) scale(0.85);
  transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s;
}

.d4w-service-preview.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-3deg) scale(1);
  transition-delay: 0s;
}

.d4w-service-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Portfolio */
.d4w-work {
  background: var(--d4w-paper);
}

.d4w-project-grid > div:nth-child(even) {
  padding-top: clamp(30px, 5vw, 80px);
}

.d4w-project-card {
  position: relative;
  margin-bottom: clamp(30px, 5vw, 72px);
}

.d4w-project-media {
  position: relative;
  display: block;
  height: clamp(350px, 43vw, 650px);
  overflow: hidden;
  background: #ddd;
  border-radius: var(--d4w-radius);
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out, clip-path 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.d4w-project-card--tall .d4w-project-media {
  height: clamp(430px, 55vw, 760px);
}

.d4w-project-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 20, 0.28));
  opacity: 0;
  transition: opacity 0.5s;
}

.d4w-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
}

.d4w-project-media:hover img {
  transform: scale(1.055);
}

.d4w-project-media:hover::after {
  opacity: 1;
}

.d4w-project-view {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: #fff;
  background: var(--d4w-gradient);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-project-media:hover .d4w-project-view {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.d4w-project-copy {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 4px 0;
}

.d4w-project-copy p {
  margin: 0 0 6px;
  color: var(--d4w-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.d4w-project-copy h3 {
  margin: 0;
  font-family: var(--d4w-display);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.d4w-project-copy > span {
  color: var(--d4w-muted);
  font-size: 0.78rem;
}

/* Technology */
.d4w-tech {
  overflow: hidden;
  background: #fff;
}

.d4w-tech .d4w-display {
  margin-inline: auto;
}

.d4w-tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 55px;
}

.d4w-tech-cloud span {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--d4w-line);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(21, 23, 34, 0.05);
  transition: color 0.3s, border 0.3s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, box-shadow 0.35s;
}

.d4w-tech-cloud span:nth-child(3n + 1) {
  border-color: rgba(124, 77, 255, 0.45);
}

.d4w-tech-cloud span:nth-child(3n + 2) {
  border-color: rgba(255, 62, 181, 0.4);
}

.d4w-tech-cloud span:hover {
  color: #fff;
  background: var(--d4w-dark);
  border-color: var(--d4w-dark);
  box-shadow: 0 18px 38px rgba(21, 23, 34, 0.14);
  transform: translateY(-8px) rotate(-1deg) scale(1.04);
}

.d4w-tech-cloud i {
  color: var(--d4w-accent);
}

/* Process */
.d4w-process {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0e111d;
}

.d4w-process::after {
  position: absolute;
  bottom: -25%;
  left: -12%;
  width: 650px;
  height: 650px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(124, 77, 255, 0.18), transparent 67%);
}

.d4w-process .d4w-display {
  margin-top: 46px;
}

.d4w-process .d4w-lead {
  max-width: 500px;
  margin-top: 36px;
}

.d4w-process-step {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: grid;
  grid-template-columns: 55px minmax(150px, 0.7fr) 1.3fr 45px;
  gap: 22px;
  align-items: center;
  min-height: 128px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transition: padding 0.35s, background 0.35s;
}

.d4w-process-step::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(124, 77, 255, 0.17), rgba(255, 62, 181, 0.07), transparent 75%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-process-step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.d4w-process-step:hover {
  padding-inline: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.d4w-process-step:hover::after {
  transform: scaleX(1);
}

.d4w-process-step > span {
  color: var(--d4w-accent);
  font-family: var(--d4w-display);
  font-size: 1.1rem;
}

.d4w-process-step h3 {
  margin: 0;
  font-family: var(--d4w-display);
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  transition: letter-spacing 0.4s ease, color 0.3s;
}

.d4w-process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
}

.d4w-process-step > i {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  transition: transform 0.3s, color 0.3s;
}

.d4w-process-step:hover > i {
  color: var(--d4w-accent);
  transform: rotate(-45deg);
}

.d4w-process-step:hover h3 {
  color: #fff;
  letter-spacing: 0.025em;
}

/* Testimonials */
.d4w-testimonials {
  background: var(--d4w-cream);
}

.d4w-testimonial-image {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  padding: 13px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(66, 46, 25, 0.14);
  transform: rotate(-3deg);
}

.d4w-testimonial-image img {
  width: 100%;
  border-radius: 14px;
  filter: grayscale(1);
}

.d4w-testimonial-image span {
  position: absolute;
  right: -25px;
  bottom: 35px;
  padding: 12px 18px;
  color: #fff;
  font-family: var(--d4w-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--d4w-gradient);
  border-radius: 8px;
  transform: rotate(7deg);
}

.d4w-slider-controls {
  display: flex;
  gap: 8px;
}

.d4w-slider-controls button {
  width: 46px;
  height: 46px;
  color: var(--d4w-ink);
  border-color: rgba(23, 24, 34, 0.25);
}

.d4w-slider-controls button:hover {
  color: #fff;
  background: var(--d4w-dark);
}

.d4w-testimonial-track {
  position: relative;
  min-height: 370px;
  overflow: hidden;
}

.d4w-testimonial-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.55s;
}

.d4w-testimonial-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

.d4w-testimonial-slide.is-leaving {
  transform: translateX(-40px);
}

.d4w-stars {
  display: flex;
  gap: 5px;
  margin: 32px 0;
  color: #ff8b00;
  font-size: 0.9rem;
}

.d4w-testimonial-slide blockquote {
  max-width: 900px;
  margin: 0 0 40px;
  font-family: var(--d4w-display);
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.d4w-testimonial-author {
  display: flex;
  gap: 14px;
  align-items: center;
}

.d4w-testimonial-author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.d4w-testimonial-author strong,
.d4w-testimonial-author span {
  display: block;
}

.d4w-testimonial-author strong {
  font-size: 0.92rem;
}

.d4w-testimonial-author span {
  color: var(--d4w-muted);
  font-size: 0.78rem;
}

/* Insights */
.d4w-insights {
  background: #fff;
}

.d4w-post-card {
  position: relative;
  isolation: isolate;
  padding-bottom: 28px;
}

.d4w-post-card__media {
  position: relative;
  display: grid;
  height: 320px;
  overflow: hidden;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover;
  border-radius: 18px;
}

.d4w-post-card__media > span {
  font-family: var(--d4w-display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.d4w-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.d4w-post-card__media > i {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--d4w-gradient);
  border-radius: 50%;
  transition: transform 0.35s;
}

.d4w-post-card__media:hover img {
  transform: scale(1.055);
}

.d4w-post-card__media:hover > i {
  transform: rotate(45deg);
}

.d4w-post-meta {
  margin: 22px 0 9px;
  color: var(--d4w-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.d4w-post-meta span {
  color: var(--d4w-accent);
}

.d4w-post-card h2,
.d4w-post-card h3 {
  margin: 0;
  font-family: var(--d4w-display);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.d4w-post-card h2 a,
.d4w-post-card h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: 0 2px;
  transition: background-size 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-position 0s 0.4s;
}

.d4w-post-card h2 a:hover,
.d4w-post-card h3 a:hover {
  background-position: 0 100%;
  background-size: 100% 2px;
}

.d4w-post-card > p:last-child {
  color: var(--d4w-muted);
}

/* Contact */
.d4w-contact {
  background: #fff;
}

.d4w-contact-card {
  position: relative;
  padding: clamp(42px, 7vw, 100px);
  overflow: hidden;
  color: #fff;
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover;
  border-radius: clamp(24px, 4vw, 48px);
}

.d4w-contact-shape {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.2), transparent 35%), var(--d4w-gradient);
  border-radius: 42% 58% 67% 33% / 35% 37% 63% 65%;
  opacity: 0.22;
  filter: blur(3px);
  animation: d4w-morph 9s ease-in-out infinite alternate;
}

.d4w-contact .d4w-display {
  margin-top: 42px;
}

.d4w-contact .d4w-lead {
  max-width: 610px;
  margin-top: 30px;
}

.d4w-contact-direct {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  margin-top: 44px;
  font-family: var(--d4w-display);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
}

.d4w-contact-direct a:hover {
  color: var(--d4w-accent);
}

.d4w-contact-form {
  position: relative;
  isolation: isolate;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  color: var(--d4w-ink);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.19);
}

.d4w-contact-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--d4w-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.d4w-contact-form input,
.d4w-contact-form select,
.d4w-contact-form textarea {
  width: 100%;
  padding: 12px 0;
  color: var(--d4w-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(23, 24, 34, 0.24);
  border-radius: 0;
  outline: 0;
  transition: border 0.3s;
}

.d4w-contact-form input:focus,
.d4w-contact-form select:focus,
.d4w-contact-form textarea:focus {
  border-bottom-color: var(--d4w-primary);
}

.d4w-contact-form .is-invalid {
  border-bottom-color: #d91f46;
}

.d4w-contact-form textarea {
  resize: vertical;
}

.d4w-contact-form .d4w-btn {
  margin-top: 12px;
  color: #fff;
  background: var(--d4w-gradient);
}

.d4w-form-status {
  flex: 1;
  min-width: 180px;
  color: var(--d4w-muted);
  font-size: 0.82rem;
}

.d4w-form-status.is-success {
  color: #168447;
}

.d4w-form-status.is-error {
  color: #c52643;
}

/* Footer */
.site-footer {
  padding: clamp(80px, 9vw, 135px) 0 28px;
  color: var(--d4w-ink);
  background: #ecebe6;
}

.d4w-footer-logo {
  margin-bottom: 28px;
}

.footer-intro {
  max-width: 500px;
  margin: 0;
  color: #656a72;
  font-size: 1rem;
}

.footer-label {
  margin: 8px 0 22px;
  color: #747880;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-menu,
.site-footer .navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu a,
.site-footer .navbar-nav a {
  color: #454a53;
  font-size: 0.9rem;
}

.footer-menu a:hover,
.site-footer .navbar-nav a:hover {
  color: var(--d4w-primary);
}

.footer-email,
.footer-phone {
  display: block;
  font-family: var(--d4w-display);
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.footer-email:hover,
.footer-phone:hover {
  color: var(--d4w-primary);
}

.footer-socials {
  display: flex;
  gap: 9px;
  margin-top: 26px;
}

.footer-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #454a53;
  border: 1px solid rgba(17, 21, 34, 0.18);
  border-radius: 50%;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: #fff;
  background: var(--d4w-primary);
  border-color: var(--d4w-primary);
  transform: translateY(-4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: clamp(60px, 8vw, 120px);
  padding-top: 25px;
  color: #777b83;
  font-size: 0.72rem;
  border-top: 1px solid rgba(17, 21, 34, 0.12);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom span {
  color: var(--d4w-primary);
}

.d4w-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 23px;
  z-index: 900;
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  color: #fff;
  font-size: 0.77rem;
  font-weight: 700;
  background: #17b85b;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(23, 184, 91, 0.34);
}

.d4w-whatsapp i {
  font-size: 1.15rem;
}

.d4w-whatsapp:hover {
  color: #fff;
}

.d4w-back-top {
  position: fixed;
  right: 28px;
  bottom: 86px;
  z-index: 899;
  width: 44px;
  height: 44px;
  visibility: hidden;
  color: #fff;
  background: var(--d4w-dark);
  border-color: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(15px);
}

.d4w-back-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Inner pages */
.d4w-inner-hero {
  position: relative;
  padding: calc(var(--d4w-header-height) + 110px) 0 100px;
  overflow: hidden;
  color: #fff;
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover;
}

.d4w-inner-hero::after {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  content: "";
  background: radial-gradient(circle, rgba(255, 62, 181, 0.18), transparent 65%);
}

.d4w-inner-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 34px 0 0;
  font-family: var(--d4w-display);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.archive-description,
.d4w-single-meta {
  max-width: 700px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.55);
}

.d4w-archive {
  background: var(--d4w-paper);
}

.d4w-pagination {
  margin-top: 50px;
}

.d4w-pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.d4w-pagination .page-numbers {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--d4w-line);
  border-radius: 50%;
}

.d4w-pagination .current,
.d4w-pagination a:hover {
  color: #fff;
  background: var(--d4w-primary);
  border-color: var(--d4w-primary);
}

.d4w-content-wrap {
  max-width: 900px;
  padding-top: clamp(70px, 8vw, 120px);
  padding-bottom: clamp(80px, 10vw, 150px);
}

.d4w-featured-image {
  margin-bottom: 50px;
}

.d4w-featured-image img {
  width: 100%;
  border-radius: 22px;
}

.entry-content {
  color: #3e404b;
  font-size: 1.06rem;
}

.entry-content > * + * {
  margin-top: 1.5em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--d4w-ink);
  font-family: var(--d4w-display);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.entry-content h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.entry-content h3 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.entry-content blockquote {
  padding: 26px 32px;
  margin-inline: 0;
  font-family: var(--d4w-display);
  font-size: 1.8rem;
  font-weight: 600;
  background: var(--d4w-cream);
  border-left: 4px solid var(--d4w-accent);
}

.post-navigation {
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid var(--d4w-line);
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation span,
.post-navigation strong {
  display: block;
}

.post-navigation span {
  color: var(--d4w-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.comments-area {
  margin-top: 75px;
  padding-top: 50px;
  border-top: 1px solid var(--d4w-line);
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-body {
  padding: 24px 0;
  border-bottom: 1px solid var(--d4w-line);
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--d4w-line);
  border-radius: 8px;
}

.comment-form .submit {
  width: auto;
  padding: 12px 22px;
  color: #fff;
  background: var(--d4w-primary);
  border: 0;
  border-radius: 999px;
}

.d4w-not-found {
  display: grid;
  min-height: 100vh;
  padding: 140px 20px 90px;
  place-items: center;
  color: #fff;
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover;
}

.d4w-not-found .container > p:first-child {
  margin: 0;
  color: transparent;
  font-family: var(--d4w-display);
  font-size: clamp(9rem, 25vw, 22rem);
  font-weight: 900;
  line-height: 0.65;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.25);
}

.d4w-not-found h1 {
  margin: 55px 0 10px;
  font-family: var(--d4w-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
}

.d4w-not-found .d4w-btn {
  margin-top: 24px;
}

/* Multi-page experience */
.d4w-inner-hero__lead {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
  line-height: 1.7;
}

.d4w-back-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.d4w-back-link:hover {
  color: #fff;
}

.d4w-back-link i {
  transition: transform 0.3s ease;
}

.d4w-back-link:hover i {
  transform: translateX(-5px);
}

.d4w-split-visual {
  display: inline;
}

.d4w-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Expandable service archive */
.d4w-service-archive {
  background: var(--d4w-paper);
}

.d4w-service-expanders {
  border-top: 1px solid var(--d4w-line);
}

.d4w-service-expander {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--d4w-line);
  transition: background 0.45s ease, border-color 0.45s ease;
}

.d4w-service-expander::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(110deg, rgba(124, 77, 255, 0.12), rgba(255, 62, 181, 0.05), transparent 65%);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: opacity 0.45s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-service-expander.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.d4w-service-expander__toggle {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 58px 66px minmax(260px, 1fr) minmax(260px, 0.75fr) 56px;
  gap: clamp(14px, 2vw, 30px);
  align-items: center;
  width: 100%;
  min-height: 150px;
  padding: 20px 0;
  color: var(--d4w-ink);
  text-align: left;
  background: transparent;
  border: 0;
}

.d4w-service-expander__number {
  color: var(--d4w-muted);
  font-family: var(--d4w-display);
  font-size: 1.25rem;
}

.d4w-service-expander__icon,
.d4w-service-expander__arrow {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--d4w-primary);
  border: 1px solid rgba(124, 77, 255, 0.25);
  border-radius: 50%;
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-service-expander__icon {
  font-size: 1.5rem;
}

.d4w-service-expander__heading small,
.d4w-service-expander__heading strong {
  display: block;
}

.d4w-service-expander__heading small {
  margin-bottom: 8px;
  color: var(--d4w-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.d4w-service-expander__heading strong {
  font-family: var(--d4w-display);
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.d4w-service-expander__summary {
  color: var(--d4w-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.d4w-service-expander__arrow {
  color: var(--d4w-ink);
  border-color: var(--d4w-line);
}

.d4w-service-expander.is-active .d4w-service-expander__arrow {
  color: #fff;
  background: var(--d4w-gradient);
  border-color: transparent;
  transform: rotate(-45deg);
}

.d4w-service-expander.is-active .d4w-service-expander__icon {
  color: #fff;
  background: var(--d4w-dark);
  border-color: var(--d4w-dark);
  transform: scale(1.08) rotate(-4deg);
}

.d4w-service-expander__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
  transition: grid-template-rows 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, visibility 0s 0.75s;
}

.d4w-service-expander.is-active .d4w-service-expander__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.d4w-service-expander__panel-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(260px, 1fr) minmax(230px, 0.7fr);
  gap: clamp(25px, 4vw, 65px);
  align-items: center;
  min-height: 0;
  overflow: hidden;
}

.d4w-service-expander__media {
  display: block;
  height: 300px;
  margin: 5px 0 40px 124px;
  overflow: hidden;
  border-radius: 150px;
}

.d4w-service-expander__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3);
  transition: filter 0.45s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-service-expander__media:hover img {
  filter: grayscale(0);
  transform: scale(1.07);
}

.d4w-service-expander__copy {
  padding-bottom: 40px;
}

.d4w-service-expander__copy p {
  margin: 0 0 24px;
  color: var(--d4w-muted);
  font-size: 1.02rem;
}

.d4w-check-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0 0 40px;
  margin: 0;
  list-style: none;
}

.d4w-check-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
}

.d4w-check-list i {
  color: var(--d4w-accent);
}

/* Service detail */
.d4w-service-detail,
.d4w-related {
  background: var(--d4w-paper);
}

.d4w-service-detail__visual {
  height: min(68vw, 820px);
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 44px);
}

.d4w-service-detail__visual img,
.d4w-case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d4w-service-detail__body {
  margin-top: clamp(55px, 8vw, 115px);
}

.d4w-detail-panel {
  position: sticky;
  top: 115px;
  padding: 30px;
  color: #fff;
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover;
  border-radius: 22px;
}

.d4w-detail-panel__label {
  margin: 0 0 22px;
  color: var(--d4w-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.d4w-detail-panel > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.d4w-detail-panel > div span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.d4w-detail-panel .d4w-btn {
  width: 100%;
  margin-top: 24px;
}

.d4w-prose > p:first-child {
  color: var(--d4w-ink);
  font-family: var(--d4w-display);
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.d4w-deliverables {
  margin-top: 70px;
}

.d4w-deliverables__grid {
  border-top: 1px solid var(--d4w-line);
}

.d4w-deliverables__grid > div {
  display: grid;
  grid-template-columns: 55px 1fr 30px;
  gap: 15px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--d4w-line);
}

.d4w-deliverables__grid span {
  color: var(--d4w-primary);
  font-family: var(--d4w-display);
  font-size: 1.1rem;
}

.d4w-deliverables__grid strong {
  font-family: var(--d4w-display);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.d4w-deliverables__grid i {
  color: var(--d4w-accent);
}

.d4w-related-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  flex-direction: column;
  color: var(--d4w-ink);
  background: #fff;
  border: 1px solid var(--d4w-line);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(18, 21, 34, 0.05);
}

.d4w-related-card > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--d4w-primary);
  background: #f1edff;
  border-radius: 50%;
  font-size: 1.45rem;
}

.d4w-related-card h3 {
  margin: auto 0 12px;
  font-family: var(--d4w-display);
  font-size: 2.5rem;
  line-height: 0.95;
  text-transform: uppercase;
}

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

.d4w-related-card > i {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 1.25rem;
  transition: transform 0.4s ease;
}

.d4w-related-card:hover > i {
  transform: rotate(45deg);
}

/* Portfolio archive and case studies */
.d4w-portfolio-archive,
.d4w-case-story,
.d4w-journal-archive {
  background: var(--d4w-paper);
}

.d4w-project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 60px;
}

.d4w-project-filters button,
.d4w-project-filters > a,
.d4w-project-filters > span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 0 17px;
  color: var(--d4w-muted);
  background: #fff;
  border: 1px solid var(--d4w-line);
  border-radius: 999px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.d4w-project-filters button span {
  font-size: 0.66rem;
  opacity: 0.55;
}

.d4w-project-filters button:hover,
.d4w-project-filters button.is-active,
.d4w-project-filters > a:hover,
.d4w-project-filters > span.is-active {
  color: #fff;
  background: var(--d4w-dark);
  transform: translateY(-2px);
}

.d4w-filter-item {
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-filter-item.is-filtered-out {
  display: none;
}

.d4w-portfolio-card {
  margin-bottom: clamp(35px, 6vw, 90px);
}

.d4w-portfolio-card--offset {
  padding-top: clamp(20px, 5vw, 75px);
}

.d4w-portfolio-card__media {
  position: relative;
  display: block;
  height: clamp(380px, 48vw, 720px);
  overflow: hidden;
  background: #ddd;
  border-radius: var(--d4w-radius);
}

.d4w-portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.d4w-portfolio-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 50%, rgba(10, 12, 20, 0.35));
  opacity: 0;
  transition: opacity 0.45s ease;
}

.d4w-portfolio-card__media > span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: #fff;
  background: var(--d4w-gradient);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -35%) scale(0.6);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-portfolio-card__media:hover img {
  filter: saturate(1.12);
  transform: scale(1.07) rotate(0.35deg);
}

.d4w-portfolio-card__media:hover::after {
  opacity: 1;
}

.d4w-portfolio-card__media:hover > span {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.d4w-portfolio-card__meta {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 23px 4px 0;
}

.d4w-portfolio-card__meta p,
.d4w-portfolio-card__meta small {
  margin: 0;
  color: var(--d4w-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.d4w-portfolio-card__meta h2 {
  margin: 7px 0;
  font-family: var(--d4w-display);
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.d4w-portfolio-card__meta small {
  color: var(--d4w-muted);
}

.d4w-portfolio-card__meta > strong {
  color: var(--d4w-muted);
  font-size: 0.8rem;
}

.d4w-case-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 1px;
  margin-top: 60px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
}

.d4w-case-facts > div {
  display: flex;
  min-height: 95px;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  background: rgba(12, 15, 24, 0.7);
}

.d4w-case-facts span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.d4w-case-facts strong {
  color: #fff;
  font-size: 0.94rem;
}

.d4w-case-visual {
  width: min(100% - 40px, 1580px);
  height: min(72vw, 900px);
  margin: -38px auto 0;
  overflow: hidden;
  background: var(--d4w-dark);
  border-radius: clamp(18px, 3vw, 42px);
}

.d4w-case-block {
  padding: 35px 0;
  border-top: 1px solid var(--d4w-line);
}

.d4w-case-block > span {
  display: block;
  margin-bottom: 16px;
  color: var(--d4w-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.d4w-case-block p {
  margin: 0;
  color: var(--d4w-ink);
  font-family: var(--d4w-display);
  font-size: clamp(1.8rem, 3.3vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.d4w-case-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 85px;
  background: var(--d4w-line);
  border: 1px solid var(--d4w-line);
}

.d4w-case-metric {
  display: flex;
  min-height: 220px;
  padding: 35px;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.d4w-case-metric strong {
  font-family: var(--d4w-display);
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: 0.8;
}

.d4w-case-metric span {
  margin-top: 20px;
  color: var(--d4w-muted);
  text-transform: uppercase;
}

.d4w-next-project {
  overflow: hidden;
  color: #fff;
  background: var(--d4w-dark);
}

.d4w-next-project a {
  position: relative;
  display: grid;
  min-height: 520px;
  padding: 60px clamp(20px, 6vw, 100px);
  place-content: center;
  text-align: center;
  isolation: isolate;
}

.d4w-next-project img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(1);
  transition: opacity 0.6s ease, filter 0.6s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-next-project a::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(8, 10, 18, 0.45);
}

.d4w-next-project span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.d4w-next-project strong {
  font-family: var(--d4w-display);
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.d4w-next-project i {
  margin-top: 25px;
  font-size: 1.8rem;
}

.d4w-next-project a:hover img {
  opacity: 0.55;
  filter: grayscale(0);
  transform: scale(1.05);
}

/* About page */
.d4w-about-hero__stamp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
}

.d4w-about-hero__stamp strong {
  font-family: var(--d4w-display);
  font-size: 4rem;
  line-height: 0.85;
}

.d4w-about-hero__stamp small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
}

.d4w-about-story {
  background: var(--d4w-paper);
}

.d4w-about-collage {
  position: relative;
  min-height: 680px;
}

.d4w-about-collage > div {
  position: absolute;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(20, 22, 34, 0.15);
}

.d4w-about-collage > div:first-child {
  top: 0;
  left: 0;
  width: 70%;
  height: 78%;
  transform: rotate(-3deg);
}

.d4w-about-collage > div:nth-child(2) {
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 57%;
  height: 58%;
  transform: rotate(4deg);
}

.d4w-about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d4w-about-collage > span {
  position: absolute;
  bottom: 12%;
  left: 4%;
  z-index: 3;
  padding: 10px 15px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--d4w-gradient);
  border-radius: 999px;
  transform: rotate(-5deg);
}

.d4w-values {
  color: #fff;
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover;
}

.d4w-value-card {
  position: relative;
  min-height: 390px;
  padding: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  backdrop-filter: blur(5px);
}

.d4w-value-card > span {
  color: var(--d4w-accent);
  font-family: var(--d4w-display);
}

.d4w-value-card h3 {
  margin: 150px 0 15px;
  font-family: var(--d4w-display);
  font-size: 2.4rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.d4w-value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.d4w-value-card > i {
  position: absolute;
  top: 28px;
  right: 28px;
  transition: transform 0.4s ease;
}

.d4w-value-card:hover > i {
  transform: rotate(-45deg);
}

.d4w-about-process {
  background: #fff;
}

.d4w-timeline {
  position: relative;
}

.d4w-timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 25px;
  width: 1px;
  content: "";
  background: var(--d4w-line);
}

.d4w-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 25px;
  padding: 0 0 45px;
}

.d4w-timeline__item > span {
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  font-family: var(--d4w-display);
  background: var(--d4w-dark);
  border-radius: 50%;
}

.d4w-timeline__item h3 {
  margin: 0 0 7px;
  font-family: var(--d4w-display);
  font-size: 2.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.d4w-timeline__item p {
  max-width: 600px;
  margin: 0;
  color: var(--d4w-muted);
}

.d4w-team {
  background: var(--d4w-paper);
}

.d4w-team-card__media {
  height: 500px;
  overflow: hidden;
  background: #ddd;
  border-radius: 20px;
}

.d4w-team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-team-card:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.d4w-team-card > p {
  margin: 20px 0 4px;
  color: var(--d4w-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.d4w-team-card h3 {
  margin: 0;
  font-family: var(--d4w-display);
  font-size: 2.6rem;
  text-transform: uppercase;
}

.d4w-team-card__bio {
  max-width: 42ch;
  margin-top: 10px;
  color: var(--d4w-muted);
  font-size: 0.9rem;
}

.d4w-team-card__bio p {
  margin: 0;
}

.d4w-team-card__links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.d4w-team-card__links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--d4w-primary);
  border: 1px solid var(--d4w-line);
  border-radius: 50%;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.d4w-team-card__links a:hover {
  color: #fff;
  background: var(--d4w-dark);
  transform: translateY(-3px);
}

/* Contact and FAQ pages */
.d4w-contact-options,
.d4w-contact-workspace {
  background: var(--d4w-paper);
}

.d4w-contact-info-card {
  position: relative;
  display: flex;
  min-height: 290px;
  padding: 27px;
  overflow: hidden;
  flex-direction: column;
  color: var(--d4w-ink);
  background: #fff;
  border: 1px solid var(--d4w-line);
  border-radius: 20px;
}

.d4w-contact-info-card > i {
  display: grid;
  width: 55px;
  height: 55px;
  margin-bottom: auto;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  background: var(--d4w-gradient);
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-contact-info-card:hover > i {
  transform: rotate(12deg) scale(1.08);
}

.d4w-contact-info-card > span {
  color: var(--d4w-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.d4w-contact-info-card strong {
  margin: 7px 0;
  overflow-wrap: anywhere;
  font-family: var(--d4w-display);
  font-size: 1.65rem;
  line-height: 1;
}

.d4w-contact-info-card small {
  color: var(--d4w-muted);
}

.d4w-contact-workspace .d4w-contact-form {
  background: #fff;
  border: 1px solid var(--d4w-line);
  box-shadow: 0 28px 90px rgba(22, 24, 35, 0.09);
}

.d4w-contact-address {
  margin-top: 45px;
  padding-top: 24px;
  border-top: 1px solid var(--d4w-line);
}

.d4w-contact-address > span {
  color: var(--d4w-primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.d4w-contact-address p {
  margin: 8px 0 0;
  color: var(--d4w-muted);
}

.d4w-faq-section {
  color: #fff;
  background: #0d101a;
}

.d4w-faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.d4w-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.d4w-faq-item > button {
  display: grid;
  grid-template-columns: 52px 1fr 42px;
  gap: 15px;
  align-items: center;
  width: 100%;
  min-height: 105px;
  padding: 18px 0;
  color: #fff;
  text-align: left;
  background: transparent;
  border: 0;
}

.d4w-faq-item > button strong small {
  display: block;
  margin-bottom: 5px;
  color: var(--d4w-accent);
  font-family: var(--d4w-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.d4w-faq-item > button span {
  color: var(--d4w-accent);
  font-family: var(--d4w-display);
}

.d4w-faq-item > button strong {
  font-family: var(--d4w-display);
  font-size: clamp(1.55rem, 2.7vw, 2.7rem);
  line-height: 1;
  text-transform: uppercase;
}

.d4w-faq-item > button i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: color 0.35s ease, background 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-faq-item.is-open > button i {
  color: var(--d4w-dark);
  background: var(--d4w-accent);
  transform: rotate(45deg);
}

.d4w-faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.d4w-faq-item.is-open .d4w-faq-item__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.d4w-faq-item__answer > div {
  max-width: 720px;
  min-height: 0;
  padding: 0 60px 30px 67px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.55);
}

.d4w-faq-item__answer p {
  margin: 0;
}

.d4w-contact-form.is-submitted {
  animation: d4w-form-success 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Journal */
.d4w-journal-card {
  height: 100%;
}

.d4w-journal-card__media {
  position: relative;
  display: grid;
  height: 330px;
  overflow: hidden;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  background: var(--d4w-dark) url("../images/hero-bg.jpg") center/cover;
  border-radius: 20px;
}

.d4w-journal-card__media::after {
  position: absolute;
  top: 0;
  left: -130%;
  width: 75%;
  height: 100%;
  content: "";
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0.35;
  transform: skewX(-18deg);
  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.d4w-journal-card__media > span {
  font-family: var(--d4w-display);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.d4w-journal-card__media > i {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #fff;
  background: var(--d4w-gradient);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.d4w-journal-card:hover .d4w-journal-card__media::after {
  left: 140%;
}

.d4w-journal-card:hover .d4w-journal-card__media img {
  filter: saturate(1.08);
  transform: scale(1.06);
}

.d4w-journal-card:hover .d4w-journal-card__media > i {
  transform: rotate(45deg);
}

.d4w-journal-card__copy {
  padding: 5px 4px 20px;
}

.d4w-journal-card__copy h2 {
  margin: 0;
  font-family: var(--d4w-display);
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1;
  text-transform: uppercase;
}

.d4w-journal-card__copy > p:not(.d4w-post-meta) {
  color: var(--d4w-muted);
}

.d4w-journal-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(30px, 5vw, 75px);
  align-items: center;
  margin-bottom: 60px;
}

.d4w-journal-card--featured .d4w-journal-card__media {
  height: min(58vw, 650px);
}

.d4w-journal-card--featured h2 {
  font-size: clamp(3rem, 5.3vw, 6rem);
}

.d4w-testimonial-avatar {
  display: grid !important;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff !important;
  font-family: var(--d4w-display);
  font-size: 1.4rem !important;
  background: var(--d4w-gradient);
  border-radius: 50%;
}

.d4w-empty-state {
  padding: 70px 30px;
  text-align: center;
  border: 1px dashed var(--d4w-line);
  border-radius: 20px;
}

.d4w-empty-state h2 {
  margin: 0;
  font-family: var(--d4w-display);
  font-size: 3rem;
  text-transform: uppercase;
}

/* Shared image and pointer motion */
.d4w-image-curtain {
  position: relative;
  overflow: hidden;
}

.d4w-hover-card {
  transform-style: preserve-3d;
  transition: transform 0.24s ease-out, border-color 0.35s ease, box-shadow 0.35s ease;
}

.d4w-hover-card.is-tilting {
  transform: perspective(950px) rotateX(var(--card-rotate-x, 0deg)) rotateY(var(--card-rotate-y, 0deg)) translateY(-4px);
  box-shadow: 0 28px 80px rgba(18, 21, 34, 0.13);
}

.d4w-hover-card > .d4w-card-glow {
  border-radius: inherit;
}

.d4w-scroll-progress {
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.d4w-motion-meter {
  height: 100%;
  transform: scaleY(var(--section-progress, 0));
  transform-origin: top;
}

@keyframes d4w-form-success {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.018); box-shadow: 0 28px 95px rgba(124, 77, 255, 0.22); }
}

/* Animation states */
.d4w-animate .reveal-up {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s ease var(--motion-delay, 0ms), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) var(--motion-delay, 0ms);
}

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

.d4w-animate .reveal-text {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease var(--motion-delay, 0ms), transform 1s cubic-bezier(0.16, 1, 0.3, 1) var(--motion-delay, 0ms);
}

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

.hero-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease 0.3s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.d4w-page-loaded .hero-reveal {
  opacity: 1;
  transform: translateY(0);
}

.d4w-page-loaded .d4w-hero-gallery {
  transition-delay: 0.5s;
}

/* Layered entrance choreography */
.d4w-word {
  display: inline-block;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
  overflow: hidden;
  vertical-align: top;
}

.d4w-word__inner {
  display: inline-block;
  will-change: transform, opacity;
}

.d4w-animate .reveal-text .d4w-word__inner,
.d4w-animate .d4w-hero__title .d4w-word__inner,
.d4w-animate .d4w-page-title .d4w-word__inner,
.d4w-animate .d4w-service-item .d4w-word__inner,
.d4w-animate .d4w-project-card .d4w-word__inner,
.d4w-animate .d4w-process-step .d4w-word__inner,
.d4w-animate .d4w-post-card .d4w-word__inner,
.d4w-animate .d4w-testimonial-slide .d4w-word__inner,
.d4w-animate .d4w-motion-item .d4w-word__inner {
  opacity: 0;
  transform: translateY(112%) rotate(3deg);
  transform-origin: left bottom;
  transition: opacity 0.55s ease calc(var(--word-delay, 0ms) + var(--motion-delay, 0ms)), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--word-delay, 0ms) + var(--motion-delay, 0ms));
}

.d4w-animate .reveal-text.is-visible .d4w-word__inner,
.d4w-page-loaded .d4w-hero__title .d4w-word__inner,
.d4w-page-loaded .d4w-page-title .d4w-word__inner,
.d4w-animate .d4w-service-item.is-visible .d4w-word__inner,
.d4w-animate .d4w-project-card.is-visible .d4w-word__inner,
.d4w-animate .d4w-process-step.is-visible .d4w-word__inner,
.d4w-animate .d4w-post-card.is-visible .d4w-word__inner,
.d4w-animate .d4w-testimonial-track.is-visible .d4w-testimonial-slide.is-active .d4w-word__inner,
.d4w-animate .d4w-motion-item.is-visible .d4w-word__inner {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.d4w-animate .d4w-motion-item {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.72s ease var(--motion-delay, 0ms), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) var(--motion-delay, 0ms), padding 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.d4w-animate .d4w-motion-item.motion-left {
  transform: translate3d(-75px, 22px, 0) skewX(-3deg);
}

.d4w-animate .d4w-motion-item.motion-right {
  transform: translate3d(75px, 22px, 0) skewX(3deg);
}

.d4w-animate .d4w-motion-item.motion-scale {
  transform: translateY(58px) scale(0.92);
}

.d4w-animate .d4w-motion-item.motion-mask {
  transform: translateY(75px) scale(0.965);
}

.d4w-animate .d4w-motion-item.motion-up {
  transform: translateY(46px);
}

.d4w-animate .d4w-motion-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) skewX(0) scale(1);
}

.d4w-animate .d4w-service-item > :not(.d4w-card-glow),
.d4w-animate .d4w-process-step > :not(.d4w-card-glow) {
  transition: opacity 0.55s ease, translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-animate .d4w-service-item:not(.is-visible) > :not(.d4w-card-glow),
.d4w-animate .d4w-process-step:not(.is-visible) > :not(.d4w-card-glow) {
  opacity: 0;
  translate: 0 24px;
}

.d4w-animate .d4w-image-curtain {
  clip-path: inset(0 100% 0 0 round 24px);
  opacity: 0.45;
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1) var(--motion-delay, 0ms), opacity 0.65s ease var(--motion-delay, 0ms);
}

.d4w-animate .d4w-image-curtain > img,
.d4w-animate .d4w-image-curtain > picture img {
  transform: scale(1.14);
  transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1) var(--motion-delay, 0ms), filter 0.5s ease;
}

.d4w-animate .d4w-image-curtain.is-visible,
.d4w-animate .is-visible .d4w-image-curtain,
.d4w-animate .d4w-motion-item.is-visible .d4w-image-curtain {
  clip-path: inset(0 0 0 0 round 24px);
  opacity: 1;
}

.d4w-animate .d4w-image-curtain.is-visible > img,
.d4w-animate .is-visible .d4w-image-curtain > img,
.d4w-animate .d4w-motion-item.is-visible .d4w-image-curtain > img {
  transform: scale(1);
}

.d4w-animate .d4w-image-curtain.is-visible:hover > img,
.d4w-animate .is-visible .d4w-image-curtain:hover > img,
.d4w-animate .d4w-motion-item.is-visible .d4w-image-curtain:hover > img {
  transform: scale(1.06);
}

.d4w-animate .d4w-service-item.is-visible > :nth-child(2),
.d4w-animate .d4w-process-step.is-visible > :nth-child(2) { transition-delay: calc(var(--motion-delay, 0ms) + 90ms); }
.d4w-animate .d4w-service-item.is-visible > :nth-child(3),
.d4w-animate .d4w-process-step.is-visible > :nth-child(3) { transition-delay: calc(var(--motion-delay, 0ms) + 150ms); }
.d4w-animate .d4w-service-item.is-visible > :nth-child(4),
.d4w-animate .d4w-process-step.is-visible > :nth-child(4) { transition-delay: calc(var(--motion-delay, 0ms) + 210ms); }
.d4w-animate .d4w-service-item.is-visible > :nth-child(5),
.d4w-animate .d4w-process-step.is-visible > :nth-child(5) { transition-delay: calc(var(--motion-delay, 0ms) + 270ms); }

.d4w-animate .d4w-project-card:not(.is-visible) .d4w-project-media,
.d4w-animate .d4w-post-card:not(.is-visible) .d4w-post-card__media {
  clip-path: inset(0 100% 0 0 round var(--d4w-radius));
}

.d4w-animate .d4w-project-card .d4w-project-media,
.d4w-animate .d4w-post-card .d4w-post-card__media {
  transition: clip-path 1.05s cubic-bezier(0.16, 1, 0.3, 1) var(--motion-delay, 0ms), transform 0.22s ease-out;
}

.d4w-animate .d4w-project-card:not(.is-visible) .d4w-project-media img,
.d4w-animate .d4w-post-card:not(.is-visible) .d4w-post-card__media img {
  transform: scale(1.14);
}

.d4w-animate .d4w-project-copy,
.d4w-animate .d4w-post-card > :not(.d4w-card-glow, .d4w-post-card__media) {
  transition: opacity 0.65s ease calc(var(--motion-delay, 0ms) + 170ms), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--motion-delay, 0ms) + 170ms);
}

.d4w-animate .d4w-project-card:not(.is-visible) .d4w-project-copy,
.d4w-animate .d4w-post-card:not(.is-visible) > :not(.d4w-card-glow, .d4w-post-card__media) {
  opacity: 0;
  transform: translateY(28px);
}

.d4w-animate .d4w-stats.reveal-up > div,
.d4w-animate .d4w-tech-cloud.reveal-up > span,
.d4w-animate .d4w-contact-form.reveal-up .row > [class*="col-"] {
  opacity: 0;
  transform: translateY(32px) scale(0.94);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-animate .d4w-stats.reveal-up.is-visible > div,
.d4w-animate .d4w-tech-cloud.reveal-up.is-visible > span,
.d4w-animate .d4w-contact-form.reveal-up.is-visible .row > [class*="col-"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.d4w-animate .d4w-stats.reveal-up.is-visible > div:nth-child(2),
.d4w-animate .d4w-tech-cloud.reveal-up.is-visible > span:nth-child(2),
.d4w-animate .d4w-contact-form.reveal-up.is-visible .row > [class*="col-"]:nth-child(2) { transition-delay: 90ms; }
.d4w-animate .d4w-stats.reveal-up.is-visible > div:nth-child(3),
.d4w-animate .d4w-tech-cloud.reveal-up.is-visible > span:nth-child(3),
.d4w-animate .d4w-contact-form.reveal-up.is-visible .row > [class*="col-"]:nth-child(3) { transition-delay: 180ms; }
.d4w-animate .d4w-stats.reveal-up.is-visible > div:nth-child(4),
.d4w-animate .d4w-tech-cloud.reveal-up.is-visible > span:nth-child(4) { transition-delay: 270ms; }
.d4w-animate .d4w-tech-cloud.reveal-up.is-visible > span:nth-child(5) { transition-delay: 360ms; }
.d4w-animate .d4w-tech-cloud.reveal-up.is-visible > span:nth-child(n + 6) { transition-delay: 430ms; }

.d4w-animate .d4w-section-label::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.d4w-animate .d4w-section-label.is-visible::after,
.d4w-animate .is-visible .d4w-section-label::after {
  transform: scaleX(1);
}

.d4w-animate .site-header .d4w-logo,
.d4w-animate .site-header .menu-item,
.d4w-animate .site-header .d4w-header-cta,
.d4w-animate .site-header .d4w-menu-toggle {
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.55s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-page-loaded .site-header .d4w-logo,
.d4w-page-loaded .site-header .menu-item,
.d4w-page-loaded .site-header .d4w-header-cta,
.d4w-page-loaded .site-header .d4w-menu-toggle {
  opacity: 1;
  transform: translateY(0);
}

.d4w-page-loaded .site-header .d4w-logo { transition-delay: 80ms; }
.d4w-page-loaded .site-header .menu-item:nth-child(1) { transition-delay: 140ms; }
.d4w-page-loaded .site-header .menu-item:nth-child(2) { transition-delay: 190ms; }
.d4w-page-loaded .site-header .menu-item:nth-child(3) { transition-delay: 240ms; }
.d4w-page-loaded .site-header .menu-item:nth-child(4) { transition-delay: 290ms; }
.d4w-page-loaded .site-header .menu-item:nth-child(5) { transition-delay: 340ms; }
.d4w-page-loaded .site-header .menu-item:nth-child(n + 6) { transition-delay: 390ms; }
.d4w-page-loaded .site-header .d4w-header-cta,
.d4w-page-loaded .site-header .d4w-menu-toggle { transition-delay: 430ms; }

.d4w-animate .d4w-hero-card {
  clip-path: inset(0 0 100% 0 round 18px);
  opacity: 0;
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s;
}

.d4w-animate .d4w-hero-card img {
  transform: scale(1.14);
}

.d4w-page-loaded .d4w-hero-card {
  clip-path: inset(0 0 0 0 round 18px);
  opacity: 1;
}

.d4w-page-loaded .d4w-hero-card img {
  transform: scale(1);
}

.d4w-page-loaded .d4w-hero-card:hover img {
  transform: scale(1.08);
}

.d4w-page-loaded .d4w-hero-card:nth-child(1) { transition-delay: 430ms; }
.d4w-page-loaded .d4w-hero-card:nth-child(2) { transition-delay: 520ms; }
.d4w-page-loaded .d4w-hero-card:nth-child(3) { transition-delay: 610ms; }
.d4w-page-loaded .d4w-hero-card:nth-child(4) { transition-delay: 700ms; }

.d4w-animate .d4w-testimonial-image.reveal-up:not(.is-visible) img {
  clip-path: inset(0 0 100% 0 round 14px);
  transform: scale(1.1);
}

.d4w-testimonial-image img {
  clip-path: inset(0 0 0 0 round 14px);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

@keyframes d4w-spin {
  to { transform: rotate(360deg); }
}

@keyframes d4w-marquee {
  to { transform: translateX(-50%); }
}

@keyframes d4w-morph {
  to { border-radius: 65% 35% 41% 59% / 56% 67% 33% 44%; transform: rotate(16deg) scale(1.08); }
}

@keyframes d4w-grain {
  0% { transform: translate3d(-2%, -1%, 0); }
  25% { transform: translate3d(2%, 1%, 0); }
  50% { transform: translate3d(-1%, 2%, 0); }
  75% { transform: translate3d(1%, -2%, 0); }
  100% { transform: translate3d(2%, -1%, 0); }
}

@keyframes d4w-ripple {
  0% { opacity: 0.55; transform: scale(0); }
  100% { opacity: 0; transform: scale(1); }
}

/* Responsive */
@media (max-width: 1199.98px) {
  :root { --d4w-header-height: 84px; }
  .d4w-hero__title { font-size: clamp(4rem, 10vw, 7.5rem); }
  .d4w-service-item { grid-template-columns: 48px 48px minmax(190px, 1fr) minmax(220px, 0.9fr) 52px; gap: 16px; }
  .d4w-service-preview { display: none; }
  .d4w-testimonial-track { min-height: 420px; }
}

@media (max-width: 991.98px) {
  .admin-bar .site-header.is-sticky { top: 32px; }
  .d4w-hero { background-attachment: scroll; }
  .d4w-services { background-attachment: scroll; }
  .d4w-hero-gallery { grid-template-columns: repeat(2, 1fr); }
  .d4w-hero-card { height: clamp(250px, 52vw, 460px); }
  .d4w-hero-card:nth-child(even) { transform: translateY(14px) rotate(2deg); }
  .d4w-project-stat { right: 4px; bottom: -25px; }
  .d4w-about-badge { margin-top: 45px; }
  .d4w-stats { grid-template-columns: repeat(2, 1fr); }
  .d4w-stats > div:nth-child(2)::after { display: none; }
  .d4w-stats > div:nth-child(-n + 2) { border-bottom: 1px solid var(--d4w-line); }
  .d4w-service-item { grid-template-columns: 42px 44px 1fr 50px; padding: 26px 0; }
  .d4w-service-item p { grid-column: 3 / 5; padding-right: 20px; }
  .d4w-circle-link { grid-column: 4; grid-row: 1; }
  .d4w-project-grid > div:nth-child(even) { padding-top: 0; }
  .d4w-project-media,
  .d4w-project-card--tall .d4w-project-media { height: min(100vw, 680px); }
  .d4w-process .d4w-display { margin-top: 32px; }
  .d4w-process .d4w-lead { margin-bottom: 55px; }
  .d4w-testimonial-image { max-width: 360px; }
  .d4w-testimonial-track { min-height: 360px; }
  .d4w-contact .d4w-lead { margin-bottom: 40px; }
  .site-footer .row > div { text-align: left; }
}

@media (max-width: 782px) {
  .admin-bar .site-header.is-sticky { top: 46px; }
}

@media (max-width: 767.98px) {
  body { font-size: 15px; }
  .section-space { padding-top: 84px; padding-bottom: 84px; }
  .section-space-sm { padding-top: 75px; padding-bottom: 75px; }
  .d4w-shell { padding-right: 20px; padding-left: 20px; }
  .d4w-logo { padding: 5px 8px; border-radius: 8px; }
  .d4w-logo img { width: 166px; }
  .d4w-menu-toggle { width: 44px; height: 44px; }
  .d4w-menu-toggle span { top: 19px; left: 11px; }
  .d4w-menu-toggle span:last-child { top: 25px; left: 17px; }
  .d4w-menu-toggle[aria-expanded="true"] span:first-child,
  .d4w-menu-toggle[aria-expanded="true"] span:last-child { top: 21px; left: 11px; }
  .d4w-hero { min-height: auto; padding-top: 125px; padding-bottom: 78px; }
  .d4w-eyebrow { margin-bottom: 18px; font-size: 0.6rem; letter-spacing: 0.12em; }
  .d4w-hero__title { font-size: clamp(3.6rem, 17vw, 5.4rem); line-height: 0.84; }
  .d4w-hero__meta { margin-top: 26px; }
  .d4w-hero__meta .d-flex { justify-content: flex-start !important; }
  .d4w-btn { min-height: 52px; padding: 0 21px; }
  .d4w-hero-gallery { gap: 8px; margin-top: 45px; }
  .d4w-hero-card { height: 245px; border-radius: 11px; }
  .d4w-hero-card:nth-child(n + 3) { height: 200px; }
  .d4w-project-stat { right: 0; bottom: -35px; padding: 10px 12px; }
  .d4w-project-stat strong { font-size: 1.5rem; }
  .d4w-marquee { padding: 15px 0; }
  .d4w-display { font-size: clamp(3rem, 14vw, 4.8rem); }
  .d4w-about-badge strong { font-size: 5rem; }
  .d4w-stats strong { font-size: 3rem; }
  .d4w-stats small { font-size: 0.62rem; }
  .d4w-service-item { grid-template-columns: 36px 38px 1fr 44px; gap: 10px; min-height: 0; padding: 24px 0; }
  .d4w-service-item:hover { padding-right: 8px; padding-left: 8px; }
  .d4w-service-item h3 { font-size: 2rem; }
  .d4w-service-item p { grid-column: 1 / 5; padding: 5px 10px 0 46px; }
  .d4w-circle-link { width: 42px; height: 42px; }
  .d4w-project-media,
  .d4w-project-card--tall .d4w-project-media { height: 480px; border-radius: 16px; }
  .d4w-project-copy h3 { font-size: 2.1rem; }
  .d4w-tech-cloud { gap: 8px; margin-top: 35px; }
  .d4w-tech-cloud span { gap: 9px; padding: 9px 14px; font-size: 0.76rem; }
  .d4w-process-step { grid-template-columns: 36px 1fr 38px; gap: 10px; padding: 22px 0; }
  .d4w-process-step h3 { font-size: 2.25rem; }
  .d4w-process-step p { grid-column: 2 / 4; }
  .d4w-process-step > i { grid-column: 3; grid-row: 1; }
  .d4w-testimonial-image { max-width: 290px; }
  .d4w-testimonial-image span { right: -10px; bottom: 20px; }
  .d4w-testimonial-track { min-height: 410px; }
  .d4w-testimonial-slide blockquote { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .d4w-post-card__media { height: 280px; }
  .d4w-contact-card { margin-inline: -8px; padding: 34px 22px; }
  .d4w-contact-form { padding: 25px 18px; }
  .footer-email,
  .footer-phone { overflow-wrap: anywhere; font-size: 1.65rem; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .d4w-whatsapp { right: 14px; bottom: 14px; width: 52px; height: 52px; min-height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .d4w-whatsapp span { display: none; }
  .d4w-back-top { right: 18px; bottom: 76px; }
  .d4w-inner-hero { padding-top: 150px; padding-bottom: 75px; }
  .d4w-inner-hero h1 { font-size: clamp(3.8rem, 16vw, 6rem); }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
  .d4w-motion-meter { width: 2px; opacity: 0.45; }
  .d4w-ambient-grain { display: none; }
}

@media (max-width: 575.98px) {
  .d4w-stats > div { padding: 26px 7px; }
  .d4w-stats strong { font-size: 2.7rem; }
  .d4w-stats small { min-height: 30px; }
  .d4w-project-media,
  .d4w-project-card--tall .d4w-project-media { height: 410px; }
  .d4w-testimonial-track { min-height: 480px; }
  .d4w-slider-controls button { width: 42px; height: 42px; }
}

@media (max-width: 1199.98px) {
  .d4w-service-expander__toggle { grid-template-columns: 48px 58px minmax(230px, 1fr) minmax(220px, 0.65fr) 54px; }
  .d4w-service-expander__panel-inner { grid-template-columns: minmax(250px, 0.8fr) 1fr minmax(210px, 0.65fr); gap: 30px; }
  .d4w-service-expander__media { margin-left: 106px; }
}

@media (max-width: 991.98px) {
  .d4w-inner-hero__lead { max-width: 650px; }
  .d4w-service-expander__toggle { grid-template-columns: 42px 54px 1fr 50px; min-height: 128px; }
  .d4w-service-expander__summary { grid-column: 3 / 5; }
  .d4w-service-expander__arrow { grid-column: 4; grid-row: 1; }
  .d4w-service-expander__panel-inner { grid-template-columns: 1fr 1fr; }
  .d4w-service-expander__media { height: 270px; margin-left: 96px; }
  .d4w-service-expander__copy { padding-right: 25px; }
  .d4w-service-expander .d4w-check-list { grid-column: 2; padding-bottom: 35px; }
  .d4w-detail-panel { position: relative; top: auto; margin-bottom: 20px; }
  .d4w-case-facts { grid-template-columns: repeat(2, 1fr); }
  .d4w-about-collage { min-height: 580px; }
  .d4w-journal-card--featured { grid-template-columns: 1fr; }
  .d4w-journal-card--featured .d4w-journal-card__media { height: 560px; }
}

@media (max-width: 767.98px) {
  .d4w-back-link { margin-bottom: 30px; }
  .d4w-service-expander__toggle { grid-template-columns: 34px 44px 1fr 42px; gap: 9px; min-height: 112px; padding: 17px 0; }
  .d4w-service-expander__icon,
  .d4w-service-expander__arrow { width: 42px; height: 42px; }
  .d4w-service-expander__heading strong { font-size: 2.15rem; }
  .d4w-service-expander__heading small { margin-bottom: 4px; }
  .d4w-service-expander__summary { grid-column: 1 / 5; padding-left: 43px; font-size: 0.82rem; }
  .d4w-service-expander__panel-inner { display: block; }
  .d4w-service-expander__media { height: 235px; margin: 5px 0 22px 43px; border-radius: 120px; }
  .d4w-service-expander__copy,
  .d4w-service-expander .d4w-check-list { padding: 0 0 28px 43px; }
  .d4w-service-detail__visual { height: 62vh; min-height: 390px; }
  .d4w-service-detail__body { margin-top: 50px; }
  .d4w-deliverables { margin-top: 50px; }
  .d4w-deliverables__grid > div { grid-template-columns: 38px 1fr 24px; }
  .d4w-related-card { min-height: 285px; }
  .d4w-portfolio-card--offset { padding-top: 0; }
  .d4w-portfolio-card__media { height: 480px; }
  .d4w-project-filters { margin-bottom: 38px; }
  .d4w-case-facts { margin-top: 40px; }
  .d4w-case-facts > div { min-height: 80px; padding: 15px; }
  .d4w-case-visual { width: calc(100% - 24px); height: 66vh; min-height: 430px; margin-top: -20px; }
  .d4w-case-results { grid-template-columns: 1fr; margin-top: 55px; }
  .d4w-case-metric { min-height: 170px; padding: 25px; }
  .d4w-next-project a { min-height: 390px; }
  .d4w-about-collage { min-height: 480px; margin-bottom: 25px; }
  .d4w-about-collage > div { border-width: 6px; border-radius: 16px; }
  .d4w-value-card { min-height: 320px; }
  .d4w-value-card h3 { margin-top: 105px; }
  .d4w-team-card__media { height: 430px; }
  .d4w-contact-info-card { min-height: 250px; }
  .d4w-faq-item > button { grid-template-columns: 36px 1fr 38px; min-height: 92px; }
  .d4w-faq-item__answer > div { padding: 0 20px 25px 51px; }
  .d4w-journal-card--featured { gap: 20px; margin-bottom: 35px; }
  .d4w-journal-card--featured .d4w-journal-card__media,
  .d4w-journal-card__media { height: 390px; }
  .d4w-motion-meter { display: none; }
  .d4w-animate .d4w-motion-item.motion-left { transform: translate3d(-28px, 15px, 0) skewX(-1deg); }
  .d4w-animate .d4w-motion-item.motion-right { transform: translate3d(28px, 15px, 0) skewX(1deg); }
  .d4w-animate .d4w-motion-item.motion-scale { transform: translateY(30px) scale(0.97); }
  .d4w-animate .d4w-motion-item.motion-mask,
  .d4w-animate .d4w-motion-item.motion-up { transform: translateY(34px); }
}

@media (hover: none), (pointer: coarse) {
  .d4w-cursor,
  .d4w-cursor-dot { display: none !important; }
  .d4w-hover-card,
  .d4w-hover-card.is-tilting { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .d4w-preloader,
  .d4w-ambient-grain,
  .d4w-page-transition,
  .d4w-motion-meter { display: none; }
  .d4w-hero { background-attachment: scroll; }
  .d4w-hero__title .line-inner,
  .hero-reveal,
  .d4w-animate .reveal-up,
  .d4w-animate .reveal-text,
  .d4w-animate .d4w-motion-item,
  .d4w-animate .d4w-word__inner,
  .d4w-animate .d4w-hero-card,
  .d4w-animate .d4w-hero-card img,
  .d4w-animate .d4w-project-card .d4w-project-media,
  .d4w-animate .d4w-project-card .d4w-project-media img,
  .d4w-animate .d4w-post-card .d4w-post-card__media,
  .d4w-animate .d4w-post-card .d4w-post-card__media img,
  .d4w-animate .d4w-service-item > *,
  .d4w-animate .d4w-process-step > *,
  .d4w-animate .d4w-stats.reveal-up > div,
  .d4w-animate .d4w-tech-cloud.reveal-up > span,
  .d4w-animate .d4w-contact-form.reveal-up .row > [class*="col-"] { opacity: 1 !important; clip-path: none !important; transform: none !important; }
  .d4w-animate .d4w-image-curtain,
  .d4w-animate .d4w-image-curtain > img,
  .d4w-animate .d4w-page-title .d4w-word__inner { opacity: 1 !important; clip-path: none !important; transform: none !important; }
}

/* Version 3: products, pricing, reviews, social and portfolio refresh */
.d4w-home-products,
.d4w-product-archive,
.d4w-product-story,
.d4w-product-workflow,
.d4w-pricing-plans,
.d4w-map-section,
.d4w-social-feed,
.d4w-work-archive {
  background: var(--d4w-paper);
}

.d4w-home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--d4w-line);
  border-left: 1px solid var(--d4w-line);
}

.d4w-home-product {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr 34px;
  gap: 18px;
  min-height: 260px;
  padding: 30px;
  color: var(--d4w-ink);
  background: #fff;
  border-right: 1px solid var(--d4w-line);
  border-bottom: 1px solid var(--d4w-line);
  transition: color 0.4s ease, background 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-home-product::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--product-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-home-product:hover {
  z-index: 2;
  color: #fff;
  background: var(--d4w-dark);
  transform: translateY(-8px);
}

.d4w-home-product:hover::after { transform: scaleX(1); }

.d4w-home-product__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--product-accent);
  background: color-mix(in srgb, var(--product-accent) 12%, white);
  border-radius: 16px;
  font-size: 1.45rem;
  transition: transform 0.45s ease;
}

.d4w-home-product:hover .d4w-home-product__icon { transform: rotate(-8deg) scale(1.08); }

.d4w-home-product small {
  display: block;
  margin: 4px 0 22px;
  color: var(--product-accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.d4w-home-product h3 {
  margin: 0 0 13px;
  font-family: var(--d4w-display);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
}

.d4w-home-product p {
  margin: 0;
  color: var(--d4w-muted);
  font-size: 0.85rem;
  transition: color 0.35s;
}

.d4w-home-product:hover p { color: rgba(255, 255, 255, 0.58); }
.d4w-home-product > i { justify-self: end; font-size: 1.15rem; transition: transform 0.35s; }
.d4w-home-product:hover > i { transform: translate(4px, -4px) rotate(45deg); }

/* Product archive */
.d4w-product-hero,
.d4w-product-detail__hero,
.d4w-pricing-hero,
.d4w-work-hero {
  position: relative;
  padding: clamp(180px, 18vw, 280px) 0 clamp(90px, 10vw, 155px);
  overflow: hidden;
  color: #fff;
  background: #10131d;
}

.d4w-product-hero {
  background:
    radial-gradient(circle at 82% 28%, rgba(25, 184, 106, 0.2), transparent 27%),
    radial-gradient(circle at 15% 78%, rgba(124, 77, 255, 0.18), transparent 29%),
    #10131d;
}

.d4w-product-hero__orb {
  position: absolute;
  top: 14%;
  right: 5%;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.d4w-product-hero__orb::before,
.d4w-product-hero__orb::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: inherit;
}

.d4w-product-hero__orb::before { inset: 15%; }
.d4w-product-hero__orb::after { inset: 32%; }
.d4w-product-hero__orb span { position: absolute; width: 13px; height: 13px; background: #27d881; border-radius: 50%; box-shadow: 0 0 24px #27d881; }
.d4w-product-hero__orb span:nth-child(1) { top: 8%; left: 50%; }
.d4w-product-hero__orb span:nth-child(2) { right: 4%; bottom: 34%; }
.d4w-product-hero__orb span:nth-child(3) { bottom: 10%; left: 22%; }
.d4w-loops-enabled .d4w-product-hero__orb { animation: d4w-orbit-drift 13s linear infinite; }

.d4w-product-hero__stats,
.d4w-work-stats {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}

.d4w-product-hero__stats > div,
.d4w-work-stats > div {
  display: flex;
  min-width: 125px;
  padding-top: 14px;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.d4w-product-hero__stats strong,
.d4w-work-stats strong { font-family: var(--d4w-display); font-size: 2rem; line-height: 1; }
.d4w-product-hero__stats small,
.d4w-work-stats small { margin-top: 5px; color: rgba(255,255,255,.5); font-size: .65rem; text-transform: uppercase; }

.d4w-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.d4w-product-card {
  --product-accent: var(--d4w-primary);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.72fr);
  gap: 28px;
  min-height: 500px;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  color: var(--d4w-ink);
  background: #fff;
  border: 1px solid var(--d4w-line);
  border-radius: 30px;
  box-shadow: 0 24px 80px rgba(17, 21, 34, 0.05);
}

.d4w-product-card::before {
  position: absolute;
  right: -25%;
  bottom: -55%;
  width: 70%;
  aspect-ratio: 1;
  content: "";
  background: color-mix(in srgb, var(--product-accent) 14%, transparent);
  border-radius: 50%;
  filter: blur(2px);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.d4w-product-card:hover::before { transform: scale(1.35) translate(-8%, -8%); }
.d4w-product-card__link { position: absolute; inset: 0; z-index: 5; }
.d4w-product-card__top { position: absolute; top: 28px; right: 32px; left: 32px; z-index: 2; display: flex; align-items: center; }
.d4w-product-card__number { color: var(--d4w-muted); font-family: var(--d4w-display); font-size: 1rem; }
.d4w-product-card__icon { display: grid; width: 48px; height: 48px; margin-left: auto; place-items: center; color: var(--product-accent); background: color-mix(in srgb, var(--product-accent) 11%, white); border-radius: 50%; font-size: 1.2rem; }
.d4w-product-card__arrow { margin-left: 15px; font-size: 1.15rem; transition: transform .4s ease; }
.d4w-product-card:hover .d4w-product-card__arrow { transform: rotate(45deg); }

.d4w-product-card__visual {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 260px);
  aspect-ratio: 1;
  place-self: center;
  place-items: center;
  color: #fff;
  background: var(--product-accent);
  border-radius: 43% 57% 54% 46% / 49% 39% 61% 51%;
  font-size: clamp(3.5rem, 7vw, 7rem);
  box-shadow: 0 30px 70px color-mix(in srgb, var(--product-accent) 33%, transparent);
}

.d4w-loops-enabled .d4w-product-card__visual { animation: d4w-product-blob 7s ease-in-out infinite alternate; }
.d4w-product-pulse { position: absolute; inset: -17px; border: 1px solid color-mix(in srgb, var(--product-accent) 35%, transparent); border-radius: inherit; }
.d4w-loops-enabled .d4w-product-pulse { animation: d4w-product-pulse 2.4s ease-out infinite; }
.d4w-product-dot { position: absolute; width: 9px; height: 9px; background: var(--product-accent); border-radius: 50%; }
.d4w-product-dot:nth-last-child(3) { top: -6%; left: 24%; }
.d4w-product-dot:nth-last-child(2) { right: -8%; bottom: 28%; width: 14px; height: 14px; }
.d4w-product-dot:nth-last-child(1) { bottom: -8%; left: 30%; width: 6px; height: 6px; }

.d4w-product-card__copy { z-index: 2; align-self: end; }
.d4w-product-card__copy > p { margin: 0 0 16px; color: var(--product-accent); font-size: .68rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.d4w-product-card__copy h2 { max-width: 480px; margin: 0 0 18px; font-family: var(--d4w-display); font-size: clamp(3rem, 5vw, 5.8rem); font-weight: 700; line-height: .84; text-transform: uppercase; }
.d4w-product-card__copy > div { max-width: 480px; color: var(--d4w-muted); }
.d4w-product-card__copy ul { display: flex; gap: 7px; padding: 0; margin: 28px 0 0; flex-direction: column; list-style: none; }
.d4w-product-card__copy li { display: flex; gap: 9px; align-items: center; font-size: .78rem; font-weight: 600; }
.d4w-product-card__copy li i { color: var(--product-accent); }

.d4w-product-bridge { color: #fff; background: var(--d4w-paper); }
.d4w-product-bridge__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 50px; align-items: end; padding: clamp(42px, 7vw, 90px); overflow: hidden; background: #10131d; border-radius: 32px; }
.d4w-product-bridge__inner::after { position: absolute; right: -10%; bottom: -80%; width: 50%; aspect-ratio: 1; content: ""; background: var(--d4w-gradient); border-radius: 50%; filter: blur(70px); opacity: .28; }
.d4w-product-bridge__actions { position: relative; z-index: 2; display: flex; gap: 24px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }

/* Product detail */
.d4w-product-detail { --product-accent: var(--d4w-primary); }
.d4w-product-detail__hero { background: radial-gradient(circle at 82% 44%, color-mix(in srgb, var(--product-accent) 25%, transparent), transparent 32%), #10131d; }
.d4w-product-detail__lead { max-width: 760px; margin: 32px 0; color: rgba(255,255,255,.66); font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.d4w-product-device { position: relative; width: min(100%, 440px); min-height: 510px; padding: 22px; margin-left: auto; overflow: hidden; color: var(--d4w-ink); background: #f8faf9; border: 10px solid rgba(255,255,255,.15); border-radius: 42px; box-shadow: 0 45px 110px rgba(0,0,0,.32); transform: rotate(3deg); }
.d4w-product-device::after { position: absolute; right: -20%; bottom: -16%; width: 65%; aspect-ratio: 1; content: ""; background: color-mix(in srgb, var(--product-accent) 15%, white); border-radius: 50%; }
.d4w-product-device__bar { display: flex; gap: 5px; margin-bottom: 42px; }
.d4w-product-device__bar span { width: 6px; height: 6px; background: #c4c9c6; border-radius: 50%; }
.d4w-product-device__brand { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; padding: 18px; background: #fff; border-radius: 20px; box-shadow: 0 14px 40px rgba(13,31,22,.07); }
.d4w-product-device__brand > i { display: grid; width: 52px; height: 52px; place-items: center; color: #fff; background: var(--product-accent); border-radius: 16px; font-size: 1.35rem; }
.d4w-product-device__brand strong,
.d4w-product-device__brand small { display: block; }
.d4w-product-device__brand small { margin-top: 2px; color: var(--d4w-muted); font-size: .68rem; }
.d4w-product-device__message { position: relative; z-index: 1; width: 82%; padding: 18px; margin-top: 22px; background: #fff; border-radius: 6px 18px 18px 18px; box-shadow: 0 12px 35px rgba(13,31,22,.06); }
.d4w-product-device__message--reply { width: 67%; margin-left: auto; background: color-mix(in srgb, var(--product-accent) 15%, white); border-radius: 18px 6px 18px 18px; }
.d4w-product-device__message span { display: block; width: 90%; height: 7px; margin: 7px 0; background: #dce1de; border-radius: 6px; }
.d4w-product-device__message span:nth-child(2) { width: 68%; }
.d4w-product-device__message span:nth-child(3) { width: 44%; }
.d4w-product-device__action { position: absolute; right: 24px; bottom: 24px; z-index: 2; display: flex; gap: 9px; align-items: center; padding: 12px 15px; color: #fff; background: #10131d; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.d4w-loops-enabled .d4w-product-device__message { animation: d4w-message-float 4s ease-in-out infinite alternate; }
.d4w-loops-enabled .d4w-product-device__message--reply { animation-delay: -2s; }

.d4w-product-ticker { overflow: hidden; color: #fff; background: var(--product-accent); }
.d4w-product-ticker__track { display: flex; width: max-content; }
.d4w-loops-enabled .d4w-product-ticker__track { animation: d4w-marquee 32s linear infinite; }
.d4w-product-ticker__track > div { display: flex; flex-shrink: 0; }
.d4w-product-ticker span { display: inline-flex; gap: 22px; align-items: center; padding: 18px 28px; font-family: var(--d4w-display); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; }

.d4w-product-story__icon { display: grid; width: min(78%, 360px); aspect-ratio: 1; place-items: center; color: #fff; background: var(--product-accent); border-radius: 50%; font-size: clamp(5rem, 10vw, 10rem); box-shadow: 0 40px 90px color-mix(in srgb, var(--product-accent) 25%, transparent); }
.d4w-product-note { display: flex; gap: 14px; padding: 22px; margin-top: 45px; color: #4e5560; background: color-mix(in srgb, var(--product-accent) 8%, white); border: 1px solid color-mix(in srgb, var(--product-accent) 20%, white); border-radius: 16px; }
.d4w-product-note i { flex: 0 0 auto; color: var(--product-accent); font-size: 1.2rem; }
.d4w-product-note p { margin: 0; font-size: .85rem; }

.d4w-product-benefits { color: #fff; background: #10131d; }
.d4w-product-benefit { position: relative; display: flex; min-height: 245px; padding: 28px; overflow: hidden; flex-direction: column; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; }
.d4w-product-benefit > span { color: rgba(255,255,255,.35); font-family: var(--d4w-display); }
.d4w-product-benefit > i { position: absolute; top: 27px; right: 27px; color: var(--product-accent); font-size: 1.5rem; }
.d4w-product-benefit h3 { max-width: 330px; margin: auto 0 0; font-family: var(--d4w-display); font-size: clamp(2rem, 3.2vw, 3.5rem); font-weight: 700; line-height: .95; text-transform: uppercase; }
.d4w-product-benefit::after { position: absolute; right: -60px; bottom: -60px; width: 150px; height: 150px; content: ""; background: var(--product-accent); border-radius: 50%; filter: blur(35px); opacity: .11; transition: transform .55s; }
.d4w-product-benefit:hover::after { transform: scale(1.65); }

.d4w-product-steps { border-top: 1px solid var(--d4w-line); }
.d4w-product-step { position: relative; display: grid; grid-template-columns: 60px 1fr 45px; gap: 24px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--d4w-line); }
.d4w-product-step > span { color: var(--product-accent); font-family: var(--d4w-display); font-size: 1.15rem; }
.d4w-product-step h3 { margin: 0 0 6px; font-family: var(--d4w-display); font-size: clamp(2.2rem, 4vw, 4.4rem); font-weight: 700; line-height: .9; text-transform: uppercase; }
.d4w-product-step p { max-width: 620px; margin: 0; color: var(--d4w-muted); }
.d4w-product-step > i { display: grid; width: 42px; height: 42px; place-items: center; color: var(--product-accent); border: 1px solid var(--d4w-line); border-radius: 50%; transition: transform .4s ease; }
.d4w-product-step:hover > i { transform: rotate(45deg); }

/* Homepage case studies */
.d4w-home-cases { color: #fff; background: #10131d; }
.d4w-case-strip { border-top: 1px solid rgba(255,255,255,.14); }
.d4w-home-case { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 95px); align-items: center; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.d4w-home-case__media { position: relative; display: block; height: auto; aspect-ratio: 16 / 9; overflow: hidden; background: #171b18; border-radius: 18px; }
.d4w-home-case__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; transform: scale(.985); transition: transform .8s cubic-bezier(.16,1,.3,1), filter .45s ease; }
.d4w-home-case:hover .d4w-home-case__media img { filter: saturate(1.06) contrast(1.03); transform: scale(1); }
.d4w-home-case__media > span { position: absolute; top: 18px; left: 18px; z-index: 2; display: grid; width: 46px; height: 46px; place-items: center; color: var(--d4w-ink); background: #fff; border-radius: 50%; font-family: var(--d4w-display); }
.d4w-home-case__copy > p { margin: 0 0 12px; color: var(--d4w-accent); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.d4w-home-case__copy h3 { margin: 0 0 18px; font-family: var(--d4w-display); font-size: clamp(3rem, 6vw, 6.4rem); font-weight: 700; line-height: .82; text-transform: uppercase; }
.d4w-home-case__copy h3 a { color: #fff; }
.d4w-home-case__copy > div { max-width: 660px; margin-bottom: 23px; color: rgba(255,255,255,.55); }

/* Review enhancements */
.d4w-testimonials { position: relative; overflow: hidden; }
.d4w-testimonials::before { position: absolute; top: -230px; right: -180px; width: 520px; height: 520px; content: ""; background: radial-gradient(circle, rgba(255,62,181,.13), transparent 68%); pointer-events: none; }
.d4w-review-proof { position: relative; max-width: 440px; margin-inline: auto; }
.d4w-review-heading { display: flex; gap: 25px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.d4w-review-heading h2 { max-width: 650px; margin: 0; font-family: var(--d4w-display); font-size: clamp(2.7rem, 4.5vw, 4.9rem); font-weight: 700; line-height: .88; text-transform: uppercase; }
.d4w-review-heading > a { display: inline-flex; gap: 9px; align-items: center; flex: 0 0 auto; min-height: 44px; padding: 10px 16px; color: var(--d4w-ink); background: #fff; border: 1px solid var(--d4w-line); border-radius: 999px; font-size: .75rem; font-weight: 700; box-shadow: 0 12px 35px rgba(36,25,14,.08); transition: color .3s, border-color .3s, transform .3s; }
.d4w-review-heading > a:hover { color: var(--d4w-primary); border-color: rgba(124,77,255,.4); transform: translateY(-3px); }
.d4w-google-g { font-family: Arial, sans-serif; font-size: 1.3rem; font-weight: 700; background: conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 45%,#fbbc05 0 67%,#ea4335 0 82%,#4285f4 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d4w-google-review-summary { position: absolute; bottom: -28px; left: -12px; z-index: 3; display: flex; gap: 12px; align-items: center; min-width: 190px; padding: 15px 18px; color: var(--d4w-ink); background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.8); border-radius: 16px; box-shadow: 0 20px 60px rgba(45,29,15,.18); backdrop-filter: blur(12px); }
.d4w-google-review-summary[hidden] { display: none; }
.d4w-google-review-summary .d4w-google-g { font-size: 2rem; }
.d4w-google-review-summary strong,
.d4w-google-review-summary span { display: block; }
.d4w-google-review-summary strong { font-family: var(--d4w-display); font-size: 1.8rem; line-height: .8; }
.d4w-google-review-summary div > span { margin-top: 6px; color: var(--d4w-muted); font-size: .68rem; }
.d4w-slider-controls { align-items: center; }
.d4w-slider-count { min-width: 62px; color: var(--d4w-muted); font-family: var(--d4w-display); font-size: .85rem; letter-spacing: .08em; text-align: center; }
.d4w-slider-count b { color: var(--d4w-ink); font-size: 1.1rem; }
.d4w-slider-controls button:disabled { cursor: default; opacity: .35; transform: none; }
.d4w-testimonial-track { display: grid; grid-auto-columns: calc((100% - 18px) / 2); grid-auto-flow: column; gap: 18px; min-height: 0; padding: 6px 4px 22px; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.d4w-testimonial-track::-webkit-scrollbar { display: none; }
.d4w-testimonial-slide,
.d4w-testimonial-slide.is-active,
.d4w-testimonial-slide.is-leaving { position: relative; inset: auto; display: flex; min-width: 0; min-height: 390px; padding: 28px; flex-direction: column; visibility: visible; opacity: 1; color: var(--d4w-ink); background: rgba(255,255,255,.86); border: 1px solid rgba(23,24,34,.1); border-radius: 22px; box-shadow: 0 18px 55px rgba(66,46,25,.09); scroll-snap-align: start; transform: none; transition: border-color .35s, box-shadow .35s, transform .35s; }
.d4w-testimonial-slide::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(135deg, rgba(124,77,255,.07), transparent 42%, rgba(255,62,181,.06)); border-radius: inherit; opacity: 0; transition: opacity .35s; }
.d4w-testimonial-slide:hover { border-color: rgba(124,77,255,.28); box-shadow: 0 28px 70px rgba(66,46,25,.14); transform: translateY(-5px); }
.d4w-testimonial-slide:hover::after { opacity: 1; }
.d4w-review-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.d4w-review-card__top > i { color: rgba(124,77,255,.18); font-size: 2.5rem; line-height: 1; }
.d4w-testimonial-slide .d4w-stars { gap: 4px; margin: 0; font-size: .82rem; }
.d4w-testimonial-slide blockquote { max-width: none; margin: 0 0 30px; flex: 1 1 auto; overflow: visible; font-family: var(--d4w-body); font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 500; line-height: 1.55; letter-spacing: -.015em; overflow-wrap: anywhere; }
.d4w-testimonial-author { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(23,24,34,.1); }
.d4w-testimonial-author > a:first-child { display: flex; gap: 12px; align-items: center; min-width: 0; margin: 0; color: inherit; }
.d4w-testimonial-author img { flex: 0 0 auto; object-fit: cover; background: #f0ebff; }
.d4w-testimonial-author > div { min-width: 0; }
.d4w-testimonial-author strong { overflow: hidden; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.d4w-testimonial-author span { font-size: .72rem; }
.d4w-testimonial-author small,
.d4w-testimonial-author a { display: flex; gap: 5px; align-items: center; width: fit-content; margin-top: 4px; color: var(--d4w-primary); font-size: .68rem; font-weight: 700; }
.d4w-google-review-card .d4w-testimonial-author { align-items: flex-start; justify-content: space-between; gap: 12px; }
.d4w-google-review-card .d4w-testimonial-author > a:last-child { flex: 0 0 auto; margin-top: 3px; }
.d4w-google-review-card .d4w-testimonial-avatar { flex: 0 0 auto; }
.d4w-review-source-link { white-space: nowrap; }
.d4w-google-review-notice { margin: 7px 4px 0; color: #746b63; font-size: .68rem; line-height: 1.55; }
.d4w-google-review-notice[hidden] { display: none; }
.d4w-google-review-notice > span:first-child { color: var(--d4w-ink); font-weight: 700; white-space: nowrap; }
.d4w-google-review-notice a { color: var(--d4w-primary); text-decoration: underline; text-underline-offset: 2px; }
.d4w-google-review-notice [data-google-attributions]:not(:empty)::before { content: " · "; }

/* Social feed */
.d4w-social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.d4w-social-card { position: relative; display: block; min-height: 470px; overflow: hidden; color: #fff; background: #222; border-radius: 20px; }
.d4w-social-card:nth-child(3n + 2) { transform: translateY(28px); }
.d4w-social-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .85s cubic-bezier(.16,1,.3,1), filter .5s; }
.d4w-social-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 25%, rgba(8,10,16,.84)); }
.d4w-social-card:hover img { filter: saturate(1.15); transform: scale(1.075); }
.d4w-social-card__overlay { position: absolute; right: 25px; bottom: 25px; left: 25px; z-index: 2; display: flex; flex-direction: column; }
.d4w-social-card__overlay > span { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; color: rgba(255,255,255,.67); font-size: .72rem; }
.d4w-social-card__overlay strong { font-family: var(--d4w-display); font-size: clamp(2rem, 3vw, 3.4rem); line-height: .9; text-transform: uppercase; }
.d4w-social-card__overlay small { max-height: 0; margin-top: 0; overflow: hidden; color: rgba(255,255,255,.58); opacity: 0; transition: max-height .45s ease, margin .45s ease, opacity .45s; }
.d4w-social-card:hover .d4w-social-card__overlay small { max-height: 65px; margin-top: 12px; opacity: 1; }

/* Work archive redesign */
.d4w-work-hero { background: radial-gradient(circle at 84% 75%, rgba(255,62,181,.2), transparent 26%), #10131d; }
.d4w-work-hero__word { position: absolute; right: -1vw; bottom: -5vw; color: rgba(255,255,255,.025); font-family: var(--d4w-display); font-size: min(33vw, 520px); font-weight: 900; line-height: .72; }
.d4w-work-card { margin-bottom: 45px; }
.d4w-work-card__media { position: relative; display: block; height: 410px; overflow: hidden; background: #ddd; border-radius: 22px; }
.d4w-work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1), filter .45s; }
.d4w-work-card:hover .d4w-work-card__media img { filter: saturate(1.12); transform: scale(1.06); }
.d4w-work-card__index { position: absolute; top: 18px; left: 18px; z-index: 2; display: grid; width: 44px; height: 44px; place-items: center; color: var(--d4w-ink); background: #fff; border-radius: 50%; font-family: var(--d4w-display); }
.d4w-work-card__open { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: grid; width: 62px; height: 62px; place-items: center; color: #fff; background: var(--d4w-gradient); border-radius: 50%; opacity: 0; transform: translateY(16px) scale(.75); transition: opacity .4s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.d4w-work-card:hover .d4w-work-card__open { opacity: 1; transform: none; }
.d4w-work-card__copy { display: flex; gap: 25px; justify-content: space-between; padding-top: 20px; }
.d4w-work-card__copy p { margin: 0 0 7px; color: var(--d4w-primary); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.d4w-work-card__copy h2 { margin: 0; font-family: var(--d4w-display); font-size: clamp(2.5rem, 4.2vw, 4.8rem); font-weight: 700; line-height: .88; text-transform: uppercase; }
.d4w-work-card__copy h2 a { color: var(--d4w-ink); }
.d4w-work-card__copy > div > div { max-width: 720px; margin-top: 18px; color: var(--d4w-muted); }
.d4w-work-card__copy aside { display: flex; max-width: 170px; flex: 0 0 auto; flex-direction: column; text-align: right; }
.d4w-work-card__copy aside strong { font-family: var(--d4w-display); font-size: 1.25rem; }
.d4w-work-card__copy aside small { margin-top: 8px; color: var(--d4w-muted); font-size: .65rem; }
.d4w-work-card--featured { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(330px, .6fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(20px, 3vw, 38px); margin-bottom: 70px; background: #fff; border: 1px solid var(--d4w-line); border-radius: 30px; box-shadow: 0 24px 80px rgba(17,21,34,.06); }
.d4w-work-card--featured .d4w-work-card__media { height: min(54vw, 690px); }
.d4w-work-card--featured .d4w-work-card__copy { display: block; padding: 0; }
.d4w-work-card--featured .d4w-work-card__copy h2 { font-size: clamp(4rem, 7vw, 8.4rem); }
.d4w-work-card--featured .d4w-work-card__copy aside { max-width: none; margin-top: 35px; text-align: left; }

/* Pricing */
.d4w-pricing-hero { min-height: 720px; background: radial-gradient(circle at 50% 120%, rgba(124,77,255,.5), transparent 45%), #10131d; }
.d4w-pricing-hero .d4w-page-title { max-width: 1200px; margin-inline: auto; }
.d4w-pricing-hero__lead { max-width: 760px; margin: 35px auto 0; color: rgba(255,255,255,.6); font-size: 1.05rem; }
.d4w-pricing-hero__rings { position: absolute; top: 50%; left: 50%; width: min(80vw, 1050px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; transform: translate(-50%,-34%); }
.d4w-pricing-hero__rings::before,
.d4w-pricing-hero__rings::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.065); border-radius: 50%; }
.d4w-pricing-hero__rings::before { inset: 14%; }
.d4w-pricing-hero__rings::after { inset: 31%; }
.d4w-pricing-hero__rings span { position: absolute; width: 11px; height: 11px; background: var(--d4w-accent); border-radius: 50%; box-shadow: 0 0 24px var(--d4w-accent); }
.d4w-pricing-hero__rings span:nth-child(1) { top: 20%; left: 9%; }
.d4w-pricing-hero__rings span:nth-child(2) { top: 4%; right: 32%; }
.d4w-pricing-hero__rings span:nth-child(3) { right: 5%; bottom: 35%; }
.d4w-loops-enabled .d4w-pricing-hero__rings { animation: d4w-orbit-drift 24s linear infinite reverse; }
.d4w-pricing-toggle { position: relative; z-index: 2; display: inline-flex; padding: 5px; margin-top: 42px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; }
.d4w-pricing-toggle button { position: relative; z-index: 2; min-height: 45px; padding: 0 20px; color: rgba(255,255,255,.62); background: transparent; border: 0; border-radius: 999px; font-size: .75rem; font-weight: 700; transition: color .3s; }
.d4w-pricing-toggle button.is-active { color: var(--d4w-ink); background: #fff; }

.d4w-price-card { position: relative; display: flex; min-height: 650px; padding: clamp(28px, 3vw, 42px); overflow: hidden; flex-direction: column; background: #fff; border: 1px solid var(--d4w-line); border-radius: 28px; box-shadow: 0 24px 80px rgba(17,21,34,.05); }
.d4w-price-card.is-featured { color: #fff; background: #10131d; border-color: #10131d; transform: translateY(-18px); }
.d4w-price-card.is-featured::after { position: absolute; right: -35%; bottom: -20%; width: 80%; aspect-ratio: 1; content: ""; background: var(--d4w-gradient); border-radius: 50%; filter: blur(75px); opacity: .2; }
.d4w-price-card__badge { position: absolute; top: 20px; right: 20px; z-index: 2; display: inline-flex; gap: 7px; align-items: center; padding: 7px 11px; color: #fff; background: var(--d4w-primary); border-radius: 999px; font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.d4w-price-card__head { position: relative; z-index: 2; }
.d4w-price-card__head > span { color: var(--d4w-primary); font-family: var(--d4w-display); }
.d4w-price-card__head h2 { margin: 35px 0 15px; font-family: var(--d4w-display); font-size: clamp(3.4rem, 5vw, 5.7rem); font-weight: 700; line-height: .86; text-transform: uppercase; }
.d4w-price-card__head > div { min-height: 78px; color: var(--d4w-muted); }
.d4w-price-card.is-featured .d4w-price-card__head > div { color: rgba(255,255,255,.55); }
.d4w-price-card__price { position: relative; z-index: 2; min-height: 105px; padding: 25px 0 20px; margin: 24px 0; border-top: 1px solid var(--d4w-line); border-bottom: 1px solid var(--d4w-line); transition: opacity .18s ease, transform .18s ease; }
.d4w-price-card.is-featured .d4w-price-card__price { border-color: rgba(255,255,255,.14); }
.d4w-price-card__price.is-changing { opacity: 0; transform: translateY(8px); }
.d4w-price-card__price strong { display: block; font-family: var(--d4w-display); font-size: clamp(2.5rem, 4vw, 4.4rem); line-height: .9; }
.d4w-price-card__price small { display: block; margin-top: 8px; color: var(--d4w-muted); font-size: .7rem; text-transform: uppercase; }
.d4w-price-card.is-featured .d4w-price-card__price small { color: rgba(255,255,255,.48); }
.d4w-price-card ul { position: relative; z-index: 2; display: flex; gap: 10px; padding: 0; margin: 0 0 35px; flex-direction: column; list-style: none; }
.d4w-price-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--d4w-muted); font-size: .84rem; }
.d4w-price-card.is-featured li { color: rgba(255,255,255,.68); }
.d4w-price-card li i { color: var(--d4w-primary); }
.d4w-price-card .d4w-btn { position: relative; z-index: 3; width: 100%; margin-top: auto; }
.d4w-pricing-disclaimer { display: flex; gap: 11px; align-items: flex-start; max-width: 940px; margin: 46px auto 0; color: var(--d4w-muted); font-size: .78rem; text-align: center; }
.d4w-pricing-disclaimer i { color: var(--d4w-primary); }

.d4w-pricing-includes { color: #fff; background: #10131d; }
.d4w-pricing-includes__grid { border-top: 1px solid rgba(255,255,255,.14); }
.d4w-pricing-includes__grid article { display: grid; grid-template-columns: 48px 1fr 40px; gap: 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.d4w-pricing-includes__grid span { color: var(--d4w-accent); font-family: var(--d4w-display); }
.d4w-pricing-includes__grid h3 { margin: 0; font-family: var(--d4w-display); font-size: clamp(1.8rem, 3.2vw, 3.5rem); font-weight: 700; text-transform: uppercase; }
.d4w-pricing-includes__grid i { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }

/* Reliable map */
.d4w-map-frame { position: relative; min-height: 600px; overflow: hidden; background: #dcdedb; border-radius: 28px; }
.d4w-map-frame iframe { display: block; width: 100%; height: 600px; border: 0; filter: grayscale(.22) contrast(.95); }
.d4w-map-address { position: absolute; right: 24px; bottom: 24px; z-index: 2; display: flex; gap: 13px; align-items: flex-start; max-width: 390px; padding: 20px 22px; color: #fff; background: rgba(16,19,29,.9); border-radius: 16px; box-shadow: 0 20px 55px rgba(0,0,0,.24); backdrop-filter: blur(14px); }
.d4w-map-address i { color: var(--d4w-accent); font-size: 1.2rem; }
.d4w-map-address p { margin: 0; font-size: .78rem; }

/* Product dropdown inside the mobile navigation */
.d4w-mobile-nav .menu-item-has-children > a { display: flex; align-items: center; justify-content: space-between; }
.d4w-mobile-nav .menu-item-has-children > a::after { content: "+"; color: var(--d4w-accent); font-size: 1.4rem; }
.d4w-mobile-nav .menu-item-has-children.is-submenu-open > a::after { content: "−"; }
.d4w-mobile-nav .sub-menu a:has(.d4w-product-menu-copy) { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: center; padding: 9px 0; }
.d4w-mobile-nav .d4w-product-menu-icon { width: 32px; height: 32px; font-size: .85rem; }
.d4w-mobile-nav .d4w-product-menu-copy strong { color: #fff; }
.d4w-mobile-nav .d4w-product-menu-copy small { color: rgba(255,255,255,.45); }

@keyframes d4w-orbit-drift {
  to { transform: rotate(360deg); }
}

@keyframes d4w-product-blob {
  to { border-radius: 61% 39% 37% 63% / 43% 63% 37% 57%; transform: rotate(4deg) scale(1.035); }
}

@keyframes d4w-product-pulse {
  0% { opacity: .75; transform: scale(.96); }
  75%, 100% { opacity: 0; transform: scale(1.2); }
}

@keyframes d4w-message-float {
  to { transform: translateY(-9px); }
}

@media (max-width: 1199.98px) {
  .d4w-home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d4w-product-card { grid-template-columns: 1fr; }
  .d4w-product-card__visual { grid-column: 1; grid-row: auto; width: 190px; margin: 75px auto 10px; }
  .d4w-product-card__copy { align-self: auto; }
  .d4w-work-card--featured { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); }
  .d4w-price-card { min-height: 690px; }
}

@media (max-width: 991.98px) {
  .admin-bar .site-header { top: 32px; }
  .d4w-product-grid { grid-template-columns: 1fr; }
  .d4w-product-card { grid-template-columns: minmax(0, 1fr) minmax(200px, .7fr); }
  .d4w-product-card__visual { grid-column: 2; grid-row: 1; width: min(100%, 230px); margin: 60px 0 0; }
  .d4w-product-device { margin: 35px auto 0; }
  .d4w-home-case { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); }
  .d4w-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d4w-social-card:nth-child(3n + 2) { transform: none; }
  .d4w-social-card:nth-child(even) { transform: translateY(20px); }
  .d4w-work-card--featured { grid-template-columns: 1fr; }
  .d4w-work-card--featured .d4w-work-card__media { height: 620px; }
  .d4w-price-card.is-featured { transform: none; }
  .d4w-product-bridge__inner { grid-template-columns: 1fr; }
  .d4w-product-bridge__actions { justify-content: flex-start; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 767.98px) {
  .d4w-product-hero,
  .d4w-product-detail__hero,
  .d4w-pricing-hero,
  .d4w-work-hero { padding-top: 145px; padding-bottom: 78px; }
  .d4w-product-hero__orb { top: 37%; right: -34%; width: 78vw; opacity: .55; }
  .d4w-product-hero__stats,
  .d4w-work-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .d4w-product-hero__stats > div,
  .d4w-work-stats > div { min-width: 0; }
  .d4w-product-hero__stats strong,
  .d4w-work-stats strong { font-size: 1.6rem; }
  .d4w-home-product-grid { grid-template-columns: 1fr; }
  .d4w-home-product { grid-template-columns: 48px 1fr 26px; min-height: 225px; padding: 23px 20px; }
  .d4w-home-product__icon { width: 48px; height: 48px; }
  .d4w-product-card { display: flex; min-height: 590px; padding: 25px; flex-direction: column; border-radius: 22px; }
  .d4w-product-card__top { top: 22px; right: 23px; left: 23px; }
  .d4w-product-card__visual { order: 1; width: 180px; margin: 78px auto 18px; }
  .d4w-product-card__copy { order: 2; }
  .d4w-product-card__copy h2 { font-size: 3.7rem; }
  .d4w-product-card__copy ul { margin-top: 20px; }
  .d4w-product-device { min-height: 430px; padding: 17px; border-width: 7px; border-radius: 31px; transform: rotate(1deg); }
  .d4w-product-device__bar { margin-bottom: 25px; }
  .d4w-product-device__message { margin-top: 16px; }
  .d4w-product-story__icon { width: 190px; margin: 35px 0; font-size: 5.8rem; }
  .d4w-product-ticker span { gap: 14px; padding: 14px 20px; font-size: 1rem; }
  .d4w-product-step { grid-template-columns: 40px 1fr 38px; gap: 11px; }
  .d4w-product-step h3 { font-size: 2.4rem; }
  .d4w-home-case { display: block; padding: 28px 0; }
  .d4w-home-case__media { height: auto; aspect-ratio: 16 / 9; margin-bottom: 28px; }
  .d4w-review-heading { display: block; }
  .d4w-review-heading > a { margin-top: 20px; }
  .d4w-social-grid { grid-template-columns: 1fr; }
  .d4w-social-card,
  .d4w-social-card:nth-child(even) { min-height: 410px; transform: none; }
  .d4w-work-card__media { height: 360px; }
  .d4w-work-card--featured { display: block; padding: 14px; margin-bottom: 45px; border-radius: 22px; }
  .d4w-work-card--featured .d4w-work-card__media { height: 430px; }
  .d4w-work-card--featured .d4w-work-card__copy { padding: 22px 8px 10px; }
  .d4w-work-card__copy h2,
  .d4w-work-card--featured .d4w-work-card__copy h2 { font-size: 3rem; }
  .d4w-work-card__copy aside { max-width: 105px; }
  .d4w-pricing-hero { min-height: auto; }
  .d4w-pricing-hero__rings { width: 145vw; }
  .d4w-pricing-toggle button { padding: 0 13px; font-size: .66rem; }
  .d4w-price-card { min-height: 610px; padding: 28px 22px; }
  .d4w-price-card__head h2 { font-size: 4rem; }
  .d4w-pricing-disclaimer { text-align: left; }
  .d4w-pricing-includes__grid article { grid-template-columns: 34px 1fr 34px; gap: 10px; }
  .d4w-map-frame { min-height: 480px; border-radius: 20px; }
  .d4w-map-frame iframe { height: 480px; }
  .d4w-map-address { right: 12px; bottom: 12px; left: 12px; max-width: none; }
  .d4w-product-bridge__inner { padding: 35px 22px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .d4w-product-hero__orb,
  .d4w-pricing-hero__rings,
  .d4w-product-card__visual,
  .d4w-product-pulse,
  .d4w-product-device__message,
  .d4w-product-ticker__track { animation: none !important; }
}

/* Keep off-canvas motion and decorative artwork from widening the document. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body { overflow-x: clip; }
}

.d4w-pricing-includes { overflow: hidden; }
.d4w-pricing-includes__grid,
.d4w-pricing-includes__grid article,
.d4w-pricing-includes__grid article > * { min-width: 0; }

@media (max-width: 767.98px) {
  .d4w-work-card__copy { display: block; }
  .d4w-work-card__copy aside {
    max-width: none;
    margin-top: 18px;
    text-align: left;
  }
  .d4w-pricing-includes__grid article {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    overflow: hidden;
  }
}

/* v3.1 editorial work archive */
.d4w-work-archive {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.96%, rgba(17, 21, 34, 0.045) 50%, transparent 50.04%),
    #f4f2ed;
}

.d4w-work-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  gap: clamp(45px, 8vw, 130px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 100px);
}

.d4w-work-intro h2 {
  max-width: 920px;
  margin-top: 30px;
}

.d4w-work-intro__note {
  max-width: 510px;
  padding-left: 24px;
  margin: 0 0 8px;
  color: var(--d4w-muted);
  border-left: 2px solid var(--d4w-accent);
}

.d4w-work-archive .d4w-project-filters {
  position: relative;
  z-index: 8;
  gap: 8px;
  padding: 12px;
  margin-bottom: clamp(45px, 6vw, 84px);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(17, 21, 34, .09);
  border-radius: 999px;
  box-shadow: 0 16px 50px rgba(17, 21, 34, .07);
  backdrop-filter: blur(18px);
}

.d4w-work-archive .d4w-project-filters button,
.d4w-work-archive .d4w-project-filters > a,
.d4w-work-archive .d4w-project-filters > span {
  min-height: 47px;
  background: transparent;
  border-color: transparent;
}

.d4w-work-archive .d4w-project-filters button:hover,
.d4w-work-archive .d4w-project-filters button.is-active,
.d4w-work-archive .d4w-project-filters > a:hover,
.d4w-work-archive .d4w-project-filters > span.is-active {
  background: #10131d;
  box-shadow: 0 10px 25px rgba(17, 21, 34, .16);
}

.d4w-work-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(55px, 7vw, 105px) clamp(20px, 3.2vw, 50px);
  align-items: start;
}

.d4w-work-tile {
  min-width: 0;
  transition: opacity .35s ease, transform .55s cubic-bezier(.16, 1, .3, 1);
}

.d4w-work-tile:nth-child(odd):not(.d4w-work-tile--lead) { margin-top: 90px; }
.d4w-work-tile--lead { grid-column: 1 / -1; margin: 0 0 clamp(15px, 3vw, 45px); }
.d4w-work-tile.is-filtered-out,
.d4w-work-tile.is-load-hidden { display: none; }

.d4w-work-gallery .d4w-work-card {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.d4w-work-gallery .d4w-work-card:not(.d4w-work-card--featured) {
  padding: 12px;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(17, 21, 34, .09);
  border-radius: 30px;
  box-shadow: 0 20px 65px rgba(17, 21, 34, .055);
  backdrop-filter: blur(12px);
}

.d4w-work-gallery .d4w-card-glow {
  z-index: -1;
  opacity: .45;
}

.d4w-work-gallery .d4w-work-card__media {
  height: auto;
  aspect-ratio: 16 / 11;
  border-radius: 22px;
  transform: translateZ(0);
}

.d4w-work-tile--portrait .d4w-work-card__media { aspect-ratio: 4 / 4.35; }

.d4w-work-gallery .d4w-work-card__media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(7, 9, 15, .28));
  opacity: .7;
  transition: opacity .4s ease;
}

.d4w-work-gallery .d4w-work-card:hover .d4w-work-card__media::after { opacity: .25; }

.d4w-work-gallery .d4w-work-card__index {
  top: 20px;
  left: 20px;
  z-index: 3;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
}

.d4w-work-gallery .d4w-work-card__open {
  right: 22px;
  bottom: 22px;
  z-index: 3;
  width: 70px;
  height: 70px;
}

.d4w-work-gallery .d4w-work-card__copy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(125px, .26fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: end;
  min-width: 0;
  padding: 30px 16px 20px;
  overflow: hidden;
}

.d4w-work-card__main,
.d4w-work-card__main > * { position: relative; z-index: 2; min-width: 0; }

.d4w-work-gallery .d4w-work-card__copy p {
  margin-bottom: 12px;
  color: var(--d4w-primary);
}

.d4w-work-gallery .d4w-work-card__copy h2 {
  max-width: 690px;
  font-size: clamp(3.25rem, 5.4vw, 6.2rem);
  line-height: .82;
}

.d4w-work-gallery .d4w-work-card__copy h2 a {
  display: inline;
  color: var(--d4w-ink);
  background: linear-gradient(currentColor, currentColor) 100% 100% / 0 2px no-repeat;
  transition: color .3s ease, background-size .45s cubic-bezier(.16, 1, .3, 1), background-position 0s .45s;
}

.d4w-work-gallery .d4w-work-card:hover h2 a {
  color: var(--d4w-primary);
  background-position: 0 100%;
  background-size: 100% 2px;
}

.d4w-work-gallery .d4w-work-card__copy aside {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: none;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
}

.d4w-work-gallery .d4w-work-card__copy aside strong {
  color: var(--d4w-ink);
  font-size: 1.6rem;
}

.d4w-work-gallery .d4w-work-card__copy aside small {
  display: -webkit-box;
  max-width: 180px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.d4w-work-gallery .d4w-work-card__copy aside a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 18px;
  color: var(--d4w-ink);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.d4w-work-gallery .d4w-work-card__copy aside a i { transition: transform .3s ease; }
.d4w-work-gallery .d4w-work-card__copy aside a:hover i { transform: translate(3px, -3px); }

.d4w-work-card__ghost {
  position: absolute;
  right: 6px;
  bottom: -25px;
  z-index: 0;
  color: transparent;
  font-family: var(--d4w-display);
  font-size: clamp(8rem, 13vw, 14rem);
  font-weight: 900;
  line-height: .7;
  -webkit-text-stroke: 1px rgba(17, 21, 34, .08);
}

.d4w-work-gallery .d4w-work-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, .65fr);
  gap: clamp(30px, 5vw, 80px);
  padding: clamp(18px, 2.2vw, 34px);
  color: #fff;
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 62, 181, .18), transparent 31%),
    #10131d;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 38px;
  box-shadow: 0 35px 100px rgba(17, 21, 34, .16);
}

.d4w-work-gallery .d4w-work-card--featured .d4w-work-card__media {
  height: auto;
  min-height: 630px;
  aspect-ratio: 1.2 / 1;
}

.d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy {
  display: flex;
  min-width: 0;
  padding: clamp(18px, 3vw, 44px) clamp(10px, 2vw, 30px);
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy h2 {
  max-width: 520px;
  font-size: clamp(4.2rem, 6vw, 6.8rem);
}

.d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy h2 a { color: #fff; }
.d4w-work-gallery .d4w-work-card--featured .d4w-work-card__main > div { max-width: 100%; margin-top: 24px; overflow-wrap: anywhere; color: rgba(255, 255, 255, .55); }
.d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy aside { margin-top: 44px; }
.d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy aside strong,
.d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy aside a { color: #fff; }
.d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy aside small { color: rgba(255, 255, 255, .45); }
.d4w-work-gallery .d4w-work-card--featured .d4w-work-card__ghost { right: -15px; bottom: -5px; -webkit-text-stroke-color: rgba(255, 255, 255, .07); }

.d4w-work-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(75px, 10vw, 150px);
}

.d4w-work-more button {
  position: relative;
  display: grid;
  width: 190px;
  height: 190px;
  padding: 25px;
  place-items: center;
  color: #fff;
  background: #10131d;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 24px 65px rgba(17, 21, 34, .2);
  font-family: var(--d4w-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), background .35s ease;
}

.d4w-work-more button::before {
  position: absolute;
  inset: 9px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: inherit;
}

.d4w-work-more button:hover { background: var(--d4w-primary); transform: rotate(-4deg) scale(1.04); }
.d4w-work-more button small { position: absolute; right: 33px; bottom: 31px; color: var(--d4w-accent); font-family: var(--d4w-body); font-size: .58rem; letter-spacing: .04em; }
.d4w-work-more button > i { position: absolute; top: 30px; right: 35px; font-size: 1rem; }
.d4w-work-more button.is-complete { display: none; }
.d4w-work-more.is-complete { display: none; }

/* v3.1 creative footer */
.site-footer {
  position: relative;
  padding: clamp(75px, 8vw, 125px) 0 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 62, 181, .13), transparent 24%),
    radial-gradient(circle at 10% 55%, rgba(124, 77, 255, .12), transparent 27%),
    #0d111b;
}

.d4w-footer-orb {
  position: absolute;
  top: -260px;
  right: -190px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
}

.d4w-footer-orb::before,
.d4w-footer-orb::after { position: absolute; content: ""; border: 1px solid rgba(255, 255, 255, .055); border-radius: inherit; }
.d4w-footer-orb::before { inset: 18%; }
.d4w-footer-orb::after { inset: 37%; }

.d4w-footer-cta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: clamp(35px, 8vw, 130px);
  align-items: end;
  padding-bottom: clamp(60px, 8vw, 110px);
}

.d4w-footer-cta h2 {
  max-width: 1140px;
  margin: 34px 0 0;
  font-family: var(--d4w-display);
  font-size: clamp(5rem, 9.4vw, 11rem);
  font-weight: 700;
  line-height: .78;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.d4w-footer-cta__button {
  position: relative;
  display: flex;
  width: 180px;
  height: 180px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  background: var(--d4w-gradient);
  border-radius: 50%;
  box-shadow: 0 25px 75px rgba(255, 62, 181, .18);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(5deg);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .4s ease;
}

.d4w-footer-cta__button i { margin-top: 10px; font-size: 1.5rem; }
.d4w-footer-cta__button:hover { color: #fff; box-shadow: 0 28px 90px rgba(124, 77, 255, .36); transform: rotate(0) scale(1.07); }

.d4w-footer-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .11);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.d4w-footer-marquee > div { display: flex; width: max-content; animation: d4w-footer-flow 22s linear infinite; }
.d4w-footer-marquee span { display: block; padding: 19px 28px 23px; color: transparent; font-family: var(--d4w-display); font-size: clamp(4rem, 7vw, 8rem); font-weight: 800; line-height: .8; white-space: nowrap; -webkit-text-stroke: 1px rgba(255, 255, 255, .28); }
.d4w-footer-marquee i { padding: 0 .16em; color: var(--d4w-accent); font-style: normal; -webkit-text-stroke: 0; }

.d4w-footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(250px, 1.35fr) minmax(120px, .55fr) minmax(180px, .8fr) minmax(250px, 1.15fr);
  gap: clamp(35px, 6vw, 95px);
  padding: clamp(65px, 8vw, 120px) 0 70px;
}

.d4w-footer-logo { margin-bottom: 28px; }
.d4w-footer-logo img { width: min(240px, 100%); }
.site-footer .footer-intro { max-width: 430px; color: rgba(255, 255, 255, .5); line-height: 1.75; }
.site-footer .footer-label { color: rgba(255, 255, 255, .42); }

.d4w-footer-status {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  color: rgba(255, 255, 255, .72);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.d4w-footer-status i { width: 8px; height: 8px; background: #28d980; border-radius: 50%; box-shadow: 0 0 0 5px rgba(40, 217, 128, .12); animation: d4w-footer-status 1.7s ease-in-out infinite; }

.site-footer .footer-menu,
.d4w-footer-services ul { gap: 10px; padding: 0; margin: 0; list-style: none; }
.d4w-footer-services ul { display: flex; flex-direction: column; }

.site-footer .footer-menu a,
.d4w-footer-services a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, .64);
  font-size: .83rem;
}

.d4w-footer-services a i { color: var(--d4w-accent); font-size: .68rem; opacity: 0; transform: translate(-5px, 5px); transition: opacity .3s ease, transform .3s ease; }
.site-footer .footer-menu a:hover,
.d4w-footer-services a:hover { color: #fff; }
.d4w-footer-services a:hover i { opacity: 1; transform: none; }

.site-footer .footer-email,
.site-footer .footer-phone {
  max-width: 100%;
  color: #fff;
  font-size: clamp(1.8rem, 2.7vw, 3.2rem);
  overflow-wrap: anywhere;
}

.site-footer .footer-email:hover,
.site-footer .footer-phone:hover { color: var(--d4w-accent); }

.site-footer .footer-socials { flex-wrap: wrap; margin-top: 30px; }
.site-footer .footer-socials a {
  display: inline-flex;
  width: auto;
  height: 39px;
  gap: 8px;
  padding: 0 13px;
  color: rgba(255, 255, 255, .7);
  border-color: rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: .68rem;
}

.site-footer .footer-socials a:hover { color: #fff; background: var(--d4w-primary); border-color: var(--d4w-primary); }

.d4w-footer-word {
  position: relative;
  z-index: 1;
  margin: 0 0 -1.5vw;
  color: transparent;
  font-family: var(--d4w-display);
  font-size: clamp(5rem, 15.5vw, 18rem);
  font-weight: 900;
  line-height: .69;
  letter-spacing: -.055em;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .09);
}

.site-footer .footer-bottom {
  position: relative;
  z-index: 2;
  margin-top: 0;
  color: rgba(255, 255, 255, .38);
  border-top-color: rgba(255, 255, 255, .1);
}

@keyframes d4w-footer-flow { to { transform: translateX(-50%); } }
@keyframes d4w-footer-status { 50% { opacity: .45; transform: scale(.82); } }

@media (max-width: 1199.98px) {
  .d4w-work-gallery .d4w-work-card--featured { grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr); }
  .d4w-work-gallery .d4w-work-card--featured .d4w-work-card__media { min-height: 540px; }
  .d4w-footer-grid { grid-template-columns: minmax(260px, 1.2fr) minmax(130px, .55fr) minmax(230px, 1fr); }
  .d4w-footer-services { display: none; }
}

@media (max-width: 991.98px) {
  .d4w-work-intro { grid-template-columns: 1fr; gap: 28px; }
  .d4w-work-gallery .d4w-work-card--featured { grid-template-columns: 1fr; }
  .d4w-work-gallery .d4w-work-card--featured .d4w-work-card__media { min-height: 0; aspect-ratio: 16 / 10; }
  .d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy { padding: 30px 18px 20px; }
  .d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy h2 { font-size: clamp(4rem, 10vw, 7rem); }
  .d4w-footer-cta { grid-template-columns: minmax(0, 1fr) 150px; }
  .d4w-footer-cta__button { width: 145px; height: 145px; }
  .d4w-footer-grid { grid-template-columns: 1fr 1fr; }
  .d4w-footer-brand,
  .d4w-footer-contact { grid-column: 1 / -1; }
  .d4w-footer-nav { grid-column: 1 / -1; }
  .site-footer .d4w-footer-nav .footer-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }
  .d4w-review-proof { max-width: 340px; margin-bottom: 28px; }
  .d4w-google-review-summary { left: -30px; }
}

@media (max-width: 767.98px) {
	.d4w-testimonials .row { --bs-gutter-y: 3.25rem; }
	.d4w-review-proof { max-width: 280px; }
	.d4w-testimonial-image { padding: 9px; border-radius: 18px; transform: rotate(-2deg); }
	.d4w-testimonial-image span { right: -8px; bottom: 18px; padding: 9px 13px; font-size: 1.05rem; }
	.d4w-google-review-summary { bottom: -30px; left: -18px; min-width: 170px; padding: 12px 14px; }
	.d4w-testimonials .d-flex.justify-content-between { gap: 12px; align-items: flex-start !important; }
	.d4w-testimonials .d4w-section-label { max-width: 180px; }
	.d4w-slider-controls { flex: 0 0 auto; }
	.d4w-slider-controls button { width: 40px; height: 40px; }
	.d4w-slider-count { min-width: 48px; font-size: .72rem; }
	.d4w-review-heading h2 { font-size: clamp(2.9rem, 13vw, 4.25rem); }
	.d4w-review-heading > a { width: fit-content; margin-top: 18px; }
	.d4w-testimonial-track { grid-auto-columns: min(88vw, 390px); gap: 13px; padding-bottom: 18px; margin-right: -20px; }
	.d4w-testimonial-slide,
	.d4w-testimonial-slide.is-active,
	.d4w-testimonial-slide.is-leaving { min-height: 350px; padding: 23px; border-radius: 18px; }
	.d4w-testimonial-slide blockquote { margin-bottom: 24px; font-size: 1.02rem; line-height: 1.55; }
	.d4w-google-review-card .d4w-testimonial-author { display: grid; grid-template-columns: minmax(0, 1fr); }
	.d4w-google-review-card .d4w-testimonial-author > a:last-child { margin-left: 66px; }
	.d4w-google-review-notice { padding-right: 6px; font-size: .64rem; }
  .d4w-work-archive { background: #f4f2ed; }
  .d4w-work-intro { margin-bottom: 42px; }
  .d4w-work-intro h2 { margin-top: 20px; font-size: clamp(3.5rem, 15vw, 5.2rem); }
  .d4w-work-intro__note { padding-left: 16px; }
  .d4w-work-archive .d4w-project-filters {
    flex-wrap: nowrap;
    padding: 7px;
    margin-right: -20px;
    margin-bottom: 45px;
    overflow-x: auto;
    border-radius: 16px 0 0 16px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .d4w-work-archive .d4w-project-filters::-webkit-scrollbar { display: none; }
  .d4w-work-archive .d4w-project-filters button,
  .d4w-work-archive .d4w-project-filters > a,
  .d4w-work-archive .d4w-project-filters > span { min-height: 42px; padding: 0 14px; flex: 0 0 auto; font-size: .7rem; scroll-snap-align: start; }
  .d4w-work-gallery { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .d4w-work-tile:nth-child(odd):not(.d4w-work-tile--lead) { margin-top: 0; }
  .d4w-work-tile--lead { grid-column: 1; margin-bottom: 8px; }
  .d4w-work-gallery .d4w-work-card:not(.d4w-work-card--featured) { padding: 8px; border-radius: 22px; }
  .d4w-work-gallery .d4w-work-card--featured { display: block; padding: 8px; border-radius: 24px; }
  .d4w-work-gallery .d4w-work-card__media,
  .d4w-work-tile--portrait .d4w-work-card__media,
  .d4w-work-gallery .d4w-work-card--featured .d4w-work-card__media { height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: 17px; }
  .d4w-work-gallery .d4w-work-card__index { top: 12px; left: 12px; width: 43px; height: 43px; }
  .d4w-work-gallery .d4w-work-card__open { right: 13px; bottom: 13px; width: 52px; height: 52px; opacity: 1; transform: none; }
  .d4w-work-gallery .d4w-work-card__copy,
  .d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy { display: block; padding: 24px 14px 18px; }
  .d4w-work-gallery .d4w-work-card__copy h2,
  .d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy h2 { max-width: calc(100% - 20px); font-size: clamp(2.9rem, 13vw, 4.15rem); line-height: .85; }
  .d4w-work-gallery .d4w-work-card--featured .d4w-work-card__main > div { margin-top: 17px; font-size: .84rem; }
  .d4w-work-gallery .d4w-work-card__copy aside,
  .d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy aside { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-top: 18px; margin-top: 22px; border-top: 1px solid rgba(17, 21, 34, .1); }
  .d4w-work-gallery .d4w-work-card--featured .d4w-work-card__copy aside { border-top-color: rgba(255, 255, 255, .13); }
  .d4w-work-gallery .d4w-work-card__copy aside strong { font-size: 1.2rem; }
  .d4w-work-gallery .d4w-work-card__copy aside small { margin: 0; -webkit-line-clamp: 1; }
  .d4w-work-gallery .d4w-work-card__copy aside a { margin: 0; font-size: 0; }
  .d4w-work-gallery .d4w-work-card__copy aside a i { font-size: 1rem; }
  .d4w-work-card__ghost { right: 3px; bottom: 8px; font-size: 8.5rem; }
  .d4w-work-more { margin-top: 65px; }
  .d4w-work-more button { width: 150px; height: 150px; font-size: 1.15rem; }
  .site-footer { padding-top: 75px; }
  .d4w-footer-orb { top: -150px; right: -240px; width: 450px; height: 450px; }
  .d4w-footer-cta { display: block; padding-bottom: 58px; }
  .d4w-footer-cta h2 { margin-top: 25px; font-size: clamp(4rem, 17vw, 6.2rem); line-height: .8; }
  .d4w-footer-cta__button { width: 100%; height: 58px; margin-top: 35px; flex-direction: row; gap: 10px; border-radius: 999px; transform: none; }
  .d4w-footer-cta__button i { margin: 0; }
  .d4w-footer-marquee span { padding: 14px 18px 17px; font-size: 4rem; }
  .d4w-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; padding: 64px 0 58px; }
  .d4w-footer-brand,
  .d4w-footer-contact { grid-column: 1 / -1; }
  .d4w-footer-logo img { width: 205px; }
  .site-footer .footer-intro { font-size: .9rem; }
  .site-footer .footer-email,
  .site-footer .footer-phone { font-size: clamp(2.2rem, 11vw, 3.2rem); line-height: 1.02; }
  .site-footer .footer-socials a { min-width: 43px; padding: 0 12px; justify-content: center; }
  .site-footer .footer-socials a span { display: none; }
  .d4w-footer-word { width: max-content; margin-left: 50%; font-size: 6.7rem; transform: translateX(-50%); }
  .site-footer .footer-bottom { align-items: flex-start; padding-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .d4w-footer-marquee > div,
  .d4w-footer-status i { animation: none !important; }
}

/* v3.2.1 logo-led header and footer palette */
:root {
  --d4w-brand-green: #79b900;
  --d4w-brand-lime: #a6d31d;
  --d4w-brand-soft: #e9f5cc;
  --d4w-brand-ink: #111813;
  --d4w-brand-gradient: linear-gradient(120deg, var(--d4w-brand-lime), var(--d4w-brand-green));
}

.site-header {
  background: linear-gradient(180deg, rgba(7, 12, 10, .84) 0%, rgba(7, 12, 10, .42) 58%, rgba(7, 12, 10, 0) 100%);
}

.site-header::after {
  position: absolute;
  right: clamp(18px, 3vw, 54px);
  bottom: 0;
  left: clamp(18px, 3vw, 54px);
  height: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(166, 211, 29, .55) 18%, rgba(255, 255, 255, .08) 50%, rgba(121, 185, 0, .42) 82%, transparent);
  opacity: .42;
  transform: scaleX(.82);
  transition: opacity .35s ease, transform .35s ease;
}

.site-header.is-sticky {
  background:
    radial-gradient(circle at 7% 0%, rgba(166, 211, 29, .09), transparent 25%),
    linear-gradient(100deg, rgba(11, 17, 13, .96), rgba(18, 22, 20, .93) 58%, rgba(10, 14, 12, .96));
  border-bottom: 1px solid rgba(166, 211, 29, .12);
  box-shadow: 0 15px 45px rgba(0, 0, 0, .19);
}

.site-header.is-sticky::after {
  opacity: .76;
  transform: scaleX(1);
}

.d4w-header-container {
  position: relative;
  z-index: 1;
}

.site-header .d4w-logo {
  position: relative;
  padding: 7px 13px;
  border: 1px solid rgba(166, 211, 29, .32);
  border-radius: 13px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .19), 0 0 0 4px rgba(121, 185, 0, .055);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}

.site-header .d4w-logo::after {
  position: absolute;
  right: -22%;
  bottom: -1px;
  left: -22%;
  height: 2px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, var(--d4w-brand-lime), transparent);
  opacity: .72;
}

.site-header .d4w-logo:hover {
  border-color: rgba(166, 211, 29, .58);
  box-shadow: 0 17px 44px rgba(0, 0, 0, .23), 0 0 0 5px rgba(121, 185, 0, .08);
  transform: translateY(-2px);
}

.site-header .d4w-logo img,
.site-footer .d4w-logo img {
  filter: none;
}

.site-header .menu-item > a::after {
  height: 2px;
  background: linear-gradient(90deg, var(--d4w-brand-lime), var(--d4w-brand-green));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(166, 211, 29, .48);
}

.site-header .navbar-nav > .menu-item > a::before {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--d4w-brand-lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(166, 211, 29, .1);
  opacity: 0;
  transform: translate(-50%, 4px) scale(.4);
  transition: opacity .3s ease, transform .3s ease;
}

.site-header .navbar-nav > .menu-item > a:hover::before,
.site-header .navbar-nav > .current-menu-item > a::before {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.site-header .sub-menu {
  border: 1px solid rgba(121, 185, 0, .16);
  box-shadow: 0 24px 70px rgba(7, 12, 10, .25), 0 0 0 5px rgba(121, 185, 0, .035);
}

.site-header .sub-menu a:hover {
  color: #355a00;
  background: linear-gradient(100deg, #f2f8e7, #fbfcf8);
}

.d4w-product-menu-icon {
  color: #497500;
  background: var(--d4w-brand-soft);
}

.d4w-header-cta {
  color: var(--d4w-brand-ink);
  background: var(--d4w-brand-gradient);
  border: 1px solid rgba(229, 255, 151, .42);
  box-shadow: 0 12px 34px rgba(121, 185, 0, .19), inset 0 1px rgba(255, 255, 255, .4);
  transition: color .3s ease, transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}

.d4w-header-cta::after {
  position: absolute;
  top: -75%;
  left: -45%;
  width: 34%;
  height: 250%;
  pointer-events: none;
  content: "";
  background: rgba(255, 255, 255, .34);
  transform: rotate(20deg) translateX(-230%);
  transition: transform .65s ease;
}

.d4w-header-cta:hover {
  color: var(--d4w-brand-ink);
  box-shadow: 0 17px 44px rgba(121, 185, 0, .31), inset 0 1px rgba(255, 255, 255, .46);
  transform: translateY(-2px);
}

.d4w-header-cta:hover::after {
  transform: rotate(20deg) translateX(540%);
}

.d4w-menu-toggle {
  color: var(--d4w-brand-lime);
  background: rgba(12, 18, 14, .52);
  border-color: rgba(166, 211, 29, .43);
  box-shadow: inset 0 0 0 4px rgba(121, 185, 0, .055);
}

.d4w-menu-toggle:hover,
.d4w-menu-toggle[aria-expanded="true"] {
  color: var(--d4w-brand-ink);
  background: var(--d4w-brand-gradient);
  border-color: transparent;
}

.d4w-mobile-menu__backdrop {
  background:
    radial-gradient(circle at 88% 13%, rgba(166, 211, 29, .2), transparent 23%),
    radial-gradient(circle at 12% 82%, rgba(124, 77, 255, .07), transparent 28%),
    linear-gradient(145deg, rgba(8, 14, 10, .93), rgba(16, 21, 18, .95)),
    url("../images/hero-bg.jpg") center/cover;
}

.d4w-mobile-menu__label {
  color: var(--d4w-brand-lime);
}

.d4w-mobile-nav > li > a,
.d4w-mobile-menu .navbar-nav > li > a {
  transition: color .3s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}

.d4w-mobile-nav > li > a:hover,
.d4w-mobile-menu .navbar-nav > li > a:hover {
  color: var(--d4w-brand-lime);
  transform: translateX(8px);
}

.d4w-mobile-contact {
  border-top-color: rgba(166, 211, 29, .2);
}

.d4w-mobile-contact a:hover {
  color: var(--d4w-brand-lime);
}

.d4w-mobile-nav .menu-item-has-children > a::after {
  color: var(--d4w-brand-lime);
}

.site-footer {
  background:
    radial-gradient(circle at 91% 7%, rgba(166, 211, 29, .16), transparent 24%),
    radial-gradient(circle at 9% 54%, rgba(121, 185, 0, .11), transparent 28%),
    radial-gradient(circle at 72% 78%, rgba(124, 77, 255, .055), transparent 26%),
    linear-gradient(145deg, #0a100c 0%, #101713 46%, #0c1110 100%);
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 2px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, var(--d4w-brand-green) 22%, var(--d4w-brand-lime) 50%, var(--d4w-brand-green) 78%, transparent);
  box-shadow: 0 0 24px rgba(166, 211, 29, .24);
}

.d4w-footer-orb {
  border-color: rgba(166, 211, 29, .13);
  box-shadow: inset 0 0 70px rgba(121, 185, 0, .04);
  animation: d4w-brand-orbit 18s linear infinite;
}

.d4w-footer-orb::before,
.d4w-footer-orb::after {
  border-color: rgba(166, 211, 29, .09);
}

.d4w-footer-orb::after {
  background: radial-gradient(circle, rgba(166, 211, 29, .11), transparent 61%);
}

.site-footer .d4w-section-label--light {
  color: rgba(255, 255, 255, .58);
}

.site-footer .d4w-section-label--light span {
  color: var(--d4w-brand-lime);
}

.site-footer .d4w-section-label--light::after {
  background: linear-gradient(90deg, rgba(166, 211, 29, .6), transparent);
}

.d4w-footer-cta h2 {
  text-shadow: 0 18px 60px rgba(0, 0, 0, .22);
}

.d4w-footer-cta__button {
  color: var(--d4w-brand-ink);
  background: var(--d4w-brand-gradient);
  border: 1px solid rgba(229, 255, 151, .42);
  box-shadow: 0 25px 75px rgba(121, 185, 0, .19), inset 0 1px rgba(255, 255, 255, .45);
}

.d4w-footer-cta__button::before {
  position: absolute;
  inset: 9px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(17, 24, 19, .16);
  border-radius: inherit;
  transition: inset .45s cubic-bezier(.16, 1, .3, 1), border-color .35s ease;
}

.d4w-footer-cta__button:hover {
  color: var(--d4w-brand-ink);
  box-shadow: 0 30px 90px rgba(121, 185, 0, .3), 0 0 0 8px rgba(166, 211, 29, .06);
}

.d4w-footer-cta__button:hover::before {
  inset: 14px;
  border-color: rgba(17, 24, 19, .28);
}

.d4w-footer-marquee {
  border-color: rgba(166, 211, 29, .14);
  background: linear-gradient(90deg, rgba(121, 185, 0, .035), rgba(255, 255, 255, .015), rgba(121, 185, 0, .035));
}

.d4w-footer-marquee span {
  -webkit-text-stroke-color: rgba(231, 245, 202, .31);
}

.d4w-footer-marquee i {
  color: var(--d4w-brand-lime);
  text-shadow: 0 0 22px rgba(166, 211, 29, .28);
}

.site-footer .d4w-footer-logo {
  padding: 9px 14px;
  border: 1px solid rgba(166, 211, 29, .25);
  border-radius: 13px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .2), 0 0 0 4px rgba(121, 185, 0, .045);
  transition: border-color .35s ease, transform .35s cubic-bezier(.16, 1, .3, 1);
}

.site-footer .d4w-footer-logo:hover {
  border-color: rgba(166, 211, 29, .5);
  transform: translateY(-2px);
}

.site-footer .footer-intro {
  color: rgba(236, 242, 231, .57);
}

.site-footer .footer-label {
  color: var(--d4w-brand-lime);
}

.d4w-footer-status {
  color: rgba(236, 242, 231, .75);
}

.d4w-footer-status i {
  background: var(--d4w-brand-lime);
  box-shadow: 0 0 0 5px rgba(166, 211, 29, .11), 0 0 22px rgba(166, 211, 29, .28);
}

.site-footer .footer-menu a,
.d4w-footer-services a {
  color: rgba(236, 242, 231, .66);
}

.d4w-footer-services a i {
  color: var(--d4w-brand-lime);
}

.site-footer .footer-menu a:hover,
.d4w-footer-services a:hover,
.site-footer .footer-email:hover,
.site-footer .footer-phone:hover {
  color: var(--d4w-brand-lime);
}

.site-footer .footer-socials a {
  color: rgba(236, 242, 231, .74);
  border-color: rgba(166, 211, 29, .2);
  background: rgba(166, 211, 29, .025);
}

.site-footer .footer-socials a:hover {
  color: var(--d4w-brand-ink);
  background: var(--d4w-brand-lime);
  border-color: var(--d4w-brand-lime);
  box-shadow: 0 10px 30px rgba(121, 185, 0, .18);
  transform: translateY(-2px);
}

.d4w-footer-word {
  -webkit-text-stroke-color: rgba(166, 211, 29, .12);
}

.site-footer .footer-bottom {
  color: rgba(236, 242, 231, .43);
  border-top-color: rgba(166, 211, 29, .13);
}

.site-footer .footer-bottom span {
  color: var(--d4w-brand-lime);
}

.d4w-back-top {
  background: var(--d4w-brand-ink);
  border-color: rgba(166, 211, 29, .23);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.d4w-back-top:hover {
  color: var(--d4w-brand-ink);
  background: var(--d4w-brand-lime);
  border-color: var(--d4w-brand-lime);
}

@keyframes d4w-brand-orbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 1199.98px) {
  .site-header {
    background: linear-gradient(180deg, rgba(7, 12, 10, .88), rgba(7, 12, 10, .35));
  }

  .site-header .d4w-logo {
    padding: 6px 10px;
  }
}

@media (max-width: 767.98px) {
  .site-header::after {
    right: 18px;
    left: 18px;
  }

  .site-header .d4w-logo {
    border-radius: 11px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18), 0 0 0 3px rgba(121, 185, 0, .05);
  }

  .d4w-footer-cta__button::before {
    inset: 5px;
  }

  .d4w-footer-cta__button:hover::before {
    inset: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .d4w-footer-orb { animation: none !important; }
}

/* v3.3 Beyond-inspired clients archive */
.d4w-clients-hero {
  position: relative;
  display: flex;
  min-height: min(820px, 88vh);
  padding: calc(var(--d4w-header-height) + clamp(95px, 10vw, 165px)) 0 clamp(75px, 8vw, 120px);
  overflow: hidden;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% -5%, rgba(124, 77, 255, .25), transparent 35%),
    radial-gradient(circle at 88% 84%, rgba(121, 185, 0, .13), transparent 27%),
    linear-gradient(145deg, #110823 0%, #090a0d 52%, #071009 100%);
}

.d4w-clients-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(166, 211, 29, .65), transparent);
}

.d4w-clients-hero__glow {
  position: absolute;
  top: 17%;
  left: 50%;
  width: min(70vw, 980px);
  aspect-ratio: 2 / 1;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(140, 82, 255, .17), transparent 68%);
  filter: blur(30px);
  transform: translateX(-50%);
}

.d4w-clients-hero__word {
  position: absolute;
  right: 50%;
  bottom: -4vw;
  color: transparent;
  font-family: var(--d4w-display);
  font-size: min(22vw, 340px);
  font-weight: 900;
  line-height: .72;
  letter-spacing: -.04em;
  pointer-events: none;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .035);
  transform: translateX(50%);
}

.d4w-clients-hero .d4w-section-label {
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 55px);
}

.d4w-clients-hero__title {
  max-width: 1230px;
  margin: 0 auto;
  font-family: var(--d4w-body);
  font-size: clamp(4.7rem, 7.5vw, 8.4rem);
  font-weight: 650;
  line-height: .94;
  letter-spacing: -.065em;
  text-align: center;
  text-transform: none;
}

.d4w-clients-hero__foot {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(480px, 1.25fr);
  gap: clamp(35px, 8vw, 120px);
  align-items: end;
  max-width: 1180px;
  margin: clamp(60px, 8vw, 105px) auto 0;
}

.d4w-clients-hero__foot > p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 255, 255, .61);
  font-size: clamp(.95rem, 1.3vw, 1.12rem);
}

.d4w-clients-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .13);
}

.d4w-clients-hero__stats > div {
  display: flex;
  min-height: 104px;
  padding: 20px 23px;
  justify-content: center;
  flex-direction: column;
  background: rgba(7, 9, 10, .58);
  backdrop-filter: blur(13px);
}

.d4w-clients-hero__stats strong {
  color: var(--d4w-brand-lime);
  font-family: var(--d4w-display);
  font-size: clamp(2.25rem, 3vw, 3.4rem);
  line-height: .9;
}

.d4w-clients-hero__stats span {
  margin-top: 9px;
  color: rgba(255, 255, 255, .48);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.d4w-work-archive.d4w-clients-archive {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 7% 26%, rgba(121, 185, 0, .07), transparent 18%),
    radial-gradient(circle at 96% 63%, rgba(124, 77, 255, .07), transparent 20%),
    #080b09;
}

.d4w-clients-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding-bottom: clamp(38px, 5vw, 64px);
  margin-bottom: clamp(50px, 7vw, 95px);
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.d4w-clients-toolbar > p {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
  text-transform: uppercase;
}

.d4w-clients-toolbar > p i {
  width: 8px;
  height: 8px;
  background: var(--d4w-brand-lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(166, 211, 29, .09), 0 0 20px rgba(166, 211, 29, .3);
}

.d4w-clients-archive .d4w-project-filters {
  display: flex;
  min-width: 0;
  gap: 7px;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.d4w-clients-archive .d4w-project-filters button,
.d4w-clients-archive .d4w-project-filters > a,
.d4w-clients-archive .d4w-project-filters > span {
  min-height: 43px;
  padding: 0 16px;
  color: rgba(255, 255, 255, .55);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  font-size: .67rem;
}

.d4w-clients-archive .d4w-project-filters button span {
  color: rgba(255, 255, 255, .34);
}

.d4w-clients-archive .d4w-project-filters button:hover,
.d4w-clients-archive .d4w-project-filters button.is-active,
.d4w-clients-archive .d4w-project-filters > a:hover,
.d4w-clients-archive .d4w-project-filters > span.is-active {
  color: var(--d4w-brand-ink);
  background: var(--d4w-brand-lime);
  border-color: var(--d4w-brand-lime);
  box-shadow: 0 11px 30px rgba(121, 185, 0, .15);
}

.d4w-clients-archive .d4w-project-filters button.is-active span {
  color: rgba(17, 24, 19, .55);
}

.d4w-clients-archive .d4w-work-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(58px, 7vw, 105px) clamp(22px, 3vw, 44px);
  align-items: start;
}

.d4w-home-work.d4w-clients-archive {
  padding: clamp(90px, 9vw, 145px) 0;
}

.d4w-home-work .d4w-home-work__grid {
  margin-top: 0;
}

.d4w-home-work__slider {
  --work-slider-gap: clamp(22px, 3vw, 44px);
  position: relative;
}

.d4w-home-work__viewport {
  overflow: hidden;
  outline: 0;
  touch-action: pan-y;
}

.d4w-home-work__viewport:focus-visible {
  outline: 2px solid var(--d4w-brand-lime);
  outline-offset: 10px;
}

#work.d4w-home-work .d4w-home-work__track,
.d4w-clients-archive .d4w-home-work__track.d4w-work-gallery {
  display: flex;
  grid-template-columns: none;
  gap: var(--work-slider-gap);
  align-items: stretch;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

.d4w-home-work .d4w-home-work__track .d4w-client-card {
  flex: 0 0 calc((100% - var(--work-slider-gap)) / 2);
  align-self: stretch;
}

.d4w-home-work__controls {
  display: grid;
  grid-template-columns: 54px 54px auto auto minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin-top: clamp(32px, 4vw, 55px);
}

.d4w-home-work__controls > button {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0;
  overflow: hidden;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease;
}

.d4w-home-work__controls > button:hover,
.d4w-home-work__controls > button:focus-visible {
  color: var(--d4w-brand-ink);
  background: var(--d4w-brand-lime);
  border-color: var(--d4w-brand-lime);
  transform: scale(1.06);
}

.d4w-home-work__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.d4w-home-work__dots button {
  width: 30px;
  height: 4px;
  padding: 0;
  overflow: hidden;
  text-indent: -999px;
  background: rgba(255, 255, 255, .24);
  border: 0;
  border-radius: 999px;
  transition: width .4s cubic-bezier(.16, 1, .3, 1), background .3s ease;
}

.d4w-home-work__dots button.is-active {
  width: 58px;
  background: var(--d4w-brand-lime);
}

.d4w-home-work__count {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 92px;
  margin: 0 5px;
  color: rgba(255, 255, 255, .48);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.d4w-home-work__count strong {
  color: #fff;
  font-size: 1rem;
}

.d4w-home-work__count span {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, .3);
}

.d4w-clients-archive .d4w-work-tile,
.d4w-clients-archive .d4w-work-tile:nth-child(odd):not(.d4w-work-tile--lead) {
  min-width: 0;
  margin: 0;
}

.d4w-clients-archive .d4w-work-tile:nth-child(even) {
  padding-top: 0;
}

.d4w-clients-archive .d4w-work-card,
.d4w-clients-archive .d4w-work-card:not(.d4w-work-card--featured) {
  position: relative;
  padding: 0;
  margin: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
  backdrop-filter: none;
}

.d4w-clients-archive .d4w-card-glow {
  display: none;
}

.d4w-clients-archive .d4w-work-card__media {
  position: relative;
  display: block;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #151a17;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, .25);
  transform: translateZ(0);
}

.d4w-clients-archive .d4w-work-card__media::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(4, 6, 5, .05), transparent 58%, rgba(4, 6, 5, .35));
  opacity: .75;
  transition: opacity .45s ease;
}

.d4w-clients-archive .d4w-work-card__media::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, .16) 49%, transparent 64%);
  opacity: 0;
  transform: translateX(-75%);
  transition: opacity .35s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}

.d4w-clients-archive .d4w-work-card:hover .d4w-work-card__media::before {
  opacity: .25;
}

.d4w-clients-archive .d4w-work-card:hover .d4w-work-card__media::after {
  opacity: 1;
  transform: translateX(75%);
}

.d4w-clients-archive .d4w-work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.92) contrast(1.02);
  transition: filter .5s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
}

.d4w-clients-archive .d4w-work-card:hover .d4w-work-card__media img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.035);
}

.d4w-clients-archive .d4w-work-card__index {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: rgba(5, 8, 6, .7);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  box-shadow: none;
  font-family: var(--d4w-display);
  backdrop-filter: blur(10px);
}

.d4w-clients-archive .d4w-work-card__open {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  display: flex;
  width: 92px;
  height: 92px;
  gap: 4px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--d4w-brand-ink);
  background: var(--d4w-brand-lime);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 18px 45px rgba(121, 185, 0, .24);
  transform: translateY(18px) scale(.75) rotate(8deg);
  transition: opacity .35s ease, transform .5s cubic-bezier(.16, 1, .3, 1);
}

.d4w-clients-archive .d4w-work-card__open small {
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.d4w-clients-archive .d4w-work-card:hover .d4w-work-card__open {
  opacity: 1;
  transform: none;
}

.d4w-clients-archive .d4w-work-card__copy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(165px, .42fr);
  gap: 28px;
  align-items: start;
  min-width: 0;
  padding: 24px 1px 0;
  overflow: visible;
}

.d4w-clients-archive .d4w-work-card__main > p {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, .46);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.d4w-clients-archive .d4w-work-card__main > p span {
  color: var(--d4w-brand-lime);
}

.d4w-clients-archive .d4w-work-card__copy h2,
.d4w-clients-archive .d4w-work-card__copy h2:first-child {
  max-width: none;
  margin: 0;
  font-family: var(--d4w-body);
  font-size: clamp(1.8rem, 2.7vw, 2.75rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-transform: none;
}

.d4w-clients-archive .d4w-work-card__copy h2 a {
  color: #fff;
  background: linear-gradient(var(--d4w-brand-lime), var(--d4w-brand-lime)) 0 100% / 0 2px no-repeat;
  transition: color .3s ease, background-size .45s cubic-bezier(.16, 1, .3, 1);
}

.d4w-clients-archive .d4w-work-card:hover h2 a {
  color: #fff;
  background-size: 100% 2px;
}

.d4w-clients-archive .d4w-work-card__main > div {
  max-width: 540px;
  margin-top: 12px;
  color: rgba(255, 255, 255, .52);
  font-size: .84rem;
  line-height: 1.6;
}

.d4w-clients-archive .d4w-work-card__copy aside {
  display: block;
  max-width: none;
  padding-top: 3px;
  text-align: right;
}

.d4w-clients-archive .d4w-work-card__copy aside small {
  display: block;
  max-width: none;
  margin: 0;
  overflow: visible;
  color: rgba(255, 255, 255, .36);
  font-size: .63rem;
  line-height: 1.6;
  text-transform: uppercase;
  -webkit-line-clamp: unset;
}

.d4w-clients-archive .d4w-work-more button {
  color: var(--d4w-brand-ink);
  background: var(--d4w-brand-lime);
  box-shadow: 0 24px 65px rgba(121, 185, 0, .16);
}

.d4w-clients-archive .d4w-work-more button::before {
  border-color: rgba(17, 24, 19, .19);
}

.d4w-clients-archive .d4w-work-more button small {
  color: rgba(17, 24, 19, .58);
}

.d4w-clients-archive .d4w-work-more button:hover {
  color: var(--d4w-brand-ink);
  background: #c0ed36;
}

@media (max-width: 1199.98px) {
  .d4w-clients-hero {
    min-height: 720px;
  }

  .d4w-clients-hero__title {
    font-size: clamp(4.2rem, 8.6vw, 7rem);
  }

  .d4w-clients-toolbar {
    grid-template-columns: 1fr;
  }

  .d4w-clients-archive .d4w-project-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .d4w-clients-hero__foot {
    grid-template-columns: 1fr;
  }

  .d4w-clients-hero__foot > p {
    margin-inline: auto;
    text-align: center;
  }

  .d4w-clients-archive .d4w-work-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 62px;
  }

  .d4w-clients-archive .d4w-work-tile:nth-child(even) {
    padding-top: 0;
  }
}

@media (max-width: 767.98px) {
  .d4w-clients-hero {
    min-height: 0;
    padding: calc(var(--d4w-header-height) + 82px) 0 74px;
  }

  .d4w-clients-hero .d4w-section-label {
    justify-content: flex-start;
    margin-bottom: 27px;
  }

  .d4w-clients-hero__title {
    font-size: clamp(3.35rem, 14.5vw, 5rem);
    line-height: .94;
    text-align: left;
  }

  .d4w-clients-hero__foot {
    gap: 34px;
    margin-top: 45px;
  }

  .d4w-clients-hero__foot > p {
    margin-inline: 0;
    text-align: left;
  }

  .d4w-clients-hero__stats > div {
    min-height: 88px;
    padding: 15px 11px;
  }

  .d4w-clients-hero__stats strong {
    font-size: 2rem;
  }

  .d4w-clients-hero__stats span {
    font-size: .52rem;
    letter-spacing: .06em;
  }

  .d4w-work-archive.d4w-clients-archive {
    padding-top: 65px;
  }

  .d4w-clients-toolbar {
    gap: 25px;
    padding-bottom: 35px;
    margin-bottom: 46px;
  }

  .d4w-clients-archive .d4w-project-filters {
    flex-wrap: nowrap;
    padding: 2px 20px 8px 0;
    margin-right: -20px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .d4w-clients-archive .d4w-project-filters::-webkit-scrollbar {
    display: none;
  }

  .d4w-clients-archive .d4w-project-filters button,
  .d4w-clients-archive .d4w-project-filters > a,
  .d4w-clients-archive .d4w-project-filters > span {
    min-height: 41px;
    padding: 0 14px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .d4w-clients-archive .d4w-work-gallery {
    gap: 54px;
  }

  .d4w-clients-archive .d4w-work-card,
  .d4w-clients-archive .d4w-work-card:not(.d4w-work-card--featured) {
    padding: 0;
    border-radius: 0;
  }

  .d4w-clients-archive .d4w-work-card__media {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
  }

  .d4w-clients-archive .d4w-work-card__index {
    top: 12px;
    left: 12px;
    width: 41px;
    height: 41px;
  }

  .d4w-clients-archive .d4w-work-card__open {
    right: 13px;
    bottom: 13px;
    width: 55px;
    height: 55px;
    opacity: 1;
    transform: none;
  }

  .d4w-clients-archive .d4w-work-card__open small {
    display: none;
  }

  .d4w-clients-archive .d4w-work-card__copy {
    display: block;
    padding: 19px 0 0;
  }

  .d4w-clients-archive .d4w-work-card__copy h2,
  .d4w-clients-archive .d4w-work-card__copy h2:first-child {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .d4w-clients-archive .d4w-work-card__main > div {
    font-size: .8rem;
  }

  .d4w-clients-archive .d4w-work-card__copy aside {
    padding-top: 15px;
    margin-top: 16px;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
}

/* v3.4 reference-faithful clients portfolio */
.d4w-client-shell {
  width: min(100%, 1600px);
  padding-right: clamp(20px, 5.55vw, 80px);
  padding-left: clamp(20px, 5.55vw, 80px);
  margin-inline: auto;
}

.d4w-clients-hero {
  position: relative;
  display: flex;
  min-height: clamp(400px, 28.2vw, 450px);
  padding: calc(var(--d4w-header-height) + 36px) 0 82px;
  overflow: hidden;
  align-items: flex-end;
  color: #fff;
  background:
    radial-gradient(circle at 24% 4%, rgba(113, 0, 255, .55), transparent 44%),
    linear-gradient(116deg, #27005d 0%, #16002d 35%, #08060c 68%, #050806 100%);
}

.d4w-clients-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .035), transparent 36%),
    radial-gradient(circle at 83% 93%, rgba(166, 211, 29, .08), transparent 24%);
}

.d4w-clients-hero::after {
  display: none;
}

.d4w-clients-hero__glow {
  position: absolute;
  top: -55%;
  left: 10%;
  width: 55vw;
  max-width: 900px;
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(135, 59, 255, .19), transparent 66%);
  filter: blur(34px);
  transform: none;
  animation: d4w-client-glow 9s ease-in-out infinite alternate;
}

.d4w-clients-hero__eyebrow {
  margin: 0 0 20px;
  color: #e1caec;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
}

.d4w-clients-hero__title {
  max-width: 1180px;
  margin: 0 auto;
  color: #eadbf1;
  background: linear-gradient(96deg, #f2e2ea 2%, #e8d9f3 46%, #c8b4ff 82%, #dfff86 120%);
  font-family: var(--d4w-body);
  font-size: clamp(4.6rem, 6.1vw, 5.75rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-align: center;
  text-wrap: balance;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.d4w-clients-archive,
.d4w-work-archive.d4w-clients-archive {
  padding: 0 0 clamp(90px, 9vw, 150px);
  overflow: hidden;
  color: #fff;
  background: #070807;
}

.d4w-clients-archive .d4w-work-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(64px, 5.55vw, 80px) clamp(24px, 2.65vw, 38px);
  align-items: start;
}

.d4w-clients-archive .d4w-client-card,
.d4w-clients-archive .d4w-client-card:not(.d4w-work-card--featured) {
  position: relative;
  min-width: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
}

.d4w-clients-archive .d4w-client-card .d4w-card-glow {
  display: none;
}

.d4w-client-card__link {
  display: block;
  color: inherit;
}

.d4w-client-card__link:focus-visible {
  outline: 3px solid var(--d4w-brand-lime);
  outline-offset: 7px;
}

.d4w-client-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #171b18;
  transform: translateZ(0);
}

.d4w-client-card__media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .12) 50%, transparent 65%);
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity .25s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}

.d4w-client-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(.96) contrast(1.02);
  transform: scale(.985);
  transition: filter .45s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
}

.d4w-client-card:hover .d4w-client-card__media::after,
.d4w-client-card:focus-within .d4w-client-card__media::after {
  opacity: 1;
  transform: translateX(100%);
}

.d4w-client-card:hover .d4w-client-card__media img,
.d4w-client-card:focus-within .d4w-client-card__media img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1);
}

.d4w-client-card__copy {
  padding-top: 14px;
}

.d4w-client-card__copy h2,
.d4w-client-card__copy h3 {
  margin: 0;
  color: #fff;
  font-family: var(--d4w-body);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-transform: none;
  transition: color .3s ease;
}

.d4w-client-card__copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.d4w-client-card:hover .d4w-client-card__copy h2,
.d4w-client-card:hover .d4w-client-card__copy h3,
.d4w-client-card:focus-within .d4w-client-card__copy h2,
.d4w-client-card:focus-within .d4w-client-card__copy h3 {
  color: #dfff86;
}

@keyframes d4w-client-glow {
  from { opacity: .7; transform: translate3d(-3%, -1%, 0) scale(.95); }
  to { opacity: 1; transform: translate3d(4%, 3%, 0) scale(1.08); }
}

@media (max-width: 991.98px) {
  .d4w-clients-hero {
    min-height: 360px;
    padding-bottom: 70px;
  }

  .d4w-clients-hero__title {
    font-size: clamp(3.7rem, 9vw, 5.25rem);
  }
}

@media (max-width: 767.98px) {
  .d4w-clients-hero {
    min-height: 306px;
    padding: calc(var(--d4w-header-height) + 25px) 0 52px;
  }

  .d4w-clients-hero__eyebrow {
    margin-bottom: 17px;
    font-size: .84rem;
  }

  .d4w-clients-hero__title {
    max-width: 355px;
    font-size: clamp(2.75rem, 12.3vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -.05em;
  }

  .d4w-clients-archive .d4w-work-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .d4w-home-work__slider {
    --work-slider-gap: 18px;
  }

  #work.d4w-home-work .d4w-home-work__track,
  .d4w-clients-archive .d4w-home-work__track.d4w-work-gallery {
    gap: var(--work-slider-gap);
  }

  .d4w-home-work .d4w-home-work__track .d4w-client-card {
    flex-basis: 100%;
  }

  .d4w-home-work__controls {
    grid-template-columns: 48px 48px auto auto minmax(0, 1fr);
    gap: 10px;
    margin-top: 28px;
  }

  .d4w-home-work__controls > button {
    width: 48px;
    height: 48px;
  }

  .d4w-home-work__dots {
    gap: 5px;
  }

  .d4w-home-work__dots button {
    width: 10px;
    height: 3px;
  }

  .d4w-home-work__dots button.is-active {
    width: 25px;
  }

  .d4w-home-work__count {
    gap: 5px;
    min-width: 60px;
    margin: 0;
  }

  .d4w-home-work__count span {
    width: 12px;
  }

  .d4w-client-card__copy {
    padding-top: 14px;
  }

  .d4w-client-card__copy h2,
  .d4w-client-card__copy h3 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .d4w-client-card__copy p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .d4w-animate .d4w-clients-archive .d4w-client-card.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #work.d4w-home-work .d4w-home-work__track {
    transition-duration: .01ms;
  }
  .d4w-clients-hero__glow { animation: none; }
}

/* v3.7 editorial heading visuals, portrait story and four-column footer */
.d4w-visual-heading-row > [class*="col-"]:not(.d4w-section-heading-side) {
  align-self: flex-end;
}

.d4w-section-heading-side {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.d4w-heading-visual {
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 4 / 3;
  margin: 0 0 clamp(28px, 4vw, 58px);
  overflow: hidden;
  background: #e8e8e4;
  border: 1px solid rgba(17, 21, 34, .12);
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(17, 21, 34, .11);
}

.d4w-heading-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, transparent 55%, rgba(166, 211, 29, .22));
}

.d4w-heading-visual--dark {
  background: #151b17;
  border-color: rgba(166, 211, 29, .18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}

.d4w-heading-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .45s ease;
}

.d4w-visual-heading-row:hover .d4w-heading-visual img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.d4w-about-portrait {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 720px;
  margin: 0;
  overflow: hidden;
  background: #111522;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(17, 21, 34, .14);
}

.d4w-about-portrait::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(7, 10, 9, .72));
}

.d4w-about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.d4w-about-portrait figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  padding: 13px 17px;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  background: rgba(10, 16, 12, .66);
  border: 1px solid rgba(166, 211, 29, .27);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.site-footer {
  padding-bottom: 0;
}

.site-footer .d4w-footer-grid--v2 {
  grid-template-columns: minmax(300px, 1.65fr) minmax(145px, .65fr) minmax(190px, .85fr) minmax(190px, .85fr);
  gap: clamp(30px, 4.5vw, 72px);
  padding: clamp(65px, 7vw, 105px) 0 clamp(70px, 7vw, 105px);
  border-top: 1px solid rgba(166, 211, 29, .13);
}

.d4w-footer-grid--v2 .footer-intro {
  max-width: 540px;
  margin: 0;
  color: rgba(236, 242, 231, .68);
  font-size: .92rem;
  line-height: 1.72;
}

.d4w-footer-contact-links {
  display: flex;
  gap: 11px;
  margin-top: 26px;
  flex-direction: column;
}

.d4w-footer-contact-links a {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 11px;
  align-items: center;
  color: #fff;
  font-size: .86rem;
  overflow-wrap: anywhere;
  transition: color .3s ease, transform .3s ease;
}

.d4w-footer-contact-links a i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--d4w-brand-lime);
  background: rgba(166, 211, 29, .07);
  border: 1px solid rgba(166, 211, 29, .18);
  border-radius: 50%;
}

.d4w-footer-contact-links a:hover {
  color: var(--d4w-brand-lime);
  transform: translateX(4px);
}

.d4w-footer-follow-label {
  margin: 29px 0 11px;
  color: rgba(236, 242, 231, .5);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.d4w-footer-grid--v2 .footer-socials {
  gap: 8px;
  margin: 0;
}

.site-footer .d4w-footer-grid--v2 .footer-socials a {
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

.d4w-footer-grid--v2 .footer-socials a span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.d4w-footer-grid--v2 .footer-label {
  margin: 4px 0 23px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.d4w-footer-list {
  display: flex;
  gap: 13px;
  padding: 0;
  margin: 0;
  flex-direction: column;
  list-style: none;
}

.d4w-footer-list a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: rgba(236, 242, 231, .76);
  font-size: .88rem;
  line-height: 1.45;
  transition: color .3s ease, transform .3s ease;
}

.d4w-footer-list a i {
  color: var(--d4w-brand-lime);
  font-size: .68rem;
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity .3s ease, transform .3s ease;
}

.d4w-footer-list a:hover {
  color: var(--d4w-brand-lime);
  transform: translateX(3px);
}

.d4w-footer-list a:hover i {
  opacity: 1;
  transform: none;
}

.d4w-footer-all {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 20px;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(166, 211, 29, .35);
}

.d4w-footer-all i {
  color: var(--d4w-brand-lime);
  transition: transform .3s ease;
}

.d4w-footer-all:hover {
  color: var(--d4w-brand-lime);
}

.d4w-footer-all:hover i {
  transform: translateX(4px);
}

.d4w-footer-list--secondary {
  gap: 10px;
}

.d4w-footer-list--secondary a {
  color: rgba(236, 242, 231, .55);
  font-size: .78rem;
}

.site-footer .footer-bottom {
  width: 100%;
  padding: 0;
  margin: 0;
  background: rgba(4, 8, 6, .58);
  border-top: 1px solid rgba(166, 211, 29, .14);
}

.site-footer .footer-bottom__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  color: rgba(236, 242, 231, .48);
}

.d4w-footer-legal {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.d4w-footer-legal a {
  color: rgba(236, 242, 231, .58);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.d4w-footer-legal a:hover,
.d4w-footer-legal a:focus-visible {
  color: var(--d4w-lime);
}

@media (max-width: 1199.98px) {
  .site-footer .d4w-footer-grid--v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .d4w-footer-grid--v2 .d4w-footer-brand {
    grid-column: auto;
  }

  .d4w-footer-grid--v2 .d4w-footer-nav {
    grid-column: auto;
  }
}

@media (max-width: 991.98px) {
  .d4w-heading-visual {
    width: 100%;
    aspect-ratio: 16 / 7;
    margin-bottom: 22px;
  }

  .d4w-section-heading-side {
    display: block;
  }

  .d4w-about-portrait {
    min-height: 610px;
  }
}

@media (max-width: 767.98px) {
  .d4w-heading-visual {
    aspect-ratio: 16 / 8.5;
    border-radius: 14px;
  }

  .d4w-about-portrait {
    height: 540px;
    min-height: 0;
    border-radius: 20px;
  }

  .d4w-about-portrait figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    font-size: .64rem;
    text-align: center;
  }

  .site-footer .d4w-footer-grid--v2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding: 58px 0 64px;
  }

  .d4w-footer-grid--v2 .d4w-footer-brand,
  .d4w-footer-grid--v2 .d4w-footer-nav,
  .d4w-footer-grid--v2 .d4w-footer-column {
    grid-column: 1;
  }

  .site-footer .d4w-footer-grid--v2 .footer-socials a {
    width: 42px;
    height: 42px;
  }

  .site-footer .footer-bottom__inner {
    min-height: 0;
    gap: 8px;
    padding-top: 22px;
    padding-bottom: 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  .d4w-footer-legal {
    justify-content: flex-start;
  }
}

/* v3.8 review collection: four visible cards without the homepage cover image. */
.d4w-testimonials .d4w-testimonial-track {
  grid-auto-columns: calc((100% - 54px) / 4);
}

.d4w-testimonials .d4w-google-review-summary--inline {
  position: static;
  min-width: 165px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(45, 29, 15, .1);
}

@media (max-width: 1199.98px) {
  .d4w-testimonials .d4w-testimonial-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 575.98px) {
  .d4w-testimonials .d4w-testimonial-track {
    grid-auto-columns: min(88vw, 390px);
  }

  .d4w-testimonials .d4w-google-review-summary--inline {
    display: none !important;
  }

  .d4w-service-expander__toggle {
    grid-template-columns: 28px 38px minmax(0, 1fr) 38px;
    gap: 7px;
  }

  .d4w-service-expander__heading {
    min-width: 0;
  }

  .d4w-service-expander__heading strong {
    font-size: clamp(1.55rem, 9vw, 2.05rem);
    overflow-wrap: anywhere;
  }

  .d4w-price-card__head h2 {
    font-size: clamp(2.75rem, 16vw, 3.65rem);
    overflow-wrap: anywhere;
  }
}
