/* Site header over DMC: brand bar + readable menu from scroll 0. */
body:has(.dmc-page) > header {
    background-color: var(--web-headerbg, #ec1d25);
    box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.28);
}

body:has(.dmc-page) > header #top_line,
body:has(.dmc-page) > header .main-menu > ul > li > a,
body:has(.dmc-page) > header ul#top_links a,
body:has(.dmc-page) > header ul#top_tools a {
    color: var(--web-headercolor, #ffffff) !important;
}

body:has(.dmc-page) > header .cmn-toggle-switch span,
body:has(.dmc-page) > header .cmn-toggle-switch span::before,
body:has(.dmc-page) > header .cmn-toggle-switch span::after {
    background-color: var(--web-headercolor, #ffffff);
}

.dmc-page {
    --dmc-brand: var(--web-headerbg, #ec1d25);
    --dmc-brand-ink: var(--web-headercolor, #ffffff);
    --dmc-action: var(--web-button-bg, var(--web-headerbg, #ec1d25));
    --dmc-action-ink: var(--web-button-color, #ffffff);
    --dmc-text: #1f1f1f;
    --dmc-muted: #6b7280;
    --dmc-soft: #f7f4f1;
    --dmc-line: #e8e2dc;
    --dmc-paper: #faf7f4;
    background: var(--dmc-paper);
    color: var(--dmc-text);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: clip;
    text-align: start;
}

.dmc-page * {
    box-sizing: border-box;
}

.dmc-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* —— Hero —— */
.dmc-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(520px, 78vh, 720px);
    display: flex;
    align-items: flex-end;
    padding: 132px 0 56px;
    overflow: hidden;
    color: #fff;
    background: var(--dmc-brand);
}

.dmc-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.dmc-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    animation: dmc-hero-in 1.1s ease both;
}

.dmc-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.55) 42%, rgba(10, 10, 10, 0.22) 72%, rgba(10, 10, 10, 0.12) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, transparent 45%);
}

.dmc-hero.is-plain .dmc-hero-veil {
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(145deg, var(--dmc-brand) 0%, color-mix(in srgb, var(--dmc-brand) 70%, #000) 100%);
}

.dmc-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 28px;
    width: min(1180px, calc(100% - 40px));
}

.dmc-hero-copy {
    max-width: 640px;
    animation: dmc-rise 0.7s ease both;
}

.dmc-kicker,
.dmc-section-eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.dmc-kicker {
    color: rgba(255, 255, 255, 0.78);
}

.dmc-section-eyebrow {
    color: var(--dmc-brand);
}

.dmc-hero h1 {
    margin: 0 0 18px;
    max-width: 12ch;
    color: #fff;
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 650;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.dmc-lead {
    margin: 0;
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    line-height: 1.7;
}

.dmc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.dmc-btn,
.dmc-submit,
.dmc-more,
.dmc-offer-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 650;
    text-decoration: none;
}

.dmc-btn,
.dmc-submit,
.dmc-more {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dmc-btn:hover,
.dmc-submit:hover,
.dmc-more:hover {
    transform: translateY(-1px);
}

.dmc-btn-solid {
    border: 0;
    background: #fff;
    color: var(--dmc-brand);
}

.dmc-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
}

.dmc-audiences {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.dmc-audiences a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dmc-hero-aside {
    align-self: end;
    max-width: 360px;
    animation: dmc-rise 0.85s ease 0.08s both;
}

.dmc-story-facts {
    margin: 0;
    padding: 18px 18px 16px;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.dmc-story-facts li,
.dmc-story-facts a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
    color: #fff;
    text-decoration: none;
}

.dmc-story-facts li + li {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.dmc-story-facts span {
    min-width: 0;
    overflow-wrap: break-word;
}

.dmc-story-facts i {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.8);
}

/* —— Image strip —— */
.dmc-strip {
    margin-top: -28px;
    padding: 0 0 8px;
    position: relative;
    z-index: 3;
}

.dmc-strip-track {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dmc-strip-shot {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: #ddd;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.dmc-strip-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dmc-strip-shot:hover img {
    transform: scale(1.03);
}

/* —— Offers —— */
.dmc-offers {
    padding: 72px 0 56px;
}

.dmc-section-head {
    margin-bottom: 28px;
}

.dmc-section-head h2,
.dmc-about-intro h2,
.dmc-quote h2 {
    margin: 0;
    color: var(--dmc-text);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.dmc-empty {
    margin: 0;
    padding: 48px 24px;
    border: 1px dashed var(--dmc-line);
    background: #fff;
    color: var(--dmc-muted);
    text-align: center;
}

.dmc-offer-grid {
    display: grid;
    gap: 18px;
}

.dmc-offer {
    position: relative;
    display: block;
    min-height: 300px;
    overflow: hidden;
    background: #fff;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dmc-offer:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.dmc-offer img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.dmc-offer:hover img {
    transform: scale(1.04);
}

.dmc-offer-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.55) 62%, rgba(0, 0, 0, 0.82) 100%);
}

.dmc-offer-bar {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    gap: 16px;
    align-items: flex-end;
    justify-content: space-between;
    padding: 18px 18px 16px;
    background: rgba(12, 12, 12, 0.42);
    backdrop-filter: blur(8px);
}

.dmc-offer-bar span {
    min-width: 0;
}

.dmc-offer-bar small,
.dmc-offer-bar strong {
    display: block;
    overflow-wrap: break-word;
}

.dmc-offer-bar small {
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dmc-offer-bar strong {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 650;
    line-height: 1.2;
}

.dmc-offer-excerpt {
    display: -webkit-box;
    margin-top: 10px;
    max-width: 52ch;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dmc-offer-go {
    flex: none;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--dmc-brand);
    font-size: 13px;
    white-space: nowrap;
}

.dmc-offer.is-text {
    min-height: 0;
    color: var(--dmc-text);
    border-top: 5px solid var(--dmc-brand);
}

.dmc-offer.is-text .dmc-offer-bar {
    position: static;
    display: block;
    padding: 28px 24px 24px;
}

.dmc-offer.is-text .dmc-offer-bar small {
    color: var(--dmc-brand);
}

.dmc-offer.is-text .dmc-offer-bar strong {
    color: var(--dmc-text);
}

.dmc-offer.is-text .dmc-offer-excerpt {
    color: #4b5563;
    -webkit-line-clamp: 4;
}

.dmc-offer.is-text .dmc-offer-go {
    display: inline-flex;
    margin-top: 18px;
    background: var(--dmc-soft);
}

/* —— About —— */
.dmc-about-band {
    padding: 28px 0 20px;
}

.dmc-about-layout {
    display: grid;
    gap: 18px;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--dmc-line);
}

.dmc-about {
    overflow: hidden;
    color: #3a3a3a;
    font-size: 16.5px;
    line-height: 1.8;
}

.dmc-about.is-clamped {
    max-height: 280px;
    -webkit-mask-image: linear-gradient(#000 62%, transparent);
    mask-image: linear-gradient(#000 62%, transparent);
}

.dmc-about.is-open {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.dmc-page .dmc-about h1,
.dmc-page .dmc-about h2,
.dmc-page .dmc-about h3,
.dmc-page .dmc-about h4,
.dmc-page .dmc-about h5,
.dmc-page .dmc-about h6 {
    margin: 1.4rem 0 0.55rem;
    color: var(--dmc-text);
    font-size: 22px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-align: start;
}

.dmc-page .dmc-about font,
.dmc-page .dmc-about span {
    color: var(--dmc-text) !important;
    font-family: inherit !important;
}

.dmc-page .dmc-about p {
    margin: 0 0 0.85rem;
}

.dmc-page .dmc-about a {
    color: var(--dmc-brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dmc-page .dmc-about img {
    max-width: 100%;
    height: auto;
}

.dmc-more {
    margin-top: 12px;
    border: 0;
    background: var(--dmc-soft);
    color: var(--dmc-brand);
}

/* —— Quote —— */
.dmc-quote {
    margin-top: 28px;
    padding: 72px 0 80px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 28%),
        var(--dmc-brand);
}

.dmc-quote-grid {
    display: grid;
    gap: 28px;
}

.dmc-quote .dmc-kicker {
    color: rgba(255, 255, 255, 0.78);
}

.dmc-quote h2 {
    max-width: 10ch;
    color: #fff;
}

.dmc-quote-note {
    margin: 14px 0 0;
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.6;
}

.dmc-form {
    display: grid;
    gap: 14px;
    padding: 24px 20px 26px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.dmc-form label,
.dmc-label-row {
    display: grid;
    gap: 6px;
    margin: 0;
    color: var(--dmc-text);
    font-size: 13px;
    font-weight: 700;
}

.dmc-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.dmc-form input,
.dmc-form select,
.dmc-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--dmc-soft);
    color: var(--dmc-text);
    font-weight: 500;
}

.dmc-form textarea {
    min-height: 120px;
    resize: vertical;
}

.dmc-form input:focus,
.dmc-form select:focus,
.dmc-form textarea:focus {
    outline: 2px solid var(--dmc-action);
    background: #fff;
}

.dmc-form .is-optional {
    color: var(--dmc-muted);
    font-size: 12px;
    font-weight: 500;
}

.dmc-segment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.dmc-segment label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--dmc-soft);
    color: var(--dmc-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: break-word;
    cursor: pointer;
}

.dmc-page .dmc-segment input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    opacity: 0;
    pointer-events: none;
}

.dmc-segment label:has(input:checked) {
    background: var(--dmc-action);
    color: var(--dmc-action-ink);
}

.dmc-submit {
    min-height: 52px;
    border: 0;
    background: var(--dmc-action);
    color: var(--dmc-action-ink);
}

.dmc-note,
.dmc-error {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 12px;
}

.dmc-note {
    background: #e7f3ec;
    color: var(--dmc-text);
}

.dmc-error {
    background: #fdecec;
    color: #8a2a2a;
}

.dmc-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes dmc-hero-in {
    from { transform: scale(1.08); opacity: 0.65; }
    to { transform: scale(1.02); opacity: 1; }
}

@keyframes dmc-rise {
    from { transform: translateY(18px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 899px) {
    .dmc-hero {
        min-height: auto;
        padding: 118px 0 40px;
        align-items: stretch;
    }

    .dmc-hero h1 {
        max-width: none;
        font-size: clamp(36px, 11vw, 52px);
    }

    .dmc-hero-aside {
        max-width: none;
    }

    .dmc-strip {
        margin-top: 0;
        padding: 18px 0 0;
    }

    .dmc-strip-track {
        grid-template-columns: 1fr;
    }

    .dmc-offers,
    .dmc-quote {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .dmc-offer.has-image {
        min-height: 340px;
    }

    .dmc-offer-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .dmc-offer-go {
        margin-top: 4px;
    }

    .dmc-about-layout {
        padding: 24px 18px;
    }

    .dmc-segment {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 900px) {
    .dmc-hero-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
        align-items: end;
        gap: 40px;
    }

    .dmc-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dmc-offer.is-featured,
    .dmc-offer-grid[data-count="1"] .dmc-offer,
    .dmc-offer-grid[data-count="3"] .dmc-offer:first-child,
    .dmc-offer-grid[data-count="4"] .dmc-offer:first-child {
        grid-column: 1 / -1;
        min-height: 460px;
    }

    .dmc-offer.has-image {
        min-height: 380px;
    }

    .dmc-about-layout {
        grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
        gap: 36px;
        align-items: start;
    }

    .dmc-quote-grid {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
        gap: 48px;
        align-items: start;
    }

    .dmc-form {
        grid-template-columns: 1fr 1fr;
        padding: 30px;
    }

    .dmc-form .is-wide,
    .dmc-submit {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dmc-hero-media img,
    .dmc-hero-copy,
    .dmc-hero-aside,
    .dmc-offer,
    .dmc-offer img,
    .dmc-strip-shot img,
    .dmc-btn,
    .dmc-submit,
    .dmc-more {
        animation: none !important;
        transition: none !important;
    }
}
