.dmx-home {
    --dmx-ink: #16222B;
    --dmx-soft: #4F5D6B;
    --dmx-line: #E1E7ED;
    --dmx-deep: #0f3358;
    --dmx-gold-text: #94701f;   /* gold darkened for text on white (4.6:1) */
}
.dmx-head {
    max-width: 720px;
    margin-bottom: 52px;
}
.dmx-head h2 {
    font-size: 52px;
    line-height: 1.06;
    font-weight: 300;
    color: var(--pColor);
    margin: 0 0 18px;
    text-wrap: balance;
}
.dmx-head p {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
    color: var(--dmx-soft);
    margin: 0;
    max-width: 620px;
}

.dmx-hero .dmx-h2-canvas {
    height: auto;
    display: flex;
    flex-direction: column;
}
.dmx-h2-stage {
    position: relative;
    min-height: clamp(560px, 74vh, 720px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.dmx-h2-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: 50% 30%;
    overflow: hidden;
}
.dmx-h2-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dmx-h2-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom,
        rgba(8, 28, 50, .38) 0%,
        rgba(8, 28, 50, .06) 24%,
        rgba(8, 28, 50, .12) 46%,
        rgba(8, 28, 50, .66) 78%,
        rgba(8, 28, 50, .9) 100%);
}
.dmx-h2-band {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 40px 60px;
    align-items: end;
    padding-top: 40px;
    padding-bottom: 44px;
}
.dmx-h2-kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #EFE3C8;
}
.dmx-h2-kicker::before {
    content: "";
    width: 28px;
    border-top: 2px solid var(--aColor);
    flex: none;
}
.dmx-h2-kicker-b::before {
    content: "\00B7";
    margin-right: 10px;
}
.dmx-hero .dmx-h2-title {
    font-size: clamp(38px, 1.6rem + 2.4vw, 62px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -.02em;
    color: #fff;
    margin: 0;
    max-width: 13em;
    text-wrap: balance;
    text-shadow: 0 2px 28px rgba(0, 0, 0, .5);
}
.dmx-h2-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dmx-h2-lede {
    margin: 0;
    font-size: clamp(19px, 1rem + .6vw, 25px);
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 1px 16px rgba(0, 0, 0, .5);
}
.dmx-h2-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
a.dmx-h2-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
a.dmx-h2-btn--primary {
    background: var(--aColor);
    color: #fff !important;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55);
}
a.dmx-h2-btn--primary:hover {
    background: #fff;
    color: var(--pColor) !important;
    transform: translateY(-2px);
}
a.dmx-h2-btn--glass {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .55);
    color: #fff !important;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
a.dmx-h2-btn--glass:hover {
    background: rgba(255, 255, 255, .26);
    border-color: #fff;
}
.dmx-h2-btn i { font-size: 15px; }

/* navy strip under the photo */
.dmx-h2-below {
    position: relative;
    z-index: 2;
    background: var(--dmx-deep);
    color: rgba(255, 255, 255, .82);
}
.dmx-h2-belowin {
    display: grid;
    gap: 22px;
    padding-top: 26px;
    padding-bottom: 30px;
}
.dmx-h2-credits {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 32px;
}
.dmx-h2-credit,
a.dmx-h2-credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .82) !important;
}
.dmx-h2-credit b { color: #fff; font-weight: 600; }
.dmx-h2-credit i {
    color: var(--aColor);
    font-size: 15px;
    width: 16px;
    text-align: center;
}
a.dmx-h2-credit:hover b { color: var(--aColor); }
.dmx-h2-credit--tel a {
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    padding-bottom: 1px;
}
.dmx-h2-credit--tel a:hover {
    color: var(--aColor) !important;
    border-bottom-color: var(--aColor);
}

.dmx-h2-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
a.dmx-h2-action {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 12px;
    color: var(--dmx-ink) !important;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
a.dmx-h2-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .6);
}
.dmx-h2-action-icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #EEF3F8;
    color: var(--pColor);
    font-size: 19px;
}
.dmx-h2-action-txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.dmx-h2-action-label {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--pColor);
}
.dmx-h2-action-sub {
    font-size: 13.5px;
    line-height: 1.35;
    color: var(--dmx-soft);
}
.dmx-h2-action-arrow {
    margin-left: auto;
    color: var(--aColor);
    font-size: 15px;
    transition: transform .25s ease;
}
a.dmx-h2-action:hover .dmx-h2-action-arrow { transform: translateX(4px); }

.dmx-measured {
    padding: 120px 0 0;
}
.dmx-measured-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 72px;
    align-items: start;
}
.dmx-measured-media { margin: 0; }
.dmx-measured-media img {
    display: block;
    width: 100%;
    height: clamp(300px, 40vw, 540px) !important;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 30px 60px -34px rgba(10, 58, 92, .4);
}
.dmx-measured-caption {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--dmx-soft);
}
.dmx-measured-caption i { color: var(--aColor); margin-top: 3px; }

.dmx-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: dmxstep;
}
.dmx-steps .dmx-step {
    list-style: none;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    margin: 0;
    padding: 24px 0;
    border-bottom: 1px solid var(--dmx-line);
}
.dmx-steps .dmx-step::before { display: none; content: none; }
.dmx-steps .dmx-step:first-child { padding-top: 6px; }
.dmx-steps .dmx-step:last-child { border-bottom: 0; padding-bottom: 0; }
.dmx-step-n {
    counter-increment: dmxstep;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--aColor);
    color: var(--pColor);
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 600;
}
.dmx-step-n::before { content: counter(dmxstep); }
.dmx-step h3 {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 500;
    color: var(--pColor);
    margin: 4px 0 8px;
}
.dmx-step p {
    font-size: 16px;
    line-height: 1.65;
    font-weight: 300;
    color: var(--dmx-soft);
    margin: 0;
}

.dmx-results {
    padding: 120px 0;
    background: #F2F5F8;
}
.dmx-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.dmx-result {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--dmx-line);
    border-radius: 16px;
    padding: 26px 24px 22px;
}
.dmx-result-who {
    display: flex;
    align-items: center;
    gap: 14px;
}
.dmx-result-who img,
.dmx-result-initials {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.dmx-result-initials {
    display: grid;
    place-items: center;
    background: var(--pColor);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .04em;
}
.dmx-result-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dmx-ink);
}
.dmx-result-what {
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--dmx-soft);
    margin-top: 3px;
}
.dmx-result-quote {
    font-size: 16px;
    line-height: 1.65;
    font-weight: 300;
    color: var(--dmx-soft);
    margin: 0;
}

.dmx-meter { margin-top: auto; padding: 0 10px; }
.dmx-meter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -10px 14px;
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dmx-soft);
}
.dmx-meter-delta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    letter-spacing: 0;
    text-transform: none;
}
.dmx-meter-delta i { font-size: 11px; color: #A9B5C1; }
.dmx-meter-from { color: var(--dmx-gold-text); font-weight: 700; }
.dmx-meter-to   { color: var(--pColor); font-weight: 700; }
/* axis runs 10 (left) -> 0 (right): high pain gold, relief navy */
.dmx-meter-track {
    position: relative;
    height: 34px;
    background-image: repeating-linear-gradient(to right, #D5DDE5 0 1px, transparent 1px 10%);
    background-size: calc(100% + 1px) 9px;
    background-repeat: no-repeat;
    background-position: left bottom;
    border-bottom: 1px solid #D5DDE5;
}
.dmx-meter-bar {
    position: absolute;
    bottom: 9px;
    height: 5px;
    border-radius: 3px;
    left: calc((10 - var(--dmx-from)) * 10%);
    width: calc((var(--dmx-from) - var(--dmx-to)) * 10%);
    background: linear-gradient(to right, var(--aColor), var(--pColor));
}
.dmx-meter-pip {
    position: absolute;
    bottom: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(16, 34, 52, .25);
}
.dmx-meter-pip--from { left: calc((10 - var(--dmx-from)) * 10%); background: var(--aColor); }
.dmx-meter-pip--to   { left: calc((10 - var(--dmx-to)) * 10%);   background: var(--pColor); }
.dmx-meter-scale {
    display: flex;
    justify-content: space-between;
    margin: 6px -4px 0;
    font-size: 11.5px;
    color: var(--dmx-soft);
}
.dmx-meter--todo {
    padding: 14px 16px;
    border: 1.5px dashed #C3CDD7;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #7A8794;
}

.dmx-wall {
    padding: 120px 0 110px;
    background: #fff;
    overflow: hidden;
}
.dmx-wall .dmx-head { margin-bottom: 44px; }
.dmx-wall-strip { overflow: hidden; }
.dmx-wall-track {
    display: flex;
    width: max-content;
    animation: dmx-marquee 110s linear infinite;
}
.dmx-wall-strip:hover .dmx-wall-track,
.dmx-wall-strip:focus-within .dmx-wall-track { animation-play-state: paused; }
@keyframes dmx-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
a.dmx-wall-item {
    position: relative;
    flex: none;
    width: 150px;
    height: 150px;
    margin-right: 16px;   /* margin, not gap: keeps the -50% loop seamless */
    border-radius: 12px;
    overflow: hidden;
    background: #DDE5EA;
    display: block;
}
.dmx-wall-item img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;   /* theme forces img height:auto */
    max-width: none;
    object-fit: cover;
    display: block;
    /* zoom on the face and push the lower-third video banner out of frame */
    transform: scale(1.4);
    transform-origin: 50% 22%;
    transition: transform .4s ease;
}
a.dmx-wall-item:hover img { transform: scale(1.5); }
.dmx-wall-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 10px 9px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(8, 28, 50, .88), transparent);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}
a.dmx-wall-item:hover .dmx-wall-label,
a.dmx-wall-item:focus-visible .dmx-wall-label {
    opacity: 1;
    transform: none;
}
.dmx-wall-foot { margin-top: 30px; }
.dmx-wall-foot .dmx-link-arrow { font-size: 14px; color: var(--pColor); }

@media (prefers-reduced-motion: reduce) {
    .dmx-wall-track { animation: none; }
    .dmx-wall-strip { overflow-x: auto; }
}

@media (max-width: 1200px) {
    .dmx-head h2 { font-size: 44px; }
    .dmx-measured-layout { gap: 48px; }
}

@media (max-width: 1024px) {
    .dmx-h2-band { grid-template-columns: 1fr; gap: 24px; }
    .dmx-h2-cta { flex-direction: row; flex-wrap: wrap; }
    .dmx-h2-credits { justify-content: flex-start; }
    .dmx-h2-actions { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
    .dmx-measured-layout { grid-template-columns: 1fr; }
    .dmx-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .dmx-head { margin-bottom: 34px; }
    .dmx-head h2 { font-size: 34px; }
    .dmx-head p { font-size: 16px; }

    .dmx-h2-stage { min-height: 540px; }
    .dmx-h2-band { padding-top: 90px; padding-bottom: 30px; gap: 16px; }
    .dmx-hero .dmx-h2-title { font-size: 30px; line-height: 1.1; }
    .dmx-h2-kicker { font-size: 10.5px; letter-spacing: .1em; margin-bottom: 12px; }
    .dmx-h2-kicker-b { display: none; }
    .dmx-h2-aside { gap: 16px; }
    .dmx-h2-lede { font-size: 16px; line-height: 1.35; }
    .dmx-h2-cta { flex-direction: column; align-items: stretch; gap: 10px; }
    a.dmx-h2-btn { justify-content: center; font-size: 15px; padding: 13px 20px; }
    .dmx-h2-credits {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 18px;
    }
    .dmx-h2-credit, a.dmx-h2-credit { font-size: 13.5px; align-items: flex-start; }
    .dmx-h2-credit i { margin-top: 2px; }
    .dmx-h2-credit--tel a { font-size: 16px; }
    .dmx-h2-actions { grid-template-columns: 1fr; gap: 10px; }
    a.dmx-h2-action { padding: 14px 16px; }

    .dmx-measured { padding-top: 70px; }
    .dmx-step h3 { font-size: 21px; }

    .dmx-results { padding: 70px 0; }
    .dmx-results-grid { grid-template-columns: 1fr; }

    .dmx-wall { padding: 70px 0; }
    a.dmx-wall-item { width: 116px; height: 116px; margin-right: 12px; }
}

@media (max-width: 420px) {
    .dmx-h2-credits { grid-template-columns: 1fr; }
}


.dmx-h2-slides { background: var(--pColor); }
.dmx-h2-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.4s ease, transform 7s ease-out;
}
.dmx-h2-slide.is-active {
    opacity: 1;
    transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
    .dmx-h2-slide { transition: none; transform: none; }
}

.dmx-team-hero {
    margin: 10px 0 56px;
}
.dmx-team-hero img {
    display: block;
    width: 100%;
    height: clamp(280px, 46vw, 620px) !important;
    object-fit: cover;
    object-position: 50% 40%;
    border-radius: 22px;
    box-shadow: 0 30px 60px -34px rgba(10, 58, 92, .4);
}
.dmx-team-page .staff-grid-container {
    padding: 0;
    text-align: left;
}
.dmx-team-page .staff-grid-container .container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    padding: 0;
}
.dmx-team-page .staff-grid {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 0 24px !important;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px -28px rgba(25, 71, 121, .45);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.dmx-team-page .staff-grid:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px -26px rgba(25, 71, 121, .55);
}
.dmx-team-page .staff-grid .staff-image {
    height: 420px !important;
    margin: 0 0 20px !important;
    background-size: cover !important;
    background-position: 50% 15% !important;
    box-shadow: none !important;
    border-radius: 0;
}
.dmx-team-page .staff-grid h3 {
    padding: 0 24px;
    margin: 0 0 4px;
    font-size: 23px;
    line-height: 1.25;
    color: var(--pColor);
}
.dmx-team-page .staff-grid h4 {
    padding: 0 24px;
    margin: 0 0 18px;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--aColor);
}
/* titles only - the bio lives in the Read More popup */
.dmx-team-page .staff-grid > p { display: none; }
.dmx-team-page .staff-grid > [data-dm-category="pop"],
.dmx-team-page .staff-grid p + span {
    margin: auto 24px 0;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1px solid var(--pColor);
    border-radius: 999px;
    background: transparent;
    color: var(--pColor);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

#page {
	overflow: hidden;
}

.dmx-team-page .staff-grid > [data-dm-category="pop"]::after { content: "\2192"; }
.dmx-team-page .staff-grid > [data-dm-category="pop"]:hover {
    background: var(--pColor);
    color: #fff;
}
.dmx-team-page .dm-classic-pop p { display: block; }

@media (max-width: 1024px) {
    .dmx-team-page .staff-grid-container .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .dmx-team-hero { margin-bottom: 36px; }
    .dmx-team-hero img { border-radius: 16px; }
    .dmx-team-page .staff-grid-container .container { grid-template-columns: 1fr; gap: 20px; }
    .dmx-team-page .staff-grid .staff-image { height: 380px !important; }
}
