.home-journey { padding:56px 0; background:linear-gradient(180deg,#26142f,var(--bg)); scroll-margin-top:96px; }
.home-journey .section-head { max-width:760px; margin-bottom:32px; }
.home-journey .section-head h2 { font-family:'Outfit',sans-serif; }
.home-journey .section-head p { font-size:16px; }
.journey-panels { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.journey-panel {
    display:flex; flex-direction:column; min-width:0; padding:20px;
    border:1px solid #ffffff1f; border-radius:24px; background:#2a1933;
    color:var(--text); font:inherit; text-align:left; cursor:pointer;
    box-shadow:0 12px 28px #17072030; transition:transform .2s,border-color .2s,background .2s;
}
.journey-panel:hover { transform:translateY(-5px); border-color:#ffb3ae80; background:#32203b; }
.journey-panel:disabled { cursor:default; }
.journey-panel-top { display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--muted); font:700 12px 'Outfit',sans-serif; }
.journey-role { display:inline-flex; align-items:center; padding:6px 12px; border:1px solid #ffb3ae30; border-radius:999px; background:#ffb3ae0a; color:var(--primary); font:700 12px 'Plus Jakarta Sans',sans-serif; }
.journey-panel[data-journey-step="accept"] .journey-role,.journey-panel[data-journey-step="complete"] .journey-role { border-color:#ffb95535; background:#ffb9550a; color:var(--amber); }
.journey-visual { position:relative; display:flex; align-items:center; justify-content:center; width:100%; height:206px; margin:16px 0 22px; border-radius:18px; overflow:hidden; background:radial-gradient(circle at 50% 45%,#62354d55,transparent 70%),#211029; }
.journey-step-word { align-self:flex-start; display:inline-flex; padding:7px 13px; border-radius:9px; background:#ffb3ae; color:#401328; font:700 21px/1 'Outfit',sans-serif; }
.journey-description { display:block; margin:14px 0 20px; color:var(--muted); font-size:13px; line-height:1.65; }
.journey-panel-link { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; margin-top:auto; color:var(--primary); font-size:12px; font-weight:700; }
.journey-panel-link > span { font-size:20px; }
.journey-preview-note { margin:24px 0 0; color:var(--muted); text-align:center; font-size:12px; line-height:1.6; }

/* Small illustrated scenes are decorative; the working controls live in the dialog. */
.journey-mini-form,.journey-mini-review { display:flex; flex-direction:column; width:155px; padding:15px; border:1px solid #ffffff2b; border-radius:13px; background:#3e2948; box-shadow:0 12px 25px #0003; }
.journey-mini-form { position:relative; z-index:2; margin-right:30px; transform:rotate(-5deg); }
.journey-mini-title { display:block; color:var(--text); font:700 12px 'Outfit',sans-serif; }
.journey-mini-label { display:block; margin:9px 0 4px; color:#ddbecf; font-size:8px; }
.journey-mini-field { display:block; padding:7px; border:1px solid #ffffff25; border-radius:5px; background:#291630; color:#f5d9fe; font-size:8px; }
.journey-mini-submit { display:block; margin-top:12px; padding:8px 6px; border-radius:6px; background:#ffb3ae; color:#401328; font-size:8px; text-align:center; font-weight:700; }
.journey-mini-art { position:absolute; right:6px; bottom:29px; width:88px; border-radius:7px; box-shadow:0 8px 16px #0005; transform:rotate(10deg); }
.journey-delivery-note { position:absolute; inset:16px 10px auto; display:flex; align-items:center; gap:7px; font-size:9px; z-index:2; }
.journey-delivery-note small { display:block; margin-top:4px; color:var(--muted); font-size:8px; }
.journey-avatar { flex:0 0 26px; display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:#ffb955; color:#401328; font-weight:800; }
.journey-mini-envelope { position:relative; width:158px; height:95px; margin-top:63px; border-radius:8px; background:#ae4b6c; box-shadow:0 12px 22px #0004; }
.journey-mini-envelope > img { position:absolute; width:99px; left:30px; bottom:33px; border-radius:5px; transform:rotate(-6deg); }
.journey-envelope-front { position:absolute; inset:0; display:flex; align-items:center; justify-content:space-around; padding-top:16px; border-radius:8px; background:linear-gradient(155deg,#eaa1ad,#d37291); color:#4c1c35; clip-path:polygon(0 0,50% 35%,100% 0,100% 100%,0 100%); font:700 16px 'Outfit',sans-serif; }
.journey-envelope-front > span { font-size:22px; }
.journey-mini-review { align-items:center; width:169px; text-align:center; transform:rotate(3deg); }
.journey-mini-check { display:grid; place-items:center; width:43px; height:43px; margin-bottom:12px; border:1px solid #bcdfbe50; border-radius:50%; background:#bcdfbe18; color:#bcdfbe; font-size:26px; }
.journey-mini-copy { margin-top:9px; color:var(--muted); font-size:9px; line-height:1.6; }
.journey-mini-review .journey-mini-submit { align-self:stretch; }
.journey-complete-art { width:131px; border-radius:9px; transform:rotate(-8deg); box-shadow:0 14px 22px #0005; }
.journey-complete-seal { position:absolute; right:4px; bottom:24px; padding:8px 10px; border:1px solid #ffb95570; border-radius:999px; background:#3b2542; color:#ffce83; font-size:9px; transform:rotate(5deg); }
.journey-spark { position:absolute; color:var(--amber); font-size:22px; }
.journey-spark-one { top:17px; right:17px; transform:rotate(15deg); }
.journey-spark-two { left:14px; bottom:24px; font-size:16px; }

.journey-dialog {
    width:min(900px,calc(100% - 32px)); max-width:none; max-height:calc(100dvh - 40px);
    padding:28px; border:1px solid #ffb3ae50; border-radius:24px; background:#26142f;
    color:var(--text); font-family:'Plus Jakarta Sans',sans-serif; box-shadow:0 30px 100px #0008;
    overscroll-behavior:contain;
}
.journey-dialog::backdrop { background:#100518bf; backdrop-filter:blur(7px); }
.journey-dialog-head { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.journey-dialog-head h2 { margin:9px 0 0; font:700 clamp(24px,4vw,32px)/1.15 'Outfit',sans-serif; }
.journey-close { flex:0 0 40px; width:40px; height:40px; border:1px solid #ffffff30; border-radius:50%; background:#35233e; color:var(--text); font-size:26px; cursor:pointer; }
.journey-demo-notice { margin:0 0 24px; padding:14px 18px; border:1px solid #ffb95570; border-radius:12px; background:#ffb95512; color:#ffe0b0; font-size:14px; line-height:1.6; text-align:center; }
.journey-demo-notice strong { color:#ffce83; }
.journey-dialog-note { margin:14px 0 24px; }
.journey-demo[hidden] { display:none; }
.journey-demo-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:28px; }
.journey-demo-kicker { display:block; color:var(--amber); font-size:10px; font-weight:800; line-height:1.5; letter-spacing:.07em; text-transform:uppercase; }
.journey-sample-form { display:flex; flex-direction:column; min-width:0; gap:8px; }
.journey-sample-form > label { margin-top:8px; color:var(--muted); font-size:12px; font-weight:600; }
.journey-sample-form input,.journey-sample-form textarea { width:100%; padding:11px 12px; border:1px solid #ffffff30; border-radius:9px; background:#1d0c26; color:var(--text); font:inherit; font-size:14px; line-height:1.5; }
.journey-sample-form textarea { resize:vertical; min-height:72px; max-height:200px; }
.journey-sample-form .journey-action { margin-top:12px; }
.journey-action,.journey-secondary { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:12px 17px; border:1px solid transparent; border-radius:999px; background:#ffb3ae; color:#401328; font:700 13px/1.4 'Plus Jakarta Sans',sans-serif; cursor:pointer; }
.journey-secondary { border-color:#ffffff30; background:#35233e; color:var(--text); }
.journey-action:disabled,.journey-secondary:disabled { opacity:.55; cursor:default; }
.journey-action:not(:disabled):hover { background:#ffcbc6; }
.journey-sample-card,.journey-delivered-card { min-width:0; padding:20px; border:1px solid #ffffff1a; border-radius:18px; background:#35233e; text-align:center; }
.journey-sample-card > img,.journey-delivered-card > img { display:block; width:100%; max-width:245px; height:auto; margin:0 auto 18px; border-radius:10px; }
.journey-sample-card > p,.journey-delivered-card > p { color:var(--text); font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.journey-sample-card > small { color:var(--muted); font-size:12px; }
.journey-delivered-stamp { display:inline-flex; margin-bottom:18px; padding:7px 12px; border:1px solid #ffb95555; border-radius:999px; background:#ffb9550d; color:var(--amber); font-size:11px; }
.journey-decision h3,.journey-completion-heading h3 { margin:12px 0; font:700 27px/1.15 'Outfit',sans-serif; }
.journey-decision > p,.journey-completion-heading > p { color:var(--muted); font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.journey-decision blockquote { margin:20px 0; padding:12px 16px; border-left:2px solid var(--primary); background:#ffffff05; color:var(--text); font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.journey-text-button { display:block; padding:8px 0; border:0; background:none; color:var(--primary); font:700 12px/1.6 'Plus Jakarta Sans',sans-serif; cursor:pointer; text-align:left; }
.journey-decision-options { display:flex; flex-wrap:wrap; gap:10px; }
.journey-feedback { min-height:20px; margin:14px 0; color:#c8e8c3; font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.journey-completion-heading { text-align:center; }
.journey-completion-heading h3 { font-size:24px; }
.journey-completion-heading p { margin-bottom:0; }
.journey-reveal-stage { position:relative; display:grid; place-items:center; height:400px; overflow:hidden; border-radius:18px; background:radial-gradient(ellipse,#67402d55,transparent 70%); perspective:1100px; }
.journey-reveal { position:relative; width:min(330px,75%); aspect-ratio:2/1; margin-top:85px; transform-style:preserve-3d; }
.journey-reveal-base { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:15px; border:1px solid #ffc95966; border-radius:10px; background:#35233e; text-align:center; }
.journey-reveal-base > span { color:#c8e8c3; font-size:26px; line-height:1; }
.journey-reveal-base > strong { font:700 20px 'Outfit',sans-serif; }
.journey-reveal-base p { margin:0; max-width:100%; color:var(--muted); font-size:11px; line-height:1.4; overflow-wrap:anywhere; }
.journey-reveal-base small { color:var(--amber); font-size:9px; overflow-wrap:anywhere; }
.journey-reveal-top { position:absolute; inset:0; z-index:2; transform-origin:top center; transform-style:preserve-3d; transition:transform .7s cubic-bezier(.4,0,.2,1); }
.journey-reveal-front,.journey-reveal-back { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; border:1px solid #ffdd82; border-radius:10px; background:linear-gradient(145deg,#ffce48,#e4a82e); color:#412917; backface-visibility:hidden; }
.journey-reveal-front > span { font:800 25px 'Outfit',sans-serif; }
.journey-reveal-front > strong { font:700 13px 'Plus Jakarta Sans',sans-serif; }
.journey-reveal-front > small { font-size:9px; }
.journey-reveal-back { transform:rotateX(180deg); background:#ffce48; }
.journey-reveal-back > img { display:block; width:100%; height:100%; object-fit:contain; border-radius:10px; }
.journey-reveal-bottom { position:absolute; inset:auto 0 0; display:grid; place-items:center; height:33.33%; border:1px solid #ffe6a2; border-radius:0 0 10px 10px; background:#efb539; color:#75421c; transform-origin:bottom center; transition:transform .7s cubic-bezier(.4,0,.2,1); z-index:3; }
.journey-reveal-bottom span { display:grid; place-items:center; width:28px; height:28px; border:1px solid #81511a55; border-radius:50%; background:#f6c456; font-size:15px; }
.journey-reveal.top-open-up .journey-reveal-top,.journey-reveal.journey-is-open .journey-reveal-top { transform:rotateX(180deg); }
.journey-reveal.bottom-open-up .journey-reveal-bottom,.journey-reveal.journey-is-open .journey-reveal-bottom { transform:rotateX(-180deg); }
.journey-reveal-controls { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.journey-reveal-status { margin-bottom:0; text-align:center; }
.journey-celebration { position:absolute; inset:0; pointer-events:none; }
.journey-celebration > span { position:absolute; left:20%; top:40%; color:#ffca63; opacity:0; }
.journey-celebration > span:nth-child(2) { left:35%; top:14%; color:#ffb3ae; font-size:25px; }
.journey-celebration > span:nth-child(3) { left:70%; top:32%; font-size:23px; }
.journey-celebration > span:nth-child(4) { left:78%; top:67%; color:#ffb3ae; font-size:27px; }
.journey-celebration > span:nth-child(5) { left:15%; top:75%; font-size:24px; }
.journey-celebration > span:nth-child(6) { left:58%; top:10%; color:#ffb3ae; font-size:19px; }
.journey-is-open + .journey-celebration > span { animation:journey-sparkle 1.1s ease-out both; }
@keyframes journey-sparkle { 0% { opacity:0; transform:translateY(18px) scale(.3) rotate(-30deg); } 35% { opacity:1; } 100% { opacity:0; transform:translateY(-30px) scale(1.1) rotate(25deg); } }
.journey-panel:focus-visible,.journey-dialog button:focus-visible,.journey-dialog input:focus-visible,.journey-dialog textarea:focus-visible { outline:3px solid var(--amber); outline-offset:4px; }
body:has(.journey-dialog[open]) { overflow:hidden; }
@media(max-width:1050px) { .journey-panels { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } .journey-visual { height:220px; } }
@media(max-width:600px) {
    .home-journey { padding:40px 0; }
    .journey-panels { grid-template-columns:1fr; gap:16px; }
    .journey-panel { padding:20px; }
    .journey-visual { height:200px; margin:12px 0 20px; }
    .journey-description { font-size:14px; }
    .journey-dialog { width:calc(100% - 20px); padding:20px 16px; max-height:calc(100dvh - 24px); border-radius:18px; }
    .journey-dialog-head { gap:8px; }
    .journey-dialog-head h2 { font-size:23px; }
    .journey-demo-grid { grid-template-columns:minmax(0,1fr); gap:24px; }
    .journey-sample-form { order:0; }
    .journey-demo-grid > .journey-sample-card { order:1; }
    .journey-sample-card > img,.journey-delivered-card > img { max-width:200px; }
    .journey-decision h3 { font-size:24px; }
    .journey-reveal-stage { height:330px; }
    .journey-reveal { width:88%; margin-top:70px; }
    .journey-reveal-base { gap:4px; padding:9px; }
    .journey-reveal-base > strong { font-size:17px; }
    .journey-reveal-base > span { font-size:20px; }
    .journey-reveal-base p { font-size:10px; }
}
@media(prefers-reduced-motion:reduce) {
    .journey-panel,.journey-reveal-top,.journey-reveal-bottom { transition:none; }
    .journey-panel:hover { transform:none; }
    .journey-is-open + .journey-celebration > span { animation:none; }
}
