/* ====================================================================
   DESIGN YOUR TRIP - immersive vision workshop
   Structure: intro (cinematic hero) -> canvas (3-col stage with
   photographic backdrop that cross-fades per step).
   ==================================================================== */
body.design-page {
    background: #FAFAFA;
}
.design-page .m-main {
    padding-top: 0;
    padding-bottom: 0;
}

/* Success banner */
.design-success-wrap {
    padding-top: 90px;
}
.design-success {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 10px 0 18px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(20, 42, 71,0.35);
    background: rgba(20, 42, 71,0.14);
    color: #0C0E1A;
}
.design-success-mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #FFFFFF;
    background: #142A47;
    flex-shrink: 0;
}
.design-success h2 {
    margin: 0 0 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #0C0E1A;
}
.design-success p {
    margin: 0;
    font-size: 13px;
    color: #6B7280;
}
.design-success-hint { margin-top: 7px !important; }
.design-success a { color: #2A4A6A; text-decoration: underline; }
.design-success-link { margin-top: 10px; }

/* ====================================================================
   TOPBAR — compact, structured, action-first
   ==================================================================== */
/* ── Topbar: now inherits from mh-hero ── */
.design-topbar {
    color: #FFFFFF;
    /* Let mh-hero control height and alignment */
}

/* Shell: match other mh-body elements */
/* ② Quick-start cards — moved to light background */
.dtb-starters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.dtb-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(30, 58, 95,0.22);
    background: #FFFFFF;
    cursor: pointer;
    text-align: start;
    font: inherit;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(12,14,26,0.04);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.dtb-card:hover {
    border-color: rgba(30, 58, 95,0.4);
    background: #FFFFFF;
    box-shadow: 0 12px 28px rgba(12,14,26,0.08);
    transform: translateY(-2px);
}
.dtb-card-blank {
    border-style: dashed;
    border-color: rgba(30, 58, 95,0.3);
    background: transparent;
    box-shadow: none;
}
.dtb-card-blank:hover {
    border-style: solid;
    border-color: rgba(30, 58, 95,0.5);
    background: #FFFFFF;
}
.dtb-card-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0C0E1A;
    line-height: 1.3;
}
.dtb-card-meta {
    display: block;
    font-size: 12px;
    color: #3A3F6E;
    line-height: 1.5;
}

/* Single secondary path */
.dtb-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.dtb-secondary .m-btn-link {
    color: #2A4A6A;
}
.dtb-note {
    font-size: 12px;
    color: #6B7280;
    font-style: italic;
}

@media (max-width: 900px) {
    .dtb-starters {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .dtb-starters {
        grid-template-columns: 1fr;
    }
}

/* ====================================================================
   CANVAS - 3-column stage (chapter | stage | atelier)
   Shared photographic backdrop cross-fades per step.
   ==================================================================== */
.design-canvas {
    position: relative;
    padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 140px);
    overflow: hidden;
    color: #0C0E1A;
}
.design-canvas-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.design-canvas-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(0.94) brightness(0.96);
    transition: background-image 650ms ease, filter 650ms ease, transform 20000ms ease-out;
    transform: scale(1.02);
}
.design-canvas-bg.is-switching {
    opacity: 0.72;
}
.design-canvas-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(253,250,244,0.88) 0%, rgba(253,250,244,0.60) 100%);
}
.design-canvas-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(253,250,244,0.55) 100%);
    pointer-events: none;
}

.design-canvas-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 280px;
    gap: clamp(16px, 2.4vw, 30px);
    align-items: start;
}

/* ====================================================================
   LEFT RAIL - movement chapter indicator
   ==================================================================== */
.design-chapter {
    position: sticky;
    top: 100px;
    padding: 24px 22px;
    border-radius: 14px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 8px 32px rgba(12,14,26,0.09);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(30, 58, 95,0.22);
    color: #0C0E1A;
}
.design-chapter-head {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(30, 58, 95,0.2);
}
.design-chapter-kicker {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2A4A6A;
    margin-bottom: 6px;
}
.design-chapter-number-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.design-chapter-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1;
    color: #0C0E1A;
    letter-spacing: -1px;
}
.design-chapter-of {
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #6B7280;
}

.design-chapter-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 14px;
    position: relative;
}
.design-chapter-item {
    position: relative;
    display: grid;
    grid-template-columns: 14px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 12px;
    color: rgba(12,14,26,0.56);
    transition: color 220ms ease;
}
.design-chapter-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(30, 58, 95,0.32);
    border: 1px solid rgba(30, 58, 95,0.46);
    transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
    margin-inline-start: 3px;
}
.design-chapter-title {
    font-size: 13px;
    line-height: 1.2;
    color: inherit;
    transition: color 220ms ease;
}
.design-chapter-index {
    font-size: 10px;
    letter-spacing: 1.4px;
    color: rgba(30, 58, 95,0.52);
    grid-column: 3;
}
.design-chapter-rule {
    display: none;
}
.design-chapter-item.is-current {
    color: #0C0E1A;
}
.design-chapter-item.is-current .design-chapter-dot {
    background: #E8C574;
    transform: scale(1.35);
    box-shadow: 0 0 0 4px rgba(155,170,245,0.18);
}
.design-chapter-item.is-current .design-chapter-title {
    color: #0C0E1A;
    font-weight: 600;
}
.design-chapter-item.is-done {
    color: rgba(12,14,26,0.78);
}
.design-chapter-item.is-done .design-chapter-dot {
    background: rgba(30, 58, 95,0.9);
    border-color: rgba(30, 58, 95,1);
}

.design-progress {
    display: flex;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(30, 58, 95,0.2);
}
.design-progress-step {
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: rgba(30, 58, 95,0.2);
    transition: background 220ms ease;
}
.design-progress-step.is-done { background: #1E3A5F; }
.design-progress-step.is-current { background: #0C0E1A; }

.design-save-state {
    margin: 14px 0 0;
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(12,14,26,0.52);
}

/* ====================================================================
   STAGE - cream paper for the form, floating on the backdrop
   ==================================================================== */
.design-stage {
    position: relative;
    padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
    border-radius: 18px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
    border: 1px solid rgba(30, 58, 95,0.18);
    box-shadow:
        0 28px 64px rgba(0,0,0,0.48),
        0 10px 22px rgba(0,0,0,0.32);
    color: #0C0E1A;
}
.design-stage-ornament {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 14px;
    background: #FFFFFF;
}
.design-stage-ornament-rule {
    width: 36px;
    height: 1px;
    background: #1E3A5F;
}
.design-stage-ornament-mark {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: #1E3A5F;
    letter-spacing: 2px;
}

.design-form { display: block; }

.design-step {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    animation: designStepEnter 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.design-step.is-active {
    display: block;
}
@keyframes designStepEnter {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
.design-step legend {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 18px;
    margin: 0 0 14px;
    padding: 0;
}
.design-step-num {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 48px;
    line-height: 1;
    color: rgba(30, 58, 95,0.9);
    letter-spacing: -1px;
    position: relative;
}
.design-step-num::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 105%;
    width: 22px;
    height: 1px;
    background: #1E3A5F;
}
.design-step-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.05;
    color: #0C0E1A;
    letter-spacing: -0.4px;
}
.design-step-hint {
    margin: 0 0 20px;
    font-size: 14px;
    color: #3A3F6E;
    line-height: 1.64;
    max-width: 580px;
}
.design-step-error {
    margin: 0 0 16px;
    font-size: 12px;
    color: #8A3A2E;
    background: rgba(138,58,46,0.08);
    border: 1px solid rgba(138,58,46,0.26);
    border-radius: 10px;
    padding: 10px 12px;
}

.design-label {
    display: block;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #2A4A6A;
}
.design-subgroup { margin-bottom: 26px; }
.design-subgroup:last-of-type { margin-bottom: 0; }

/* Chips */
.design-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 16px;
}
.design-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(30, 58, 95,0.30);
    background: rgba(255,255,255,0.8);
    color: #0C0E1A;
    font-size: 13px;
    cursor: pointer;
    transition: all 180ms ease;
    overflow: hidden;
}
.design-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(30, 58, 95,0.22), transparent 70%);
    opacity: 0;
    transition: opacity 220ms ease;
}
.design-chip:hover {
    border-color: #1E3A5F;
    transform: translateY(-1px);
}
.design-chip:hover::before { opacity: 1; }
.design-chip input { display: none; }
.design-chip:has(input:checked),
.design-chip.is-on {
    background: #0C0E1A;
    color: #FFFFFF;
    border-color: #0C0E1A;
    box-shadow: 0 4px 14px rgba(12,14,26,0.2);
}

/* Shape cards */
.design-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}
.design-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid rgba(12,14,26,0.08);
    background: #FFFFFF;
    cursor: pointer;
    text-align: center;
    color: #1C2321;
    transition: all 200ms ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.design-card:hover {
    transform: translateY(-2px);
    border-color: #2B3A42;
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}
.design-card input { display: none; }
.design-card:has(input:checked),
.design-card.is-on {
    border: 2px solid #2B3A42;
    background: #E8E3D3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.design-card:has(input:checked)::after,
.design-card.is-on::after {
    background: #E8C574;
    border-color: #E8C574;
    box-shadow: inset 0 0 0 5px #0C0E1A;
}
.design-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: #0C0E1A;
    line-height: 1.1;
}
.design-card-sub {
    font-size: 12px;
    line-height: 1.5;
    color: #6B7280;
}
.design-card:has(input:checked) .design-card-title,
.design-card.is-on .design-card-title { color: #FFFFFF; }
.design-card:has(input:checked) .design-card-sub,
.design-card.is-on .design-card-sub { color: #E8C574; }

/* Pace slider */
.design-pace-slider {
    padding: 8px 0 4px;
}
.design-pace-slider-stage {
    position: relative;
    padding: 24px 14px 8px;
}
.design-pace-slider-track {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 34px;
    height: 4px;
    background: rgba(30, 58, 95,0.22);
    border-radius: 999px;
    overflow: hidden;
    pointer-events: none;
}
.design-pace-slider-fill {
    display: block;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, #1E3A5F 0%, #0C0E1A 100%);
    border-radius: 999px;
    transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.design-pace-slider-input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 32px;
    background: transparent;
    margin: 0;
    padding: 0;
    cursor: grab;
}
.design-pace-slider-input:active { cursor: grabbing; }
.design-pace-slider-input:focus-visible { outline: none; }
.design-pace-slider-input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
    border-radius: 999px;
}
.design-pace-slider-input::-moz-range-track {
    height: 4px;
    background: transparent;
    border-radius: 999px;
}
.design-pace-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0C0E1A;
    border: 2px solid #E8C574;
    box-shadow: 0 0 0 6px rgba(30, 58, 95,0.18), 0 2px 8px rgba(12,14,26,0.25);
    margin-top: -9px;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.design-pace-slider-input:hover::-webkit-slider-thumb {
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(30, 58, 95,0.26), 0 2px 10px rgba(12,14,26,0.3);
}
.design-pace-slider-input:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 8px rgba(155,170,245,0.38), 0 2px 10px rgba(12,14,26,0.3);
}
.design-pace-slider-input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0C0E1A;
    border: 2px solid #E8C574;
    box-shadow: 0 0 0 6px rgba(30, 58, 95,0.18);
    transition: transform 160ms ease;
}
.design-pace-slider-input:hover::-moz-range-thumb { transform: scale(1.08); }

.design-pace-slider-ticks {
    position: relative;
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.design-pace-slider-ticks li {
    display: grid;
    gap: 6px;
    justify-items: center;
    flex: 0 0 auto;
    min-width: 60px;
    text-align: center;
}
.design-pace-slider-tick-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(30, 58, 95,0.4);
    transition: background 180ms ease, transform 180ms ease;
}
.design-pace-slider-ticks li.is-active .design-pace-slider-tick-dot {
    background: #1E3A5F;
    transform: scale(1.25);
}
.design-pace-slider-tick-label {
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #2A4A6A;
    transition: color 180ms ease, font-weight 180ms ease;
}
.design-pace-slider-ticks li.is-active .design-pace-slider-tick-label {
    color: #0C0E1A;
    font-weight: 600;
}
.design-pace-slider-radios { display: none; }
.design-pace-slider-caption {
    margin: 16px 0 0;
    padding: 12px 14px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    line-height: 1.45;
    color: #0C0E1A;
    border-inline-start: 2px solid #E8C574;
    background: rgba(155,170,245,0.08);
    border-radius: 0 8px 8px 0;
    min-height: 44px;
    transition: opacity 160ms ease;
}
.design-pace-slider-caption.is-flip { opacity: 0.3; }

/* Timing radio pills (kept from original) */
.design-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.design-radio-pill {
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(30, 58, 95,0.30);
    background: rgba(255,255,255,0.9);
    font-size: 13px;
    cursor: pointer;
    transition: all 180ms ease;
}
.design-radio-pill:hover {
    border-color: #1E3A5F;
    transform: translateY(-1px);
}
.design-radio-pill input { display: none; }
.design-radio-pill:has(input:checked),
.design-radio-pill.is-on {
    background: #0C0E1A;
    color: #FFFFFF;
    border-color: #0C0E1A;
}

/* Traveler counters + visualization */
.design-counters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.design-counter-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid rgba(30, 58, 95,0.30);
    background: rgba(255,255,255,0.9);
}
.design-counter-row button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: #0C0E1A;
    font-size: 18px;
    cursor: pointer;
    transition: background 150ms ease;
}
.design-counter-row button:hover {
    background: rgba(30, 58, 95,0.22);
}
.design-counter-row input {
    width: 44px;
    text-align: center;
    border: 0;
    background: transparent;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #0C0E1A;
}
.design-counter-viz {
    margin-top: 10px;
    display: flex;
    gap: 6px;
    min-height: 10px;
    flex-wrap: wrap;
}
.design-counter-viz span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1E3A5F;
    animation: designDotIn 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.design-counter-viz[data-counter-viz="children"] span {
    background: rgba(30, 58, 95,0.5);
}
@keyframes designDotIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Freeform destination add */
.design-freeform { margin-top: 12px; }
.design-freeform-row {
    display: flex;
    gap: 8px;
}
.design-freeform-row input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(30, 58, 95,0.30);
    background: rgba(255,255,255,0.9);
    color: #0C0E1A;
    font: inherit;
}
.design-freeform-added {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.design-freeform-added li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 7px 14px;
    background: #0C0E1A;
    color: #FFFFFF;
    font-size: 12px;
    animation: designDotIn 280ms ease;
}
.design-freeform-added button {
    border: 0;
    background: transparent;
    color: #E8C574;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
}

/* Vision mood chips — literary single-word qualifiers */
.design-vision-moods {
    margin: 0 0 18px;
    display: grid;
    gap: 8px;
}
.design-vision-moods-label {
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #2A4A6A;
}
.design-vision-moods-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.design-vision-mood {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 15px;
    letter-spacing: 0.2px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(30, 58, 95,0.35);
    background: transparent;
    color: #3A3F6E;
    cursor: pointer;
    transition: all 180ms ease;
}
.design-vision-mood:hover {
    border-color: #1E3A5F;
    color: #0C0E1A;
    transform: translateY(-1px);
}
.design-vision-mood.is-picked {
    background: #0C0E1A;
    color: #FFFFFF;
    border-color: #0C0E1A;
    box-shadow: 0 2px 10px rgba(12,14,26,0.25);
}

/* Vision assist + textarea with quote-mark flourish */
.design-vision-assist {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
}
.design-vision-starter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.design-vision-starter {
    border: 1px solid rgba(30, 58, 95,0.30);
    background: rgba(255,255,255,0.9);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 12px;
    color: #3A3F6E;
    transition: all 180ms ease;
    cursor: pointer;
    text-align: start;
}
.design-vision-starter:hover {
    border-color: #1E3A5F;
    color: #0C0E1A;
    background: #FFFFFF;
    transform: translateY(-1px);
}
.design-vision-wrap {
    position: relative;
    padding: 0 26px;
}
.design-vision-open,
.design-vision-close {
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    line-height: 0.7;
    color: rgba(30, 58, 95,0.35);
    pointer-events: none;
}
.design-vision-open { top: 4px; left: 0; }
.design-vision-close { bottom: -12px; right: 4px; }
.design-vision-meta {
    margin: 8px 0 0;
    display: flex;
    justify-content: flex-end;
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #2A4A6A;
}

.design-step textarea,
.design-step input[type='text'],
.design-step input[type='email'],
.design-step input[type='tel'] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(30, 58, 95,0.30);
    background: rgba(250,246,238,0.9);
    color: #0C0E1A;
    font: inherit;
    transition: all 160ms ease;
}
.design-step textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.64;
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
}
.design-step textarea::placeholder {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: italic;
    color: rgba(20, 42, 71,0.7);
}
.design-step textarea:focus,
.design-step input:focus {
    outline: 0;
    border-color: #1E3A5F;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(30, 58, 95,0.12);
}

/* Final step id grid */
.design-id-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}
.design-id-full { grid-column: 1 / -1; }
.design-signedin-note {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(30, 58, 95,0.26);
    background: rgba(30, 58, 95,0.12);
    font-size: 13px;
    color: #3A3F6E;
}

.design-summary {
    margin-bottom: 18px;
    padding: 20px;
    border-radius: 14px;
    border: 1px dashed rgba(30, 58, 95,0.5);
    background: rgba(255,255,255,0.5);
}
.design-summary dl {
    margin: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: 130px 1fr;
}
.design-summary dt {
    font-size: 10px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #2A4A6A;
}
.design-summary dd {
    margin: 0;
    font-size: 14px;
    color: #0C0E1A;
    line-height: 1.5;
}
.design-summary-empty {
    margin: 0;
    font-size: 13px;
    color: #6B7280;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}
.design-summary-health {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #2A4A6A;
}

.design-actions {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(30, 58, 95,0.22);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.design-back-spacer { flex: 1; }

/* ====================================================================
   RIGHT RAIL - Atelier desk (parchment)
   ==================================================================== */
.design-atelier {
    position: sticky;
    top: 100px;
    padding: 24px 22px;
    border-radius: 14px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 8px 32px rgba(12,14,26,0.09);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(30, 58, 95,0.28);
    color: #0C0E1A;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}
.design-atelier-head {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(30, 58, 95,0.22);
}
.design-atelier-kicker {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2A4A6A;
    margin-bottom: 6px;
}
.design-atelier h2 {
    margin: 0 0 6px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 1.06;
    color: #0C0E1A;
}
.design-atelier-sub {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #6B7280;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}

.design-atelier-notes {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    gap: 14px;
}
.design-atelier-note {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(30, 58, 95,0.2);
    animation: designNoteEnter 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.design-atelier-note:last-child {
    border-bottom: 0;
}
@keyframes designNoteEnter {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.design-atelier-note-kicker {
    display: block;
    font-size: 9px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #2A4A6A;
    margin-bottom: 4px;
}
.design-atelier-note p {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    line-height: 1.44;
    color: rgba(12,14,26,0.9);
    font-style: italic;
}
.design-atelier-note-initial p {
    color: rgba(12,14,26,0.66);
}

.design-atelier-foot {
    padding-top: 16px;
    border-top: 1px solid rgba(30, 58, 95,0.22);
}
.design-atelier-meter {
    height: 3px;
    border-radius: 999px;
    background: rgba(30, 58, 95,0.22);
    overflow: hidden;
    margin-bottom: 10px;
}
.design-atelier-meter-fill {
    display: block;
    height: 100%;
    width: 10%;
    border-radius: 999px;
    background: #E8C574;
    transition: width 380ms ease, background 380ms ease;
}
.design-atelier-level {
    margin: 0;
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #6B7280;
}


.design-canvas {
    padding: clamp(36px, 6vw, 70px) 0 clamp(72px, 9vw, 120px);
}
.design-stage {
    border-radius: 16px;
    box-shadow:
        0 20px 42px rgba(0,0,0,0.38),
        0 8px 16px rgba(0,0,0,0.22);
}
.design-stage-ornament {
    display: none;
}
.design-chapter {
    top: 90px;
}
.design-chapter-item {
    cursor: pointer;
}
.design-chapter-item:hover .design-chapter-title {
    color: #0C0E1A;
}
.design-atelier-head h2 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    line-height: 1.04;
    color: #0C0E1A;
}
.design-atelier-sub {
    margin: 8px 0 0;
}

/* ====================================================================
   RESPONSIVE - stack rails below stage, then collapse to mobile
   ==================================================================== */
@media (max-width: 1200px) {
    .design-canvas-shell {
        grid-template-columns: 180px minmax(0, 1fr) 240px;
    }
}
@media (max-width: 1040px) {
    .design-canvas-shell {
        grid-template-columns: 1fr;
    }
    .design-chapter, .design-atelier {
        position: static;
        max-height: none;
    }
    .design-chapter-list {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: row;
    }
}
@media (max-width: 720px) {
    .design-canvas {
        padding-top: 40px;
    }
    .dtb-secondary {
        justify-content: flex-start;
    }
    .design-intro-title {
        font-size: clamp(44px, 11vw, 68px);
    }
    .design-intro-meta {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .design-chapter-list {
        grid-template-columns: 1fr;
    }
    .design-stage {
        padding: 22px 18px;
    }
    .design-step legend {
        grid-template-columns: auto 1fr;
        gap: 12px;
    }
    .design-step-num { font-size: 36px; }
    .design-step-num::after { display: none; }
    .design-id-grid,
    .design-counters {
        grid-template-columns: 1fr;
    }
    .design-summary dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .design-actions {
        gap: 10px;
        flex-wrap: wrap;
    }
    .design-actions .m-btn {
        width: 100%;
        justify-content: center;
    }
    .design-back-spacer { display: none; }
}

/* Nav: transparent over image hero, cream once scrolled */
/* Header uses global vibrant glassmorphism */

/* ── What happens next (post-submission) ── */
.design-next-steps {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(30, 58, 95,0.18);
}
.design-next-label {
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #2A4A6A;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.design-next-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.design-next-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.design-next-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(30, 58, 95,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #2A4A6A;
  background: rgba(30, 58, 95,0.06);
}
.design-next-step div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.design-next-step strong {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0C0E1A;
  line-height: 1.3;
}
.design-next-step span {
  font-size: 12px;
  line-height: 1.6;
  color: #6B7280;
}
.design-next-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #2A4A6A;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap 160ms ease;
}
.design-next-more:hover {
  gap: 10px;
  color: #1a3550;
}

/* ── Reassurance strip (above design canvas) ── */
.design-reassurance {
  padding: 14px 0 22px;
}
.design-reassure-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 20px;
  background: rgba(30, 58, 95,0.05);
  border: 1px solid rgba(30, 58, 95,0.15);
  border-radius: 12px;
}
.design-reassure-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #2A4A6A;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.4;
}
.design-reassure-item svg {
  flex-shrink: 0;
  color: #2A6A4A;
  stroke: currentColor;
}
.design-reassure-sep {
  color: rgba(30, 58, 95,0.35);
  font-size: 14px;
  line-height: 1;
}
@media (max-width: 600px) {
  .design-reassure-sep { display: none; }
  .design-reassure-grid { gap: 8px 0; }
}

/* ====================================================================
   DYT WIZARD — single ivory card, top stepper.
   This block overrides the legacy 3-column atelier visual entirely.
   The form internals (chips, cards, sliders, counters, mood chips,
   summary) keep their hooks; only the chrome around them is redrawn.
   ==================================================================== */

/* Hide retired surfaces that no longer have markup but might leave space */
.design-canvas-backdrop,
.design-canvas-bg,
.design-canvas-tint,
.design-canvas-vignette,
.design-canvas-shell,
.design-stage,
.design-stage-ornament,
.design-chapter,
.design-atelier,
[data-atelier][hidden] { display: none !important; }

/* Wizard surface — sits flush against the topbar above. No top
   padding so there is no empty band between the starter cards and
   the wizard card. */
.dyt-wizard {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
    padding: 0 0 56px;
    margin-top: 0;
    min-height: 0;
}
.dyt-shell {
    max-width: 920px;
    /* Pulls the card up so its top edge meets the topbar's border —
       no visible empty band between the two surfaces. */
    margin-top: -14px;
    position: relative;
    z-index: 1;
    padding-top: 0;
}
.dyt-card {
    background: #FFFFFF;
    border: 1px solid rgba(30, 58, 95, 0.16);
    border-radius: 22px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 18px 48px -24px rgba(12,14,26,0.18),
        0 2px 6px rgba(12,14,26,0.04);
    background: #FFFFFF;
    border: 1px solid rgba(12,14,26,0.08);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    overflow: hidden;
}

/* Card head */
.dyt-card-head {
    padding: 32px 40px 24px;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(12,14,26,0.08);
}
.dyt-card-eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8C887A;
}
.dyt-card-sub {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    color: #1C2321;
}
.dyt-card-shield {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #4A6A8A;
    background: rgba(30, 58, 95, 0.08);
    border: 1px solid rgba(30, 58, 95, 0.18);
    border-radius: 999px;
    padding: 6px 12px;
}
.dyt-card-shield svg { color: #1E3A5F; }

/* Stepper — six dots with rules between, labelled, current lit, done checked */
.dyt-stepper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 22px 28px 6px;
    background: #FFFFFF;
}
.dyt-stepper-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 0;
}
.dyt-stepper-rule {
    position: absolute;
    top: 14px;
    inset-inline-start: calc(50% + 18px);
    inset-inline-end: calc(-50% + 18px);
    height: 1px;
    background: rgba(12,14,26,0.12);
    z-index: 0;
}
.dyt-stepper-item.is-done .dyt-stepper-rule,
.dyt-stepper-item.is-current ~ .dyt-stepper-item .dyt-stepper-rule { background: rgba(12,14,26,0.10); }
.dyt-stepper-item.is-done .dyt-stepper-rule { background: #0C1B2E; }
.dyt-stepper-dot {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid rgba(12,14,26,0.18);
    color: rgba(12,14,26,0.45);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.dyt-stepper-dot-check { display: none; color: #FFFFFF; }
.dyt-stepper-item.is-current .dyt-stepper-dot {
    background: #0C1B2E;
    border-color: #0C1B2E;
    color: #FFFFFF;
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(12,27,46,0.08);
}
.dyt-stepper-item.is-done .dyt-stepper-dot {
    background: #0C1B2E;
    border-color: #0C1B2E;
    color: #FFFFFF;
}
.dyt-stepper-item.is-done .dyt-stepper-dot-num { display: none; }
.dyt-stepper-item.is-done .dyt-stepper-dot-check { display: inline-block; }
.dyt-stepper-label {
    margin-top: 8px;
    font-size: 10.5px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(12,14,26,0.42);
    text-align: center;
    transition: color 180ms ease;
}
.dyt-stepper-item.is-current .dyt-stepper-label,
.dyt-stepper-item.is-done .dyt-stepper-label { color: #0C1B2E; }

/* Form body */
.dyt-form {
    padding: 40px;
}

/* Step is shown/hidden by .is-active class set by the engine.
   `min-width: 0` overrides the browser's default `min-width: min-content`
   on <fieldset>, which would otherwise stretch the step (and the page)
   to fit its widest child — breaks horizontal scroll on the shape row. */
.design-step.dyt-step {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
    display: none;
    animation: dytStepIn 280ms ease both;
}
.design-step.dyt-step.is-active { display: block; }
@keyframes dytStepIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Step legend (header inside each step) */
.dyt-step-legend {
    padding: 0;
    margin: 0 0 22px;
    display: block;
}
.dyt-step-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4A6A8A;
    margin-bottom: 10px;
}
.dyt-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(30, 58, 95,0.12);
    color: #2A4A6A;
    font-size: 10px;
    letter-spacing: 1.2px;
}
.dyt-step-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 36px;
    color: #1C2321;
}
.dyt-step-sub {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #5A5D5A;
}
[dir="rtl"] .dyt-step-title {
    font-style: normal;
    line-height: 1.25;
    letter-spacing: 0;
}

.dyt-step-error {
    margin: 0 0 14px;
    font-size: 13px;
    color: #B45309;
    background: rgba(245, 158, 11, 0.10);
    border: 1px solid rgba(245, 158, 11, 0.28);
    padding: 9px 12px;
    border-radius: 10px;
}

/* Card foot — quiet reassurance line, persistent across steps */
.dyt-card-foot {
    background: #E8E3D3;
    border-top: 1px solid rgba(12,14,26,0.08);
    padding: 20px 40px;
}
.dyt-foot-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #4A6A8A;
}
.dyt-foot-item svg { color: #6B8FA8; }
.dyt-foot-sep { color: rgba(12,14,26,0.18); font-size: 14px; line-height: 1; }

/* ─── Internal field redesigns (override legacy .design-* styles
       so they look at home in the new card) ─────────────────────────── */

/* Destination chips → tile cards */
.design-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}
.design-chip {
    position: relative;
    display: block;
    padding: 14px 14px;
    border: 1.5px solid rgba(12,14,26,0.10);
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
    text-align: start;
}
.design-chip:hover {
    border-color: rgba(30, 58, 95,0.55);
    background: #FFFFFF;
    transform: translateY(-1px);
}
.design-chip input { position: absolute; opacity: 0; pointer-events: none; }
.design-chip span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #0C1B2E;
    line-height: 1.3;
}
.design-chip:has(input:checked) {
    border-color: #0C1B2E;
    background: #0C1B2E;
}
.design-chip:has(input:checked) span { color: #FFFFFF; }

/* Freeform "Add another" */
.design-freeform {
    margin-bottom: 6px;
    padding: 14px 16px;
    background: #FFFFFF;
    border: 1px dashed rgba(12,14,26,0.16);
    border-radius: 12px;
}
.design-freeform .design-label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #4A6A8A;
    margin-bottom: 8px;
}
.design-freeform-row {
    display: flex;
    gap: 8px;
}
.design-freeform-row input {
    flex: 1 1 auto;
    border: 1px solid rgba(12,14,26,0.14);
    background: #FFFFFF;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
    color: #0C1B2E;
}
.design-freeform-row input:focus {
    outline: none;
    border-color: #1E3A5F;
    box-shadow: 0 0 0 3px rgba(30, 58, 95,0.16);
}
.design-freeform-added {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.design-freeform-added li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0C1B2E;
    color: #FFFFFF;
    border-radius: 999px;
    padding: 5px 10px 5px 12px;
    font-size: 12.5px;
}
.design-freeform-added button {
    background: transparent;
    border: 0;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 14px;
    padding: 0 2px;
}

/* Shape cards — single horizontal row of compact tiles. 7 shapes
   spread evenly on desktop; on narrow screens they shrink with the
   container, then horizontally scroll if a real squeeze is needed. */
.design-cards {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 6px;
}
.design-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 14px 10px 12px;
    min-height: 96px;
    border: 1.5px solid rgba(12,14,26,0.10);
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.design-card:hover {
    border-color: rgba(30, 58, 95,0.5);
    background: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 58, 95,0.10);
}
.design-card input { position: absolute; opacity: 0; pointer-events: none; }
.design-card-title {
    display: block;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-style: italic;
    font-size: 19px;
    line-height: 1.1;
    color: #0C1B2E;
    margin-bottom: 4px;
}
.design-card-sub {
    display: block;
    font-size: 11px;
    line-height: 1.4;
    color: #6B7280;
}
.design-card:has(input:checked) {
    border-color: #0C1B2E;
    background: #FFFFFF;
    box-shadow: 0 0 0 1.5px #0C1B2E inset, 0 8px 20px rgba(12,27,46,0.08);
}
[dir="rtl"] .design-card-title { font-style: normal; line-height: 1.3; }

/* Subgroup label */
.design-subgroup { margin-bottom: 22px; }
.design-subgroup .design-label,
.design-counter .design-label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #4A6A8A;
    margin-bottom: 10px;
}

/* Pace slider — keep the existing engine; just update visual */
.design-pace-slider-stage { position: relative; padding: 10px 8px 0; }
.design-pace-slider-track {
    position: relative;
    height: 4px;
    background: rgba(12,14,26,0.10);
    border-radius: 999px;
}
.design-pace-slider-fill {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    height: 100%;
    background: #0C1B2E;
    border-radius: 999px;
    transition: width 200ms ease;
}
.design-pace-slider-input {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    height: 28px;
}
.design-pace-slider-ticks {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}
.design-pace-slider-ticks li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.design-pace-slider-tick-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid rgba(12,14,26,0.22);
    transition: all 180ms ease;
}
.design-pace-slider-ticks li.is-active .design-pace-slider-tick-dot,
.design-pace-slider-ticks li.is-done .design-pace-slider-tick-dot {
    background: #0C1B2E;
    border-color: #0C1B2E;
}
.design-pace-slider-tick-label {
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(12,14,26,0.46);
    transition: color 180ms ease;
}
.design-pace-slider-ticks li.is-active .design-pace-slider-tick-label { color: #0C1B2E; font-weight: 600; }
.design-pace-slider-caption {
    margin: 14px 0 0;
    font-size: 13px;
    color: #6B7280;
    font-style: italic;
}
.design-pace-slider-radios { position: absolute; left: -9999px; }

/* Interests pills (inside step 3) */
.design-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.design-radio-pill {
    cursor: pointer;
}
.design-radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.design-radio-pill span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(12,14,26,0.14);
    background: #FFFFFF;
    color: #4A6A8A;
    font-size: 13px;
    transition: all 150ms ease;
}
.design-radio-pill:hover span { border-color: rgba(30, 58, 95,0.5); color: #0C1B2E; }
.design-radio-pill:has(input:checked) span {
    background: #0C1B2E;
    color: #FFFFFF;
    border-color: #0C1B2E;
}

/* Counters (adults / children on step 4) */
.design-counters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 6px;
}
.design-counter {
    background: #FFFFFF;
    border: 1px solid rgba(12,14,26,0.10);
    border-radius: 14px;
    padding: 16px 18px;
}
.design-counter-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.design-counter-row button {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(12,14,26,0.14);
    background: #FFFFFF;
    color: #0C1B2E;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all 150ms ease;
}
.design-counter-row button:hover { border-color: #0C1B2E; background: #0C1B2E; color: #FFFFFF; }
.design-counter-row input {
    flex: 1 1 auto;
    border: 0;
    background: transparent;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 32px;
    text-align: center;
    color: #0C1B2E;
    font-weight: 500;
    pointer-events: none;
}
.design-counter-viz { display: none; }

/* Vision text area + mood chips (step 5) */
.design-vision-moods,
.design-vision-assist { margin-bottom: 18px; }
.design-vision-moods-label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #4A6A8A;
    margin-bottom: 10px;
}
.design-vision-moods-row,
.design-vision-starter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.design-vision-mood {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(30, 58, 95,0.30);
    background: #FFFFFF;
    color: #2A4A6A;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-style: italic;
    font-size: 15px;
    cursor: pointer;
    transition: all 150ms ease;
}
.design-vision-mood:hover {
    background: #2A4A6A;
    color: #FFFFFF;
    border-color: #2A4A6A;
}
.design-vision-starter {
    text-align: start;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px dashed rgba(12,14,26,0.14);
    background: #FFFFFF;
    color: #4A6A8A;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    flex: 1 1 240px;
    transition: all 150ms ease;
}
.design-vision-starter:hover { border-color: #1E3A5F; background: #FFFFFF; color: #0C1B2E; }

.design-vision-wrap {
    position: relative;
    margin-top: 18px;
}
.design-vision-open,
.design-vision-close {
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    color: rgba(30, 58, 95,0.20);
    line-height: 1;
    pointer-events: none;
}
.design-vision-open { top: 6px; inset-inline-start: 10px; }
.design-vision-close { bottom: -6px; inset-inline-end: 14px; }
.design-vision-wrap textarea {
    width: 100%;
    min-height: 160px;
    border: 1px solid rgba(12,14,26,0.12);
    border-radius: 12px;
    padding: 22px 28px;
    background: #FFFFFF;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.55;
    color: #0C1B2E;
    resize: vertical;
}
.design-vision-wrap textarea:focus {
    outline: none;
    border-color: #1E3A5F;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(30, 58, 95,0.12);
}
.design-vision-meta {
    margin-top: 6px;
    font-size: 11.5px;
    color: rgba(12,14,26,0.42);
    text-align: end;
}

/* Summary (step 6) */
.dyt-summary,
.design-summary {
    background: #FFFFFF;
    border: 1px solid rgba(12,14,26,0.10);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 18px;
}
.design-summary-empty { color: #6B7280; font-style: italic; margin: 0; }
.design-summary dl {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px 16px;
    margin: 0;
}
.design-summary dt {
    font-size: 11px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #4A6A8A;
    padding-top: 2px;
}
.design-summary dd {
    margin: 0;
    color: #0C1B2E;
    font-size: 14px;
    line-height: 1.55;
}
.dyt-summary-health,
.design-summary-health {
    margin: 0 0 10px;
    font-size: 13px;
    color: #6B7280;
}
.design-summary-health.is-ready { color: #047857; }
.design-summary-health.is-warn { color: #B45309; }

/* Identity grid (guest sign-off in step 6) */
.design-id-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 14px;
    margin-bottom: 6px;
}
.design-id-grid label {
    display: block;
}
.design-id-full { grid-column: 1 / -1; }
.design-id-grid .design-label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #4A6A8A;
    margin-bottom: 6px;
}
.design-id-grid input {
    width: 100%;
    border: 1px solid rgba(12,14,26,0.14);
    background: #FFFFFF;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: #0C1B2E;
}
.design-id-grid input:focus {
    outline: none;
    border-color: #1E3A5F;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(30, 58, 95,0.14);
}
.design-signedin-note {
    background: rgba(30, 58, 95,0.07);
    border: 1px solid rgba(30, 58, 95,0.18);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    color: #2A4A6A;
    margin-bottom: 10px;
}

/* Action row — Back left, Continue right */
.design-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(12,14,26,0.06);
}
.design-back-spacer { flex: 0 0 auto; min-width: 1px; }

/* Buttons inside the card use the system tokens but with a darker
   "ink" primary so it doesn't compete with the gold of the marketing
   header. */
.dyt-form .m-btn-gold {
    background: #0C1B2E;
    border-color: #0C1B2E;
    color: #FFFFFF;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 14px;
}
.dyt-form .m-btn-gold:hover { background: #1A2D44; border-color: #1A2D44; }
.dyt-form .m-btn-link {
    color: #6B7280;
    background: transparent;
    border: 0;
    padding: 8px 12px;
    font-size: 13.5px;
    cursor: pointer;
}
.dyt-form .m-btn-link:hover { color: #0C1B2E; }
.dyt-form .m-btn-lg { padding: 12px 26px; font-size: 14.5px; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 760px) {
    .dyt-card-head { padding: 18px 18px 14px; flex-wrap: wrap; }
    .dyt-card-shield { font-size: 10px; padding: 5px 10px; }
    .dyt-stepper { padding: 18px 14px 4px; }
    .dyt-stepper-label { font-size: 9.5px; letter-spacing: 1px; }
    .dyt-stepper-rule { inset-inline-start: calc(50% + 14px); inset-inline-end: calc(-50% + 14px); }
    .dyt-form { padding: 22px 18px 20px; }

    /* Cards stay in ONE row but scroll horizontally so each tile keeps
       a real, tappable width instead of squishing to 33px. */
    .design-cards {
        display: flex;
        gap: 8px;
        grid-template-columns: none;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-inline: -18px; /* bleed past the form padding */
        padding-inline: 18px;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }
    .design-card {
        flex: 0 0 auto;
        width: 110px;
        min-height: 90px;
        padding: 12px 8px;
        scroll-snap-align: start;
    }
    .design-card-title { font-size: 17px; }
    .design-card-sub { font-size: 10.5px; line-height: 1.35; }

    .design-counters { grid-template-columns: 1fr; }
    .design-id-grid { grid-template-columns: 1fr; }
    .dyt-card-foot { padding: 12px 14px 14px; font-size: 11px; }
}
@media (max-width: 480px) {
    .dyt-stepper-label { display: none; }
    .dyt-stepper { padding-bottom: 14px; }
}
/* ═══════════════════════════════════════════════════════════════════
   Design Your Trip — cinematic hero + gold/ivory design system
   ═══════════════════════════════════════════════════════════════════ */

/* Design tokens (scoped to this page) — 2026 vibrant refresh */
.design-page {
    --dh-ivory:       #FAFAF9;
    --dh-ivory-2:     #F5F3FF;
    --dh-paper:       #FFFFFF;
    /* Primary: vivid indigo-violet */
    --dh-navy:        #6366f1;
    --dh-navy-2:      #4f46e5;
    /* Accent: vibrant amber */
    --dh-gold:        #f59e0b;
    --dh-gold-soft:   #fbbf24;
    --dh-gold-pale:   #fef3c7;
    /* Success: emerald */
    --dh-success:     #10b981;
    /* Ink */
    --dh-ink:         #0f172a;
    --dh-ink-2:       #1e293b;
    --dh-muted:       #64748b;
    --dh-line:        rgba(99,102,241,0.08);
    --dh-line-2:      rgba(99,102,241,0.18);
    --dh-serif:       'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
    --dh-sans:        'Manrope', 'Inter', ui-sans-serif, system-ui, sans-serif;
    /* Gradient helpers */
    --dh-grad-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --dh-grad-warm:    linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --dh-grad-cool:    linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
}

body.design-page {
    background: linear-gradient(160deg, #f8f7ff 0%, #fafaf9 50%, #f0fdf4 100%);
    font-family: var(--dh-sans);
}
.design-page .m-main { padding-top: 0; padding-bottom: 0; }

/* Nav: transparent over hero, ivory when scrolled */
/* Header uses global vibrant glassmorphism */

/* ─── Animations ────────────────────────────────────────────── */
@keyframes dhPulseGold {
    0%   { box-shadow: 0 0 0 0 rgba(99,102,241,.5); }
    100% { box-shadow: 0 0 0 8px rgba(99,102,241,0); }
}
@keyframes dhGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,.3); }
    50%       { box-shadow: 0 0 20px 4px rgba(99,102,241,.15); }
}
@keyframes dhFadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* ═══════════════════════════════════════════════════════════════════
   STARTING POINTS — compact square cards, vibrant per-card colors
   ═══════════════════════════════════════════════════════════════════ */
.dh-starters-wrap {
    padding: 28px 28px 0;
}
.dh-starters-inner { max-width: 1160px; margin: 0 auto; }
.dh-starters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

/* ── Base card ── */
.dh-starter-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 20px;
    border-radius: 18px;
    border: 1.5px solid rgba(17,35,63,.08);
    background: #FFFFFF;
    cursor: pointer;
    text-align: start;
    font: inherit;
    text-decoration: none;
    box-shadow:
        0 2px 10px rgba(17,35,63,.05),
        0 1px 2px rgba(17,35,63,.04);
    transition: all .2s cubic-bezier(.34,1.4,.64,1);
}
.dh-starter-card:hover {
    border-color: var(--sc, #6366f1);
    box-shadow:
        0 10px 28px var(--sc-glow, rgba(99,102,241,.18)),
        0 2px 6px rgba(17,35,63,.05);
    transform: translateY(-3px);
}
.dh-starter-card.is-active {
    border-color: var(--sc, #6366f1);
    border-width: 2px;
    background: var(--sc-bg, rgba(99,102,241,.04));
    box-shadow: 0 12px 32px var(--sc-glow, rgba(99,102,241,.18));
}
.dh-starter-card--scratch { border-style: dashed; }
.dh-starter-card--scratch:hover { border-style: solid; }

/* Wavy line texture at bottom-right via pseudo-element */
.dh-starter-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 72px;
    height: 56px;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 7px,
            var(--sc, rgba(99,102,241,.3)) 7px,
            var(--sc, rgba(99,102,241,.3)) 8px
        );
    mask-image: radial-gradient(ellipse 80% 70% at 100% 100%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 100% 100%, black 20%, transparent 80%);
    opacity: .12;
    transition: opacity .2s;
}
.dh-starter-card:hover::after,
.dh-starter-card.is-active::after { opacity: .2; }

/* Hide old corner geometry */
.dh-starter-corner { display: none; }

/* ── Check pill ── */
.dh-starter-check {
    display: none;
    position: absolute;
    top: 11px;
    right: 11px;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 99px;
    background: var(--sc, #6366f1);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .06em;
    box-shadow: 0 2px 6px var(--sc-glow, rgba(99,102,241,.4));
}
.dh-starter-card.is-active .dh-starter-check { display: inline-flex; }

/* ── Icon badge ── */
.dh-starter-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    background: var(--sc-bg, rgba(99,102,241,.1));
    color: var(--sc, #6366f1);
    transition: background .18s, color .18s, transform .18s;
    flex-shrink: 0;
}
.dh-starter-card:hover .dh-starter-icon-wrap,
.dh-starter-card.is-active .dh-starter-icon-wrap {
    background: var(--sc, #6366f1);
    color: #fff;
    transform: scale(1.07);
}

/* ── Title ── */
.dh-starter-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #0C1E30;
    line-height: 1.3;
    margin-bottom: 6px;
}

/* ── Colored underline ── */
.dh-starter-rule {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: var(--sc, #6366f1);
    margin-bottom: 9px;
    flex-shrink: 0;
    transition: width .18s ease;
}
.dh-starter-card:hover .dh-starter-rule { width: 34px; }

/* ── Body text ── */
.dh-starter-meta {
    display: block;
    font-size: 11.5px;
    color: #6B7A99;
    line-height: 1.52;
}

/* ── Bottom-right radial glow ── */
.dh-starter-glow {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--sc-glow, rgba(99,102,241,.2)) 0%, transparent 70%);
    pointer-events: none;
    opacity: .75;
    transition: opacity .2s;
}
.dh-starter-card:hover .dh-starter-glow,
.dh-starter-card.is-active .dh-starter-glow { opacity: 1; }

.dh-starters-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.dh-starters-note {
    font-size: 12px;
    color: var(--dh-muted);
    font-style: italic;
}

@media (max-width: 900px) {
    .dh-starters-wrap { padding: 20px 12px 0; }
    .dh-starters { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .dh-starters { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   DESIGNER CARD — corner stamp, stepper, two-column body
   ═══════════════════════════════════════════════════════════════════ */

/* Corner stamp */
.dh-card-stamp {
    position: absolute; top: 18px; right: 18px; z-index: 2;
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px; border: 1px solid var(--dh-line-2);
    border-radius: 99px; background: rgba(255,255,255,.8);
    font-size: 11px; color: var(--dh-muted);
    letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.dh-card-stamp-dot {
    width: 6px; height: 6px; border-radius: 99px;
    background: var(--dh-grad-primary); flex-shrink: 0;
    box-shadow: 0 0 6px rgba(99,102,241,.5);
}

/* Stepper */
.dh-stepper {
    display: flex; align-items: center;
    padding: 28px 40px 24px;
    border-bottom: 1px solid rgba(99,102,241,.10);
    background: linear-gradient(180deg, rgba(245,243,255,.8) 0%, rgba(255,255,255,0) 100%);
    position: relative; z-index: 1;
}
.dh-stepper-step {
    display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0;
}
.dh-stepper-circle {
    width: 38px; height: 38px; border-radius: 99px; flex-shrink: 0;
    display: grid; place-items: center;
    font-family: var(--dh-sans); font-size: 14px; font-weight: 700;
    background: rgba(255,255,255,.9); color: var(--dh-muted);
    border: 1.5px solid rgba(99,102,241,.2);
    transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.dh-stepper-step.is-current .dh-stepper-circle {
    background: var(--dh-grad-primary); color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 8px 20px -6px rgba(99,102,241,.5), 0 0 0 6px rgba(99,102,241,.10);
    transform: scale(1.08);
}
.dh-stepper-step.is-done .dh-stepper-circle {
    background: linear-gradient(135deg, #10b981, #059669); color: #FFFFFF; border-color: transparent;
    box-shadow: 0 4px 12px -4px rgba(16,185,129,.4);
}
.dh-stepper-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.dh-stepper-title {
    font-size: 13.5px; font-weight: 600;
    color: var(--dh-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dh-stepper-step.is-current .dh-stepper-title { color: var(--dh-navy); }
.dh-stepper-step.is-done .dh-stepper-title { color: var(--dh-ink-2); }
.dh-stepper-hint {
    font-size: 11.5px; color: var(--dh-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dh-stepper-step.is-current .dh-stepper-hint {
    color: #8b5cf6; font-style: italic;
}
.dh-stepper-connector {
    flex: 1; height: 2px; margin-inline: 14px; flex-shrink: 0;
    background: repeating-linear-gradient(to right, rgba(99,102,241,.2) 0 4px, transparent 4px 8px);
    border-radius: 99px;
}
.dh-stepper-connector.is-filled {
    background: linear-gradient(to right, #10b981, #6366f1);
    box-shadow: 0 1px 4px rgba(99,102,241,.3);
}

/* Two-column body */
.dh-card-body {
    display: grid; grid-template-columns: 1.4fr 1fr; min-height: 600px;
}

/* ═══════════════════════════════════════════════════════════════════
   MILVUS SNAPSHOT PANEL
   ═══════════════════════════════════════════════════════════════════ */
.dh-snapshot {
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
    border-left: 1px solid var(--dh-line-2);
    padding: 32px 32px 28px;
    display: flex; flex-direction: column; gap: 20px;
}
.dh-snapshot-bg-mark {
    position: absolute; right: -60px; top: -40px;
    opacity: .08; pointer-events: none;
}
.dh-snapshot-head { display: flex; flex-direction: column; gap: 4px; }
.dh-snapshot-title-row {
    display: flex; align-items: center; gap: 10px;
}
.dh-snapshot-title {
    font-family: var(--dh-serif); font-weight: 400; font-size: 22px;
    color: var(--dh-navy); letter-spacing: -.01em; margin: 0;
}
.dh-snapshot-live {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10px; font-weight: 700; color: #6366f1;
    background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.25);
    padding: 3px 8px; border-radius: 99px;
    letter-spacing: .12em; text-transform: uppercase;
}
.dh-snapshot-live-dot {
    width: 5px; height: 5px; border-radius: 99px;
    background: #6366f1; animation: dhPulseGold 2s infinite;
}
.dh-snapshot-desc { font-size: 13px; color: var(--dh-muted); line-height: 1.55; margin: 0; }

.dh-snapshot-rows { display: flex; flex-direction: column; }
.dh-snap-row {
    display: grid; grid-template-columns: 110px 1fr;
    align-items: flex-start; gap: 12px;
    padding: 10px 0; border-bottom: 1px dashed var(--dh-line-2);
}
.dh-snap-row:last-child { border-bottom: none; }
.dh-snap-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--dh-muted); font-weight: 500;
}
.dh-snap-label svg { color: #6366f1; flex-shrink: 0; }
.dh-snap-value {
    font-size: 13px; color: var(--dh-ink); font-weight: 500; line-height: 1.45;
}
.dh-snap-muted { font-size: 13px; color: var(--dh-muted); font-style: italic; }

/* Direction card */
.dh-snap-direction-card {
    background: #fff; border: 1px solid var(--dh-line-2);
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 8px 24px -16px rgba(21,35,63,.25);
}
.dh-snap-direction-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; border-bottom: 1px dashed var(--dh-line-2);
}
.dh-snap-direction-eyebrow {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--dh-muted);
}
.dh-snap-direction-eyebrow svg { color: var(--dh-gold); }
.dh-snap-direction-ts { font-size: 11px; color: var(--dh-muted); }
.dh-snap-direction-body {
    display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 14px;
}
.dh-snap-dest-img {
    width: 100px; height: 100px; border-radius: 10px; overflow: hidden;
    background: linear-gradient(135deg, #2a3d63, #0C0E1A);
}
.dh-snap-dest-img svg { width: 100%; height: 100%; }
.dh-snap-dest-name {
    font-family: var(--dh-serif); font-weight: 400; font-size: 19px;
    color: var(--dh-navy); margin: 0 0 6px;
}
.dh-snap-dest-bullets {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 5px;
}
.dh-snap-dest-bullets li {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; color: var(--dh-ink-2);
}
.dh-snap-dest-bullets svg { color: #10b981; flex-shrink: 0; }

/* Trust note */
.dh-snap-trust {
    display: flex; gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(139,92,246,.04));
    border: 1px solid rgba(99,102,241,.18);
    border-radius: 12px; align-items: flex-start;
}
.dh-snap-trust-icon {
    width: 28px; height: 28px; border-radius: 99px;
    background: var(--dh-grad-primary); color: #FFFFFF;
    display: grid; place-items: center; flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(99,102,241,.3);
}
.dh-snap-trust-text { font-size: 12px; color: var(--dh-ink); line-height: 1.5; }
.dh-snap-trust-head { font-weight: 700; color: #4f46e5; margin-bottom: 2px; font-size: 12px; }

/* Footnote */
.dh-snap-footnote {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 11.5px; color: var(--dh-muted); line-height: 1.5;
}
.dh-snap-footnote svg { color: var(--dh-muted); margin-top: 2px; flex-shrink: 0; }

/* Snapshot hidden on narrow screens (form takes full width) */
@media (max-width: 900px) {
    .dh-card-body { grid-template-columns: 1fr; }
    .dh-snapshot { display: none; }
    .dh-stepper { padding: 18px 20px 16px; }
    .dh-stepper-hint { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   WIZARD CARD — update gold/ivory color palette overrides
   ═══════════════════════════════════════════════════════════════════ */

/* Wizard section */
.dyt-wizard {
    padding: 20px 28px 60px;
}
.dyt-shell {
    max-width: 1320px; margin: 0 auto; position: relative; z-index: 1;
}
.dyt-card {
    position: relative;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(99,102,241,.15);
    border-radius: 28px;
    box-shadow:
        0 40px 100px -50px rgba(99,102,241,.25),
        0 8px 24px -10px rgba(99,102,241,.08),
        0 0 0 1px rgba(99,102,241,.06) inset;
    overflow: hidden; backdrop-filter: blur(12px);
}

/* Form body */
.dyt-form { padding: 36px 40px; }
.design-step.dyt-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.design-step.dyt-step.is-active { display: block; animation: dhFadeUp .3s ease both; }

/* Step legend */
.dyt-step-legend { padding: 0; margin: 0 0 22px; display: block; }
.dyt-step-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10.5px; letter-spacing: 1.8px;
    text-transform: uppercase; color: #6366f1; margin-bottom: 10px;
}
.dyt-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 18px; padding: 0 6px;
    border-radius: 999px;
    background: var(--dh-grad-primary);
    color: #FFFFFF; font-size: 10px; letter-spacing: 1.2px;
    box-shadow: 0 2px 6px rgba(99,102,241,.3);
}
.dyt-step-eyebrow-label { color: var(--dh-muted); }
.dyt-step-title {
    display: block;
    font-family: var(--dh-serif); font-weight: 400;
    font-size: 34px; color: var(--dh-navy); line-height: 1.1;
}
.dyt-step-sub {
    display: block;
    font-size: 14px; color: var(--dh-muted); line-height: 1.6; margin-top: 6px;
}
.dyt-step-error {
    margin: 0 0 14px; font-size: 13px;
    color: #8B3A2E; background: rgba(139,58,46,.08);
    border: 1px solid rgba(139,58,46,.26);
    padding: 9px 12px; border-radius: 10px;
}

/* Destination chips */
.design-chips {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.design-chip {
    position: relative; display: inline-flex; align-items: center;
    padding: 9px 16px; border-radius: 999px;
    border: 1px solid var(--dh-line-2);
    background: rgba(255,255,255,.8); color: var(--dh-ink);
    font-size: 13px; cursor: pointer; transition: all .15s;
}
.design-chip:hover { border-color: #6366f1; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(99,102,241,.12); }
.design-chip input { position: absolute; opacity: 0; pointer-events: none; }
.design-chip:has(input:checked), .design-chip.is-on {
    background: var(--dh-grad-primary); color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(99,102,241,.3);
}

/* Shape cards */
.design-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px; margin-bottom: 6px;
}
.design-card {
    display: flex; flex-direction: column; justify-content: center;
    align-items: center; text-align: center;
    padding: 14px 10px 12px; min-height: 88px;
    border: 1.5px solid var(--dh-line-2); border-radius: 12px;
    background: rgba(255,255,255,.7); cursor: pointer;
    transition: all .18s ease;
}
.design-card:hover {
    border-color: #6366f1;
    background: rgba(245,243,255,.9); transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(99,102,241,.12);
}
.design-card input { position: absolute; opacity: 0; pointer-events: none; }
.design-card-title {
    display: block; font-family: var(--dh-serif); font-style: italic;
    font-size: 18px; line-height: 1.1; color: var(--dh-navy); margin-bottom: 4px;
}
.design-card-sub { display: block; font-size: 11px; color: var(--dh-muted); line-height: 1.4; }
.design-card:has(input:checked), .design-card.is-on {
    border-color: #6366f1; background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    box-shadow: 0 0 0 2px #6366f1 inset, 0 12px 28px rgba(99,102,241,.15);
}
.design-card:has(input:checked) .design-card-title { color: #4f46e5; }

/* Pace slider */
.design-pace-slider { padding: 8px 0 4px; }
.design-pace-slider-track {
    position: relative; height: 4px; border-radius: 999px;
    background: rgba(21,35,63,.10);
}
.design-pace-slider-fill {
    position: absolute; inset-inline-start: 0; top: 0; height: 100%;
    background: var(--dh-navy); border-radius: 999px; transition: width 200ms ease;
}
.design-pace-slider-input {
    appearance: none; -webkit-appearance: none;
    position: relative; z-index: 2;
    width: 100%; height: 32px; background: transparent;
    cursor: pointer; outline: none;
}
.design-pace-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--dh-navy); border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(21,35,63,.3); cursor: pointer;
}
.design-pace-slider-input::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--dh-navy); border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(21,35,63,.3); cursor: pointer;
}
.design-pace-slider-tick-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--dh-line-2); margin: 0 auto 4px; }
[data-pace-tick].is-active .design-pace-slider-tick-dot { background: var(--dh-navy); }
[data-pace-tick].is-passed .design-pace-slider-tick-dot { background: var(--dh-gold); }
.design-pace-slider-tick-label { font-size: 11px; color: var(--dh-muted); text-align: center; }
[data-pace-tick].is-active .design-pace-slider-tick-label { color: var(--dh-navy); font-weight: 600; }

/* Counters */
.design-counters { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 6px; }
.design-counter-row {
    display: flex; align-items: center; gap: 6px;
}
.design-counter-row button {
    width: 36px; height: 36px; border-radius: 10px;
    border: 1.5px solid var(--dh-line-2); background: #fff;
    color: var(--dh-navy); font-size: 18px; cursor: pointer;
    display: grid; place-items: center; transition: all .15s;
}
.design-counter-row button:hover { border-color: #6366f1; background: var(--dh-grad-primary); color: #fff; box-shadow: 0 4px 10px rgba(99,102,241,.3); }
.design-counter-row input {
    flex: 1; border: 0; background: transparent;
    font-family: var(--dh-serif); font-size: 30px;
    text-align: center; color: var(--dh-navy); font-weight: 500;
    pointer-events: none;
}
.design-counter-viz { display: none; }

/* Timing pills */
.design-radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.design-radio-pill {
    display: inline-flex; align-items: center;
    padding: 8px 16px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--dh-line-2); background: rgba(255,255,255,.7);
    font-size: 13px; color: var(--dh-ink); transition: all .15s;
}
.design-radio-pill:hover { border-color: #6366f1; background: rgba(99,102,241,.06); }
.design-radio-pill input { display: none; }
.design-radio-pill:has(input:checked) {
    background: var(--dh-grad-primary); color: #FFFFFF; border-color: transparent;
    box-shadow: 0 4px 12px rgba(99,102,241,.3);
}

/* Interests chips */
.design-subgroup { margin-bottom: 22px; }
.design-subgroup:last-of-type { margin-bottom: 0; }
.design-label {
    display: block; margin-bottom: 10px;
    font-size: 11px; letter-spacing: 1.6px;
    text-transform: uppercase; color: var(--dh-muted);
}

/* Vision textarea */
.design-vision-moods, .design-vision-assist { margin-bottom: 16px; }
.design-vision-moods-label {
    display: block; font-size: 11px; letter-spacing: 1.4px;
    text-transform: uppercase; color: var(--dh-muted); margin-bottom: 10px;
}
.design-vision-moods-row, .design-vision-starter-row {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.design-vision-mood {
    padding: 6px 13px; border-radius: 999px;
    border: 1px solid var(--dh-line-2); background: rgba(255,255,255,.7);
    color: var(--dh-ink); font-family: var(--dh-serif); font-style: italic; font-size: 14px;
    cursor: pointer; transition: all .15s;
}
.design-vision-mood:hover { background: var(--dh-grad-primary); color: #FFFFFF; border-color: transparent; }
.design-vision-mood.is-picked { background: var(--dh-grad-primary); color: #FFFFFF; border-color: transparent; box-shadow: 0 4px 12px rgba(99,102,241,.3); }
.design-vision-starter {
    text-align: start; padding: 10px 12px;
    border-radius: 10px; border: 1px dashed var(--dh-line-2);
    background: rgba(255,255,255,.6); color: var(--dh-muted);
    font-size: 13px; line-height: 1.5; cursor: pointer; flex: 1 1 220px;
    transition: all .15s;
}
.design-vision-starter:hover { border-color: var(--dh-gold); background: rgba(255,255,255,.95); color: var(--dh-ink); }
.design-vision-wrap {
    position: relative; margin-top: 16px; padding: 0 26px;
}
.design-vision-open, .design-vision-close {
    position: absolute; font-family: var(--dh-serif);
    font-size: 64px; line-height: 0.7; color: rgba(30, 58, 95,.25);
    pointer-events: none;
}
.design-vision-open { top: 4px; left: 0; }
.design-vision-close { bottom: -10px; right: 4px; }
.design-vision-wrap textarea {
    width: 100%; min-height: 160px;
    border: 1px solid var(--dh-line-2); border-radius: 12px;
    padding: 18px 20px; font-family: var(--dh-serif);
    font-size: 17px; line-height: 1.6; color: var(--dh-ink);
    background: rgba(255,255,255,.8); resize: vertical;
    transition: all .15s;
}
.design-vision-wrap textarea::placeholder {
    font-family: var(--dh-sans); font-size: 14px;
    font-style: italic; color: var(--dh-muted);
}
.design-vision-wrap textarea:focus {
    outline: none; border-color: #6366f1;
    background: #fff; box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.design-vision-meta {
    margin-top: 6px; font-size: 11.5px;
    color: var(--dh-muted); text-align: end;
}

/* Freeform */
.design-freeform {
    margin-bottom: 8px; padding: 12px 14px;
    background: rgba(255,255,255,.6); border: 1px dashed var(--dh-line-2);
    border-radius: 12px;
}
.design-freeform-row { display: flex; gap: 8px; }
.design-freeform-row input {
    flex: 1; border: 1px solid var(--dh-line-2);
    background: #fff; border-radius: 8px;
    padding: 9px 12px; font-size: 14px; color: var(--dh-ink);
}
.design-freeform-row input:focus {
    outline: none; border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.design-freeform-added {
    list-style: none; margin: 10px 0 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 6px;
}
.design-freeform-added li {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--dh-grad-primary); color: #fff;
    border-radius: 999px; padding: 5px 10px 5px 12px; font-size: 12.5px;
    box-shadow: 0 3px 8px rgba(99,102,241,.25);
}
.design-freeform-added button {
    background: transparent; border: 0; color: rgba(255,255,255,.7);
    cursor: pointer; font-size: 14px; padding: 0 2px;
}

/* Summary */
.dyt-summary, .design-summary {
    background: rgba(255,255,255,.6); border: 1px dashed var(--dh-line-2);
    border-radius: 14px; padding: 16px 18px; margin-bottom: 16px;
}
.design-summary dl {
    display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 0;
}
.design-summary dt {
    font-size: 11px; letter-spacing: 1.4px;
    text-transform: uppercase; color: var(--dh-muted); padding-top: 2px;
}
.design-summary dd { margin: 0; color: var(--dh-ink); font-size: 14px; line-height: 1.55; }
.design-summary-empty { color: var(--dh-muted); font-style: italic; margin: 0; }
.dyt-summary-health, .design-summary-health {
    margin: 0 0 10px; font-size: 13px; color: var(--dh-muted);
}
.design-summary-health.is-ready { color: #047857; }
.design-summary-health.is-warn  { color: #B45309; }

/* Identity grid */
.design-id-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px 14px; margin-bottom: 6px;
}
.design-id-full { grid-column: 1 / -1; }
.design-id-grid .design-label { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dh-muted); margin-bottom: 6px; }
.design-id-grid input {
    width: 100%; border: 1px solid var(--dh-line-2);
    background: rgba(255,255,255,.8); border-radius: 10px;
    padding: 10px 12px; font-size: 14px; color: var(--dh-ink);
}
.design-id-grid input:focus {
    outline: none; border-color: #6366f1; background: #fff;
    box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.design-signedin-note {
    background: rgba(30, 58, 95,.07); border: 1px solid rgba(30, 58, 95,.18);
    border-radius: 10px; padding: 10px 12px;
    font-size: 13px; color: var(--dh-ink-2); margin-bottom: 10px;
}

/* Actions */
.design-actions {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-top: 26px; padding-top: 18px;
    border-top: 1px solid rgba(21,35,63,.06);
}
.design-back-spacer { flex: 0 0 auto; min-width: 1px; }

/* Buttons inside the form */
.dyt-form .m-btn-gold {
    background: var(--dh-grad-primary); border: none;
    color: #FFFFFF; border-radius: 999px;
    padding: 12px 28px; font-size: 14px; font-family: var(--dh-sans); font-weight: 700;
    box-shadow: 0 8px 20px rgba(99,102,241,.35);
    transition: all .25s cubic-bezier(.34,1.56,.64,1);
}
.dyt-form .m-btn-gold:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 12px 28px rgba(99,102,241,.45);
    transform: translateY(-2px) scale(1.02);
}
.dyt-form .m-btn-link {
    color: var(--dh-muted); background: transparent; border: 0;
    padding: 8px 12px; font-size: 13.5px; cursor: pointer; font-family: var(--dh-sans);
}
.dyt-form .m-btn-link:hover { color: var(--dh-ink); }
.dyt-form .m-btn-lg { padding: 12px 26px; font-size: 14.5px; }

/* Card foot */
.dyt-card-foot {
    background: linear-gradient(180deg, rgba(245,243,255,.4) 0%, rgba(255,255,255,.6) 100%);
    border-top: 1px solid rgba(99,102,241,.10);
    padding: 18px 40px;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.dyt-foot-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--dh-muted);
}
.dyt-foot-item svg { color: #6366f1; }
.dyt-foot-sep { color: rgba(21,35,63,.18); font-size: 14px; }

/* ─── Responsive ──── */
@media (max-width: 760px) {
    .dyt-wizard { padding: 16px 12px 48px; }
    .dyt-form { padding: 22px 18px 20px; }
    .dyt-card-foot { padding: 12px 16px; font-size: 11px; }
    .dh-card-stamp { display: none; }
    .design-actions { flex-wrap: wrap; }
    .design-actions > * { width: 100%; justify-content: center; }
    .design-back-spacer { display: none; }
    .design-id-grid { grid-template-columns: 1fr; }
    .design-counters { grid-template-columns: 1fr; }
    .design-summary dl { grid-template-columns: 1fr; gap: 4px; }
    .design-cards {
        display: flex; gap: 8px; overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-inline: -18px; padding-inline: 18px; padding-bottom: 6px;
        scrollbar-width: thin;
    }
    .design-card { flex: 0 0 auto; width: 100px; min-height: 84px; scroll-snap-align: start; }
}

/* Success banner */
.design-success-wrap { padding-top: 90px; }
.design-success {
    display: flex; gap: 14px; align-items: flex-start;
    margin: 10px 0 18px; padding: 18px 20px; border-radius: 16px;
    border: 1px solid rgba(16,185,129,.3);
    background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(99,102,241,.06));
    color: var(--dh-ink);
}
.design-success-mark {
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; color: #FFFFFF;
    background: linear-gradient(135deg, #10b981, #059669);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16,185,129,.35);
}
.design-success h2 { margin: 0 0 4px; font-family: var(--dh-serif); font-size: 24px; }
.design-success p { margin: 0; font-size: 13px; color: var(--dh-muted); }
.design-success a { color: var(--dh-navy); }

/* Hide legacy chrome that no longer has markup */
.design-canvas-backdrop, .design-canvas-bg, .design-canvas-tint,
.design-canvas-vignette, .design-canvas-shell, .design-stage,
.design-stage-ornament, .design-chapter, .design-atelier,
[data-atelier][hidden], .jd-origami-track,
.dyt-card-head, .dyt-stepper-bespoke { display: none !important; }

/* ─── Wizard step layout fixes (override legacy .design-step rules) ─── */

/* Legacy CSS made `.design-step legend` a 2-col grid which forced the
   title into a narrow right column. Reset it to block so the new
   .dyt-step-legend (eyebrow on top, then title, then sub) flows normally. */
.design-step legend.dyt-step-legend {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    align-items: initial !important;
}
.dyt-step-legend > .dyt-step-eyebrow,
.dyt-step-legend > .dyt-step-title,
.dyt-step-legend > .dyt-step-sub { display: block; }
.dyt-step-eyebrow { display: inline-flex !important; }
.dyt-step-title  { font-size: clamp(24px, 2.6vw, 32px); margin-top: 4px; }
.dyt-step-sub    { margin-top: 8px; max-width: 56ch; }

/* Shape cards: legacy 7-col grid squeezed each card to ~50px in the
   narrower form column. Wrap them instead so each card has a real width. */
.dyt-step .design-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 10px;
    margin-bottom: 6px;
}
.dyt-step .design-card {
    min-height: 92px;
    padding: 14px 12px;
    text-align: start;
    align-items: flex-start;
    justify-content: flex-start;
}
.dyt-step .design-card-title {
    font-size: 17px;
    font-style: normal;
    line-height: 1.2;
    margin-bottom: 4px;
}
.dyt-step .design-card-sub {
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--dh-muted);
}

/* Active shape card uses the gold/navy palette (not the old blue) */
.dyt-step .design-card:has(input:checked) {
    border-color: var(--dh-navy);
    background: #fff;
    box-shadow:
        0 0 0 1.5px var(--dh-navy) inset,
        0 8px 20px rgba(21,35,63,.10),
        0 0 0 4px rgba(30, 58, 95,.10);
}

@media (max-width: 920px) {
    .dyt-step .design-cards { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   WIZARD COMPACTION — fit each step on roughly one screen.
   Tighter paddings, denser shape cards, shorter snapshot rail,
   so the user can complete a step without scrolling much.
   ═══════════════════════════════════════════════════════════════════ */

/* Shrink the wizard outer breathing room */
.dh-card-wrap { padding: 14px 28px 36px !important; }

/* Card body: drop the 600px min-height so cards size to content */
.dh-card-body { min-height: 0 !important; }

/* Form column padding tighter */
.dyt-form { padding: 22px 28px 24px !important; }

/* Step header — eyebrow + title flow with less breathing room */
.dyt-step-legend { margin-bottom: 14px !important; }
.dyt-step-eyebrow { margin-bottom: 6px !important; }
.dyt-step-title { font-size: clamp(20px, 1.9vw, 26px) !important; line-height: 1.2 !important; margin-top: 0 !important; }
.dyt-step-sub   { margin-top: 4px !important; font-size: 13px !important; line-height: 1.5 !important; }

/* Shape cards — denser grid, shorter cards */
.dyt-step .design-cards {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)) !important;
    gap: 8px !important;
    margin-bottom: 4px !important;
}
.dyt-step .design-card {
    min-height: 64px !important;
    padding: 10px 12px !important;
}
.dyt-step .design-card-title { font-size: 14.5px !important; margin-bottom: 2px !important; }
.dyt-step .design-card-sub   { font-size: 10.5px !important; line-height: 1.35 !important; }

/* Destination chips — same row gap reduction */
.dyt-step .design-chips { gap: 6px !important; margin-bottom: 12px !important; }
.dyt-step .design-chip  { padding: 7px 14px !important; font-size: 12.5px !important; }

/* Subgroup spacing */
.dyt-step .design-subgroup { margin-bottom: 16px !important; }
.dyt-step .design-label    { margin-bottom: 6px !important; font-size: 10.5px !important; }

/* Action bar (Back / Continue) tighter */
.dyt-step .design-actions {
    margin-top: 16px !important;
    padding-top: 14px !important;
}

/* Card foot ribbon shorter */
.dyt-card-foot { padding: 10px 28px !important; }
.dyt-foot-item { font-size: 11.5px !important; }

/* Snapshot rail compaction — narrower padding, smaller gaps,
   so it visually balances with the now-shorter form. */
.dh-snapshot { padding: 22px 24px 22px !important; gap: 14px !important; }
.dh-snapshot-title { font-size: 18px !important; }
.dh-snapshot-sub   { font-size: 12px !important; line-height: 1.45 !important; }
.dh-snapshot-rows  { gap: 0 !important; }
.dh-snapshot-row   { padding: 7px 0 !important; font-size: 12.5px !important; }
.dh-snapshot-row-label svg { transform: scale(.95); }
.dh-card-foot-trust { padding: 10px 12px !important; gap: 8px !important; font-size: 11.5px !important; }
.dh-card-foot-note  { font-size: 11px !important; line-height: 1.45 !important; }

/* Stepper above form — tighter so it doesn't dominate.
   Right padding reserves clear space for .dh-card-stamp (THE DESIGNER'S DESK
   pill) which is absolutely-positioned at top:18px right:18px and would
   otherwise overlap the "Review" step on the right. */
.dh-stepper { padding: 14px 220px 12px 28px !important; }
.dh-stepper-circle { width: 26px !important; height: 26px !important; font-size: 12px !important; }
.dh-stepper-title  { font-size: 11.5px !important; }
.dh-stepper-hint   { font-size: 10px !important; }
/* When the stamp is hidden (mobile / narrow), restore symmetric padding. */
@media (max-width: 720px) {
    .dh-stepper { padding: 14px 28px 12px !important; }
}

/* Pace slider, vision textarea, summary — trim tall surfaces */
.dyt-step .design-pace-slider-stage { padding: 4px 8px 0 !important; }
.dyt-step .design-vision-wrap textarea { min-height: 120px !important; padding: 16px 22px !important; font-size: 16px !important; }
.dyt-step .design-vision-moods,
.dyt-step .design-vision-assist { margin-bottom: 10px !important; }
.dyt-step .design-vision-mood { padding: 5px 12px !important; font-size: 13.5px !important; }
.dyt-step .design-vision-starter { padding: 9px 12px !important; font-size: 12.5px !important; }

/* Counter buttons (adults / children) compact */
.dyt-step .design-counters { gap: 12px !important; }
.dyt-step .design-counter-row input { font-size: 24px !important; }
.dyt-step .design-counter-row button { width: 30px !important; height: 30px !important; font-size: 16px !important; }

/* Summary in review step */
.dyt-step .design-summary { padding: 14px 16px !important; margin-bottom: 12px !important; }
.dyt-step .design-summary dl { gap: 6px 14px !important; }

/* ═══════════════════════════════════════════════════════════════════
   SMART + DELIGHTFUL UX LAYER (paired with smart modules in JS)
   ═══════════════════════════════════════════════════════════════════ */

/* — 1. Destination pairings — */
.dh-pairs {
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap;
    margin: 14px 0 4px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(232, 197, 116, 0.06), rgba(232, 197, 116, 0.02));
    border: 1px dashed rgba(232, 197, 116, 0.42);
    border-radius: 14px;
    animation: dh-pairs-in 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.dh-pairs[hidden] { display: none; }
.dh-pairs-label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dh-gold, #b08a3e);
    flex-shrink: 0;
}
.dh-pairs-row { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.dh-pair-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px 7px 11px;
    border: 1px solid rgba(21, 35, 63, 0.18);
    border-radius: 99px;
    background: white;
    color: var(--dh-navy, #15233f);
    font-size: 13px; font-weight: 500;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 160ms ease, border-color 140ms ease, background 140ms ease;
}
.dh-pair-chip:hover {
    transform: translateY(-1px);
    border-color: var(--dh-gold, #b08a3e);
    box-shadow: 0 4px 14px -6px rgba(176, 138, 62, 0.5);
}
.dh-pair-chip.is-added {
    background: var(--dh-gold, #b08a3e);
    color: white; border-color: transparent;
    transform: scale(0.96);
}
.dh-pair-plus {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 99px;
    background: rgba(176, 138, 62, 0.14);
    color: var(--dh-gold, #b08a3e);
    font-size: 14px; font-weight: 600; line-height: 1;
}
.dh-pair-chip.is-added .dh-pair-plus { background: rgba(255,255,255,0.25); color: white; }

@keyframes dh-pairs-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* — 2. Vision quality coach — */
.dh-coach {
    display: inline-flex; align-items: center; gap: 7px;
    margin-inline-start: 14px;
    font-size: 12px; font-weight: 500; font-style: italic;
    transition: color 240ms ease;
}
.dh-coach::before {
    content: ''; width: 6px; height: 6px; border-radius: 99px;
    background: currentColor; opacity: 0.7;
    transition: background 240ms ease, transform 240ms ease;
}
.dh-coach[data-tone="idle"]     { color: rgba(21, 35, 63, 0.4); }
.dh-coach[data-tone="starting"] { color: rgba(21, 35, 63, 0.55); }
.dh-coach[data-tone="good"]     { color: #6f7d92; }
.dh-coach[data-tone="rich"]     { color: var(--dh-gold, #b08a3e); }
.dh-coach[data-tone="crafted"]  { color: var(--dh-gold, #b08a3e); font-style: normal; font-weight: 600; }
.dh-coach[data-tone="crafted"]::before {
    background: var(--dh-gold, #b08a3e);
    box-shadow: 0 0 0 4px rgba(176, 138, 62, 0.18);
    transform: scale(1.2);
}

/* — 3. Snapshot pulse on value change — */
@keyframes dh-snap-pulse {
    0%   { background: rgba(176, 138, 62, 0.0);  transform: translateX(0); }
    25%  { background: rgba(176, 138, 62, 0.18); transform: translateX(2px); }
    100% { background: rgba(176, 138, 62, 0.0);  transform: translateX(0); }
}
.dh-snap-value.is-pulsing,
[data-snap-dest-name].is-pulsing {
    animation: dh-snap-pulse 720ms ease-out;
    border-radius: 6px;
    padding-inline: 4px;
    margin-inline: -4px;
}

/* — 4. Continue button readiness — */
/* Pending: noticeably dimmed but still tappable. Communicates "needs input"
   without blocking; clicking still triggers the existing validator which
   shows the inline step error. */
.m-btn-gold.is-pending {
    opacity: 0.55;
    filter: saturate(0.7);
    box-shadow: none;
}
.m-btn-gold.is-pending:hover {
    opacity: 0.7;
}
/* Ready: subtle gold pulse-glow that fades after a moment so it doesn't
   visually nag on every page-view, only on transition into ready. */
.m-btn-gold.is-ready {
    animation: dh-cta-ready 1400ms ease-out;
    box-shadow: 0 8px 22px -10px rgba(21, 35, 63, 0.4),
                0 0 0 3px rgba(176, 138, 62, 0.18);
}
@keyframes dh-cta-ready {
    0%   { box-shadow: 0 8px 22px -10px rgba(21, 35, 63, 0.4), 0 0 0 0 rgba(176, 138, 62, 0); }
    50%  { box-shadow: 0 10px 28px -8px rgba(21, 35, 63, 0.5), 0 0 0 8px rgba(176, 138, 62, 0.22); }
    100% { box-shadow: 0 8px 22px -10px rgba(21, 35, 63, 0.4), 0 0 0 3px rgba(176, 138, 62, 0.18); }
}
.m-btn-gold.is-ready::after {
    content: '→';
    margin-inline-start: 6px;
    display: inline-block;
    transition: transform 200ms ease;
}
.m-btn-gold.is-ready:hover::after {
    transform: translateX(3px);
}

/* Honor reduced-motion — keep transitions subtle but skip the showy ones */
@media (prefers-reduced-motion: reduce) {
    .dh-pairs { animation: none; }
    .dh-pair-chip,
    .m-btn-gold.is-ready,
    .dh-snap-value.is-pulsing,
    [data-snap-dest-name].is-pulsing { animation: none !important; transition: none !important; }
}

/* ====================================================================
   2026 refinement pass
   Calmer, more editorial, less dashboard-like.
   ==================================================================== */
.design-page {
    --dref-ink: #11233F;
    --dref-ink-2: #2D4263;
    --dref-muted: #5D6D87;
    --dref-bg: #FBFAF7;
    --dref-surface: #FFFEFB;
    --dref-line: #E7E0D4;
    --dref-gold: #D6AE70;
    --dref-gold-deep: #B88846;
    --dref-shadow: 0 24px 60px rgba(12, 14, 26, 0.08);
}

.design-page .m-main {
    background:
        radial-gradient(circle at top, rgba(214, 174, 112, 0.08), transparent 28%),
        linear-gradient(180deg, #FCFBF8 0%, #F8F3EA 100%);
}

.mh-hero--design {
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 68px;
}

.mh-hero--design .mh-overlay {
    background:
        linear-gradient(110deg, rgba(10, 21, 41, 0.54) 0%, rgba(10, 21, 41, 0.28) 46%, rgba(10, 21, 41, 0.08) 100%),
        linear-gradient(to top, rgba(10, 21, 41, 0.26) 0%, transparent 46%);
}

.mh-hero--design .mh-body {
    max-width: 500px;
    padding-bottom: 0;
}

.mh-hero--design .mh-eyebrow {
    color: rgba(251, 230, 180, 0.78);
    font-size: 10px;
    letter-spacing: 0.22em;
    margin-bottom: 8px;
}

.mh-hero--design .mh-rule {
    margin-bottom: 14px;
    background: rgba(201, 168, 100, 0.5);
}

.mh-hero--design .mh-headline {
    max-width: 480px;
    margin-top: 0;
    font-size: clamp(30px, 3.4vw, 48px);
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.mh-hero--design .mh-sub {
    max-width: 420px;
    font-size: 14px;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.80);
}

.dh-starters-wrap {
    position: relative;
    z-index: 3;
    margin-top: -54px;
    padding: 0 28px;
}

.dh-starters-inner {
    max-width: 1280px;
}

.dh-starters-secondary {
    justify-content: space-between;
    margin-top: 14px;
}

.dh-starters-secondary .m-btn-link {
    color: var(--dref-ink);
}

.dh-starters-note {
    color: var(--dref-muted);
}

.dyt-wizard {
    padding: 14px 28px 72px;
}

.dyt-card {
    border: 1px solid rgba(17, 35, 63, 0.08);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,252,247,0.96) 100%);
    box-shadow: var(--dref-shadow);
    overflow: hidden;
}

.dh-stepper {
    padding: 18px 34px 16px;
    border-bottom: 1px solid rgba(231, 224, 212, 0.86);
    background: linear-gradient(180deg, rgba(251, 247, 240, 0.92) 0%, rgba(255, 255, 255, 0.82) 100%);
}

.dh-stepper-circle {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.9);
    color: var(--dref-muted);
    border: 1px solid rgba(17, 35, 63, 0.14);
}

.dh-stepper-step.is-current .dh-stepper-circle {
    background: linear-gradient(135deg, var(--dref-ink) 0%, #203A63 100%);
    box-shadow: 0 0 0 5px rgba(17, 35, 63, 0.08);
}

.dh-stepper-step.is-done .dh-stepper-circle {
    background: linear-gradient(135deg, var(--dref-gold-deep) 0%, var(--dref-gold) 100%);
    box-shadow: none;
}

.dh-stepper-title {
    color: var(--dref-muted);
}

.dh-stepper-step.is-current .dh-stepper-title,
.dh-stepper-step.is-done .dh-stepper-title {
    color: var(--dref-ink);
}

.dh-stepper-hint,
.dh-stepper-step.is-current .dh-stepper-hint {
    color: var(--dref-muted);
    font-style: normal;
}

.dh-stepper-connector {
    background: linear-gradient(to right, rgba(214, 174, 112, 0.28) 0 50%, transparent 50% 100%);
    background-size: 10px 2px;
}

.dh-stepper-connector.is-filled {
    background: linear-gradient(to right, rgba(184, 136, 70, 0.95), rgba(17, 35, 63, 0.72));
}

.dh-workshop-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 24px;
    align-items: center;
    padding: 24px 34px 22px;
    border-bottom: 1px solid rgba(231, 224, 212, 0.82);
    background: linear-gradient(180deg, rgba(255,251,244,0.94) 0%, rgba(255,255,255,0.7) 100%);
}

.dh-workshop-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 600 11px/1 Inter, sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dref-gold-deep);
}

.dh-workshop-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: rgba(184, 136, 70, 0.54);
}

.dh-workshop-copy h2 {
    margin: 10px 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 0.98;
    color: var(--dref-ink);
}

.dh-workshop-copy p {
    margin: 0;
    max-width: 680px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--dref-muted);
}

.dh-workshop-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.dh-workshop-signals span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 35, 63, 0.08);
    background: rgba(255, 255, 255, 0.78);
    font: 500 12px/1.2 Inter, sans-serif;
    color: var(--dref-ink-2);
}

.dh-card-body {
    grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
    min-height: 0 !important;
}

.dyt-form {
    padding: 28px 34px 30px !important;
}

.dyt-step-legend {
    margin-bottom: 18px !important;
}

.dyt-step-title {
    font-size: clamp(28px, 2.6vw, 40px) !important;
    line-height: 0.98 !important;
    color: var(--dref-ink) !important;
}

.dyt-step-sub {
    max-width: 720px;
    font-size: 14px !important;
    line-height: 1.68 !important;
    color: var(--dref-muted) !important;
}

.design-chip,
.design-card,
.design-timing-card,
.design-interest-chip {
    border-color: rgba(17, 35, 63, 0.1) !important;
    box-shadow: none !important;
}

.design-chip,
.design-interest-chip {
    background: rgba(255,255,255,0.9) !important;
}

.design-chip input:checked + span,
.design-interest-chip input:checked + span {
    background: linear-gradient(180deg, rgba(255,251,243,1) 0%, rgba(248,241,228,1) 100%) !important;
    color: var(--dref-ink) !important;
    border-color: rgba(184, 136, 70, 0.38) !important;
}

.design-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(251,247,240,0.9) 100%) !important;
    border-radius: 22px !important;
}

.design-card:hover,
.design-card:has(input:checked) {
    transform: translateY(-2px);
    border-color: rgba(184, 136, 70, 0.34) !important;
}

.design-actions {
    margin-top: 22px !important;
}

.dyt-form .m-btn-gold {
    background: linear-gradient(135deg, var(--dref-ink) 0%, #203A63 100%);
    box-shadow: 0 12px 28px rgba(17, 35, 63, 0.18);
}

.dyt-form .m-btn-gold:hover {
    background: linear-gradient(135deg, #172C4C 0%, #27466F 100%);
}

.dh-snapshot {
    padding: 24px 24px 22px !important;
    gap: 16px !important;
    border-left: 1px solid rgba(231, 224, 212, 0.86);
    background: linear-gradient(180deg, rgba(251,248,242,0.88) 0%, rgba(255,255,255,0.96) 100%);
}

.dh-snapshot.is-refreshing {
    opacity: 0.78;
    transform: translateY(4px);
}

.dh-snapshot,
.dh-snap-working-title,
.dh-snap-brief,
.dh-snap-direction-card,
.dh-snap-designer,
.dh-snap-readiness {
    transition: opacity 220ms ease, transform 260ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.dh-snapshot-title {
    font-size: 20px !important;
    color: var(--dref-ink) !important;
}

.dh-snapshot-desc {
    font-size: 13px !important;
    line-height: 1.62 !important;
    color: var(--dref-muted) !important;
}

.dh-snap-working-title,
.dh-snap-brief,
.dh-snap-readiness,
.dh-snap-designer,
.dh-snap-direction-card,
.dh-snap-trust {
    border-radius: 20px;
    border: 1px solid rgba(17, 35, 63, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.dh-snap-working-title {
    padding: 16px 16px 14px;
}

.dh-snap-brief {
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--dref-ink-2);
    background: linear-gradient(180deg, rgba(250,244,233,0.9) 0%, rgba(255,255,255,0.85) 100%);
}

.dh-snapshot-rows {
    gap: 0 !important;
}

.dh-snap-row {
    grid-template-columns: 96px 1fr;
    padding: 8px 0;
    border-bottom-color: rgba(231, 224, 212, 0.9);
}

.dh-snap-label {
    color: var(--dref-muted) !important;
}

.dh-snap-value {
    color: var(--dref-ink) !important;
}

.dh-snap-readiness {
    padding: 14px 16px;
}

.dh-snap-designer,
.dh-snap-direction-card,
.dh-snap-trust {
    padding: 14px 16px;
}

.dh-snap-footnote {
    font-size: 12px;
    line-height: 1.6;
    color: var(--dref-muted);
}

.dyt-card-foot {
    padding: 12px 24px !important;
    border-top: 1px solid rgba(231, 224, 212, 0.9);
    background: linear-gradient(180deg, rgba(251,247,240,0.85) 0%, rgba(255,255,255,0.95) 100%);
}

@media (max-width: 1100px) {
    .dh-workshop-intro {
        grid-template-columns: 1fr;
    }

    .dh-workshop-signals {
        justify-content: flex-start;
    }

    .dh-card-body {
        grid-template-columns: 1fr;
    }

    .dh-snapshot {
        border-left: 0;
        border-top: 1px solid rgba(231, 224, 212, 0.86);
    }
}

@media (max-width: 900px) {
    .mh-hero--design {
        min-height: 360px;
        padding-bottom: 76px;
    }

    .dh-starters-wrap {
        margin-top: -40px;
        padding: 0 12px;
    }

    .dh-workshop-intro {
        padding: 20px 20px 18px;
    }

    .dh-stepper {
        padding: 16px 20px 14px !important;
    }

    .dyt-form {
        padding: 24px 20px 24px !important;
    }
}
