body{background:var(--paper)}
.layout{display:flex;flex-wrap:wrap;align-items:stretch}
.stage-col{flex:1.15 1 600px;min-width:0;position:sticky;top:0;z-index:6;background:radial-gradient(circle at 50% 44%,#FDF4F5 0%,var(--stage) 72%)}
.stage-in{display:flex;flex-direction:column;padding:1.1rem clamp(1rem,3vw,2.5rem) 1.5rem;min-height:0}
.panel{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:1.75rem;padding:1.25rem clamp(1.25rem,4vw,4.5rem) 2.5rem}
@media (min-width:900px){.stage-col{position:static;align-self:stretch}.stage-in{position:sticky;top:0;min-height:800px;min-height:min(100vh,1100px)}.panel{min-height:800px}}
.sthead{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.sthead a.ex{flex:1 1 0;font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;min-height:44px;display:inline-flex;align-items:center}
.sthead img{height:46px;width:auto;display:block}
.sthead .sp2{flex:1 1 0}
.pv{flex:1;display:flex;flex-direction:column;justify-content:center;gap:.5rem;padding:.5rem 0}
.pv .ph{position:relative;width:108%;margin-left:-4%;aspect-ratio:1016/686}
.pv .ph div{position:absolute;inset:0;background-repeat:no-repeat}
.pv .cap{text-align:center;padding:0 .5rem}
.pv .cap p{margin:0}
.pv .cap .t{font-family:var(--serif);font-size:clamp(1.6rem,2.4vw,2.1rem);line-height:1.15}
.pv .cap .s{font-size:.9rem;color:var(--muted);margin-top:.15rem}
.pv .sum{display:flex;flex-wrap:wrap;justify-content:center;gap:.45rem;padding-top:.6rem}
.pv .sum button{border:1px solid var(--line);background:rgba(255,255,255,.75);color:#5A4846;border-radius:999px;padding:.4rem 1rem;min-height:34px;font-size:.82rem}
.note{margin:0;font-size:.75rem;color:var(--faint);text-align:center}
.prog{display:flex;align-items:center;gap:1.5rem}
.prog nav{flex:1;display:flex;align-items:center;min-width:0}
.prog nav button{border:0;background:transparent;padding:.2rem;min-height:44px;display:flex;align-items:center;gap:.55rem;flex:none}
.prog .dotn{width:30px;height:30px;border-radius:50%;border:1.5px solid #E3CFD1;display:flex;align-items:center;justify-content:center;font-size:.8rem;color:#B8A9A7}
.prog button.past .dotn{border-color:var(--accent);background:#fff;color:var(--accent)}
.prog button.here .dotn{border-color:var(--accent);background:var(--accent);color:#fff}
.prog .lb{display:none;font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);white-space:nowrap}
.prog button.here .lb{display:inline}
.prog .ln{flex:1;min-width:6px;height:1.5px;background:#E3CFD1;margin:0 .25rem}
.prog .ln.on{background:var(--accent)}
.prog button:disabled{cursor:default}
.prog .exit{font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;flex:none}
.stephead{display:flex;flex-direction:column;gap:.5rem;padding-top:.5rem}
.stephead .k{font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;color:var(--accent)}
.stephead h2{margin:0;font-family:var(--serif);font-weight:400;font-size:clamp(2.2rem,3.8vw,3.3rem);line-height:1.05}
.stephead p{margin:0;color:var(--muted);font-size:1.05rem;max-width:30rem}
.body{display:flex;flex-direction:column;gap:1rem}
.grid{display:grid;gap:.9rem}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.opt{position:relative;border:1.5px solid var(--line);background:#fff;border-radius:22px;padding:.55rem .55rem 1rem;text-align:left;display:flex;flex-direction:column;gap:.6rem;color:var(--ink)}
.opt[aria-pressed=true]{border-color:var(--accent);box-shadow:0 8px 26px rgba(138,59,75,.14)}
.opt .im{position:relative;display:block;width:100%;aspect-ratio:1016/686;overflow:hidden;border-radius:16px;background:var(--stage)}
.opt .im i{position:absolute;inset:0;background-repeat:no-repeat}
.opt .tt{padding:0 .45rem;display:flex;flex-direction:column}
.opt .tt b{font-family:var(--serif);font-weight:400;font-size:1.4rem}
.opt .tt small{font-size:.82rem;color:#8A7A78}
.chk{position:absolute;top:.8rem;right:.8rem;width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.8rem;opacity:0}
[aria-pressed=true]>.chk{opacity:1}
.g3 .opt{border-radius:20px;padding:.45rem .45rem .9rem}
.g3 .opt .im{border-radius:14px}
.g3 .opt .tt b{font-size:1.2rem;line-height:1.15}
.g3 .opt .tt small{font-size:.78rem}
.g3 .opt .chk{top:.7rem;right:.7rem;width:24px;height:24px;font-size:.75rem}
.size{border:1.5px solid var(--line);background:#fff;border-radius:24px;padding:1.1rem 1.3rem;text-align:left;display:flex;align-items:center;gap:1.2rem;position:relative;color:var(--ink)}
.size[aria-pressed=true]{border-color:var(--accent);box-shadow:0 8px 26px rgba(138,59,75,.14)}
.size .gl{width:84px;height:84px;flex:none;display:flex;align-items:center;justify-content:center;background:#FBF1F2;border-radius:18px}
.size .gl svg{width:72px;height:72px}
.size .gl path{fill:#E4CDD1}
.size[aria-pressed=true] .gl path{fill:var(--accent)}
.size .tx2{flex:1;display:flex;flex-direction:column;gap:.1rem;min-width:0}
.size .tx2 b{font-family:var(--serif);font-weight:400;font-size:1.5rem;line-height:1.15}
.size .tx2 small{font-size:.82rem;color:#8A7A78}
.size .chk{position:static;flex:none}
.sw{border:1.5px solid var(--line);background:#fff;border-radius:18px;padding:.9rem .4rem;min-height:44px;display:flex;flex-direction:column;align-items:center;gap:.55rem;color:var(--ink)}
.sw[aria-pressed=true]{border-color:var(--accent);box-shadow:0 8px 26px rgba(138,59,75,.14)}
.sw:disabled{opacity:.38;cursor:default}
.sw i{width:48px;height:48px;border-radius:50%;border:1px solid #E6D3D4;display:block}
.sw span{font-size:.85rem}
.top{padding:1rem 1rem 1.1rem;gap:.5rem}
.top .ic{display:flex;align-items:center;justify-content:center;background:#FBF1F2;border-radius:16px;height:96px}
.top .ic svg{width:80px;height:80px}
.top .tt b{font-size:1.25rem}
.top .tt small{font-size:.8rem}
.p2{border:1.5px solid var(--line);background:transparent;color:var(--ink);border-radius:999px;padding:.6rem 1.1rem;min-height:44px;display:inline-flex;align-items:center;gap:.55rem}
.p2[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}
.t2{border:1.5px solid var(--line);background:#fff;color:var(--ink);border-radius:20px;padding:1.1rem;min-height:72px;text-align:left;display:flex;flex-direction:column;gap:.15rem}
.t2 b{font-family:var(--serif);font-weight:400;font-size:1.3rem}
.t2 small{font-size:.82rem;opacity:.85}
.t2[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}
.pair{border:1.5px solid var(--line);background:#fff;color:var(--ink);border-radius:18px;padding:.85rem 1.1rem;min-height:52px;text-align:left;display:flex;justify-content:space-between;align-items:baseline;gap:.25rem 1rem;flex-wrap:wrap}
.pair b{font-family:var(--serif);font-style:italic;font-weight:400;font-size:1.15rem}
.pair small{font-size:.82rem;opacity:.85}
.pair[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}
.row{display:flex;flex-wrap:wrap;gap:.6rem}
.sub{margin:0;font-size:.7rem;letter-spacing:.24em;text-transform:uppercase;color:var(--faint)}
.help{margin:0;font-size:.85rem;color:#8A7A78}
.help a,.lnk{border-bottom:1px solid var(--ink)}
.strip{display:flex;align-items:center;gap:1.1rem;background:#fff;border:1px solid #EAD9DA;border-radius:20px;padding:.9rem 1.1rem}
.strip .lay{width:92px;flex:none;display:flex;flex-direction:column;border-radius:10px;overflow:hidden;border:1px solid #EAD9DA}
.strip .lay div{display:flex;align-items:center;justify-content:space-evenly}
.strip .lay span{width:5px;height:5px;border-radius:50%;display:block}
.strip p{margin:0;font-size:.9rem;color:#5A4A48}
.cols2{display:flex;flex-wrap:wrap;gap:1.5rem 2rem}
.cols2>div{flex:1 1 200px;display:flex;flex-direction:column;gap:.6rem}
.fld{display:flex;flex-direction:column;gap:.4rem}
.fld>span{font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;color:var(--faint)}
.ta{border:1.5px solid #E6D3D4;border-radius:16px;background:#fff;padding:.8rem 1rem;font-size:.95rem;color:var(--ink);resize:vertical;width:100%}
.insc{border:0;border-bottom:1.5px solid #D9C4C6;background:transparent;padding:.4rem 0;min-height:52px;font-size:1.7rem;font-family:'Pinyon Script',cursive;color:var(--ink);outline:none;width:100%}
.insc:focus-visible{outline:none;border-bottom-color:var(--accent)}
.date{border:1.5px solid #E6D3D4;border-radius:16px;background:#fff;padding:.8rem 1rem;min-height:48px;font-size:1rem;color:var(--ink)}
.alert{margin:0;font-size:.85rem;color:#A3182B}
.rev{background:#fff;border:1px solid #EAD9DA;border-radius:24px;padding:.5rem 1.4rem 1.4rem;display:flex;flex-direction:column}
.rev .r{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.75rem 0;border-bottom:1px solid #F3E7E8}
.rev .r .k{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--faint);flex:none;width:5.5rem}
.rev .r .v{flex:1;text-align:right;font-size:.95rem}
.rev .r button{background:transparent;border:0;color:var(--accent);font-size:.78rem;letter-spacing:.1em;text-decoration:underline;min-height:32px;padding:0 .25rem}
.rev .pr{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;font-size:.9rem}
.rev .pr span:first-child{color:#8A7A78}
.rev .tot{display:flex;justify-content:space-between;align-items:baseline;padding-top:.8rem;border-top:1px solid #EAD9DA;margin-top:.4rem}
.rev .tot span:first-child{font-size:.7rem;letter-spacing:.22em;text-transform:uppercase}
.rev .tot span:last-child{font-family:var(--serif);font-size:1.9rem}
.contact{background:#fff;border:1px solid #EAD9DA;border-radius:24px;padding:1.3rem;display:flex;flex-direction:column;gap:1rem}
.contact h3{margin:0;font-family:var(--serif);font-weight:400;font-size:1.4rem}
.nav{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid #EAD9DA;padding-top:1.4rem;margin-top:auto;flex-wrap:wrap}
.nav .bk{background:transparent;border:0;min-height:48px;padding:0 .25rem;font-size:.72rem;letter-spacing:.22em;text-transform:uppercase}
.nav .bk:disabled{color:#CDBFBD;cursor:default}
.alt{margin:0;font-size:.85rem;color:#8A7A78;text-align:center}
@media (max-width:480px){
.prog{gap:.6rem}
.prog nav button{padding:.1rem}
.prog .dotn{width:26px;height:26px;font-size:.72rem}
.prog .ln{min-width:3px;margin:0 .1rem}
.prog .exit{font-size:.62rem;letter-spacing:.14em}
}

/* Always side by side: the cake on the left, the controls on the right, at every width. */
.layout{flex-wrap:nowrap;align-items:flex-start}
.stage-col{flex:1.15 1 0;min-width:0;position:sticky;top:0;align-self:flex-start;height:100vh;height:100svh;overflow:hidden}
.stage-in{position:static;height:100%;min-height:0;box-sizing:border-box}
.panel{flex:1 1 0;min-width:0;min-height:100vh;min-height:100svh;box-sizing:border-box}
@media (max-width:899px){
.stage-col{flex:.8 1 0}
.stage-in{padding:.9rem .5rem 1rem;justify-content:center}
.pv .ph{width:112%;margin-left:-6%}
.panel{gap:1.1rem;padding:.9rem .9rem 2rem}
.panel .stephead h2{font-size:clamp(1.5rem,6vw,2.2rem)}
.panel .stephead p{font-size:.9rem}
.g2,.g3{grid-template-columns:repeat(2,minmax(0,1fr))}
.size{padding:.7rem .8rem;gap:.8rem}
.size .gl{width:56px;height:56px}
.size .gl svg{width:48px;height:48px}
.prog{gap:.5rem}
.prog nav{display:none}
.prog .exit{margin-left:auto}
.nav{gap:.5rem}
}
@media (max-width:520px){
.stage-col{flex:.62 1 0}
.pv .ph{width:100%;margin-left:0}
.g2,.g3{grid-template-columns:minmax(0,1fr)}
.opt .im{aspect-ratio:1016/560}
.panel{padding:.75rem .65rem 2rem}
.panel .stephead .k{font-size:.6rem;letter-spacing:.2em}
.opt{padding:.4rem .4rem .7rem;border-radius:16px}
.opt .tt b,.g3 .opt .tt b{font-size:1.05rem}
.opt .tt small,.g3 .opt .tt small{font-size:.7rem}
}

/* round 6: phone layout, readable text, bigger taps */
@media (max-width:899px){
.layout{flex-direction:column;align-items:stretch}
.stage-col{flex:none;position:sticky;top:0;width:100%;height:auto;overflow:visible;box-shadow:0 8px 20px rgba(138,59,75,.10)}
.stage-in{height:auto;padding:.35rem 1rem .5rem;justify-content:center}
.pv{padding:0;flex:none}
.pv .ph{width:min(74%,300px);margin:0 auto}
.panel{flex:none;width:100%;min-height:calc(100svh - 230px);padding:1rem 1.1rem 2rem}
.g2,.g3{grid-template-columns:repeat(2,minmax(0,1fr))}
.rev .r .v,.rev .r span:not(.k){min-width:0;overflow-wrap:anywhere}
.two{grid-template-columns:1fr}
.panel input,.panel textarea{max-width:100%;box-sizing:border-box}
}
@media (max-width:520px){
.panel{padding:1rem 1rem 2rem}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.opt .tt small,.g3 .opt .tt small{font-size:.75rem}
}
.stephead .k,.panel .stephead .k{font-size:.75rem}
.sub,.fld>span,.rev .r .k{font-size:.75rem}
.prog .exit,.prog .exit{font-size:.75rem;display:inline-flex;align-items:center;min-height:44px;padding:0 .4rem}
.nav .bk,.nav .btn{font-size:.78rem}
@media (max-width:480px){.prog .exit{font-size:.75rem}.prog .dotn{font-size:.75rem}}
.opt.top{display:flex;flex-direction:column;align-items:stretch;text-align:left}
.opt.top .ic{width:100%;flex:none;height:88px;box-sizing:border-box}
.opt.top .ic svg{width:64px;height:64px}
.opt.top .tt{display:flex;flex-direction:column;gap:.15rem}

/* round 7: one screen per step on phones */
.navwrap{display:contents}
@media (max-width:899px){
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
.layout{height:100vh;height:100dvh;flex-direction:column;align-items:stretch;overflow:hidden}
.stage-col{flex:none;position:relative;height:clamp(110px,21dvh,180px);width:100%;overflow:hidden;box-shadow:0 6px 16px rgba(138,59,75,.08)}
.stage-in{height:100%;padding:.2rem .5rem;box-sizing:border-box;justify-content:center}
.pv{height:100%;padding:0;flex:1}
.pv .ph{height:100%;width:auto;max-width:100%;aspect-ratio:1016/686;margin:0 auto}
.panel{position:relative;flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;width:100%;padding:.7rem 1rem 0;gap:.7rem;box-sizing:border-box}
.panel .prog{position:absolute;top:.35rem;right:1rem;z-index:2;gap:0}
.panel .prog .exit{min-height:32px;padding:0}
.panel .stephead{padding-top:0;gap:.2rem}
.panel .stephead p{display:none}
.panel .stephead h2{font-size:1.45rem}
.panel .stephead .k{font-size:.72rem}
.panel .body{gap:.6rem}
.panel .grid{gap:.5rem}
.panel .size{padding:.45rem .8rem;gap:.8rem;border-radius:18px}
.panel .size .gl{width:46px;height:46px;border-radius:12px}
.panel .size .gl svg{width:40px;height:40px}
.panel .size .tx2 b{font-size:1.2rem}
.panel .size .tx2 small{font-size:.75rem}
.panel .opt{padding:.35rem .35rem .5rem;gap:.3rem;border-radius:14px}
.panel .opt .im{aspect-ratio:1016/440}
.panel .opt .tt b,.panel .g3 .opt .tt b{font-size:1rem}
.panel .opt .tt small,.panel .g3 .opt .tt small{font-size:.72rem}
.panel .opt.top{padding:.45rem .5rem .55rem}
.panel .opt.top .ic{height:52px}
.panel .opt.top .ic svg{width:40px;height:40px}
.panel .opt.top .tt small{display:none}
.panel .help{font-size:.76rem;line-height:1.35}
.panel .sw{padding:.5rem .3rem;gap:.3rem}
.panel .sw i{width:34px;height:34px}
.panel .p2,.panel .t2{min-height:40px}
.panel .pair{padding:.55rem .9rem;min-height:44px}
.navwrap{display:block;position:sticky;bottom:0;margin-top:auto;background:var(--paper);padding:.5rem 0 calc(env(safe-area-inset-bottom,0px) + 3rem);box-shadow:0 -10px 14px -8px rgba(250,246,243,.95);z-index:3}
.navwrap .nav{border-top:1px solid #EAD9DA;padding-top:.5rem;margin-top:0;flex-wrap:nowrap}
.navwrap .nav .bk{min-height:44px}
.navwrap .nav .btn{flex:1;max-width:none;min-height:46px;padding:.8rem 1rem;font-size:.74rem}
.navwrap .alt{display:none}
}
@media (max-width:899px){
.stage-col{height:clamp(96px,18dvh,150px)}
.panel .strip{display:none}
.panel .p2{min-height:34px;padding:.3rem .8rem;font-size:.85rem}
.panel .row{gap:.4rem}
.panel .pair{min-height:38px;padding:.35rem .8rem;gap:.1rem .6rem}
.panel .pair b{font-size:1rem}
.panel .pair small{font-size:.72rem}
.panel .cols2{gap:.5rem .9rem}
.panel .cols2>div{flex:1 1 120px;gap:.35rem}
.panel .sub,.panel .fld>span{font-size:.66rem;letter-spacing:.16em}
.panel .fld{gap:.2rem}
.panel .insc{min-height:38px;font-size:1.35rem;padding:.1rem 0}
.panel .date{min-height:40px;padding:.4rem .8rem;border-radius:12px}
.panel .ta{height:52px;min-height:0;padding:.5rem .8rem;border-radius:12px;font-size:.88rem}
.panel .t2{min-height:46px;padding:.4rem .8rem;border-radius:14px}
.panel .help{margin:0}
.panel .pair-intro,.panel .alt{display:none}
}
@media (max-width:899px){
.stage-col{height:clamp(90px,16dvh,140px)}
.panel{gap:.5rem;padding-top:.5rem}
.panel .body{gap:.4rem}
.panel .p2{min-height:32px;padding:.2rem .7rem;font-size:.8rem}
.panel .row{gap:.35rem}
.panel .cols2>div{gap:.3rem}
.panel .fld .date+span{display:none}
.panel .ta{height:46px}
.panel .insc{min-height:34px;font-size:1.25rem}
.panel .date{min-height:36px;padding:.3rem .8rem}
.panel .stephead .k{display:none}
.panel .prog{top:.45rem}
.panel .stephead h2{font-size:1.35rem}
.panel .help.hide-sm{display:none}
}
.date{-webkit-appearance:none;appearance:none;display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;text-align:left}
@media (max-width:899px){
.stage-col{height:clamp(84px,14dvh,128px)}
.panel .t2 small{display:none}
.panel .t2{min-height:38px;padding:.3rem .8rem}
.panel .t2 b{font-size:1.05rem}
.panel .p2{font-size:.78rem;padding:.15rem .6rem;min-height:30px}
.panel .row{gap:.3rem}
.panel .pair{min-height:34px;padding:.25rem .8rem}
.panel .grid.g2 .p2,.panel .grid .p2{min-height:38px}
.panel .help{display:none}
.panel .body>.help:first-child{display:block}
.panel .sub{margin-bottom:0}
}
@media (max-width:899px){
.panel .p2{min-height:28px;padding:.1rem .6rem}
.panel .pair{min-height:30px;padding:.2rem .8rem}
.panel .cols2{gap:.3rem .9rem}
.panel .body{gap:.3rem}
}
@media (max-width:899px) and (max-height:720px){
.stage-col{height:clamp(70px,12dvh,100px)}
.panel .sub{font-size:.62rem}
.panel .insc{min-height:30px}
.panel .ta{height:38px}
.panel .stephead h2{font-size:1.2rem}
}
