:root {
    --dyer-marketing-hero-statement-size: clamp(50px, 4.55vw, 78px);
    --dyer-marketing-hero-statement-weight: 380;
    --dyer-marketing-hero-statement-line-height: 1.04;
    --dyer-marketing-hero-statement-letter-spacing: -0.035em;
    --dyer-marketing-hero-description-size: clamp(16px, 1.18vw, 22px);
    --dyer-marketing-hero-description-weight: 400;
    --dyer-marketing-hero-description-line-height: 1.5;
    --dyer-marketing-hero-description-letter-spacing: 0.005em;
    --dyer-marketing-final-tagline-size: clamp(42px, 3.3vw, 64px);
    --dyer-marketing-final-tagline-weight: 430;
    --dyer-marketing-final-tagline-line-height: 1.06;
    --dyer-marketing-final-tagline-letter-spacing: -0.04em;
    --dyer-marketing-cta-gap: clamp(36px, 6vw, 80px);
    --dyer-marketing-hero-content-top: clamp(154px, 17vh, 206px);
    --dyer-marketing-hero-content-bottom: clamp(38px, 5vh, 62px);
    --dyer-marketing-hero-eyebrow-size: clamp(13px, 0.92vw, 18px);
    --dyer-marketing-hero-eyebrow-gap: clamp(28px, 4vh, 48px);
    --dyer-marketing-hero-actions-top: clamp(54px, 8vh, 90px);
    --dyer-marketing-closing-visual-height: clamp(560px, 42vw, 680px);
    --dyer-marketing-closing-gutter: clamp(24px, 3.15vw, 68px);
    --dyer-marketing-closing-content-top: clamp(52px, 5.4vw, 86px);
    --dyer-marketing-closing-content-bottom: clamp(42px, 4.2vw, 68px);
    --dyer-marketing-closing-actions-height: clamp(90px, 6.5vw, 110px);
    --dyer-marketing-closing-copy-size: clamp(16px, 1.22vw, 22px);
    --dyer-marketing-closing-copy-weight: 430;
    --dyer-marketing-closing-copy-line-height: 1.5;
    --dyer-marketing-closing-copy-letter-spacing: 0.01em;
    --dyer-marketing-closing-action-size: clamp(14px, 1vw, 18px);
    --dyer-marketing-closing-action-weight: 600;
    --dyer-marketing-closing-action-line-height: 1.2;
}

html,
body {
    touch-action: pan-x pan-y;
    overscroll-behavior: none;
}

html {
    scrollbar-color: #020918 transparent;
    scrollbar-width: thin;
    scrollbar-gutter: auto;
}

html::-webkit-scrollbar {
    width: 1px;
    background: transparent;
}

html::-webkit-scrollbar-track,
html::-webkit-scrollbar-track-piece,
html::-webkit-scrollbar-corner {
    border: 0;
    background: transparent !important;
    box-shadow: none;
}

html::-webkit-scrollbar-thumb {
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    background: #020918;
    box-shadow: none;
}

html::-webkit-scrollbar-thumb:hover {
    background-color: #00040c;
}

:where(h1, h2, h3):not(.screen-reader-text) {
    text-wrap: balance;
}

html.dyer-reveal-ready [data-reveal] {
    --dyer-reveal-delay: 0ms;
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(0, 30px, 0);
    transition:
        opacity 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--dyer-reveal-delay),
        filter 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--dyer-reveal-delay),
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--dyer-reveal-delay);
    will-change: opacity, filter, transform;
}

html.dyer-reveal-ready [data-reveal='fade'] {
    transform: none;
}

/*
 * Keep the Home H1 eligible for LCP from the first render. The opaque Home
 * preloader still covers it, while the existing transform reveal remains.
 * Starting this one element at opacity: 0 can leave fast cached loads without
 * any traceable LCP candidate after the temporary preloader is removed.
 */
html.dyer-reveal-ready [data-dyer-lcp-anchor] {
    opacity: 1;
    filter: none;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--dyer-reveal-delay);
    will-change: transform;
}

html.dyer-reveal-ready [data-reveal].is-revealed {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

/* Keep touch navigation hit areas stationary while preserving its fade/blur. */
@media (hover: none), (pointer: coarse) {
    html.dyer-reveal-ready .site-footer__navigation[data-reveal] {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.dyer-reveal-ready [data-reveal] {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }
}

@media (max-width: 640px) {
    :root {
        --dyer-marketing-hero-statement-size: clamp(40px, 12vw, 50px);
        --dyer-marketing-hero-description-size: 15px;
        --dyer-marketing-hero-description-line-height: 1.45;
        --dyer-marketing-final-tagline-size: clamp(33px, 9.2vw, 40px);
        --dyer-marketing-hero-content-top: 126px;
        --dyer-marketing-hero-content-bottom: 30px;
        --dyer-marketing-hero-eyebrow-size: 11px;
        --dyer-marketing-hero-eyebrow-gap: 24px;
        --dyer-marketing-hero-actions-top: 34px;
        --dyer-marketing-closing-visual-height: 560px;
        --dyer-marketing-closing-gutter: clamp(20px, 6.15vw, 24px);
        --dyer-marketing-closing-content-top: 42px;
        --dyer-marketing-closing-content-bottom: 36px;
        --dyer-marketing-closing-copy-size: 15px;
        --dyer-marketing-closing-action-size: 14px;
    }
}

@media (max-width: 1100px) and (orientation: portrait) {
    :root {
        --dyer-marketing-closing-visual-height: 460px;
        --dyer-marketing-closing-content-top: 34px;
        --dyer-marketing-closing-content-bottom: 32px;
    }
}

@media (max-height: 620px) and (min-width: 641px) {
    :root {
        --dyer-marketing-hero-description-size: 15px;
        --dyer-marketing-hero-description-line-height: 1.44;
        --dyer-marketing-closing-visual-height: 460px;
        --dyer-marketing-closing-content-top: 38px;
        --dyer-marketing-closing-content-bottom: 32px;
    }
}
[data-dyer-anchor-target] {
    scroll-margin-top: clamp(42px, 6vw, 88px);
}

[data-dyer-anchor-target]:focus,
[data-dyer-anchor-target]:focus-visible {
    outline: 0;
    outline-offset: 0;
}
picture.dyer-modern-picture {
    display: contents;
}

.screen-reader-text:not(:focus):not(:active) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip-path: inset(50%);
    white-space: nowrap;
}
