/* Preferences microsite styles — extracted from the static prototype. */
/* ============ Tokens ============ */
:root {
    --bg: #ece7df; /* warm page background */
    --paper: #f6f3ed; /* card / surface */
    --paper-2: #efeae1; /* subtle panel */
    --ink: #1a1a1a;
    --ink-2: #4a4a4a;
    --ink-3: #6b6b6b;
    --muted: #8a8a8a;
    --hairline: rgba(26,26,26,0.12);
    --hairline-strong: rgba(26,26,26,0.22);
    --accent: #8a6b3a; /* aged brass — used very sparingly */
    --field: #ffffff;
    --shadow-lg: 0 30px 80px -30px rgba(26,26,26,0.25), 0 8px 24px -12px rgba(26,26,26,0.10);
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html, body {
    max-width: 100%;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    /* subtle paper grain */
    background-image: radial-gradient(circle at 20% 10%, rgba(255,255,255,0.45), transparent 40%), radial-gradient(circle at 80% 90%, rgba(255,255,255,0.30), transparent 50%);
}

/* ============ Layout shell ============ */
.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 28px 16px 80px;
}

.frame {
    width: 100%;
    max-width: 560px;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

@media (min-width: 900px) {
    .app {
        padding: 56px 24px 80px;
    }

    .frame {
        max-width: 560px;
    }
}

/* ============ Header / brand ============ */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px 18px;
    border-bottom: 1px solid var(--hairline);
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.brand-logo {
    display: block;
    height: 36px; /* visually balances the 10px side labels */
    width: auto;
    max-width: 180px; /* never crowd the side cells on narrow screens */
}

.topbar .side {
    flex: 0 0 auto;
    min-width: 64px;
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--muted);
    white-space: nowrap;
}

    .topbar .side.right {
        text-align: right;
    }

    .topbar .side .num {
        color: var(--ink);
        font-weight: 600;
    }

/* ============ Progress rail ============ */
.rail {
    display: flex;
    gap: 6px;
    padding: 14px 28px 0;
}

    .rail .pip {
        flex: 1;
        height: 2px;
        background: var(--hairline);
        position: relative;
        overflow: hidden;
    }

        .rail .pip::after {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--ink);
            transform: scaleX(0);
            transform-origin: left center;
            transition: transform 0.6s cubic-bezier(.65,.05,.36,1);
        }

        .rail .pip.done::after {
            transform: scaleX(1);
        }

        .rail .pip.active::after {
            transform: scaleX(1);
        }

/* ============ Step content ============ */
.stage {
    padding: 36px 32px 32px;
    position: relative;
}

@media (min-width: 900px) {
    .stage {
        padding: 44px 48px 40px;
    }
}

.eyebrow {
    font-family: var(--sans);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .eyebrow .dash {
        display: inline-block;
        width: 22px;
        height: 1px;
        background: var(--hairline-strong);
    }

h1.display {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(34px, 6vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 18px 0 0;
    text-wrap: pretty;
}

    h1.display em {
        font-style: italic;
        font-weight: 400;
        color: var(--ink-2);
    }

h2.section-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 14px 0 0;
    text-wrap: pretty;
}

.lede {
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink-2);
    margin-top: 18px;
    max-width: 38ch;
}

    .lede.center {
        margin-left: auto;
        margin-right: auto;
    }

/* ============ Footer / nav ============ */
.footer {
    border-top: 1px solid var(--hairline);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

@media (min-width: 900px) {
    .footer {
        padding: 22px 48px;
    }
}

.btn {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    padding: 14px 22px;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn:focus {
        outline: 1px dashed var(--accent);
        outline-offset: 4px;
    }

    .btn.ghost {
        color: var(--ink-3);
        padding-left: 0;
    }

        .btn.ghost:hover {
            color: var(--ink);
        }

        .btn.ghost[disabled] {
            opacity: 0.3;
            cursor: not-allowed;
        }

    .btn.primary {
        background: var(--ink);
        color: #fff;
        border-color: var(--ink);
        padding: 14px 28px;
    }

        .btn.primary:hover {
            background: #000;
        }

        .btn.primary:active {
            transform: translateY(1px);
        }

    .btn .arrow {
        display: inline-block;
        transition: transform 0.2s ease;
    }

    .btn.primary:hover .arrow {
        transform: translateX(3px);
    }

    .btn.skip {
        font-size: 10.5px;
        letter-spacing: 0.2em;
        color: var(--muted);
        text-decoration: underline;
        text-decoration-color: var(--hairline-strong);
        text-underline-offset: 4px;
    }

        .btn.skip:hover {
            color: var(--ink-2);
        }

/* ============ Transitions ============ */
.scene {
    animation: scenein 0.6s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes scenein {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.stagger > * {
    animation: stagger 0.7s cubic-bezier(.2,.7,.2,1) both;
}

    .stagger > *:nth-child(1) {
        animation-delay: 0.04s;
    }

    .stagger > *:nth-child(2) {
        animation-delay: 0.10s;
    }

    .stagger > *:nth-child(3) {
        animation-delay: 0.16s;
    }

    .stagger > *:nth-child(4) {
        animation-delay: 0.22s;
    }

    .stagger > *:nth-child(5) {
        animation-delay: 0.28s;
    }

    .stagger > *:nth-child(6) {
        animation-delay: 0.34s;
    }

@keyframes stagger {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ============ Welcome hero ============ */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #2a2520;
}

    .hero > img:not(.hero-logo) {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.hero-logo {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: auto;
    max-width: 60%;
    z-index: 2;
    filter: drop-shadow(0 2px 14px rgba(0,0,0,0.35));
}

@media (min-width: 900px) {
    .hero-logo {
        top: 44px;
        width: 240px;
    }
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,26,0) 30%, rgba(26,26,26,0.55) 75%, rgba(26,26,26,0.85) 100%);
    pointer-events: none;
}

.hero .overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 32px 30px;
    color: #fff;
    z-index: 2;
}

@media (min-width: 900px) {
    .hero .overlay {
        padding: 36px 48px 36px;
    }
}

.hero .overlay .eyebrow {
    color: rgba(255,255,255,0.65);
}

    .hero .overlay .eyebrow .dash {
        background: rgba(255,255,255,0.4);
    }

.hero .overlay h1.display {
    color: #fff;
    margin-top: 12px;
}

    .hero .overlay h1.display em {
        color: rgba(255,255,255,0.7);
    }

.stayblock {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255,255,255,0.2);
}

    .stayblock .col {
        color: #fff;
    }

    .stayblock .label {
        font-family: var(--sans);
        font-size: 9.5px;
        letter-spacing: 0.26em;
        color: rgba(255,255,255,0.55);
        text-transform: uppercase;
    }

    .stayblock .val {
        font-family: var(--serif);
        font-size: 22px;
        font-weight: 500;
        margin-top: 4px;
        line-height: 1.1;
    }

        .stayblock .val small {
            font-family: var(--sans);
            font-size: 10px;
            color: rgba(255,255,255,0.7);
            letter-spacing: 0.16em;
            display: block;
            margin-top: 4px;
        }

    .stayblock .divider {
        width: 18px;
        height: 1px;
        background: rgba(255,255,255,0.4);
        align-self: center;
    }

    .stayblock .col.right {
        text-align: right;
    }

/* ============ Option grid (pillow, dietary, etc.) ============ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

@media (max-width: 480px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

.option {
    position: relative;
    background: var(--field);
    border: 1px solid var(--hairline);
    padding: 18px 16px 16px;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 110px;
    font-family: var(--sans);
}

    .option:hover {
        border-color: var(--hairline-strong);
    }

    .option.selected {
        border-color: var(--ink);
        background: #fff;
    }

        .option.selected::after {
            content: '';
            position: absolute;
            top: 10px;
            right: 10px;
            width: 14px;
            height: 14px;
            background: var(--ink);
            border-radius: 50%;
            box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--ink);
        }

    .option .icon {
        width: 28px;
        height: 28px;
        color: var(--ink);
        margin-bottom: 4px;
    }

    .option .label {
        font-family: var(--serif);
        font-weight: 500;
        font-size: 18px;
        line-height: 1.15;
        color: var(--ink);
    }

    .option .meta {
        font-size: 11.5px;
        color: var(--ink-3);
        line-height: 1.4;
        margin-top: auto;
    }

/* Chip-style smaller option (dietary) */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    font-family: var(--sans);
    font-size: 13px;
    background: var(--field);
    border: 1px solid var(--hairline);
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.18s ease;
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .chip:hover {
        border-color: var(--hairline-strong);
        color: var(--ink);
    }

    .chip.selected {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff;
    }

    .chip .x {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255,255,255,0.18);
        display: inline-grid;
        place-items: center;
        font-size: 9px;
        line-height: 1;
    }

/* Minibar list */
.stock-list {
    display: flex;
    flex-direction: column;
}

.stock-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
    cursor: pointer;
}

    .stock-row:last-child {
        border-bottom: 0;
    }

    .stock-row .ico {
        width: 32px;
        height: 32px;
        color: var(--ink-2);
        flex: 0 0 32px;
    }

    .stock-row .name {
        font-family: var(--serif);
        font-size: 19px;
        color: var(--ink);
        line-height: 1.15;
    }

    .stock-row .desc {
        font-size: 11.5px;
        color: var(--ink-3);
        margin-top: 1px;
    }

    .stock-row .body {
        flex: 1;
    }

    .stock-row .check {
        width: 22px;
        height: 22px;
        border: 1px solid var(--hairline-strong);
        flex: 0 0 22px;
        position: relative;
        transition: all 0.18s ease;
    }

    .stock-row.selected .check {
        background: var(--ink);
        border-color: var(--ink);
    }

        .stock-row.selected .check::after {
            content: '';
            position: absolute;
            left: 6px;
            top: 2px;
            width: 6px;
            height: 12px;
            border: solid #fff;
            border-width: 0 1.5px 1.5px 0;
            transform: rotate(45deg);
        }

/* ============ Pillow custom dial / temp dial ============ */
.temp-card {
    margin-top: 30px;
    background: linear-gradient(180deg, #25201a 0%, #14110d 100%);
    color: #fff;
    padding: 32px 28px 28px;
    position: relative;
    overflow: hidden;
}

    .temp-card::before {
        content: '';
        position: absolute;
        inset: -50% -10% auto auto;
        width: 260px;
        height: 260px;
        background: radial-gradient(circle, rgba(199, 159, 95, 0.18) 0%, transparent 60%);
        pointer-events: none;
    }

.temp-readout {
    font-family: var(--serif);
    font-size: 72px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.02em;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

    .temp-readout sup {
        font-size: 24px;
        margin-top: 8px;
        color: rgba(255,255,255,0.6);
    }

    .temp-readout small {
        font-family: var(--sans);
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.08em;
        color: rgba(255,255,255,0.6);
        align-self: flex-end;
        margin-bottom: 14px;
        margin-left: 8px;
    }

.temp-label {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.26em;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.temp-mood {
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
    color: rgba(255,255,255,0.78);
    margin-top: 14px;
    min-height: 22px;
}

.temp-slider {
    margin-top: 22px;
    position: relative;
    height: 32px;
}

.temp-track {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4aa3d9 0%, #f5e3c0 50%, #d97757 100%);
    opacity: 0.85;
}

.temp-ticks {
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
}

    .temp-ticks span {
        font-family: var(--sans);
        font-size: 9.5px;
        letter-spacing: 0.16em;
        color: rgba(255,255,255,0.4);
    }

input[type=range].temp-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    margin: 0;
}

    input[type=range].temp-input::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #f6f3ed;
        border: 1px solid rgba(255,255,255,0.5);
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
        cursor: grab;
    }

    input[type=range].temp-input::-moz-range-thumb {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #f6f3ed;
        border: 1px solid rgba(255,255,255,0.5);
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
        cursor: grab;
    }

/* ============ Inputs ============ */
.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label {
    font-family: var(--sans);
    font-size: 10.5px;
    letter-spacing: 0.24em;
    color: var(--muted);
    text-transform: uppercase;
}

.field-input,
.field-textarea,
.field-select {
    font-family: var(--sans);
    font-size: 14px;
    background: var(--field);
    border: 1px solid var(--hairline);
    color: var(--ink);
    padding: 14px 14px;
    transition: border-color 0.18s ease;
    width: 100%;
}

    .field-input:focus,
    .field-textarea:focus,
    .field-select:focus {
        outline: none;
        border-color: var(--ink);
    }

.field-textarea {
    resize: vertical;
    min-height: 96px;
    font-family: var(--sans);
    line-height: 1.5;
}

.field-row {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 520px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

/* ============ Review screen ============ */
.review-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--hairline);
}

    .review-row:last-child {
        border-bottom: 0;
    }

    .review-row .rico {
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
        color: var(--ink-2);
        margin-top: 3px;
    }

    .review-row .rtitle {
        font-family: var(--sans);
        font-size: 10px;
        letter-spacing: 0.24em;
        color: var(--muted);
        text-transform: uppercase;
    }

    .review-row .rvalue {
        font-family: var(--serif);
        font-size: 19px;
        color: var(--ink);
        margin-top: 4px;
        line-height: 1.3;
    }

        .review-row .rvalue .light {
            color: var(--ink-3);
            font-style: italic;
        }

    .review-row .redit {
        font-family: var(--sans);
        font-size: 10px;
        letter-spacing: 0.2em;
        color: var(--ink-2);
        text-decoration: underline;
        text-underline-offset: 3px;
        cursor: pointer;
        background: none;
        border: 0;
        padding: 0;
        margin-top: 2px;
    }

    .review-row .rbody {
        flex: 1;
    }

/* ============ Vehicle cards (transport) ============ */
.vehicle-card {
    background: var(--field);
    border: 1px solid var(--hairline);
    padding: 16px 18px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
    width: 100%;
    font-family: var(--sans);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

    .vehicle-card:hover {
        border-color: var(--hairline-strong);
    }

    .vehicle-card.selected {
        border-color: var(--ink);
    }

        .vehicle-card.selected::after {
            content: '';
            position: absolute;
            top: 14px;
            right: 14px;
            width: 14px;
            height: 14px;
            background: var(--ink);
            border-radius: 50%;
            box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--ink);
        }

    .vehicle-card.mini {
        padding: 14px 18px;
    }

.v-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-right: 28px;
}

.v-name {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
}

    .v-name .v-sub {
        font-family: var(--sans);
        font-size: 11px;
        font-weight: 400;
        letter-spacing: 0.16em;
        color: var(--muted);
        text-transform: uppercase;
        margin-left: 6px;
    }

.v-desc {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 4px;
    font-style: italic;
    font-family: var(--serif);
}

.v-cap {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    color: var(--muted);
    text-transform: uppercase;
    text-align: right;
    line-height: 1.5;
    flex-shrink: 0;
}

.v-prices {
    display: flex;
    gap: 22px;
    padding-top: 12px;
    border-top: 1px solid var(--hairline);
}

.v-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v-price-label {
    font-size: 9.5px;
    letter-spacing: 0.22em;
    color: var(--muted);
    text-transform: uppercase;
}

.v-price-val {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
}

/* ============ Toggle rows (transport legs, etc.) ============ */
.toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink);
}

    .toggle-row input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.toggle-box {
    width: 20px;
    height: 20px;
    border: 1px solid var(--hairline-strong);
    background: #fff;
    flex: 0 0 20px;
    position: relative;
    transition: all 0.18s ease;
}

.toggle-row input:checked + .toggle-box {
    background: var(--ink);
    border-color: var(--ink);
}

    .toggle-row input:checked + .toggle-box::after {
        content: '';
        position: absolute;
        left: 5px;
        top: 1px;
        width: 6px;
        height: 12px;
        border: solid #fff;
        border-width: 0 1.5px 1.5px 0;
        transform: rotate(45deg);
    }

.toggle-text {
    flex: 1;
}

.toggle-price {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
}

/* ============ Minibar packages ============ */
.pkg-card {
    background: var(--field);
    border: 1px solid var(--hairline);
    transition: border-color 0.18s ease;
    overflow: hidden;
}

    .pkg-card:hover {
        border-color: var(--hairline-strong);
    }

    .pkg-card.selected {
        border-color: var(--ink);
    }

.pkg-head {
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    padding: 18px 20px 18px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--sans);
    position: relative;
}

.pkg-card.selected .pkg-head {
    padding-right: 44px;
}

    .pkg-card.selected .pkg-head::after {
        content: '';
        position: absolute;
        top: 22px;
        right: 18px;
        width: 14px;
        height: 14px;
        background: var(--ink);
        border-radius: 50%;
        box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--ink);
    }

.pkg-name {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.pkg-tag {
    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: 0.22em;
    color: var(--accent);
    background: rgba(138, 107, 58, 0.10);
    text-transform: uppercase;
    padding: 3px 8px;
    font-weight: 600;
}

.pkg-summary {
    font-size: 12.5px;
    color: var(--ink-3);
    margin-top: 6px;
    line-height: 1.5;
    max-width: 36ch;
}

.pkg-price {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    text-align: right;
    white-space: nowrap;
    line-height: 1.1;
}

.pkg-currency {
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-right: 4px;
}

.pkg-free {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--muted);
    text-transform: uppercase;
}

.pkg-foot {
    padding: 0 20px 14px;
}

.pkg-toggle {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    font-family: var(--sans);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--ink-3);
    text-transform: uppercase;
}

    .pkg-toggle:hover {
        color: var(--ink);
    }

.pkg-contents {
    border-top: 1px solid var(--hairline);
    padding: 18px 20px 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
    background: var(--paper-2);
    animation: fade 0.3s ease;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.pkg-col-title {
    font-family: var(--sans);
    font-size: 9.5px;
    letter-spacing: 0.24em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pkg-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12.5px;
    color: var(--ink-2);
    line-height: 1.7;
}

.pkg-col li {
    border-bottom: 1px dotted var(--hairline);
    padding: 4px 0;
}

    .pkg-col li:last-child {
        border-bottom: 0;
    }

/* ============ Add-on rows ============ */
.addon-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
    cursor: pointer;
}

    .addon-row:last-child {
        border-bottom: 0;
    }

.addon-body {
    flex: 1;
}

.addon-name {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink);
    line-height: 1.15;
}

.addon-desc {
    font-size: 11.5px;
    color: var(--ink-3);
    margin-top: 2px;
}

.addon-price {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
}

.addon-row .check {
    width: 22px;
    height: 22px;
    border: 1px solid var(--hairline-strong);
    flex: 0 0 22px;
    position: relative;
    transition: all 0.18s ease;
}

.addon-row.selected .check {
    background: var(--ink);
    border-color: var(--ink);
}

    .addon-row.selected .check::after {
        content: '';
        position: absolute;
        left: 6px;
        top: 2px;
        width: 6px;
        height: 12px;
        border: solid #fff;
        border-width: 0 1.5px 1.5px 0;
        transform: rotate(45deg);
    }

/* ============ Charge bar / summary ============ */
.charge-bar {
    position: sticky;
    bottom: 0;
    margin: 32px -32px -32px;
    padding: 16px 32px;
    background: var(--ink);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    z-index: 3;
}

@media (min-width: 900px) {
    .charge-bar {
        margin: 32px -48px -40px;
        padding: 16px 48px;
    }
}

.charge-label {
    font-family: var(--sans);
    font-size: 10.5px;
    letter-spacing: 0.24em;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
}

.charge-val {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
}

.charges-summary {
    margin-top: 32px;
    padding: 24px;
    background: var(--paper-2);
}

.charge-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
    font-family: var(--sans);
    font-size: 13.5px;
    color: var(--ink-2);
}

    .charge-line:last-of-type {
        border-bottom: 0;
    }

    .charge-line.total {
        margin-top: 10px;
        padding-top: 16px;
        border-top: 1px solid var(--hairline-strong);
        border-bottom: 0;
        color: var(--ink);
        font-weight: 600;
    }

        .charge-line.total span:last-child {
            font-family: var(--serif);
            font-size: 24px;
            font-weight: 500;
        }

.charges-note {
    margin: 16px 0 0;
    font-size: 11.5px;
    color: var(--ink-3);
    line-height: 1.6;
    font-style: italic;
    font-family: var(--serif);
}

/* ============ Payment ============ */
.pay-summary {
    margin-top: 24px;
    background: var(--paper-2);
    padding: 22px 24px;
}

.pay-sum-title {
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: 0.24em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pay-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hairline);
}

    .pay-line:last-of-type {
        border-bottom: 0;
    }

.pay-line-name {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--ink);
    line-height: 1.25;
}

.pay-line-sub {
    font-family: var(--sans);
    font-size: 11.5px;
    color: var(--ink-3);
    margin-top: 2px;
}

.pay-line-amt {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}

.pay-line.total {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline-strong);
    border-bottom: 0;
}

    .pay-line.total .pay-line-name {
        font-family: var(--sans);
        font-size: 10px;
        letter-spacing: 0.24em;
        color: var(--muted);
        text-transform: uppercase;
    }

.pay-line-amt.big {
    font-size: 32px;
    line-height: 1;
}

.pay-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 520px) {
    .pay-modes {
        grid-template-columns: 1fr;
    }
}

.pay-mode {
    background: var(--field);
    border: 1px solid var(--hairline);
    text-align: left;
    cursor: pointer;
    padding: 18px 18px 20px;
    transition: border-color 0.18s ease, background 0.18s ease;
    font-family: var(--sans);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .pay-mode:hover {
        border-color: var(--hairline-strong);
    }

    .pay-mode.selected {
        border-color: var(--ink);
        background: #fff;
    }

        .pay-mode.selected::after {
            content: '';
            position: absolute;
            top: 14px;
            right: 14px;
            width: 14px;
            height: 14px;
            background: var(--ink);
            border-radius: 50%;
            box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px var(--ink);
        }

.pay-mode-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 28px;
}

.pay-mode-eyebrow {
    font-size: 9px;
    letter-spacing: 0.22em;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
}

.pay-mode.selected .pay-mode-eyebrow {
    color: var(--accent);
}

.pay-mode-lock {
    font-size: 12px;
}

.pay-mode-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.15;
    margin-top: 4px;
}

.pay-mode-desc {
    font-size: 12.5px;
    color: var(--ink-3);
    line-height: 1.5;
    margin-top: 6px;
}

.card-panel {
    margin-top: 26px;
    padding: 24px;
    background: var(--paper-2);
    animation: fade 0.3s ease;
}

.card-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.card-marks {
    display: flex;
    gap: 6px;
}

    .card-marks span {
        font-family: var(--sans);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.14em;
        color: var(--ink-2);
        padding: 4px 8px;
        border: 1px solid var(--hairline-strong);
        background: #fff;
    }

.secure-row {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--hairline);
    font-size: 11.5px;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .secure-row .lock {
        font-size: 13px;
    }

.thanks-receipt {
    margin: 22px auto 0;
    max-width: 280px;
    padding: 18px 22px;
    background: var(--ink);
    color: #fff;
    text-align: center;
}

.thanks-receipt-label {
    font-family: var(--sans);
    font-size: 9.5px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.thanks-receipt-amt {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1;
}

.thanks-receipt-note {
    font-family: var(--serif);
    font-style: italic;
    font-size: 12.5px;
    color: rgba(255,255,255,0.7);
    margin-top: 10px;
    line-height: 1.5;
}

/* ============ Thank you ============ */ 
.thanks-hero {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #1a1a1a;
}

    /*.thanks-hero img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }*/
    .thanks-hero > img:not(.hero-logo) {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .thanks-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(26,26,26,0.4) 0%, rgba(26,26,26,0.0) 30%, rgba(26,26,26,0.0) 60%, rgba(26,26,26,0.85) 100%);
        pointer-events: none;
    }

    .thanks-hero .ovr {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 32px;
        color: #fff;
        z-index: 2;
    }

        .thanks-hero .ovr h2 {
            font-family: var(--serif);
            font-size: clamp(30px, 6vw, 40px);
            font-weight: 500;
            line-height: 1.1;
            letter-spacing: -0.01em;
            margin: 0;
        }

            .thanks-hero .ovr h2 em {
                font-style: italic;
                color: rgba(255,255,255,0.7);
                font-weight: 400;
            }

        .thanks-hero .ovr .eyebrow {
            color: rgba(255,255,255,0.65);
            margin-bottom: 10px;
        }

            .thanks-hero .ovr .eyebrow .dash {
                background: rgba(255,255,255,0.4);
            }

.thanks-signoff {
    padding: 32px 32px 36px;
    text-align: center;
    border-top: 1px solid var(--hairline);
}

    .thanks-signoff p {
        font-size: 13px;
        color: var(--ink-2);
        line-height: 1.65;
        max-width: 38ch;
        margin: 0 auto 16px;
    }

.signature {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    color: var(--ink);
    margin-top: 18px;
}

.signature-title {
    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: 0.26em;
    color: var(--muted);
    margin-top: 6px;
    text-transform: uppercase;
}

/* Confetti-ish accent on submit */
.check-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: inline-grid;
    place-items: center;
    margin: 0 auto 16px;
    animation: pop 0.6s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes pop {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    60% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

.check-circle svg {
    width: 26px;
    height: 26px;
}

/* Below-frame caption */
.stay-note {
    max-width: 560px;
    margin: 18px auto 0;
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.05em;
}

    .stay-note a {
        color: var(--ink-2);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .scene, .stagger > *, .check-circle {
        animation: none !important;
    }

    .rail .pip::after {
        transition: none;
    }
}
