/* ═══════════════════════════════════════════════════════════════════════
   THE DEADLY DOZEN — Event Stylesheet
   events/deadly-dozen/css/style.css

   Loaded after the platform stylesheet (assets/css/style.css).
   Every rule is scoped with .dd- to avoid collisions with the platform.
   The two division-background rules stay inline in index.php because
   they reference PHP variables ($divisions[...]['bg']).
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    --dd-font: 'Oswald', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Base ────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body.dd-page {
    min-height: 100vh;
    background: #050505;
    color: #f2efe6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Oswald — supporting typography */
.dd-headline,
.dd-subline,
.dd-section-title,
.dd-work-num,
.dd-work-name,
.dd-w-m,
.dd-bigcta-title,
.dd-race-date,
.dd-count-num {
    font-family: 'Oswald', 'Inter', sans-serif;
}

/* Bebas Neue — scoreboard values only */
.dd-work-primary,
.dd-count-sep,
.dd-count-num {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
}

.dd-shell        { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.dd-shell-narrow { width: min(720px,  calc(100% - 40px)); margin: 0 auto; }

.dd-accent { color: #ffc107; }
.dd-muted  { color: rgba(242,239,230,.55); }


/* ═══════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════ */
.dd-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px 40px;
    overflow: hidden;
    isolation: isolate;
}

.dd-hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity .6s ease;
}

.dd-hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse 75% 65% at 50% 45%, transparent 15%, rgba(0,0,0,.72) 100%),
        linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 40%, rgba(0,0,0,.90) 100%);
    transition: background .6s ease;
    pointer-events: none;
}

.dd-hero[data-division="deadlier"]::before {
    background:
        radial-gradient(ellipse 65% 55% at 50% 45%, transparent 10%, rgba(0,0,0,.85) 100%),
        linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(30,10,0,.45) 40%, rgba(0,0,0,.95) 100%);
}

/* Dust / sparks layer */
.dd-hero-dust {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
    mix-blend-mode: screen;
}

.dd-hero-dust circle {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.dd-hero-dust circle.visible {
    opacity: var(--dd-p-opacity, 1);
}

/* Hero content */
.dd-hero-inner {
    position: relative; z-index: 3;
    max-width: 900px; width: 100%;
}

.dd-hero-logos {
    display: flex; flex-direction: column; align-items: center;
    gap: 24px;
    margin: 0 0 48px;
}

.dd-logo-client {
    display: block;
    max-width: 160px;
    height: auto;
    opacity: 0;
    transform: translateY(8px);
    animation: dd-logo-in .7s cubic-bezier(.2,.7,.3,1) .15s forwards;
}

.dd-logo-event {
    display: block;
    max-width: min(560px, 78%);
    height: auto;
    opacity: 0;
    transform: scale(.92) translateY(14px);
    transform-origin: center;
    filter: drop-shadow(0 0 0 rgba(255,193,7,0));
    animation:
        dd-logo-in-event 1s cubic-bezier(.2,.7,.3,1) .35s forwards,
        dd-logo-float 6s ease-in-out 1.4s infinite;
}

@keyframes dd-logo-in {
    to { opacity: .95; transform: translateY(0); }
}

@keyframes dd-logo-in-event {
    0% {
        opacity: 0;
        transform: scale(.92) translateY(14px);
        filter: drop-shadow(0 0 0 rgba(255,193,7,0));
    }
    60% {
        opacity: 1;
        transform: scale(1.02) translateY(0);
        filter: drop-shadow(0 0 18px rgba(255,193,7,.35));
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 0 8px rgba(255,193,7,.15));
    }
}

@keyframes dd-logo-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-4px) scale(1.006); }
}

.dd-hero[data-division="deadlier"] .dd-logo-event {
    animation:
        dd-logo-in-event 1s cubic-bezier(.2,.7,.3,1) .35s forwards,
        dd-logo-float-deadlier 4.5s ease-in-out 1.4s infinite;
}

@keyframes dd-logo-float-deadlier {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 8px rgba(255,60,0,.25));
    }
    50% {
        transform: translateY(-4px) scale(1.008);
        filter: drop-shadow(0 0 22px rgba(255,60,0,.45));
    }
}

.dd-headline {
    font-weight: 900;
    font-size: clamp(32px, 6.5vw, 68px);
    line-height: 1;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: #f2efe6;
    margin: 0 0 22px;
    text-shadow: 0 2px 24px rgba(0,0,0,.85);
}

.dd-subline {
    font-weight: 900;
    font-size: clamp(16px, 3.2vw, 26px);
    line-height: 1.1;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #f2efe6;
    margin: 0 0 44px;
    opacity: .9;
    text-shadow: 0 2px 20px rgba(0,0,0,.85);
}

/* Division buttons */
.dd-divisions {
    display: flex; justify-content: center; gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 32px;
}

.dd-div-btn {
    appearance: none; cursor: pointer;
    min-width: 190px;
    padding: 20px 38px;
    border: 2px solid rgba(242,239,230,.22);
    background: rgba(0,0,0,.55);
    color: #f2efe6;
    font-family: inherit;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: transform .15s ease, border-color .15s ease,
                background .15s ease, color .15s ease, box-shadow .25s ease;
}

.dd-div-btn:hover {
    transform: translateY(-1px);
    border-color: #ffc107;
    background: rgba(0,0,0,.75);
}

.dd-div-btn.active {
    background: #ffc107;
    color: #0a0a0a;
    border-color: #ffc107;
    box-shadow: 0 8px 40px rgba(255,193,7,.35);
}

.dd-confirm {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #ffc107;
    margin: 4px 0 56px;
    min-height: 18px;
    opacity: 0;
    transition: opacity .35s ease;
    text-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.dd-confirm.visible { opacity: 1; }

/* Countdown */
.dd-countdown-label {
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: rgba(242,239,230,.55);
    margin: 0 0 16px;
}

.dd-countdown {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 3vw, 26px);
    margin: 0 0 12px;
}

.dd-count-unit { min-width: 60px; }

.dd-count-num {
    font-weight: 900;
    font-size: clamp(32px, 7.5vw, 58px);
    line-height: 1;
    color: #f2efe6;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 20px rgba(0,0,0,.8);
}

.dd-count-lbl {
    font-weight: 700;
    font-size: 9px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(242,239,230,.5);
    margin-top: 8px;
}

.dd-count-sep {
    font-weight: 900;
    font-size: clamp(24px, 5vw, 42px);
    line-height: 1;
    color: #ffc107;
    align-self: center;
    opacity: .8;
    transition: color .6s ease;
}

.dd-hero[data-division="deadlier"] .dd-count-sep { color: #ff9f2e; }

.dd-hero-date {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(242,239,230,.55);
    margin: 20px 0 0;
}

/* Scroll indicator */
.dd-scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    color: rgba(242,239,230,.5);
    z-index: 3;
    animation: dd-scroll-bob 2.5s ease-in-out infinite;
}

.dd-scroll-indicator svg { display: block; width: 100%; height: 100%; }

.dd-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: rgba(242,239,230,.5);
    z-index: 3;
    margin: 0;
}

@keyframes dd-scroll-bob {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

/* Reduced motion — kill every animation in the hero */
@media (prefers-reduced-motion: reduce) {
    .dd-logo-client,
    .dd-logo-event,
    .dd-hero[data-division="deadlier"] .dd-logo-event,
    .dd-scroll-indicator {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}


/* ═══════════════════════════════════════════════════════════════════════
   SECTION SHELL
   ═══════════════════════════════════════════════════════════════════════ */
.dd-section {
    padding: 96px 0;
    border-top: 1px solid rgba(242,239,230,.06);
}

.dd-section-eyebrow {
    font-family: var(--dd-font);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #ffc107;
    margin: 0 auto 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dd-section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: .8;
}

.dd-section-title {
    font-weight: 900;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -.015em;
    text-transform: uppercase;
    color: #f2efe6;
    margin: 0 auto 12px;
    text-align: center;
}

.dd-section-sub {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(242,239,230,.6);
    margin: 0 0 48px;
    text-align: center;
}


/* ═══════════════════════════════════════════════════════════════════════
   THE WORK GRID
   ═══════════════════════════════════════════════════════════════════════ */
.dd-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1px;
    background: rgba(242,239,230,.10);
    border: 1px solid rgba(242,239,230,.10);
}

.dd-work-grid-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px 14px 22px;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(242,239,230,.06);
}

.dd-work-grid-label {
    font-family: var(--dd-font);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(242,239,230,.5);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.dd-work-grid-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ffc107;
}

.dd-work-toggle {
    display: inline-flex;
    border: 1px solid rgba(242,239,230,.15);
    background: transparent;
}

.dd-work-toggle-btn {
    appearance: none;
    cursor: pointer;
    padding: 8px 20px;
    background: transparent;
    border: 0;
    color: rgba(242,239,230,.65);
    font-family: var(--dd-font);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .15s ease, color .15s ease;
}

.dd-work-toggle-btn:hover {
    color: #f2efe6;
    background: rgba(255,193,7,.06);
}

.dd-work-toggle-btn.active {
    background: #ffc107;
    color: #0a0a0a;
}

.dd-work-toggle-btn + .dd-work-toggle-btn {
    border-left: 1px solid rgba(242,239,230,.15);
}

.dd-work-card {
    position: relative;
    padding: 22px 20px;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background .2s ease;
}

.dd-work-card:hover { background: #101010; }

.dd-work-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: #ffc107;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.dd-work-card:hover::before { transform: scaleX(1); }

.dd-work-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.dd-work-num {
    font-family: var(--dd-font);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .22em;
    color: #ffc107;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.dd-work-name {
    font-family: var(--dd-font);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .03em;
    line-height: 1.2;
    text-transform: uppercase;
    color: rgba(242,239,230,.85);
    margin: 0;
    min-height: 34px;
}

.dd-work-values { margin-top: auto; }

.dd-work-primary {
    font-family: var(--dd-font);
    font-weight: 700;
    font-size: 44px;
    line-height: .95;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: #ffc107;
    margin: 0 0 12px;
    font-variant-numeric: tabular-nums;
}

.dd-work-weights {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 28px;
    min-height: 24px;
}

.dd-work-weight { display: flex; align-items: baseline; }

.dd-w-m {
    font-family: var(--dd-font);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: .16em;
    color: rgba(255,193,7,.75);
    text-transform: uppercase;
}

.dd-w-value {
    font-family: var(--dd-font);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: .01em;
    color: rgba(242,239,230,.95);
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

.dd-work-card[data-station="2"] .dd-work-weights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: auto;
}

.dd-work-card[data-station="2"] .dd-work-weight {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.dd-work-card[data-station="2"] .dd-w-m {
    font-family: var(--dd-font);
    font-weight: 700;
    letter-spacing: .22em;
    color: rgba(255,193,7,.7);
    width: 20px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.dd-work-card[data-station="2"] .dd-w-value {
    font-family: var(--dd-font);
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.02em;
    color: #ffc107;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
}


/* ═══════════════════════════════════════════════════════════════════════
   RACE DAY + REGISTER
   ═══════════════════════════════════════════════════════════════════════ */
.dd-race-day {
    text-align: center;
    padding: 50px 0 0;
}

.dd-race-day .dd-section-eyebrow { margin-top: 60px; }

.dd-race-date {
    font-weight: 900;
    font-size: clamp(32px, 6vw, 56px);
    line-height: 1;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: #f2efe6;
    margin: 0 0 8px;
}

.dd-race-venue {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .30em;
    text-transform: uppercase;
    color: #ffc107;
    margin: 0 0 48px;
}

.dd-prep-list {
    max-width: 620px;
    margin: 0 auto 56px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.dd-prep-list li {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(242,239,230,.7);
    padding: 8px 0;
    border-bottom: 1px solid rgba(242,239,230,.06);
}
.dd-prep-list li:last-child { border-bottom: 0; }

.dd-cta-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 22px;
}

.dd-cta {
    display: inline-block;
    padding: 22px 44px;
    background: transparent;
    color: #f2efe6;
    text-decoration: none;
    font-family: inherit;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .20em;
    text-transform: uppercase;
    border: 2px solid rgba(242,239,230,.22);
    cursor: pointer;
    transition: transform .1s ease, box-shadow .2s ease,
                background .2s ease, color .2s ease, border-color .2s ease;
}

.dd-cta:hover {
    transform: translateY(-1px);
    border-color: #ffc107;
    color: #ffc107;
}

.dd-cta.active {
    background: #ffc107;
    color: #0a0a0a;
    border-color: #ffc107;
    box-shadow: 0 8px 40px rgba(255,193,7,.35);
}

.dd-cta.active:hover {
    color: #0a0a0a;
    border-color: #ffc107;
    box-shadow: 0 12px 40px rgba(255,193,7,.45);
}

.dd-cta-ghost:hover {
    border-color: #ffc107;
    color: #ffc107;
    background: transparent;
    box-shadow: none;
}

.dd-cta-fee {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(242,239,230,.55);
    margin: 0;
}


/* ═══════════════════════════════════════════════════════════════════════
   ATHLETE WALL
   ═══════════════════════════════════════════════════════════════════════ */
.dd-athlete-wall {
    border: 1px solid rgba(255,193,7,.28);
    border-left: none;
    border-right: none;
    position: relative;
}

.dd-athlete-wall .dd-section-eyebrow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0 16px;
    background: #050505;
    white-space: nowrap;
}

.dd-athlete-wall .dd-section-eyebrow::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: currentColor;
    opacity: .8;
}

.dd-athlete-empty {
    padding: 0;
    border: 0;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(242,239,230,.5);
    text-align: center;
}

.dd-athlete-count {
    display: block;
    margin-top: 32px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(242,239,230,.55);
    text-align: center;
}

.dd-athlete-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.dd-athlete-card {
    padding: 22px 20px;
    border: 1px solid rgba(242,239,230,.08);
    background: rgba(242,239,230,.02);
    transition: border-color .15s ease;
}

.dd-athlete-card:hover { border-color: rgba(255,193,7,.35); }

.dd-athlete-name {
    font-weight: 900;
    font-size: 15px;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #f2efe6;
    margin: 0 0 10px;
}

.dd-athlete-meta {
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .20em;
    text-transform: uppercase;
    color: rgba(242,239,230,.55);
}


/* ═══════════════════════════════════════════════════════════════════════
   FULL WORK TABLE
   ═══════════════════════════════════════════════════════════════════════ */
.dd-fullwork-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.dd-fullwork-table th {
    font-weight: 900;
    font-size: 10px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #ffc107;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid rgba(242,239,230,.12);
    white-space: nowrap;
}

.dd-fullwork-table th.num-col { width: 60px; }

.dd-fullwork-table td {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(242,239,230,.06);
    vertical-align: top;
    color: rgba(242,239,230,.8);
    line-height: 1.6;
}

.dd-fullwork-table td.num {
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .16em;
    color: #ffc107;
    padding-top: 22px;
}

.dd-fullwork-table td.mv-name {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #f2efe6;
    padding-top: 22px;
}

.dd-fullwork-table td.val {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    color: rgba(242,239,230,.85);
}

.dd-fullwork-table td.val.unchanged {
    color: rgba(242,239,230,.35);
}

.dd-fullwork-values { white-space: pre-line; }


/* ═══════════════════════════════════════════════════════════════════════
   BIG CTA
   ═══════════════════════════════════════════════════════════════════════ */
.dd-bigcta {
    text-align: center;
    padding: 130px 0;
}

.dd-bigcta-title {
    font-weight: 900;
    font-size: clamp(34px, 6.5vw, 64px);
    line-height: .95;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: #f2efe6;
    margin: 0 0 12px;
}

.dd-bigcta-sub {
    font-weight: 800;
    font-size: clamp(13px, 2.4vw, 16px);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(242,239,230,.65);
    margin: 0 0 44px;
}

.dd-bigcta-note {
    font-weight: 500;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(242,239,230,.55);
    max-width: 42ch;
    margin: 32px auto 0;
}


/* ═══════════════════════════════════════════════════════════════════════
   RULES
   ═══════════════════════════════════════════════════════════════════════ */
.dd-rules-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
    counter-reset: dd-rule;
    text-align: center;
}

.dd-rules-list li {
    counter-increment: dd-rule;
    padding: 18px 0;
    border-bottom: 1px solid rgba(242,239,230,.06);
    text-align: center;
}

.dd-rules-list li::before {
    content: counter(dd-rule, decimal-leading-zero) ' · ';
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .16em;
    color: #ffc107;
    margin-right: 6px;
}

.dd-rules-list li span {
    font-weight: 500;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(242,239,230,.8);
}

.dd-rules-contact {
    margin: 32px 0 0;
    font-size: 18px;
    color: rgba(242,239,230,.55);
    text-align: center;
}

.dd-rules-contact a {
    color: #ffc107;
    text-decoration: none;
}
.dd-rules-contact a:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.dd-footer {
    padding: 48px 0 32px;
    border-top: 1px solid rgba(242,239,230,.06);
}

.dd-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.dd-footer-brand {
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .20em;
    text-transform: uppercase;
    color: #f2efe6;
    margin: 0 0 6px;
}

.dd-footer-venue {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(242,239,230,.5);
    margin: 0;
}

.dd-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.dd-footer-nav li { display: inline-block; }
.dd-footer-nav li + li::before {
    content: '·';
    color: rgba(242,239,230,.3);
    margin: 0 12px;
}
.dd-footer-nav a {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(242,239,230,.55);
    text-decoration: none;
}
.dd-footer-nav a:hover { color: #f2efe6; }

.dd-footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}
.dd-footer-social li { display: inline-block; }
.dd-footer-social li + li { margin-left: 20px; }
.dd-footer-social a {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(242,239,230,.55);
    text-decoration: none;
}
.dd-footer-social a:hover { color: #ffc107; }

.dd-footer-legal {
    margin: 32px 0 0;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(242,239,230,.35);
    text-align: center;
    width: 100%

}


/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
    .dd-hero { padding: 40px 18px 30px; }
    .dd-hero-logos { gap: 18px; margin-bottom: 36px; }
    .dd-logo-client { max-width: 120px; }
    .dd-logo-event  { max-width: min(420px, 82%); }

    .dd-div-btn {
        min-width: 0;
        flex: 1 1 40%;
        padding: 16px 20px;
        font-size: 13px;
        letter-spacing: .18em;
    }

    .dd-scroll-indicator { display: none; }
    .dd-scroll-hint { font-size: 9px; letter-spacing: .24em; }

    .dd-section { padding: 64px 0; }
    .dd-section-sub { font-size: 11px; letter-spacing: .16em; margin-bottom: 32px; }

    /* Work grid — keep 2 columns on mobile */
    .dd-work-grid { grid-template-columns: 1fr 1fr; }

    .dd-work-grid-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
    }
    .dd-work-toggle { align-self: stretch; width: 100%; }
    .dd-work-toggle-btn { flex: 1 1 auto; padding: 10px 16px; }

    .dd-work-card { padding: 16px 14px; }
    .dd-work-head { gap: 8px; margin-bottom: 14px; }
    .dd-work-num  { font-size: 11px; letter-spacing: .18em; }
    .dd-work-name { font-size: 12px; min-height: 0; line-height: 1.15; }
    .dd-work-primary { font-size: 30px; margin-bottom: 8px; }

    .dd-work-weights { gap: 14px; min-height: 20px; }
    .dd-w-m     { font-size: 12px; letter-spacing: .12em; }
    .dd-w-value { font-size: 13px; }

    .dd-work-card[data-station="2"] .dd-work-weights { gap: 6px; }
    .dd-work-card[data-station="2"] .dd-w-value { font-size: 22px; }
    .dd-work-card[data-station="2"] .dd-w-m     { font-size: 12px; width: 16px; }

    .dd-race-day { padding: 40px 0 0; }
    .dd-race-day .dd-section-eyebrow { margin-top: 40px; }
    .dd-race-venue { margin-bottom: 32px; letter-spacing: .22em; font-size: 12px; }
    .dd-prep-list  { margin-bottom: 36px; }
    .dd-prep-list li { font-size: 14px; line-height: 1.55; padding: 6px 0; }

    .dd-cta { padding: 18px 28px; font-size: 12px; letter-spacing: .16em; }
    .dd-cta-row { gap: 10px; }

    .dd-athlete-wall .dd-section-eyebrow { padding: 0 10px; letter-spacing: .24em; }

    .dd-rules-list li { padding: 14px 0; }
    .dd-rules-list li span { font-size: 14px; line-height: 1.5; }
    .dd-rules-contact { font-size: 15px; }

    .dd-footer { padding: 40px 0 24px; }
    .dd-footer-grid { grid-template-columns: 1fr; text-align: left; gap: 24px; }
    .dd-footer-nav  { text-align: left; }
    .dd-footer-social { text-align: left; }

    .dd-fullwork-table th.hide-mobile,
    .dd-fullwork-table td.hide-mobile { display: none; }
    .dd-fullwork-table { font-size: 12px; }
    .dd-fullwork-table td { padding: 14px 10px; }
}

@media (max-width: 480px) {
    /* Keep TWO columns — narrow cards still read fine and the page
       doesn't stretch to 12 full-width rows. */
    .dd-work-grid { grid-template-columns: 1fr 1fr; }

    .dd-work-card { padding: 14px 12px; }
    .dd-work-num  { font-size: 10px; letter-spacing: .14em; }
    .dd-work-name { font-size: 11px; letter-spacing: .02em; }
    .dd-work-primary { font-size: 24px; margin-bottom: 6px; }

    .dd-w-m     { font-size: 11px; letter-spacing: .10em; }
    .dd-w-value { font-size: 12px; }
    .dd-work-weights { gap: 10px; }

    .dd-work-card[data-station="2"] .dd-w-value { font-size: 20px; }
    .dd-work-card[data-station="2"] .dd-w-m     { font-size: 11px; width: 14px; }

    /* Full-width CTAs on the narrowest screens */
    .dd-cta { width: 100%; padding: 16px 24px; font-size: 12px; }
    .dd-cta-row { gap: 8px; }
}
