/* ============================================================
   WDTF · HERITAGE LAYER
   Vintage Florida fruit-crate label aesthetic — Golden Era
   1900–1939. Layers on top of custom.css. All visual moves
   (sun-ray, scallop, banner ribbon, halftone, paper grain,
   stamps, fleurons, drop caps) live here.
   ============================================================ */

:root {
    --litho-easing: cubic-bezier(0.22, 1, 0.36, 1);
    --litho-shadow-offset: 4px 4px 0 rgba(26,26,32,0.18);
    --litho-shadow-tight: 2px 2px 0 rgba(26,26,32,0.18);

    /* Heritage SVG assets — loaded as background-image */
    --svg-sunray: url("../svg/heritage/sunray-starburst.svg");
    --svg-scallop: url("../svg/heritage/scallop-border.svg");
    --svg-ribbon: url("../svg/heritage/banner-ribbon.svg");
    --svg-halftone: url("../svg/heritage/halftone-dots.svg");
    --svg-grain: url("../svg/heritage/paper-grain.svg");
    --svg-seal: url("../svg/heritage/stamp-seal-est-tampa.svg");
    --svg-grade: url("../svg/heritage/stamp-grade-a.svg");
    --svg-fleuron-div: url("../svg/heritage/fleuron-divider.svg");
    --svg-fleuron-corner: url("../svg/heritage/fleuron-corner.svg");
    --svg-citrus: url("../svg/heritage/citrus-illustration.svg");
    --svg-skyline: url("../svg/heritage/tampa-skyline-litho.svg");
}

/* ============================================================
   PAPER GRAIN — site-wide atmosphere
   Layered as a fixed pseudo-overlay so it follows the viewport,
   not the page scroll. Low opacity, mix-blend-multiply so it
   stains the cream background like real aged paper.
   ============================================================ */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image: var(--svg-grain);
    background-size: 300px 300px;
    opacity: 0.35;
    mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 2; }
body { background-color: var(--wp--preset--color--aged-cream); }

/* ============================================================
   TYPOGRAPHY — heritage stack
   ============================================================ */
body, p, li {
    font-family: var(--wp--preset--font-family--body);
    color: var(--wp--preset--color--litho-ink);
}
h1, h2, h3 {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 400;
    letter-spacing: -0.005em;
    color: var(--wp--preset--color--grove-sky);
}
h1 em, h2 em, h3 em {
    font-style: italic;
    color: var(--wp--preset--color--crate-red-ink);
    font-weight: 400;
}
.litho-script {
    font-family: var(--wp--preset--font-family--script);
    font-weight: 400;
    color: var(--wp--preset--color--crate-red-ink);
    font-size: 1.2em;
    line-height: 0.9;
}
.litho-label {
    font-family: var(--wp--preset--font-family--label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--wp--preset--color--crate-red-ink);
}
.litho-wordmark {
    font-family: var(--wp--preset--font-family--wordmark);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0.005em;
    color: var(--wp--preset--color--litho-ink);
    text-shadow: var(--litho-shadow-tight);
}
.litho-mono {
    font-family: var(--wp--preset--font-family--mono);
    font-variant-numeric: tabular-nums;
}

/* Focus state — bracket frame instead of outline */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 2px dashed var(--wp--preset--color--crate-red);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ============================================================
   SUN-RAY STARBURST — hero backdrop element
   .litho-sunray sets a square, place inside a positioned wrapper.
   .litho-sunray--massive scales up for hero hero.
   ============================================================ */
.litho-sunray {
    position: absolute;
    width: clamp(440px, 60vw, 880px);
    height: clamp(440px, 60vw, 880px);
    max-width: 100vw;
    max-height: 100vw;
    background-image: var(--svg-sunray);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.75;
    z-index: 0;
    animation: litho-sun-spin 240s linear infinite;
    transform-origin: center;
}
.litho-sunray--soft { opacity: 0.45; }
.litho-sunray--centered { top: 50%; left: 50%; transform: translate(-50%, -50%); }
@keyframes litho-sun-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .litho-sunray { animation: none; }
}

/* ============================================================
   SCALLOP BORDER — section edge ornament
   Top + bottom strips that bracket a section.
   ============================================================ */
.litho-scallop-top,
.litho-scallop-bottom {
    position: relative;
    height: 24px;
    width: 100%;
    background-image: var(--svg-scallop);
    background-size: 24px 24px;
    background-repeat: repeat-x;
}
.litho-scallop-bottom { transform: scaleY(-1); }

/* ============================================================
   BANNER RIBBON — tag for service phases, "FANCY" badges
   ============================================================ */
.litho-ribbon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 56px;
    padding: 0 36px;
    background-image: var(--svg-ribbon);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: var(--wp--preset--color--cream-pale);
    font-family: var(--wp--preset--font-family--label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 14px;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    transition: transform 250ms var(--litho-easing);
}
.litho-ribbon:hover { transform: translateY(-2px); }
.litho-ribbon--sm { min-width: 140px; height: 40px; font-size: 11px; padding: 0 28px; }

/* ============================================================
   STAMP SEAL — circular "EST · TAMPA · FLORIDA"
   Positioned absolutely inside a wrapper. Rotation gives that
   hand-stamped, slightly-askew feel.
   ============================================================ */
.litho-stamp-seal {
    position: absolute;
    width: clamp(120px, 14vw, 200px);
    height: clamp(120px, 14vw, 200px);
    max-width: 200px;
    max-height: 200px;
    background-image: var(--svg-seal);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(-12deg);
    pointer-events: none;
    z-index: 3;
    opacity: 0.92;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.05));
}
.litho-stamp-seal--tr { top: 1.5rem; right: 1.5rem; }
.litho-stamp-seal--br { bottom: 1.5rem; right: 1.5rem; transform: rotate(8deg); }
.litho-stamp-seal--bl { bottom: 1.5rem; left: 1.5rem; transform: rotate(-6deg); }

.litho-stamp-grade {
    position: absolute;
    width: clamp(100px, 12vw, 160px);
    height: clamp(100px, 12vw, 160px);
    max-width: 160px;
    max-height: 160px;
    background-image: var(--svg-grade);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 3;
    opacity: 0.92;
}
.litho-stamp-grade--tl { top: 1.5rem; left: 1.5rem; transform: rotate(-4deg); }
.litho-stamp-grade--br { bottom: 1.5rem; right: 1.5rem; transform: rotate(6deg); }

/* ============================================================
   FLEURON DIVIDER — section transitions
   Use between major narrative beats.
   ============================================================ */
.litho-fleuron {
    display: block;
    height: 40px;
    width: min(360px, 70%);
    margin: clamp(2rem, 5vw, 4rem) auto;
    background-image: var(--svg-fleuron-div);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.litho-fleuron-corner {
    position: absolute;
    width: 64px;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    background-image: var(--svg-fleuron-corner);
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 3;
}
.litho-fleuron-corner--tl { top: -2px; left: -2px; }
.litho-fleuron-corner--tr { top: -2px; right: -2px; transform: scaleX(-1); }
.litho-fleuron-corner--bl { bottom: -2px; left: -2px; transform: scaleY(-1); }
.litho-fleuron-corner--br { bottom: -2px; right: -2px; transform: scale(-1, -1); }

/* ============================================================
   HALFTONE OVERLAY — section atmosphere
   Apply via .litho-halftone class on a section.
   ============================================================ */
.litho-halftone {
    position: relative;
    isolation: isolate;
}
.litho-halftone::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--svg-halftone);
    background-size: 8px 8px;
    background-repeat: repeat;
    opacity: 0.10;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}
.litho-halftone > * { position: relative; z-index: 2; }
.litho-halftone--heavy::after { opacity: 0.18; }

/* ============================================================
   TWO-TONE SECTION BLOCKS — crate-stack flipping rhythm
   ============================================================ */
/* .litho-section was previously overflow:hidden, but that breaks `position: sticky`
   for every descendant of every chapter (problem cards, proof metrics, services counter,
   case study sticky panel). Switch to `overflow: clip` so backgrounds + halftone overlays
   still clip cleanly at the edges BUT sticky scrollytelling continues to work. */
.litho-section { position: relative; overflow: clip; }
@supports not (overflow: clip) {
    .litho-section { overflow: visible; }
}
.litho-section--cream    { background: var(--wp--preset--color--aged-cream); color: var(--wp--preset--color--litho-ink); }
.litho-section--deep     { background: var(--wp--preset--color--aged-cream-deep); color: var(--wp--preset--color--litho-ink); }
.litho-section--gold     { background: var(--wp--preset--color--sun-gold); color: var(--wp--preset--color--litho-ink); }
.litho-section--sky      {
    background: var(--wp--preset--color--grove-sky);
    color: var(--wp--preset--color--cream-pale);
}
.litho-section--sky h1, .litho-section--sky h2, .litho-section--sky h3 { color: var(--wp--preset--color--cream-pale); }
.litho-section--sky h1 em, .litho-section--sky h2 em, .litho-section--sky h3 em { color: var(--wp--preset--color--sun-gold); }
.litho-section--royal {
    background: var(--wp--preset--color--royal-deep);
    color: var(--wp--preset--color--cream-pale);
}
.litho-section--royal h1, .litho-section--royal h2, .litho-section--royal h3 { color: var(--wp--preset--color--cream-pale); }
.litho-section--royal h1 em, .litho-section--royal h2 em, .litho-section--royal h3 em { color: var(--wp--preset--color--sun-gold); }
.litho-section--grove {
    background: var(--wp--preset--color--grove-green);
    color: var(--wp--preset--color--cream-pale);
}
.litho-section--grove h1, .litho-section--grove h2, .litho-section--grove h3 { color: var(--wp--preset--color--cream-pale); }

/* ============================================================
   CRATE-LABEL FRAME — hero composition wrapper
   Heraldic bordered composition with corner ornaments.
   ============================================================ */
.litho-frame {
    position: relative;
    padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
    background: var(--wp--preset--color--cream-pale);
    border: 4px solid var(--wp--preset--color--litho-ink);
    box-shadow: var(--litho-shadow-offset);
    overflow: hidden;
}
.litho-frame::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1.5px solid var(--wp--preset--color--litho-ink);
    pointer-events: none;
}
.litho-frame::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 0.5px solid var(--wp--preset--color--crate-red);
    pointer-events: none;
}
.litho-frame > * { position: relative; z-index: 2; }

/* ============================================================
   CRATE-LABEL HERO — homepage hero
   ============================================================ */
.litho-hero {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    overflow: visible;
}
.litho-hero__frame {
    position: relative;
    background: var(--wp--preset--color--cream-pale);
    border: 5px solid var(--wp--preset--color--litho-ink);
    box-shadow: 8px 8px 0 var(--wp--preset--color--crate-red),
                14px 14px 0 var(--wp--preset--color--litho-ink);
    padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem);
    overflow: hidden;
    text-align: center;
}
.litho-hero__frame::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px solid var(--wp--preset--color--litho-ink);
    pointer-events: none;
    z-index: 1;
}
.litho-hero__frame::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid var(--wp--preset--color--crate-red);
    pointer-events: none;
    z-index: 1;
}
.litho-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
}
.litho-hero__arch {
    font-family: var(--wp--preset--font-family--label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: clamp(11px, 0.7rem + 0.4vw, 15px);
    color: var(--wp--preset--color--crate-red-ink);
    line-height: 1.4;
}
.litho-hero__arch::before,
.litho-hero__arch::after {
    content: "✦";
    margin: 0 0.6em;
    color: var(--wp--preset--color--sun-gold);
    -webkit-text-stroke: 0.5px var(--wp--preset--color--litho-ink);
}
.litho-hero__wordmark {
    font-family: var(--wp--preset--font-family--wordmark);
    font-size: clamp(48px, 6vw + 1rem, 132px);
    line-height: 0.95;
    color: var(--wp--preset--color--grove-sky);
    text-shadow: 3px 3px 0 var(--wp--preset--color--sun-gold),
                 4px 4px 0 var(--wp--preset--color--litho-ink);
    letter-spacing: 0.005em;
    margin: 0;
}
.litho-hero__wordmark-line { display: block; }
.litho-hero__wordmark-tampa {
    display: block;
    font-size: 1.4em;
    color: var(--wp--preset--color--crate-red-ink);
    text-shadow: 3px 3px 0 var(--wp--preset--color--sun-gold),
                 4px 4px 0 var(--wp--preset--color--litho-ink);
}
.litho-hero__script {
    font-family: var(--wp--preset--font-family--script);
    font-size: clamp(36px, 3vw + 1rem, 64px);
    color: var(--wp--preset--color--crate-red-ink);
    line-height: 1;
    margin: 0;
}
/* Hero H1 — outcome-focused headline (Sonic Boom: visitor wins in 5s).
   Sized as an H1 but stays italic to read as editorial tagline. */
.litho-hero__tagline {
    font-family: var(--wp--preset--font-family--display);
    font-style: italic;
    font-size: clamp(26px, 1.6rem + 1.3vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--wp--preset--color--grove-sky);
    max-width: 28ch;
    margin: 0 auto;
    letter-spacing: -0.005em;
}
.litho-hero__tagline em {
    font-style: italic;
    color: var(--wp--preset--color--crate-red-ink);
    font-weight: 400;
}
/* Hide the WP-generated h1 default coloring on this H1 */
h1.litho-hero__tagline {
    color: var(--wp--preset--color--grove-sky);
}

/* Hero feature illustration — framed crate-label visual showcase */
.litho-hero__visual {
    margin: clamp(0.5rem, 1.5vw, 1rem) auto 0;
    max-width: min(640px, 88%);
    width: 100%;
    position: relative;
    border: 3px solid var(--wp--preset--color--litho-ink);
    box-shadow: 5px 5px 0 var(--wp--preset--color--crate-red),
                8px 8px 0 var(--wp--preset--color--litho-ink);
    background: var(--wp--preset--color--cream-pale);
    overflow: hidden;
    padding: 0;
}
.litho-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.litho-hero__visual-label {
    display: block;
    background: var(--wp--preset--color--cream-pale);
    border-top: 2px solid var(--wp--preset--color--litho-ink);
    font-family: var(--wp--preset--font-family--label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    color: var(--wp--preset--color--crate-red-ink);
    padding: 8px 14px;
    text-align: center;
    line-height: 1.4;
}
@media (max-width: 600px) {
    .litho-hero__visual {
        max-width: 100%;
        box-shadow: 3px 3px 0 var(--wp--preset--color--crate-red),
                    5px 5px 0 var(--wp--preset--color--litho-ink);
    }
    .litho-hero__visual-label {
        font-size: 10px;
        letter-spacing: 0.10em;
        padding: 6px 10px;
    }
}
.litho-hero__sub {
    font-family: var(--wp--preset--font-family--body);
    font-size: clamp(16px, 1rem + 0.2vw, 19px);
    line-height: 1.65;
    color: var(--wp--preset--color--sienna);
    max-width: 58ch;
    margin: 0 auto;
}
.litho-hero__sub em {
    color: var(--wp--preset--color--grove-sky);
    font-style: italic;
    font-weight: 600;
}
.litho-hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 380px;
    margin: 0.5rem auto;
}
.litho-hero__divider::before,
.litho-hero__divider::after {
    content: "";
    flex: 1;
    height: 2px;
    background: var(--wp--preset--color--litho-ink);
}
.litho-hero__divider-mark {
    width: 12px; height: 12px;
    background: var(--wp--preset--color--crate-red);
    border: 2px solid var(--wp--preset--color--litho-ink);
    transform: rotate(45deg);
}
.litho-hero__ctas {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.litho-hero__proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 2rem);
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding: 1.5rem clamp(1rem, 3vw, 2rem) 0;
    border-top: 1px solid var(--wp--preset--color--pale-edge);
    font-family: var(--wp--preset--font-family--label);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    color: var(--wp--preset--color--sienna);
}
.litho-hero__proof strong {
    color: var(--wp--preset--color--grove-sky);
    font-weight: 700;
}
.litho-hero__proof span {
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.litho-hero__proof span:not(:last-child)::after {
    content: "·";
    margin-left: clamp(0.75rem, 2vw, 2rem);
    color: var(--wp--preset--color--crate-red-ink);
    font-size: 1.5em;
    line-height: 0;
}

/* Hero sun-ray sits behind the wordmark */
.litho-hero__sunray {
    position: absolute;
    top: 50%; left: 50%;
    width: clamp(400px, 55vw, 720px);
    height: clamp(400px, 55vw, 720px);
    max-width: 90%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    background-image: var(--svg-sunray);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 0.32;
    animation: litho-sun-spin-hero 360s linear infinite;
    transform-origin: center;
}
@keyframes litho-sun-spin-hero { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .litho-hero__sunray { animation: none; } }

/* Skyline silhouette band at bottom of hero frame.
   DISABLED v2.0.10 — the SVG renders fragmented when cropped to 64-110px
   height (only the building bases + waterline show, reading as detached
   rectangles). The hero illustration itself already carries the Tampa
   skyline with the Plant Museum minarets clearly visible, so the
   decorative band was redundant. Frame's border + bottom fleuron corner
   ornaments now provide the visual floor of the composition.            */
.litho-hero__skyline { display: none; }

/* Corner ornaments on hero frame */
.litho-hero__frame .litho-fleuron-corner { z-index: 2; }

/* Hero stamps */
.litho-hero__frame .litho-stamp-seal--tr { top: 1.5rem; right: 1.5rem; }
.litho-hero__frame .litho-stamp-grade--tl { top: 1.5rem; left: 1.5rem; }

@media (max-width: 720px) {
    .litho-hero__frame {
        /* Top padding lifted so the arch text + wordmark start CLEAR of the
           corner stamps. Bottom padding tightened to match (skyline hidden
           on mobile — see below). */
        padding: 5.5rem 1.25rem 2.5rem;
        box-shadow: 4px 4px 0 var(--wp--preset--color--crate-red),
                    8px 8px 0 var(--wp--preset--color--litho-ink);
    }
    /* Smaller mobile stamps + tighter to the corner (postmark feel) so they
       don't compete with the arch/wordmark for vertical space. */
    .litho-hero__frame .litho-stamp-seal,
    .litho-hero__frame .litho-stamp-grade {
        width: 64px; height: 64px;
    }
    .litho-hero__frame .litho-stamp-seal--tr {
        top: 0.5rem; right: 0.5rem;
    }
    .litho-hero__frame .litho-stamp-grade--tl {
        top: 0.5rem; left: 0.5rem;
    }
    /* Skyline silhouette clutters the bottom on mobile — it competes with the
       corner ornaments (both 64px tall in the corners). Hide on small screens;
       the wordmark already tells the Tampa story. */
    .litho-hero__skyline { display: none; }
    /* Tighten the bottom corner ornaments on mobile so they read as edge marks
       rather than filling the bottom corners. */
    .litho-hero__frame .litho-fleuron-corner--bl,
    .litho-hero__frame .litho-fleuron-corner--br {
        width: 40px; height: 40px;
        max-width: 40px; max-height: 40px;
    }
}

/* ============================================================
   BUTTONS — heritage takeover
   The plan: primary = Sun Gold fill, Litho Ink double-stroke, slab type.
   ============================================================ */
.wdtf-btn-primary,
.litho-btn {
    display: inline-block;
    background: var(--wp--preset--color--sun-gold);
    color: var(--wp--preset--color--litho-ink) !important;
    padding: 14px 32px;
    border: 2px solid var(--wp--preset--color--litho-ink);
    box-shadow: var(--litho-shadow-tight);
    font-family: var(--wp--preset--font-family--label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 14px;
    text-decoration: none;
    border-radius: 0;
    transition: transform 180ms var(--litho-easing), box-shadow 180ms var(--litho-easing), background 180ms var(--litho-easing);
    position: relative;
}
.wdtf-btn-primary:hover,
.litho-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(26,26,32,0.28);
    background: var(--wp--preset--color--crate-red);
    color: var(--wp--preset--color--cream-pale) !important;
    border-color: var(--wp--preset--color--litho-ink);
}
.wdtf-btn-primary:active,
.litho-btn:active {
    transform: translate(0,0);
    box-shadow: 1px 1px 0 rgba(26,26,32,0.28);
}

.litho-btn--secondary {
    background: var(--wp--preset--color--cream-pale);
    color: var(--wp--preset--color--grove-sky) !important;
    border-color: var(--wp--preset--color--grove-sky);
}
.litho-btn--secondary:hover {
    background: var(--wp--preset--color--grove-sky);
    color: var(--wp--preset--color--cream-pale) !important;
}

/* ============================================================
   DROP CAP — first letter of opening paragraphs in long-form
   Add .litho-dropcap to a paragraph.
   ============================================================ */
.litho-dropcap::first-letter {
    font-family: var(--wp--preset--font-family--wordmark);
    font-weight: 400;
    font-size: 4.5em;
    line-height: 0.85;
    float: left;
    margin: 0.08em 0.15em 0 0;
    color: var(--wp--preset--color--crate-red-ink);
    text-shadow: 3px 3px 0 var(--wp--preset--color--sun-gold);
    padding: 0.1em 0.18em;
}

/* ============================================================
   CHAPTER MARKERS — pivot to heritage label style
   Override custom.css chapter-marker visuals so they read as
   crate-label section tags.
   ============================================================ */
.wdtf-chapter-marker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 6px 14px;
    background: var(--wp--preset--color--cream-pale);
    border: 1.5px solid var(--wp--preset--color--litho-ink);
    box-shadow: var(--litho-shadow-tight);
    font-family: var(--wp--preset--font-family--label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    color: var(--wp--preset--color--crate-red-ink);
    margin-bottom: 1.5rem;
    border-radius: 0;
}
.wdtf-chapter-marker__line {
    width: 24px;
    height: 2px;
    background: var(--wp--preset--color--crate-red);
    border-top: 1px solid var(--wp--preset--color--litho-ink);
    border-bottom: 1px solid var(--wp--preset--color--litho-ink);
    flex: 0 0 24px;
}
.wdtf-chapter-marker__num {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 400;
    font-style: italic;
    color: var(--wp--preset--color--grove-sky);
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}

/* ============================================================
   QUALIFICATION PILLS — heritage stamps
   ============================================================ */
.wdtf-qualify {
    background: var(--wp--preset--color--cream-pale);
    border: 2px solid var(--wp--preset--color--litho-ink);
    border-top: 0;
    margin-top: -1px;
    padding: 1.5rem clamp(1.5rem, 4vw, 3rem) !important;
    max-width: 1320px;
}
.wdtf-qualify__label {
    font-family: var(--wp--preset--font-family--label) !important;
    color: var(--wp--preset--color--crate-red-ink) !important;
    letter-spacing: 0.16em !important;
}
.wdtf-qualify__pill {
    background: var(--wp--preset--color--cream-pale) !important;
    color: var(--wp--preset--color--grove-sky) !important;
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    border-radius: 0 !important;
    box-shadow: var(--litho-shadow-tight);
    font-family: var(--wp--preset--font-family--label) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em !important;
    font-size: 12px !important;
    padding: 8px 18px !important;
    transition: transform 180ms var(--litho-easing), background 180ms var(--litho-easing), color 180ms var(--litho-easing) !important;
}
.wdtf-qualify__pill:hover {
    transform: translate(-2px,-2px);
    background: var(--wp--preset--color--sun-gold) !important;
    color: var(--wp--preset--color--litho-ink) !important;
}
.wdtf-qualify__caveat {
    font-family: var(--wp--preset--font-family--body) !important;
    color: var(--wp--preset--color--sienna) !important;
    font-style: italic;
}

/* ============================================================
   HEADER — heritage wordmark + slab nav
   ============================================================ */
.wdtf-header {
    background: var(--wp--preset--color--cream-pale) !important;
    border-bottom: 3px solid var(--wp--preset--color--litho-ink) !important;
    box-shadow: 0 4px 0 var(--wp--preset--color--crate-red),
                0 7px 0 var(--wp--preset--color--litho-ink);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.wdtf-header__inner {
    max-width: 1320px !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}
/* Header logo — image-based BGG-style wordmark
   Scoped to .wdtf-header so the footer keeps its text-based wdtf-logo styling. */
.wdtf-header .wdtf-logo {
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 0;
    font-size: 0 !important;
    color: transparent !important;
    text-shadow: none !important;
    transition: transform 200ms var(--litho-easing);
    /* hide any stray text content (e.g. legacy fallback) */
    overflow: hidden;
}
.wdtf-header .wdtf-logo:hover,
.wdtf-header .wdtf-logo:focus-visible {
    transform: translateY(-1px);
}
.wdtf-logo__img {
    display: block;
    height: auto;
    width: auto;
    max-height: 64px;
    max-width: 220px;
    image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 600px) {
    .wdtf-logo__img {
        max-height: 48px;
        max-width: 160px;
    }
}
.wdtf-nav__links a {
    font-family: var(--wp--preset--font-family--label) !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--wp--preset--color--litho-ink) !important;
    position: relative;
}
.wdtf-nav__links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--wp--preset--color--crate-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms var(--litho-easing);
}
.wdtf-nav__links a:hover {
    color: var(--wp--preset--color--crate-red-ink) !important;
}
.wdtf-nav__links a:hover::after { transform: scaleX(1); }
.wdtf-nav__cta {
    background: var(--wp--preset--color--sun-gold) !important;
    color: var(--wp--preset--color--litho-ink) !important;
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    box-shadow: var(--litho-shadow-tight);
    font-family: var(--wp--preset--font-family--label) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
    border-radius: 0 !important;
    transition: transform 180ms var(--litho-easing), background 180ms var(--litho-easing);
}
.wdtf-nav__cta:hover {
    transform: translate(-2px, -2px);
    background: var(--wp--preset--color--crate-red) !important;
    color: var(--wp--preset--color--cream-pale) !important;
    box-shadow: 4px 4px 0 rgba(26,26,32,0.3);
}

/* ============================================================
   FOOTER — heritage stamp signature
   ============================================================ */
.wdtf-footer {
    background: var(--wp--preset--color--royal-deep) !important;
    color: var(--wp--preset--color--cream-pale) !important;
    border-top: 6px double var(--wp--preset--color--sun-gold) !important;
    position: relative;
    overflow: hidden;
}
.wdtf-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--svg-halftone);
    background-size: 8px 8px;
    opacity: 0.06;
    pointer-events: none;
}
.wdtf-footer__inner { position: relative; z-index: 2; }
.wdtf-footer h4 {
    font-family: var(--wp--preset--font-family--label) !important;
    color: var(--wp--preset--color--sun-gold) !important;
    letter-spacing: 0.18em !important;
    border-bottom: 1px solid rgba(242, 178, 51, 0.3);
    padding-bottom: 0.5rem;
}
.wdtf-footer a {
    color: var(--wp--preset--color--cream-pale) !important;
    font-family: var(--wp--preset--font-family--body) !important;
}
.wdtf-footer a:hover {
    color: var(--wp--preset--color--sun-gold) !important;
}
.wdtf-footer .wdtf-logo {
    font-family: var(--wp--preset--font-family--wordmark) !important;
    font-weight: 400 !important;
    font-size: clamp(20px, 1.1rem + 0.6vw, 26px) !important;
    color: var(--wp--preset--color--cream-pale) !important;
    text-shadow: 2px 2px 0 var(--wp--preset--color--crate-red);
    letter-spacing: 0.005em !important;
    line-height: 1 !important;
    display: inline-flex;
    align-items: baseline;
    gap: 0.4em;
    text-decoration: none;
}
.wdtf-footer .wdtf-logo span { color: var(--wp--preset--color--sun-gold) !important; font-style: normal; }
.wdtf-footer__bottom {
    border-top: 1px solid rgba(244, 232, 207, 0.15) !important;
    font-family: var(--wp--preset--font-family--label) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px !important;
}

/* ============================================================
   STICKY CTA — heritage badge
   ============================================================ */
.wdtf-sticky-cta {
    background: var(--wp--preset--color--royal-deep) !important;
    color: var(--wp--preset--color--cream-pale) !important;
    border-top: 3px solid var(--wp--preset--color--sun-gold) !important;
}
.wdtf-sticky-cta strong {
    font-family: var(--wp--preset--font-family--display) !important;
    font-style: italic;
    color: var(--wp--preset--color--cream-pale) !important;
}
.wdtf-sticky-cta a {
    background: var(--wp--preset--color--sun-gold) !important;
    color: var(--wp--preset--color--litho-ink) !important;
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    font-family: var(--wp--preset--font-family--label) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0 !important;
    box-shadow: var(--litho-shadow-tight);
}

/* ============================================================
   PROBLEM CARDS — crate stamp treatment
   ============================================================ */
.wdtf-problem-item {
    background: var(--wp--preset--color--cream-pale) !important;
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    border-radius: 0 !important;
    box-shadow: var(--litho-shadow-offset);
    position: relative;
}
.wdtf-problem-item::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid var(--wp--preset--color--crate-red);
    pointer-events: none;
}
.wdtf-problem-item__num {
    font-family: var(--wp--preset--font-family--label) !important;
    color: var(--wp--preset--color--crate-red-ink) !important;
    border-bottom: 1.5px solid var(--wp--preset--color--litho-ink);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.wdtf-problem-item__quote {
    font-family: var(--wp--preset--font-family--display) !important;
    color: var(--wp--preset--color--grove-sky) !important;
    font-weight: 400;
    font-style: italic;
}
.wdtf-problem-item__quote::before { content: "❝ "; color: var(--wp--preset--color--crate-red-ink); font-style: normal; }
.wdtf-problem-item__quote::after { content: " ❞"; color: var(--wp--preset--color--crate-red-ink); font-style: normal; }
.wdtf-problem-item__reframe { color: var(--wp--preset--color--litho-ink) !important; }
.wdtf-problem-item__reframe strong { color: var(--wp--preset--color--crate-red-ink) !important; }
.wdtf-problem-item__tag {
    color: var(--wp--preset--color--sienna) !important;
    border-top: 1px dashed var(--wp--preset--color--pale-edge) !important;
}
.wdtf-problem-item__tag strong { color: var(--wp--preset--color--grove-sky) !important; }

/* ============================================================
   PULL-QUOTE — heritage proclamation
   ============================================================ */
.wdtf-pullquote {
    background: var(--wp--preset--color--aged-cream-deep);
    border-top: 4px double var(--wp--preset--color--crate-red);
    border-bottom: 4px double var(--wp--preset--color--crate-red);
    position: relative;
    overflow: hidden;
}
.wdtf-pullquote::before,
.wdtf-pullquote::after {
    width: 80px !important;
    height: 4px !important;
    background: var(--wp--preset--color--crate-red) !important;
}
.wdtf-pullquote__eyebrow {
    background: var(--wp--preset--color--cream-pale);
    display: inline-block !important;
    padding: 6px 16px;
    border: 1.5px solid var(--wp--preset--color--litho-ink);
    color: var(--wp--preset--color--crate-red-ink) !important;
    font-family: var(--wp--preset--font-family--label) !important;
}
.wdtf-pullquote__body {
    font-family: var(--wp--preset--font-family--display) !important;
    color: var(--wp--preset--color--grove-sky) !important;
    font-weight: 400;
}
.wdtf-pullquote__body em {
    color: var(--wp--preset--color--crate-red-ink) !important;
    font-style: italic !important;
    font-weight: 400 !important;
}

/* ============================================================
   FAQ — accordion as label cards
   ============================================================ */
.wdtf-faq__item {
    background: var(--wp--preset--color--cream-pale);
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    border-radius: 0 !important;
    margin-bottom: 1rem;
    box-shadow: var(--litho-shadow-tight);
}
.wdtf-faq__q {
    font-family: var(--wp--preset--font-family--display) !important;
    color: var(--wp--preset--color--grove-sky) !important;
    padding: 1rem 1.25rem !important;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 3rem !important;
}
.wdtf-faq__q::-webkit-details-marker { display: none; }
.wdtf-faq__q::after {
    content: "+";
    position: absolute;
    right: 1.25rem; top: 50%;
    transform: translateY(-50%);
    font-family: var(--wp--preset--font-family--wordmark);
    color: var(--wp--preset--color--crate-red-ink);
    font-size: 1.4rem;
    line-height: 1;
}
.wdtf-faq__item[open] .wdtf-faq__q::after { content: "−"; }
.wdtf-faq__item[open] .wdtf-faq__q {
    border-bottom: 1px dashed var(--wp--preset--color--pale-edge);
}
.wdtf-faq__a {
    padding: 1rem 1.25rem 1.25rem !important;
    color: var(--wp--preset--color--litho-ink);
}

/* ============================================================
   CTA BLOCK — crate label closing
   ============================================================ */
.wdtf-cta {
    background: var(--wp--preset--color--royal-deep) !important;
    color: var(--wp--preset--color--cream-pale) !important;
    border: 4px solid var(--wp--preset--color--sun-gold) !important;
    border-radius: 0 !important;
    box-shadow: 8px 8px 0 var(--wp--preset--color--litho-ink) !important;
    position: relative;
}
.wdtf-cta::before {
    background: radial-gradient(circle, rgba(242,178,51,0.22) 0%, transparent 60%) !important;
}
.wdtf-cta::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1.5px solid var(--wp--preset--color--sun-gold);
    pointer-events: none;
    opacity: 0.5;
}
.wdtf-cta h2 {
    color: var(--wp--preset--color--cream-pale) !important;
    font-family: var(--wp--preset--font-family--display) !important;
}
.wdtf-cta h2 em {
    color: var(--wp--preset--color--sun-gold) !important;
    font-style: italic !important;
}
.wdtf-cta p { color: var(--wp--preset--color--cream-pale) !important; }
.wdtf-cta__form {
    background: var(--wp--preset--color--cream-pale) !important;
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    box-shadow: var(--litho-shadow-offset);
    border-radius: 0 !important;
    position: relative;
}
.wdtf-cta__form::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid var(--wp--preset--color--crate-red);
    pointer-events: none;
}
.wdtf-cta__form > * { position: relative; z-index: 2; }
.wdtf-cta__form-title {
    font-family: var(--wp--preset--font-family--display) !important;
    color: var(--wp--preset--color--grove-sky) !important;
}
.wdtf-cta__form label {
    font-family: var(--wp--preset--font-family--label) !important;
    color: var(--wp--preset--color--crate-red-ink) !important;
}
.wdtf-cta__form input,
.wdtf-cta__form select {
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    border-radius: 0 !important;
    background: var(--wp--preset--color--cream-pale) !important;
    font-family: var(--wp--preset--font-family--body) !important;
}
.wdtf-cta__form input:focus,
.wdtf-cta__form select:focus {
    border-color: var(--wp--preset--color--crate-red-ink) !important;
    outline: 2px solid rgba(201,52,30,0.3);
    outline-offset: 0;
}
.wdtf-cta__form button {
    background: var(--wp--preset--color--crate-red) !important;
    color: var(--wp--preset--color--cream-pale) !important;
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    box-shadow: var(--litho-shadow-tight);
    font-family: var(--wp--preset--font-family--label) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0 !important;
    padding: 14px 24px !important;
    transition: transform 180ms var(--litho-easing), background 180ms var(--litho-easing);
}
.wdtf-cta__form button:hover {
    transform: translate(-2px, -2px);
    background: var(--wp--preset--color--grove-sky) !important;
    color: var(--wp--preset--color--cream-pale) !important;
}
.wdtf-cta__guarantee::before {
    content: "✦";
    color: var(--wp--preset--color--sun-gold) !important;
    margin-right: 0.5rem;
}

/* ============================================================
   PROCESS STEPS — heritage label cards
   ============================================================ */
.wdtf-process__step {
    background: var(--wp--preset--color--cream-pale);
    color: var(--wp--preset--color--litho-ink);
    padding: 1.25rem 1.25rem 1.5rem !important;
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    border-top: 6px solid var(--wp--preset--color--sun-gold) !important;
    box-shadow: var(--litho-shadow-tight);
}
.wdtf-process__step.is-visible {
    border-top-color: var(--wp--preset--color--crate-red-ink) !important;
}
.wdtf-process__num {
    font-family: var(--wp--preset--font-family--label) !important;
    color: var(--wp--preset--color--crate-red-ink) !important;
}
.wdtf-process__title {
    font-family: var(--wp--preset--font-family--display) !important;
    color: var(--wp--preset--color--grove-sky) !important;
}
.wdtf-process__body { color: var(--wp--preset--color--litho-ink) !important; }

/* ============================================================
   PROOF / METRIC CARDS — stencil-stamp numerals
   ============================================================ */
.wdtf-proof-metric__num {
    font-family: var(--wp--preset--font-family--wordmark) !important;
    color: var(--wp--preset--color--sun-gold) !important;
    text-shadow: 3px 3px 0 var(--wp--preset--color--crate-red);
}
.wdtf-proof-metric__tag {
    background: var(--wp--preset--color--sun-gold) !important;
    color: var(--wp--preset--color--litho-ink) !important;
    border: 1.5px solid var(--wp--preset--color--litho-ink) !important;
    font-family: var(--wp--preset--font-family--label) !important;
    border-radius: 0 !important;
}
.wdtf-proof-beat__copy em {
    color: var(--wp--preset--color--sun-gold) !important;
    font-style: italic !important;
}

/* ============================================================
   SERVICES — heritage card overrides
   ============================================================ */
.wdtf-services-sticky__counter strong {
    font-family: var(--wp--preset--font-family--wordmark) !important;
    color: var(--wp--preset--color--crate-red-ink) !important;
    text-shadow: 2px 2px 0 var(--wp--preset--color--sun-gold);
}
.wdtf-services-sticky__current {
    font-family: var(--wp--preset--font-family--display) !important;
    font-style: italic;
    color: var(--wp--preset--color--grove-sky) !important;
}
.wdtf-services-beat__phase {
    display: inline-block;
    background: var(--wp--preset--color--crate-red);
    color: var(--wp--preset--color--cream-pale) !important;
    padding: 4px 12px;
    border: 1.5px solid var(--wp--preset--color--litho-ink);
    box-shadow: var(--litho-shadow-tight);
    font-family: var(--wp--preset--font-family--label) !important;
}
.wdtf-services-beat__head { color: var(--wp--preset--color--grove-sky) !important; }
.wdtf-services-beat__head em { color: var(--wp--preset--color--crate-red-ink) !important; }
.wdtf-services-beat__price strong { color: var(--wp--preset--color--crate-red-ink) !important; }

/* ============================================================
   CASE STUDY — heritage frame
   ============================================================ */
.wdtf-case-beat__phase {
    display: inline-block;
    background: var(--wp--preset--color--grove-sky);
    color: var(--wp--preset--color--cream-pale) !important;
    padding: 4px 12px;
    border: 1.5px solid var(--wp--preset--color--litho-ink);
    box-shadow: var(--litho-shadow-tight);
    font-family: var(--wp--preset--font-family--label) !important;
    margin-bottom: 1rem;
}
.wdtf-case-beat__head { color: var(--wp--preset--color--grove-sky) !important; }
.wdtf-case-beat__head em { color: var(--wp--preset--color--crate-red-ink) !important; }
.wdtf-case-beat__metric {
    background: var(--wp--preset--color--cream-pale) !important;
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    border-radius: 0 !important;
    box-shadow: var(--litho-shadow-tight);
}
.wdtf-case-beat__metric-num {
    font-family: var(--wp--preset--font-family--wordmark) !important;
    color: var(--wp--preset--color--crate-red-ink) !important;
}
.wdtf-case-sticky__visual {
    border: 3px solid var(--wp--preset--color--litho-ink);
    box-shadow: var(--litho-shadow-offset);
    border-radius: 0 !important;
}
.wdtf-case-sticky__label {
    font-family: var(--wp--preset--font-family--label) !important;
}
.wdtf-case-sticky__disclaimer {
    background: var(--wp--preset--color--aged-cream-deep) !important;
    border-left: 4px solid var(--wp--preset--color--crate-red) !important;
    color: var(--wp--preset--color--litho-ink) !important;
}

/* ============================================================
   PROGRESS BAR + CHAPTER DOTS
   ============================================================ */
.wdtf-progress__fill { background: var(--wp--preset--color--crate-red) !important; }
.wdtf-chapters {
    background: var(--wp--preset--color--cream-pale) !important;
    border: 2px solid var(--wp--preset--color--litho-ink) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: var(--litho-shadow-tight);
    border-radius: 0 !important;
}
.wdtf-chapter-dot__bullet {
    border-color: var(--wp--preset--color--litho-ink) !important;
    border-radius: 0 !important;
    transform: rotate(45deg);
}
.wdtf-chapter-dot.is-active .wdtf-chapter-dot__bullet {
    background: var(--wp--preset--color--crate-red) !important;
    border-color: var(--wp--preset--color--litho-ink) !important;
}
.wdtf-chapter-dot.is-past .wdtf-chapter-dot__bullet {
    background: var(--wp--preset--color--sun-gold) !important;
    border-color: var(--wp--preset--color--litho-ink) !important;
}

/* ============================================================
   EXIT MODAL — heritage card
   ============================================================ */
.wdtf-exit-modal__panel {
    background: var(--wp--preset--color--cream-pale) !important;
    border: 4px solid var(--wp--preset--color--litho-ink) !important;
    box-shadow: 8px 8px 0 var(--wp--preset--color--crate-red) !important;
    border-radius: 0 !important;
}

/* ============================================================
   ICONOGRAPHY GUARD — enforce explicit sizing
   ============================================================ */
img.litho-icon, .litho-icon img {
    max-width: 100%;
    height: auto;
}
.litho-icon--sm { max-width: 20px; max-height: 20px; }
.litho-icon--md { max-width: 32px; max-height: 32px; }
.litho-icon--lg { max-width: 48px; max-height: 48px; }
.litho-icon--xl { max-width: 80px; max-height: 80px; }
.litho-icon--hero { max-width: 200px; max-height: 200px; }
@media (max-width: 720px) {
    .litho-icon--hero { max-width: 120px; max-height: 120px; }
}

/* ============================================================
   MOBILE NAV — hamburger button + slide-in drawer
   Hidden on desktop. Activates at ≤ 900px.
   ============================================================ */
.wdtf-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    background: var(--wp--preset--color--cream-pale);
    border: 2px solid var(--wp--preset--color--litho-ink);
    box-shadow: var(--litho-shadow-tight);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 0;
    flex-shrink: 0;
    transition: transform 180ms var(--litho-easing), background 180ms var(--litho-easing);
}
.wdtf-nav__toggle:hover {
    transform: translate(-2px, -2px);
    background: var(--wp--preset--color--sun-gold);
    box-shadow: 4px 4px 0 rgba(26,26,32,0.28);
}
.wdtf-nav__toggle-line {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--wp--preset--color--litho-ink);
    border-radius: 0;
    transition: transform 220ms var(--litho-easing), opacity 180ms var(--litho-easing);
    transform-origin: center;
}
.wdtf-nav__toggle[aria-expanded="true"] .wdtf-nav__toggle-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.wdtf-nav__toggle[aria-expanded="true"] .wdtf-nav__toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.wdtf-nav__toggle[aria-expanded="true"] .wdtf-nav__toggle-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Backdrop overlay (mobile only — hidden by default) */
.wdtf-nav__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(13, 46, 92, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--litho-easing);
    z-index: 198;
    display: none;
}
.wdtf-nav__backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Drawer panel */
.wdtf-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 380px);
    background: var(--wp--preset--color--cream-pale);
    border-left: 4px solid var(--wp--preset--color--litho-ink);
    box-shadow: -8px 0 0 var(--wp--preset--color--crate-red),
                -14px 0 0 var(--wp--preset--color--litho-ink);
    transform: translateX(110%);
    transition: transform 320ms var(--litho-easing);
    z-index: 199;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
}
.wdtf-mobile-drawer.is-open {
    transform: translateX(0);
}
.wdtf-mobile-drawer__inner {
    padding: 5rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100%;
    position: relative;
}
.wdtf-mobile-drawer__inner::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid var(--wp--preset--color--crate-red);
    pointer-events: none;
    z-index: 0;
}
.wdtf-mobile-drawer__inner > * { position: relative; z-index: 1; }

.wdtf-mobile-drawer__eyebrow {
    font-family: var(--wp--preset--font-family--label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 11px;
    color: var(--wp--preset--color--crate-red-ink);
    padding: 0 0 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1.5px solid var(--wp--preset--color--litho-ink);
}
.wdtf-mobile-drawer__link {
    font-family: var(--wp--preset--font-family--display) !important;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--wp--preset--color--grove-sky) !important;
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--wp--preset--color--pale-edge);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 180ms var(--litho-easing), padding-left 180ms var(--litho-easing);
}
.wdtf-mobile-drawer__link::after {
    content: "→";
    font-family: var(--wp--preset--font-family--display);
    color: var(--wp--preset--color--crate-red-ink);
    font-size: 18px;
    transition: transform 200ms var(--litho-easing);
}
.wdtf-mobile-drawer__link:hover,
.wdtf-mobile-drawer__link:focus-visible {
    color: var(--wp--preset--color--crate-red-ink) !important;
    padding-left: 0.5rem;
}
.wdtf-mobile-drawer__link:hover::after,
.wdtf-mobile-drawer__link:focus-visible::after {
    transform: translateX(4px);
}

.wdtf-mobile-drawer__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    margin: 1.75rem auto;
}
.wdtf-mobile-drawer__divider::before,
.wdtf-mobile-drawer__divider::after {
    content: "";
    flex: 1;
    height: 1.5px;
    background: var(--wp--preset--color--litho-ink);
}
.wdtf-mobile-drawer__divider-mark {
    width: 10px;
    height: 10px;
    background: var(--wp--preset--color--crate-red);
    border: 1.5px solid var(--wp--preset--color--litho-ink);
    transform: rotate(45deg);
}

.wdtf-mobile-drawer__cta {
    display: block;
    text-align: center;
    background: var(--wp--preset--color--sun-gold);
    color: var(--wp--preset--color--litho-ink) !important;
    border: 2px solid var(--wp--preset--color--litho-ink);
    box-shadow: var(--litho-shadow-tight);
    font-family: var(--wp--preset--font-family--label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 14px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    transition: transform 180ms var(--litho-easing), background 180ms var(--litho-easing);
}
.wdtf-mobile-drawer__cta:hover,
.wdtf-mobile-drawer__cta:focus-visible {
    transform: translate(-2px, -2px);
    background: var(--wp--preset--color--crate-red);
    color: var(--wp--preset--color--cream-pale) !important;
    box-shadow: 4px 4px 0 rgba(26,26,32,0.32);
}

.wdtf-mobile-drawer__caveat {
    margin: 1.5rem 0 0;
    font-family: var(--wp--preset--font-family--body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--wp--preset--color--sienna);
    font-style: italic;
}
.wdtf-mobile-drawer__caveat strong {
    color: var(--wp--preset--color--crate-red-ink);
    font-style: normal;
}

/* Mobile activation — hide desktop nav, show hamburger + drawer */
@media (max-width: 900px) {
    .wdtf-nav__links {
        display: none !important;
    }
    .wdtf-nav__cta {
        display: none !important;
    }
    .wdtf-nav__toggle {
        display: flex;
    }
    .wdtf-nav__backdrop {
        display: block;
    }
    .wdtf-mobile-drawer {
        display: block;
    }
    /* When drawer open, lock body scroll */
    html.wdtf-nav-locked,
    html.wdtf-nav-locked body {
        overflow: hidden;
        touch-action: none;
    }
}

/* Reduced motion — instant drawer */
@media (prefers-reduced-motion: reduce) {
    .wdtf-mobile-drawer,
    .wdtf-nav__backdrop,
    .wdtf-nav__toggle-line {
        transition: none !important;
    }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .litho-sunray, .litho-hero__sunray, .litho-stamp-seal, .litho-stamp-grade, body::before,
    .wdtf-nav__toggle, .wdtf-mobile-drawer, .wdtf-nav__backdrop { display: none !important; }
}
