/* ===== Desert Days page ===== */
.desert { --dd-sand: #EFE4D2; --dd-paper: #F4EAD5; --dd-land: #EFE0C2; --dd-land2: #F6EDDB; --dd-mtn: #E2BF9C; --dd-mtn-line: #B48E6C;
  --dd-water: #9CC3BC; --dd-water-deep: #6E9F98; --dd-ink: #3B2F26; --dd-navy: #1F2547; --dd-road: #FBF7F0; --dd-road-edge: #C9AE88;
  --dd-accent: #B0623F; background: var(--dd-sand); }
.desert .site-header.on-stage .wordmark, .desert .site-header.on-stage .site-nav a { color: var(--dd-ink); }
.desert .site-header.on-stage .nav-toggle span { background: var(--dd-ink); }
.desert .site-header:not(.on-stage) { background: var(--dd-sand); }

/* Entrance */
.dd-hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--dd-paper); }
.dd-v { position: absolute; inset: 0; display: none; }
.v-topo .dd-topo, .v-zen .dd-zen { display: block; }
.dd-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* topo: contour lines sketch themselves, low ground first */
.dd-topo { background: var(--dd-paper); }
.dd-topo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(52% 46% at 50% 44%, rgba(244,234,213,.95), rgba(244,234,213,0) 72%); }
.dd-topo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--grain-img); background-size: 300px 300px; opacity: .14; mix-blend-mode: multiply; }
.dd-topo .bg { fill: var(--dd-paper); }
.dd-topo .cl path { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linejoin: round;
  animation: ddDraw 3.2s cubic-bezier(.45,.1,.25,1) forwards; animation-delay: calc(.4s + var(--d)); }
.dd-topo .cl path { stroke: #7A5A43; }
.dd-topo .cl .ln { stroke-width: .8; stroke-opacity: .28; }
.dd-topo .relief { opacity: 0; animation: ddRelief 3.2s ease .1s forwards; }
@keyframes ddRelief { to { opacity: .78; } }
.dd-topo .cl .ix { stroke-width: 1.1; stroke-opacity: .42; }
@keyframes ddDraw { to { stroke-dashoffset: 0; } }
.dd-topo .pga { opacity: 0; animation: fadeIn .8s ease 2.4s forwards; }
.dd-topo .pga .pd { fill: var(--dd-accent); }
.dd-topo .pga .pr { fill: none; stroke: var(--dd-accent); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ddPulse 2.6s ease-out 2.6s infinite; }
.dd-topo .pga text { font: italic 400 19px var(--serif); fill: var(--dd-accent); }
/* zen garden: real-time sand (WebGL), wind wipes it, a rake draws the design */
.dd-zen { background: #E6DCCB; }
.dd-sand { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dd-zen.no-gl { background: #E6DCCB var(--grain-img); background-size: 300px; }
.v-zen .dd-kicker { animation-delay: 4.3s !important; }
.v-zen .dd-hero-text h1 { animation: none !important; translate: none !important; clip-path: none !important; visibility: hidden; }
.v-zen.zen-nogl .dd-hero-text h1 { visibility: visible; }
.v-zen .dd-sub { animation-delay: 4.6s !important; }
.v-zen .dd-cue { color: var(--dd-ink); animation-delay: 5.6s; }
.v-zen .dd-hero-text { text-shadow: 0 0 14px rgba(240,233,220,.95), 0 0 3px rgba(240,233,220,.9); }
.dd-entry-opt { position: absolute; left: clamp(16px, 3vw, 48px); bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--sans); }
.dd-entry-opt .opt-tag { padding: 4px 9px; border-radius: 99px; background: var(--clay); color: #fff; font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.dd-entry-opt button { border: 1px solid rgba(59,47,38,.3); background: rgba(250,246,239,.9); color: var(--dd-ink); padding: 7px 11px; border-radius: 3px; cursor: pointer; font: inherit; }
.dd-entry-opt button.on { background: var(--dd-ink); color: #fff; border-color: var(--dd-ink); }
.dd-hero-text { position: absolute; left: 0; right: 0; top: 30vh; text-align: center; padding: 0 20px; color: var(--dd-ink); z-index: 2; }
.dd-hero-text > * { translate: 0 100%; clip-path: inset(0 0 100% 0); animation: slotUp 1.2s cubic-bezier(.3,.6,.15,1) forwards; }
.dd-kicker { font: 500 12px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 16px; animation-delay: 2.1s !important; }
.dd-hero-text h1 { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-size: clamp(56px, 9vw, 132px); line-height: .92; letter-spacing: -.045em; margin: 0 0 18px; color: var(--dd-ink); animation-delay: 1.9s !important; }
.dd-sub { font: 400 17px/1.5 var(--sans); max-width: 32ch; margin: 0 auto; animation-delay: 2.3s !important; }
.dd-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 2; color: rgba(255,255,255,.85); opacity: 0; animation: fadeIn .8s ease 3s forwards; }
.dd-cue span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }

/* Map + story */
.dd-map { position: relative; background: var(--dd-paper); }
.dd-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.dd-canvas { position: absolute; inset: 0; }
.dd-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dd-svg .land { fill: var(--dd-land); stroke: var(--dd-mtn-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dd-svg .land.other { fill: var(--dd-land2); }
.dd-svg .ocean { fill: var(--dd-water); }
.dd-svg .mtn { fill: var(--dd-mtn); opacity: .55; }
.dd-svg .pk-l { fill: #F1DCBD; }
.dd-svg .pk-s { fill: #CF9A75; }
.dd-svg .pk-o { fill: none; stroke: #7A5540; stroke-width: .9; opacity: .8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dd-svg .pk-h { fill: none; stroke: #6B4A36; stroke-width: .8; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .55; }
.dd-svg .pk { transition: opacity .25s linear; }
.dd-svg .coast { fill: none; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dd-svg .coast.c1 { stroke: #B4D3CD; stroke-width: 10; }
.dd-svg .coast.c2 { stroke: #8FBAB3; stroke-width: 22; opacity: .55; }
.dd-svg .coast.c3 { stroke: #B4D3CD; stroke-width: 36; opacity: .7; }
.dd-svg .inline { fill: none; vector-effect: non-scaling-stroke; }
.dd-svg .inline.i1 { stroke: #BCD8D2; stroke-width: 10; }
.dd-svg .inline.i2 { stroke: #B0D0CA; stroke-width: 22; opacity: .5; }
.dd-svg .water { fill: var(--dd-water); stroke: var(--dd-water-deep); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dd-svg .green { fill: #D3D6A8; opacity: .75; stroke: #A3AA72; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.dd-svg .road-edge { fill: none; stroke: #9C5A3C; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dd-svg .road { fill: none; stroke: var(--dd-road); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dd-svg .i10.road-edge { stroke-width: 6; } .dd-svg .i10.road { stroke-width: 3.4; }
.dd-svg .h111.road-edge { stroke-width: 4; } .dd-svg .h111.road { stroke-width: 2; }
.dd-svg .route { fill: none; stroke: var(--dd-accent); stroke-width: 1.6; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; opacity: .8; }
.dd-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.dd-lab { position: absolute; left: 0; top: 0; white-space: nowrap; translate: -50% -50%; transition: opacity .35s ease; }
.dd-lab.city { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(59,47,38,.72); }
.dd-lab.mtn { font: italic 400 13px/1 var(--serif); color: rgba(120,92,62,.7); letter-spacing: .04em; }
.dd-lab.water-l { font: italic 400 13px/1 var(--serif); color: #4E7F7A; }
.dd-lab.shield { font: 600 10px/1 var(--sans); color: var(--dd-ink); background: #FBF7F0; border: 1px solid var(--dd-road-edge); border-radius: 3px; padding: 3px 5px; }
.dd-lab.route-l { font: 500 12px/1 var(--sans); color: var(--dd-accent); background: rgba(239,228,210,.9); padding: 4px 8px; border-radius: 99px; }
.dd-dot { position: absolute; left: 0; top: 0; translate: -50% -50%; width: 7px; height: 7px; border-radius: 50%; background: rgba(31,37,71,.45); box-shadow: 0 0 0 2px rgba(239,228,210,.8); transition: opacity .3s ease; }
.dd-dot b { position: absolute; left: 14px; top: 50%; translate: 0 -50%; font: 500 11px/1 var(--sans); color: var(--dd-navy); white-space: nowrap; }
.dd-ring { position: absolute; left: 0; top: 0; width: 64px; height: 64px; translate: -50% -50%; border-radius: 50%; border: 1.5px solid var(--dd-navy); pointer-events: none; transition: opacity .3s ease; }
.dd-ring::before { content: ""; position: absolute; inset: 26px; border-radius: 50%; background: var(--dd-navy); }
.dd-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--dd-navy); animation: ddPulse 2.4s ease-out infinite; }
@keyframes ddPulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.9); opacity: 0; } }
.dd-ring.home { border-color: var(--dd-accent); } .dd-ring.home::before { background: var(--dd-accent); } .dd-ring.home::after { border-color: var(--dd-accent); }

/* intro caption (part 1) */
.dd-cap { position: absolute; left: clamp(20px, 4vw, 64px); bottom: clamp(28px, 7vh, 72px); max-width: 26ch; transition: opacity .4s ease; }
.dd-cap p { margin: 0; }
.dd-cap .k { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dd-accent); margin-bottom: 10px; }
.dd-cap .t { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(34px, 4.4vw, 64px); line-height: .95; letter-spacing: -.04em; color: var(--dd-navy); margin-bottom: 10px; }
.dd-cap .s { font: 400 15px/1.45 var(--sans); color: var(--dd-ink); }

/* card (part 2) */
.dd-card { position: absolute; top: 96px; right: clamp(16px, 3vw, 48px); bottom: 28px; width: min(380px, 34vw);
  background: rgba(250,246,239,.92); backdrop-filter: blur(6px); border: 1px solid rgba(191,162,124,.35); border-radius: 4px;
  box-shadow: 0 30px 60px -36px rgba(59,47,38,.45); padding: 28px 30px; display: flex; flex-direction: column;
  opacity: 0; translate: 24px 0; transition: opacity .45s ease, translate .45s ease; overflow: hidden; }
.dd-card.on { opacity: 1; translate: 0 0; }
.dd-card-top { display: flex; justify-content: space-between; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(59,47,38,.6); }
.dd-card-body { margin-top: auto; margin-bottom: auto; padding: 18px 0; transition: opacity .3s ease; }
.dd-card-body.swap { opacity: 0; }
.dd-emblem { width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(191,162,124,.6); display: grid; place-items: center; margin: 0 0 24px; color: var(--dd-navy); background: radial-gradient(circle at 50% 40%, #fff, rgba(255,255,255,0) 70%); }
.dd-emblem svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.dd-name { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; letter-spacing: -.035em; color: var(--dd-navy); margin: 0 0 8px; }
.dd-place { font: 500 13px/1.3 var(--sans); color: var(--dd-accent); margin: 0 0 16px; }
.dd-text { font: 400 15px/1.55 var(--sans); color: var(--dd-ink); margin: 0 0 18px; }
.dd-meta { display: flex; align-items: center; gap: 8px; font: 500 13px/1 var(--sans); color: var(--dd-ink); }
.dd-meta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.dd-note { font: 400 12px/1.45 var(--sans); color: rgba(59,47,38,.6); margin: 14px 0 0; }
.dd-progress { height: 2px; background: rgba(191,162,124,.3); position: relative; }
.dd-progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--dd-navy); width: 0; transition: width .3s ease; }

/* chapter chips */
.dd-chips { position: absolute; top: 96px; left: clamp(16px, 3vw, 48px); display: flex; flex-wrap: wrap; gap: 6px; max-width: 46vw; transition: opacity .4s ease; }
.dd-chips button { font: 500 12px/1 var(--sans); color: var(--dd-ink); background: rgba(250,246,239,.85); border: 1px solid rgba(191,162,124,.45); border-radius: 99px; padding: 8px 12px; cursor: pointer; transition: background .2s, color .2s; }
.dd-chips button:hover { background: #fff; }
.dd-chips button.on { background: var(--dd-navy); border-color: var(--dd-navy); color: #fff; }
.dd-steps .dd-step { height: 85vh; }
.dd-steps .dd-step.intro { height: 95vh; }

/* compare toggle (preview only) */
.dd-compare { position: absolute; left: clamp(16px, 3vw, 48px); bottom: 20px; display: flex; align-items: center; gap: 8px; z-index: 3; font: 500 12px/1 var(--sans); }
.dd-compare .opt-tag { display: inline-block; padding: 4px 9px; border-radius: 99px; background: var(--clay); color: #fff; font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.dd-compare button { border: 1px solid rgba(59,47,38,.3); background: rgba(250,246,239,.9); color: var(--dd-ink); padding: 7px 11px; border-radius: 3px; cursor: pointer; font: inherit; }
.dd-compare button.on { background: var(--dd-ink); color: #fff; border-color: var(--dd-ink); }
.dd-gl { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.dd-real .dd-gl { opacity: 1; } .dd-real .dd-svg { opacity: 0; }
.dd-real .dd-lab.city, .dd-real .dd-lab.mtn, .dd-real .dd-lab.water-l, .dd-real .dd-lab.shield { display: none; }

/* after the map */
.dd-more { position: relative; isolation: isolate; padding: clamp(64px, 10vh, 110px) 0 40px; }
.dd-more::before, .dd-base::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain-img); background-size: 240px 240px; opacity: .2; }
.dd-more .wrap { max-width: 980px; }
.dd-h2 { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.04em; line-height: 1; color: var(--dd-navy); margin: 0 0 26px; }
.dd-events { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 32px; }
.dd-events li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(191,162,124,.4); font: 400 15px/1.4 var(--sans); color: var(--dd-ink); }
.dd-events b { flex: 0 0 82px; font: 600 11px/1.9 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dd-accent); }
.dd-disclaimer { font: 400 13px/1.55 var(--sans); color: rgba(59,47,38,.7); max-width: 70ch; margin: 18px 0 0; padding: 14px 16px; border-left: 2px solid var(--dd-accent); background: rgba(250,246,239,.6); }
.dd-base { position: relative; isolation: isolate; padding: 40px 0 clamp(70px, 11vh, 120px); }
.dd-base .wrap { max-width: 980px; }
.dd-homes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dd-home { position: relative; display: block; height: 300px; border-radius: 4px; overflow: hidden; text-decoration: none; color: #fff; }
.dd-home img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.dd-home::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(20,16,12,.7)); }
.dd-home span { position: absolute; left: 22px; bottom: 20px; z-index: 1; font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: 34px; letter-spacing: -.03em; }
.dd-home small { display: block; font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: 8px; }
.dd-home:hover img { transform: scale(1.04); }

@media (max-width: 760px) {
  .dd-card { top: auto; left: 12px; right: 12px; bottom: 12px; width: auto; height: 46svh; padding: 18px 20px; }
  .dd-emblem { width: 60px; height: 60px; margin-bottom: 12px; } .dd-emblem svg { width: 30px; height: 30px; }
  .dd-card-body { padding: 8px 0; }
  .dd-text { font-size: 14px; margin-bottom: 10px; }
  .dd-chips { top: 76px; max-width: none; right: 12px; left: 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .dd-chips button { flex: 0 0 auto; }
  .dd-cap { bottom: 22px; }
  .dd-events { grid-template-columns: 1fr; }
  .dd-homes { grid-template-columns: 1fr; }
  .dd-home { height: 220px; }
  .dd-compare { bottom: auto; top: 118px; }
}
@media (prefers-reduced-motion: reduce) {
  .dd-topo .cl path { animation: none; stroke-dashoffset: 0; } .dd-topo .pga { animation: none; opacity: 1; }
 .dd-ring::after { animation: none; }
  .dd-hero-text > * { animation: none; translate: none; clip-path: none; } .dd-cue { animation: none; opacity: 1; }
}
.desert .site-header { position: fixed; top: 0; left: 0; right: 0; }
.desert .site-header.on-stage .wm-oh .oh-light { display: none; }
.desert .site-header.on-stage .wm-oh .oh-dark { display: block; }
.desert .site-header.on-stage .site-nav.open { background: var(--dd-sand); }
.dd-from { color: rgba(59,47,38,.55); font-weight: 400; }
.dd-gl.maplibregl-map { position: absolute; inset: 0; }
.dd-gl .maplibregl-ctrl-attrib { font-size: 10px; }

/* ===== Poster treatment (v2) ===== */
.dd-svg { transition: opacity .5s ease; }
.dd-paper { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, rgba(255,248,232,0) 55%, rgba(150,104,64,.22) 100%), var(--grain-img); background-size: auto, 320px 320px;
  mix-blend-mode: multiply; opacity: .45; }
.dd-real .dd-paper { opacity: .3; }
.dd-frame { position: absolute; inset: 78px 14px 14px; border: 1px solid rgba(59,47,38,.55); outline: 1px solid rgba(59,47,38,.35); outline-offset: 4px; pointer-events: none; }
.dd-frame i { position: absolute; width: 9px; height: 9px; background: var(--dd-paper); border: 1px solid rgba(59,47,38,.6); rotate: 45deg; }
.dd-frame i:nth-child(1) { left: -6px; top: -6px; } .dd-frame i:nth-child(2) { right: -6px; top: -6px; }
.dd-frame i:nth-child(3) { left: -6px; bottom: -6px; } .dd-frame i:nth-child(4) { right: -6px; bottom: -6px; }
.dd-compass { position: absolute; right: clamp(30px, 4vw, 64px); bottom: clamp(30px, 6vh, 64px); width: 104px; color: #3B2F26; opacity: .85; transition: opacity .4s ease; pointer-events: none; }
.dd-compass svg { display: block; width: 100%; }
.dd-touring .dd-compass { opacity: 0; }
/* decorations */
.dd-deco { position: absolute; left: 0; top: 0; translate: -50% -100%; color: #4A5E46; transition: opacity .4s ease; }
.dd-deco svg { display: block; height: auto; fill: currentColor; }
.dd-deco.ship { color: #3B4C5E; } .dd-deco.joshua { color: #5B5A3A; } .dd-deco.ocotillo { color: #7A5C3E; } .dd-deco.dunes { color: #B48E6C; }
/* badges */
.dd-badge { position: absolute; left: 0; top: 0; translate: -50% -50%; display: grid; justify-items: center; transition: opacity .35s ease; z-index: 1; }
.dd-badge .med { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--dd-navy);
  background: repeating-conic-gradient(from 0deg, rgba(176,98,63,.16) 0 6deg, transparent 6deg 15deg), radial-gradient(circle, #FFF9EE 52%, #F6E9D1 100%);
  border: 1.5px solid var(--dd-navy); box-shadow: 0 0 0 2.5px #FBF4E6, 0 0 0 3.5px rgba(31,37,71,.55), 0 6px 14px -6px rgba(59,47,38,.55);
  transition: transform .35s cubic-bezier(.3,.7,.2,1.2), border-color .3s; }
.dd-badge .med svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dd-badge b { position: absolute; top: 100%; margin-top: 10px; white-space: nowrap; font: italic 400 15px/1 var(--serif); letter-spacing: .01em; color: #FBF4E6;
  background: var(--dd-navy); padding: 6px 16px 7px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%, 8px 50%);
  opacity: 0; translate: 0 -4px; transition: opacity .3s ease, translate .3s ease; pointer-events: none; }
.dd-badge.on { z-index: 3; }
.dd-badge.on .med { transform: scale(1.55); border-color: var(--dd-accent); }
.dd-badge.on .med::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--dd-accent); animation: ddPulse 2.4s ease-out infinite; }
.dd-badge.on b { opacity: 1; translate: 0 18px; }
.dd-badge.home .med { background: var(--dd-accent); border-color: #FBF4E6; color: #FBF4E6; box-shadow: 0 0 0 2px var(--dd-accent), 0 8px 16px -6px rgba(59,47,38,.6); }
.dd-badge.home .med::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--dd-accent); animation: ddPulse 2.4s ease-out infinite; }
.dd-badge.home b { background: var(--dd-accent); opacity: 1; translate: 0 2px; font-size: 13px; padding: 5px 14px 6px; }
.dd-badge.home.lit .med { transform: scale(1.35); } .dd-badge.home.lit b { translate: 0 10px; }
.dd-badge.mini .med { width: 30px; height: 30px; } .dd-badge.mini .med svg { width: 17px; height: 17px; }
.dd-badge.mini b { opacity: 0; translate: 0 0; font-size: 12px; padding: 4px 11px 5px; background: rgba(31,37,71,.9); margin-top: 6px; }
/* cartouche caption */
.dd-cap { background: rgba(251,244,230,.94); padding: 22px 26px 20px; border: 1px solid rgba(59,47,38,.6); outline: 1px solid rgba(59,47,38,.35); outline-offset: -6px;
  box-shadow: 0 24px 40px -28px rgba(59,47,38,.6); text-align: center; max-width: 340px; bottom: clamp(36px, 8vh, 80px); left: clamp(34px, 5vw, 76px); }
.dd-cap .t { font-size: clamp(32px, 3.6vw, 52px); }
.dd-cap .rule { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; color: var(--dd-accent); }
.dd-cap .rule i { flex: 1; height: 1px; background: currentColor; opacity: .55; }
.dd-cap .rule svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.dd-cap .s { font-size: 14px; }
/* card emblem as a medallion */
.dd-emblem { background: repeating-conic-gradient(from 0deg, rgba(176,98,63,.14) 0 5deg, transparent 5deg 12deg), radial-gradient(circle, #FFF9EE 50%, #F4E5CA 100%);
  border: 1.5px solid var(--dd-navy); box-shadow: 0 0 0 4px #FBF4E6, 0 0 0 5px rgba(31,37,71,.5); }
.dd-card { background: rgba(251,244,230,.95); border: 1px solid rgba(59,47,38,.5); outline: 1px solid rgba(59,47,38,.3); outline-offset: -7px; border-radius: 0; }
.dd-real .dd-lab.mtn { color: rgba(90,58,38,.85); }
@media (max-width: 760px) {
  .dd-frame { inset: 66px 8px 8px; outline-offset: 3px; }
  .dd-compass { width: 70px; right: 22px; bottom: auto; top: 130px; }
  .dd-cap { left: 22px; right: 22px; max-width: none; bottom: 26px; padding: 16px 18px; }
  .dd-badge b { font-size: 13px; }
}
.dd-svg .golf .fw0 { fill: none; stroke: #7F8E55; stroke-width: 1.45; stroke-linecap: round; opacity: .55; }
.dd-svg .golf .fw1 { fill: none; stroke: #B3C283; stroke-width: 1.2; stroke-linecap: round; }
.dd-svg .golf .fw2 { fill: none; stroke: #C6D29A; stroke-width: .5; stroke-linecap: round; stroke-dasharray: .35 .35; opacity: .8; }
.dd-svg .golf .gr { fill: #A9BB76; stroke: #7F8E55; stroke-width: .12; }
.dd-svg .golf .bk { fill: #F7EDD6; stroke: #C9AE88; stroke-width: .08; }
.dd-svg .golf .pd { fill: #9CC3BC; stroke: #6E9F98; stroke-width: .1; }
.dd-hero-text h1 em { font-style: italic; font-size: .5em; letter-spacing: -.01em; vertical-align: .32em; margin: 0 .04em; }

/* the entrance stays put while the map slides up over it (like the home pages) */
.dd-hero { position: sticky; top: 0; z-index: 0; }
.dd-map, .dd-more, .dd-base, .desert .site-footer { position: relative; z-index: 1; }
.dd-map { box-shadow: 0 -30px 60px -30px rgba(59,47,38,.35); }
.dd-more, .dd-base { background: var(--dd-sand); }
/* header text over the entrance: each item sits on its own soft sand chip so it reads over the artwork */
.desert .site-header.on-stage .site-nav a { background: rgba(244,234,213,.9); padding: 6px 11px 7px; border-radius: 99px; border-bottom: 0;
  box-shadow: 0 2px 10px -4px rgba(59,47,38,.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.desert .site-header.on-stage .site-nav a[aria-current="page"] { box-shadow: inset 0 -1.5px 0 var(--clay), 0 2px 10px -4px rgba(59,47,38,.35); }
.desert .site-header.on-stage .site-nav { gap: 22px; }
.desert .site-header.on-stage .site-nav a + a::before { left: -13px; }
.desert .site-header.on-stage .wordmark { background: rgba(244,234,213,.9); padding: 7px 14px; border-radius: 6px; box-shadow: 0 2px 10px -4px rgba(59,47,38,.35); }
@media (max-width: 1280px) { .desert .site-header.on-stage .site-nav.open a { background: none; box-shadow: none; padding: 0; } }
/* entrance picker floats at the bottom left while you're near the top */
.dd-entry-opt { position: fixed; z-index: 40; transition: opacity .3s ease; }
.dd-entry-opt.away { opacity: 0; pointer-events: none; }
/* "Map" entrance: no separate hero; the title sits over the map, then fades as the map eases in */
body[data-entry="map"] .dd-hero { display: none; }
.dd-maptitle { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 20px; pointer-events: none; z-index: 3; opacity: 0; visibility: hidden; color: var(--dd-ink); }
.dd-intro .dd-maptitle { visibility: visible; opacity: 1; }
.dd-maptitle > * { opacity: 0; transform: translateY(10px); filter: blur(4px); transition: opacity 1.4s ease, transform 1.6s cubic-bezier(.2,.6,.2,1), filter 1.4s ease; }
.dd-intro.dd-ready .dd-maptitle > * { opacity: 1; transform: none; filter: none; }
.dd-intro.dd-ready .dd-maptitle .k { transition-delay: .25s; }
.dd-intro.dd-ready .dd-maptitle .t { transition-delay: .45s; }
.dd-intro.dd-ready .dd-maptitle .s { transition-delay: .75s; }
.dd-intro.dd-intro-out .dd-maptitle { animation: ddTitleOut 1.3s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes ddTitleIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ddTitleOut { from { opacity: 1; transform: none; filter: blur(0); } to { opacity: 0; transform: scale(1.06); filter: blur(6px); } }
.dd-maptitle .k { font: 500 12px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 16px; }
.dd-maptitle .t { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(56px, 9vw, 132px); line-height: .92; letter-spacing: -.045em; margin: 0 0 18px; color: var(--dd-navy); }
.dd-maptitle .t em { font-style: italic; font-size: .5em; letter-spacing: -.01em; vertical-align: .32em; }
.dd-maptitle .s { font: 400 17px/1.5 var(--sans); max-width: 32ch; margin: 0 auto; }
.dd-intro .dd-maptitle::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(42% 34% at 50% 50%, rgba(244,234,213,.92), rgba(244,234,213,0) 75%); }
.dd-intro .dd-gl { filter: saturate(.55) brightness(1.04); transition: filter 2.6s ease; }
.dd-intro.dd-intro-out .dd-gl { filter: none; }
.dd-intro .dd-cap, .dd-intro .dd-labels, .dd-intro .dd-compass { opacity: 0 !important; transition: opacity .8s ease; }
.dd-intro.dd-intro-out .dd-cap, .dd-intro.dd-intro-out .dd-labels, .dd-intro.dd-intro-out .dd-compass { opacity: 1 !important; transition-delay: 1.4s; }
body[data-entry="map"] .dd-map { box-shadow: none; }
/* quieter map credit */
.dd-gl .maplibregl-ctrl-attrib { background: transparent !important; font: 400 9px/1.3 var(--sans); opacity: .5; color: #5A4636; }
.dd-gl .maplibregl-ctrl-attrib a { color: inherit !important; }
.dd-gl .maplibregl-ctrl-attrib-button { opacity: .4; }

/* topo extras: watercolor water and greenery, paper mottling, ink palms at both sides */
.dd-topo .mottle { opacity: .5; mix-blend-mode: multiply; }
.dd-topo .wc-water path { fill: #8FBDB6; fill-opacity: .5; stroke: #6E9F98; stroke-opacity: .45; stroke-width: 1.2; }
.dd-topo .wc-green path { fill: #A9BC85; fill-opacity: .55; }
.dd-topo .wc-water, .dd-topo .wc-green { opacity: 0; animation: fadeIn 2.4s ease .9s forwards; }
.dd-topo::before { opacity: .22; }
.dd-palm { position: absolute; bottom: 0; height: 96%; width: auto; pointer-events: none; z-index: 1; color: #4A3A2C; }
.dd-palm { left: -2%; } .dd-palm.r { left: auto; right: -2%; }
.dd-palm path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.dd-palm .tr { stroke-width: 1.6; opacity: .7; animation: ddDraw 1.6s ease .3s forwards; }
.dd-palm .rg { stroke-width: .9; opacity: .35; animation: ddDraw .5s ease 1.3s forwards; }
.dd-palm .f { stroke-width: 1.5; opacity: .7; animation: ddDraw 1.2s cubic-bezier(.3,.6,.3,1) 1.6s forwards; }
.dd-palm .l { stroke-width: .9; opacity: .5; animation: ddDraw .6s ease 2.3s forwards; }
@media (max-width: 760px) { .dd-palm { height: 70%; opacity: .55; left: -22%; } .dd-palm.r { right: -22%; } }
@media (prefers-reduced-motion: reduce) { .dd-palm path { animation: none; stroke-dashoffset: 0; } }

/* before the map tiles are in: plain page color, nothing else showing */
.dd-map.dd-intro:not(.dd-ready) .dd-gl, .dd-map.dd-intro:not(.dd-ready) .dd-paper, .dd-map.dd-intro:not(.dd-ready) .dd-maptitle,
.dd-map.dd-intro:not(.dd-ready) .dd-frame, .dd-map.dd-intro:not(.dd-ready) .dd-chips { opacity: 0 !important; }
.dd-map.dd-intro .dd-gl { transition: opacity .6s ease, filter 2.6s ease; }
.dd-map.dd-intro:not(.dd-intro-out) .dd-cap { opacity: 0 !important; transition: none; }

/* ===== Entrance: a desert sunrise that parts along the horizon ===== */
.dd-sunrise { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.dd-sunrise .sr-half { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden;
  }
.dd-sunrise .sr-top { top: 0; background: linear-gradient(180deg, #F1E7D6 0%, #F2E2CC 55%, #F1D9BE 100%); }
.dd-sunrise .sr-bot { bottom: 0; background: linear-gradient(180deg, #E2E6DE 0%, #D9E2DD 45%, #D2DEDA 100%); }
.dd-sunrise .sr-top::after, .dd-sunrise .sr-bot::after { content: ""; position: absolute; inset: 0; background: var(--grain-img); background-size: 260px; opacity: .22; mix-blend-mode: multiply; }
.dd-sunrise .sr-sun { position: absolute; left: 50%; bottom: 0; width: 22vmin; height: 22vmin; margin-left: -11vmin;
  transform: translateY(100%); animation: srRise 2s cubic-bezier(.25,.6,.3,1) .45s forwards; }
.dd-sunrise .sr-sun i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #F6DCC6, #EDC4A7 70%, #E6B898); opacity: .8; filter: blur(.4px);
  box-shadow: 0 0 50px 18px rgba(242,205,176,.32), 0 0 140px 60px rgba(245,224,200,.4); }
@keyframes srRise { to { transform: translateY(18%); } }
.dd-sunrise .sr-reflect { position: absolute; left: 50%; top: 0; width: 26vmin; height: 40%; margin-left: -13vmin; opacity: 0;
  background: repeating-linear-gradient(180deg, rgba(240,214,190,.45) 0 2px, transparent 2px 9px);
  -webkit-mask: radial-gradient(60% 100% at 50% 0, #000 30%, transparent 75%); mask: radial-gradient(60% 100% at 50% 0, #000 30%, transparent 75%);
  animation: srFade 1.4s ease 1.3s forwards; }
@keyframes srFade { to { opacity: 1; } }
.dd-sunrise .sr-line { position: absolute; left: 50%; top: 50%; height: 1px; width: 0; translate: -50% 0; background: #9C806A; opacity: .35;
  animation: srLine 1.2s cubic-bezier(.5,0,.25,1) .1s forwards; transition: opacity .4s ease; }
@keyframes srLine { to { width: 100vw; } }
.dd-sunrise .sr-kicker { position: absolute; left: 0; right: 0; top: calc(50% + 4vmin); margin: 0; text-align: center;
  font: 500 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: #7A8682; opacity: 0;
  animation: srFade .8s ease .8s forwards; transition: opacity .35s ease; }
.dd-sunrise { transition: opacity 2s cubic-bezier(.4,0,.2,1), filter 2s ease; }
.dd-sunrise.open { opacity: 0; filter: blur(6px); }


.dd-sunrise ~ .site-header, body:has(.dd-sunrise:not(.open)) .site-header { opacity: 0; }
.desert .site-header { transition: opacity .7s ease .3s; }
@media (prefers-reduced-motion: reduce) { .dd-sunrise { display: none; } }

/* sunrise v3: horizon lower, title written onto the sky, then the scene fades to the map underneath */
.dd-sunrise .sr-top { height: 74%; }
.dd-sunrise .sr-bot { height: 26%; }
.dd-sunrise .sr-line { top: 74%; }
.dd-sunrise .sr-sun { width: 16vmin; height: 16vmin; margin-left: -8vmin; }
.dd-sunrise .sr-reflect { width: 20vmin; margin-left: -10vmin; height: 60%; }
.dd-sunrise .sr-title { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 20px; color: var(--dd-ink); }
.dd-sunrise .sr-title > * { opacity: 0; transform: translateY(10px); filter: blur(5px); animation: srTitle 1.9s cubic-bezier(.2,.6,.2,1) forwards; }
.dd-sunrise .sr-title .k { font: 500 12px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 16px; animation-delay: 1.5s; }
.dd-sunrise .sr-title .t { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(56px, 9vw, 132px); line-height: .92; letter-spacing: -.045em; margin: 0 0 18px; color: var(--dd-navy); animation-delay: 1.75s; }
.dd-sunrise .sr-title .t em { font-style: italic; font-size: .5em; letter-spacing: -.01em; vertical-align: .32em; }
.dd-sunrise .sr-title .s { font: 400 17px/1.5 var(--sans); max-width: 32ch; margin: 0 auto; animation-delay: 2.2s; }
@keyframes srTitle { to { opacity: 1; transform: none; filter: none; } }
/* the map's own title is already in place underneath, so the hand-off is seamless */
body:has(.dd-sunrise) .dd-intro.dd-ready .dd-maptitle > * { transition-duration: 0s; transition-delay: 0s; }
@media (max-width: 760px) { .dd-chips button { min-height: 40px; padding: 10px 14px; } }

/* skipping the entrance: a quick fade instead of the full sequence */
.dd-sunrise.skip { transition: opacity .45s ease, filter .45s ease !important; }
.dd-sunrise .sr-skip { position: absolute; left: 0; right: 0; bottom: 26px; margin: 0; text-align: center; font: 500 11px/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase; color: #6E7F7B; opacity: 0; animation: srFade 1s ease 1.6s forwards; }

/* stop buttons (one per stop) */
.dd-chips button { white-space: nowrap; }
@media (max-width: 760px) { .dd-chips { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding-bottom: 2px; } }
/* the stop card always sits above map pins and credits */
.dd-card { z-index: 4; }
@media (max-width: 760px) { .dd-card { background: #FBF4E6; } .dd-gl .maplibregl-ctrl-bottom-right { bottom: auto; top: 128px; } }
