/* Explore programs (programs.html). Builds on styles.css tokens and site.css blocks (.page-hero, .section, .cta-band). */
.ps-flag{margin-right:.32em}
.ps-page .vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ps-page :is(.ps-subj,.ps-dest,.ps-fbtn,.ps-opt,.ps-save,.ps-actions a,.ps-actions button,.ps-quick button,.ps-chip button,.ps-uni a,.ps-head-link):focus-visible{outline:2px solid var(--orange);outline-offset:2px}

/* ---------- hero ---------- */
.ps-hero{padding:44px 0 56px}
.ps-hero .rail{grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:28px;align-items:stretch}
.ps-hero-copy{position:relative;z-index:2;align-self:center}
.ps-hero h1{max-width:15ch}
.ps-hero h1 .serif{color:var(--orange)}
.ps-hero .lede{margin-top:16px;max-width:500px}
.ps-eyebrow i{background:#1f9d55;box-shadow:0 0 0 0 rgba(31,157,85,.45);animation:psLive 2.4s ease-out infinite}
@keyframes psLive{70%,100%{box-shadow:0 0 0 7px rgba(31,157,85,0)}}

.ps-search{position:relative;display:flex;align-items:center;gap:8px;max-width:600px;height:64px;margin-top:26px;padding:0 8px 0 20px;background:#fff;border:1px solid #dcdcd8;border-radius:18px;
  box-shadow:0 1px 0 rgba(0,0,0,.02),0 22px 44px -22px rgba(12,33,62,.35);transition:box-shadow .25s,border-color .25s}
.ps-search:focus-within{border-color:#c4c4bf;box-shadow:0 0 0 4px rgba(237,28,36,.12),0 22px 44px -22px rgba(12,33,62,.35)}
.ps-search>svg{width:22px;height:22px;flex:none;fill:none;stroke:var(--ink-2);stroke-width:2;stroke-linecap:round}
.ps-search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;font:inherit;font-size:17px;color:var(--ink);text-overflow:ellipsis}
.ps-search input::placeholder{color:#7a7a7a}
.ps-search input::-webkit-search-cancel-button{display:none}
.ps-q-clear{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:var(--ink-2);background:#f2f2f0;transition:background .15s}
.ps-q-clear:hover{background:#e6e6e3;color:var(--ink)}
.ps-q-clear[hidden]{display:none}
.ps-q-clear svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.ps-search .btn{height:48px;padding:0 22px;border-radius:12px;font-size:15px}
.ps-quick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;max-width:600px}
.ps-quick-label{font:500 11px/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:#6b6b6b;margin-right:2px}
.ps-quick button{min-height:34px;padding:0 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:13.5px;color:var(--ink-2);transition:border-color .2s,color .2s,transform .2s var(--ease),box-shadow .2s}
.ps-quick button:hover{border-color:var(--ink);color:var(--ink);transform:translateY(-1px);box-shadow:0 6px 14px -8px rgba(0,0,0,.3)}

/* hero art: three students stepping out of an arch, standing on the hero's bottom rule */
/* bleeds a little past the rail on wide screens, never past the window */
.ps-stage{position:relative;align-self:end;height:470px;margin:0 calc(-1 * clamp(0px, (100vw - 1036px) / 2, 48px)) -56px 0;pointer-events:none}
.ps-arch{position:absolute;left:50%;bottom:0;width:min(290px,60%);height:85%;transform:translateX(-50%);border-radius:999px 999px 0 0;overflow:hidden;
  background:radial-gradient(rgba(255,255,255,.2) 1px,transparent 1.4px) 0 0/14px 14px,linear-gradient(165deg,#ff6a6e 0%,var(--orange) 48%,#b3121a 100%);
  animation:psArch 1s var(--ease) both}
.ps-arch::after{content:"";position:absolute;left:-20%;right:-20%;bottom:-30%;height:60%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,236,214,.55),transparent)}
@keyframes psArch{from{opacity:0;transform:translateX(-50%) scaleY(.6);transform-origin:50% 100%}}
.ps-cast{position:absolute;bottom:0;width:auto;max-width:none;filter:drop-shadow(0 16px 18px rgba(60,10,10,.2));animation:psCast 1s var(--ease) both}
.ps-c1{height:52%;left:2%;animation-delay:.3s}
.ps-c2{height:60%;right:0;animation-delay:.45s}
.ps-c3{height:72%;left:50%;transform:translateX(-50%);z-index:1;animation-delay:.15s}
@keyframes psCast{from{opacity:0;translate:-40px 0}}
.ps-badge{position:absolute;z-index:3;display:flex;align-items:center;gap:10px;padding:7px 14px 7px 7px;background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:14px;
  box-shadow:0 18px 34px -16px rgba(20,20,20,.35);white-space:nowrap;animation:psPopIn .7s var(--spring) both,psBob 6s ease-in-out infinite}
.ps-badge em{font-style:normal;width:34px;height:34px;border-radius:10px;background:#f4f4f3;display:grid;place-items:center;font-size:19px}
.ps-badge b{display:block;font-size:13px;font-weight:600;letter-spacing:-.01em}
.ps-badge small{display:block;font-size:11.5px;color:#6b6b6b;margin-top:1px}
.ps-b1{left:-10px;top:8%;animation-delay:.6s,1.3s}
.ps-b2{right:0;top:22%;animation-delay:.75s,2.4s}
.ps-b3{left:-30px;top:44%;animation-delay:.9s,3.4s}
@keyframes psPopIn{from{opacity:0;transform:translateY(10px) scale(.85)}}
@keyframes psBob{50%{transform:translateY(-6px)}}

/* ---------- browse: subjects and destinations ---------- */
.ps-browse{padding:56px 0 60px}
.ps-browse .section-head{margin-bottom:22px}
.ps-browse .h2{font-size:clamp(26px,2.8vw,34px)}
.ps-dest-head{margin-top:52px}
.ps-head-link{flex:none;display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:var(--orange-d);padding:6px 0}
.ps-head-link span{transition:transform .25s var(--ease)}
.ps-head-link:hover span{transform:translateX(3px)}
.ps-tiles.in>*{animation:psTile .7s var(--ease) backwards;animation-delay:calc(var(--i,0) * 45ms)}
@keyframes psTile{from{opacity:0;transform:translateY(14px)}}

.ps-subjects{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ps-subj{position:relative;display:flex;flex-direction:column;text-align:left;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;color:var(--ink);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .2s,opacity .2s}
.ps-subj:hover{transform:translateY(-3px);border-color:#d3d3cf;box-shadow:0 18px 32px -20px rgba(20,20,20,.4)}
.ps-subj-art{position:relative;display:block;aspect-ratio:16/10;background-color:var(--st);overflow:hidden}
.ps-subj-art img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;transform:scale(1.04);transition:transform .8s var(--ease)}
.ps-subj:hover .ps-subj-art img{transform:scale(1.12)}
.ps-subj-art i{position:absolute;left:10px;bottom:10px;width:30px;height:30px;border-radius:9px;background:#fff;color:var(--sc);display:grid;place-items:center;font-style:normal;font-size:15px;font-weight:600;box-shadow:0 4px 10px -4px rgba(0,0,0,.25)}
/* while a picture is missing, the subject symbol fills the tile */
.ps-subj.noart .ps-subj-art{background-image:radial-gradient(color-mix(in srgb,var(--sc) 22%,transparent) 1px,transparent 1.5px);background-size:14px 14px}
.ps-subj.noart .ps-subj-art img{display:none}
.ps-subj.noart .ps-subj-art i{left:50%;top:50%;bottom:auto;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:20px;font-size:30px}
.ps-subj-txt{display:flex;flex-direction:column;gap:3px;padding:11px 12px 13px}
.ps-subj-txt b{font-size:14px;font-weight:600;line-height:1.25;letter-spacing:-.01em}
.ps-subj-txt small{font-size:12.5px;font-weight:500;color:var(--sc);min-height:16px}
.ps-subj[aria-pressed="true"]{border-color:var(--sc);box-shadow:0 0 0 1.5px var(--sc),0 14px 28px -18px var(--sc)}
.ps-check{position:absolute;top:8px;right:8px;z-index:1;width:26px;height:26px;border-radius:50%;background:var(--sc,var(--orange));box-shadow:0 0 0 2px #fff;display:grid;place-items:center;opacity:0;transform:scale(.5);transition:opacity .2s,transform .35s var(--spring)}
.ps-check::after{content:"";width:10px;height:5px;border:2px solid #fff;border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg)}
[aria-pressed="true"]>.ps-check{opacity:1;transform:none}
.ps-subj.zero,.ps-dest.zero{opacity:.5}

.ps-dests{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ps-dest{--sc:var(--orange);position:relative;display:flex;flex-direction:column;text-align:left;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;color:var(--ink);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .2s,opacity .2s}
.ps-dest:hover{transform:translateY(-3px);border-color:#d3d3cf;box-shadow:0 22px 38px -22px rgba(20,20,20,.45)}
.ps-dest-art{position:relative;display:block;height:168px;overflow:hidden;
  background:radial-gradient(rgba(255,255,255,.2) 1px,transparent 1.3px) 0 0/14px 14px,linear-gradient(160deg,#ff5a5f,var(--orange) 50%,#c4121a)}
.ps-dest-art img{position:absolute;inset:14px 22px;width:calc(100% - 44px);height:calc(100% - 28px);object-fit:contain;filter:drop-shadow(0 10px 12px rgba(0,0,0,.2));transition:transform .7s var(--spring)}
.ps-dest:hover .ps-dest-art img{transform:translate(6px,-6px) rotate(-3deg) scale(1.05)}
.ps-dest-body{display:flex;flex-direction:column;gap:3px;padding:14px 16px 16px}
.ps-dest-body b{font-size:19px;font-weight:600;letter-spacing:-.02em}
.ps-dest-body small{font-size:13.5px;color:var(--ink-2)}
.ps-dest-n{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:13.5px;font-weight:600;color:var(--orange-d);min-height:18px}
.ps-dest-n::after{content:"→";transition:transform .25s var(--ease)}
.ps-dest-n:empty::after{content:none}
.ps-dest:hover .ps-dest-n::after{transform:translateX(3px)}
.ps-dest[aria-pressed="true"]{border-color:var(--orange);box-shadow:0 0 0 1.5px var(--orange),0 16px 30px -20px var(--orange)}
.ps-dest[aria-pressed="true"] .ps-dest-n::after,.ps-dest.zero .ps-dest-n::after{content:none}
.ps-dest .ps-check{top:12px;right:12px}

/* count placeholders while the first numbers load */
.sk{display:block;border-radius:6px;background:linear-gradient(90deg,#ececea 0%,#f6f6f5 40%,#ececea 80%) 0 0/200% 100%;animation:psShimmer 1.2s linear infinite}
.sk-n{width:84px;height:12px;margin-top:3px}
@keyframes psShimmer{to{background-position:-200% 0}}

/* ---------- filter toolbar: sticks under the nav ---------- */
.ps-anchor{height:0}
.ps-toolbar{position:sticky;top:57px;z-index:30;background:rgba(255,255,255,.94);backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);border-bottom:1px solid var(--line);transition:box-shadow .25s}
.ps-toolbar.stuck{box-shadow:0 12px 30px -20px rgba(20,20,20,.4)}
.ps-toolbar-in{display:flex;align-items:center;gap:12px;min-height:68px;padding-top:9px;padding-bottom:9px}
.ps-loadbar{position:absolute;left:0;right:0;bottom:-1px;height:2px;overflow:hidden;opacity:0;transition:opacity .2s}
.ps-loadbar::after{content:"";position:absolute;top:0;bottom:0;left:0;width:34%;background:linear-gradient(90deg,transparent,var(--orange),transparent);animation:psLoad 1.1s ease-in-out infinite}
.ps-toolbar.loading .ps-loadbar{opacity:1;transition-delay:.15s}
@keyframes psLoad{from{transform:translateX(-100%)}to{transform:translateX(300%)}}
.ps-fbar{flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:4px 0}
.ps-dd{position:relative}
.ps-fbtn{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 12px 0 13px;border-radius:999px;border:1px solid #dcdcd8;background:#fff;color:var(--ink);font-size:14px;font-weight:500;white-space:nowrap;
  box-shadow:0 1px 0 rgba(0,0,0,.03);transition:border-color .15s,background .15s,box-shadow .15s}
.ps-fbtn:hover{border-color:#b9b9b4;box-shadow:0 6px 14px -10px rgba(0,0,0,.35)}
.ps-fbtn[aria-expanded="true"]{border-color:var(--ink);box-shadow:0 0 0 3px rgba(20,20,20,.08)}
.ps-fbtn svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--ink-2)}
.ps-fbtn span{max-width:170px;overflow:hidden;text-overflow:ellipsis}
.ps-fbtn i{width:8px;height:8px;border-right:1.6px solid #7a7a7a;border-bottom:1.6px solid #7a7a7a;transform:translateY(-2px) rotate(45deg);margin-left:2px;transition:transform .2s}
.ps-fbtn[aria-expanded="true"] i{transform:translateY(1px) rotate(-135deg)}
.ps-fbtn.on{background:var(--ink);border-color:var(--ink);color:#fff}
.ps-fbtn.on svg{color:rgba(255,255,255,.75)}
.ps-fbtn.on i{border-color:rgba(255,255,255,.7)}
.ps-sort{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:13px;color:#6b6b6b;flex:none}
.ps-sort select{height:42px;padding:0 34px 0 14px;border:1px solid #dcdcd8;border-radius:999px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a7a7a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center/11px;
  appearance:none;-webkit-appearance:none;font:inherit;font-size:14px;font-weight:500;color:var(--ink);cursor:pointer}
.ps-sort select:focus-visible{outline:2px solid var(--orange);outline-offset:2px}

/* ---------- filter panels ---------- */
.ps-pop{position:fixed;z-index:45;width:350px;background:#fff;border:1px solid var(--line);border-radius:20px;
  box-shadow:0 34px 70px -28px rgba(20,20,20,.45),0 2px 6px rgba(0,0,0,.04);display:flex;flex-direction:column;max-height:min(70vh,580px);animation:psPop .2s var(--ease)}
@keyframes psPop{from{opacity:0;transform:translateY(-6px)}}
.ps-pop-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 8px}
.ps-pop-head h3{font-size:17px;font-weight:600;letter-spacing:-.015em}
.ps-pop-head p{font-size:12.5px;color:#6b6b6b;margin-top:2px}
.ps-pop-x{display:none;flex:none;width:36px;height:36px;border-radius:50%;background:#f2f2f0;place-items:center}
.ps-pop-x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.ps-pop-body{padding:6px 10px 10px;overflow:auto;overscroll-behavior:contain}
.ps-pop-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-top:1px solid var(--line)}
.ps-pop-foot .ps-link{font-size:14px;font-weight:500;color:var(--ink-2);padding:8px 10px;border-radius:10px}
.ps-pop-foot .ps-link:hover{background:#f4f4f3;color:var(--ink)}
.ps-pop-foot .btn{height:42px;padding:0 18px;border-radius:12px;font-size:14.5px}
.ps-opt{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:6px 10px;border-radius:12px;text-align:left;font-size:14.5px;color:var(--ink);transition:background .12s}
.ps-opt:hover{background:#f5f5f4}
.ps-opt[aria-checked="true"]{background:#fff4f4}
.ps-opt .ico{width:36px;height:36px;border-radius:10px;background:#f3f3f2;display:grid;place-items:center;font-size:18px;flex:none}
.ps-opt[style] .ico{background:var(--st);color:var(--sc);font-size:16px;font-weight:600}
.ps-opt .t{flex:1;min-width:0}
.ps-opt .t small{display:block;font-size:12px;color:#6b6b6b;margin-top:1px}
.ps-opt .n{font-family:var(--mono);font-size:12px;color:#6b6b6b}
.ps-opt .box{width:20px;height:20px;border-radius:6px;border:1.5px solid #c9c9c5;display:grid;place-items:center;flex:none;transition:background .12s,border-color .12s}
.ps-opt[role="radio"] .box{border-radius:50%}
.ps-opt[aria-checked="true"] .box{background:var(--orange);border-color:var(--orange)}
.ps-opt[aria-checked="true"] .box::after{content:"";width:9px;height:5px;border:2px solid #fff;border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg)}
.ps-opt[role="radio"][aria-checked="true"] .box::after{width:8px;height:8px;border:0;border-radius:50%;background:#fff;transform:none}
.ps-opt.zero{opacity:.45}
.ps-pop-search{position:relative;margin:4px 6px 6px}
.ps-pop-search svg{position:absolute;left:12px;top:13px;width:16px;height:16px;fill:none;stroke:#7a7a7a;stroke-width:2;stroke-linecap:round}
.ps-pop-search input{width:100%;height:44px;padding:0 12px 0 36px;border:1px solid #dcdcd8;border-radius:12px;font:inherit;font-size:16px;background:#fff}
.ps-pop-search input:focus{outline:0;border-color:var(--ink);box-shadow:0 0 0 3px rgba(20,20,20,.08)}
.ps-pop-empty{padding:18px 10px;text-align:center;font-size:13.5px;color:#6b6b6b}
.ps-switch{display:flex;align-items:center;gap:12px;padding:10px 8px;font-size:14.5px;font-weight:500;cursor:pointer}
.ps-switch input{position:absolute;opacity:0;pointer-events:none}
.ps-switch span{width:40px;height:24px;border-radius:999px;background:#d9d9d6;position:relative;transition:background .2s;flex:none}
.ps-switch span::after{content:"";position:absolute;left:2px;top:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .25s var(--spring)}
.ps-switch input:checked+span{background:var(--orange)}
.ps-switch input:checked+span::after{transform:translateX(16px)}
.ps-switch input:focus-visible+span{outline:2px solid var(--orange);outline-offset:2px}
.ps-tuition{padding:6px 8px 4px}
.ps-tuition output{display:block;font-size:30px;font-weight:600;letter-spacing:-.03em}
.ps-tuition output small{font-size:14px;font-weight:500;color:#6b6b6b;letter-spacing:0}
.ps-tuition input{width:100%;margin:10px 0 2px;accent-color:var(--orange)}
.ps-tuition .ends{display:flex;justify-content:space-between;font-family:var(--mono);font-size:11.5px;color:#6b6b6b}
.ps-tuition.off{opacity:.4}
.ps-note{font-size:12px;line-height:1.5;color:#6b6b6b;padding:10px 8px 4px}

/* ---------- results ---------- */
.ps-body{padding:30px 0 64px}
.ps-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 16px;margin-bottom:16px}
.ps-head-txt{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;min-width:0}
.ps-head h2{font-size:clamp(22px,2.4vw,28px);font-weight:500;letter-spacing:-.03em;line-height:1.15;min-width:0;overflow-wrap:anywhere}
.ps-head p{font-size:14px;color:var(--ink-2)}
.ps-head p b{color:var(--ink);font-weight:600}
.ps-steps{list-style:none;display:flex;flex-wrap:wrap;gap:8px 22px;margin:0 0 16px;padding:12px 16px;border-radius:14px;background:#fff;border:1px solid var(--line);font-size:13.5px;color:var(--ink-2)}
.ps-steps li{display:flex;align-items:center;gap:8px}
.ps-steps b{width:22px;height:22px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;font-size:11.5px;font-weight:600}
.ps-steps-heart{color:var(--orange);margin:0 -3px}
.ps-active{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:16px}
.ps-active:empty{display:none}
.ps-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;height:32px;padding:0 5px 0 12px;border-radius:999px;background:#fff;border:1px solid #dcdcd8;color:var(--ink);font-size:13px;font-weight:500;animation:psChip .3s var(--spring)}
@keyframes psChip{from{opacity:0;transform:scale(.9)}}
.ps-chip>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ps-chip button{flex:none;width:24px;height:24px;border-radius:50%;background:#f0f0ee;color:var(--ink-2);display:grid;place-items:center}
.ps-chip button svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.ps-chip button:hover{background:#e4e4e1;color:var(--ink)}
.ps-clearall{height:32px;padding:0 10px;border-radius:10px;font-size:14px;font-weight:500;color:var(--orange-d);white-space:nowrap}
.ps-clearall:hover{background:#fff1f1}

/* one program per row, like a shortlist: what it is, where, what it costs, and one clear next step */
.ps-list{display:flex;flex-direction:column;gap:12px}
.ps-list[aria-busy="true"]>.ps-card:not(.ps-skel){opacity:.55;transition:opacity .2s}

.ps-card{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr) 236px;align-items:start;gap:18px;min-width:0;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:18px;
  transition:border-color .25s,box-shadow .3s var(--ease),opacity .2s;animation:psIn .5s var(--ease) both}
.ps-card:hover{border-color:#d3d3cf;box-shadow:0 18px 40px -30px rgba(20,20,20,.45)}
@keyframes psIn{from{opacity:0;transform:translateY(8px)}}
.ps-crest{width:56px;height:56px;border-radius:14px;display:grid;place-items:center;overflow:hidden;background:var(--navy);color:#fff;font-weight:600;font-size:15px;letter-spacing:.02em;flex:none}
.ps-crest.logo{background:#fff;box-shadow:inset 0 0 0 1px var(--line);padding:7px}
.ps-crest img{width:100%;height:100%;object-fit:contain;display:block}
.ps-main{min-width:0;display:flex;flex-direction:column;gap:7px;padding-right:44px}
.ps-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ps-subj-tag,.ps-lvl{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:7px;font-size:12px;font-weight:500;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;background:#f3f3f1;color:var(--ink-2)}
.ps-subj-tag i{font-style:normal;font-size:11px;font-weight:600;color:var(--sc)}
.ps-card h3{font-size:19px;font-weight:600;letter-spacing:-.022em;line-height:1.28;overflow-wrap:anywhere;color:var(--ink)}
.ps-uni{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;font-size:13.5px;color:var(--ink-2)}
.ps-uni a{font-weight:600;color:var(--ink);border-radius:4px}
.ps-uni a:hover{color:var(--orange-d);text-decoration:underline;text-underline-offset:3px}
.ps-uni>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ps-flag{margin-right:5px}
.ps-area{display:flex;gap:7px;align-items:flex-start;font-size:12.5px;line-height:1.4;color:var(--ink-2);margin-top:2px}
.ps-area i{flex:none;width:16px;height:16px;border-radius:50%;background:#e9e9e6;color:var(--ink-2);display:grid;place-items:center;font:italic 600 10.5px/1 var(--serif);margin-top:1px}
.ps-side{display:flex;flex-direction:column;gap:12px;align-self:stretch;justify-content:center;padding-left:20px;border-left:1px solid #f0f0ee}
.ps-fee{min-width:0}
.ps-fee b{display:block;font-size:22px;font-weight:600;letter-spacing:-.025em;line-height:1.15}
.ps-fee small{font-size:12px;color:#6b6b6b}
.ps-fee.none b{font-size:14px;font-weight:500;color:var(--ink-2);letter-spacing:-.01em}
.ps-actions{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap}
.ps-actions .ask{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 16px;border-radius:11px;font-size:14px;font-weight:500;background:var(--orange);color:#fff;transition:background .2s}
.ps-actions .ask:hover{background:var(--orange-d)}
.ps-actions a{display:inline-flex;align-items:center;gap:4px;font-size:13.5px;font-weight:500;color:var(--ink-2);text-decoration:underline;text-decoration-color:#cfcfcb;text-underline-offset:3px;border-radius:4px}
.ps-actions a:hover{color:var(--ink);text-decoration-color:currentColor}
.ps-save{position:absolute;top:16px;right:16px;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:#fff;color:var(--ink-2);transition:background .2s,border-color .2s,color .2s}
.ps-save:hover{border-color:#f3b3b6;color:var(--orange)}
.ps-save svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round}
.ps-save[aria-pressed="true"]{color:var(--orange);background:#fff1f1;border-color:#f6c3c5}
.ps-save[aria-pressed="true"] svg{fill:currentColor}
.ps-save.pop svg{animation:psHeart .5s var(--spring)}
@keyframes psHeart{40%{transform:scale(1.35)}}
/* the save button sits over the side column on wide rows: keep the fee clear of it */
.ps-card .ps-side{padding-right:40px}

/* guidance between results */
.ps-guide{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px 18px;padding:20px 22px;border-radius:18px;background:var(--ink);color:#fff;animation:psIn .5s var(--ease) both}
.ps-guide-ico{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:var(--orange)}
.ps-guide-ico svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linejoin:round}
.ps-guide-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.ps-guide-txt b{font-size:17px;font-weight:600;letter-spacing:-.02em}
.ps-guide-txt span{font-size:14px;line-height:1.45;color:rgba(255,255,255,.72)}
.ps-guide-act{display:flex;gap:8px;flex-wrap:wrap}
.ps-guide .btn{height:42px;border-radius:11px}
.ps-guide .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.3)}
.ps-guide .btn-ghost:hover{background:rgba(255,255,255,.08)}

/* skeleton rows */
.ps-skel{animation:none;pointer-events:none}
.ps-skel .sk{height:11px}
.ps-skel .sk-logo{width:56px;height:56px;border-radius:14px}
.ps-skel .sk-pill{width:110px;height:24px;border-radius:7px}
.ps-skel .sk-pill.short{width:64px}
.ps-skel .sk-h{height:19px;width:70%}
.ps-skel .sk-btn{width:140px;height:40px;border-radius:11px}
.sk.w30{width:30%}.sk.w40{width:40%}.sk.w60{width:60%}.sk.w70{width:70%}

/* empty, error and offline states */
.ps-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:36px 24px 42px;background:#fff;border:1px dashed #d3d3cf;border-radius:22px;animation:psIn .5s var(--ease) both}
.ps-empty img{width:auto;height:150px;margin-bottom:14px;animation:psBob 5s ease-in-out infinite}
.ps-empty.empty img{height:170px}
.ps-empty h3{font-size:21px;font-weight:600;letter-spacing:-.02em;margin-bottom:6px}
.ps-empty p{color:var(--ink-2);font-size:14.5px;line-height:1.5;max-width:46ch;margin:0 auto 18px}
.ps-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}

/* load more */
.ps-more{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:30px}
.ps-more[hidden]{display:none}
.ps-more-info{font-size:13px;color:#6b6b6b}
.ps-meter{width:220px;max-width:100%;height:4px;border-radius:4px;background:#e4e4e1;overflow:hidden}
.ps-meter i{display:block;height:100%;width:0;border-radius:inherit;background:var(--orange);transition:width .6s var(--ease)}
.ps-more .btn{margin-top:6px;min-width:220px;height:46px;border-radius:12px}
.ps-more .btn[aria-disabled="true"]{cursor:progress;opacity:.75}
.ps-spin{width:16px;height:16px;border-radius:50%;border:2px solid #d6d6d2;border-top-color:var(--orange);animation:psSpin .7s linear infinite}
@keyframes psSpin{to{transform:rotate(360deg)}}

/* ---------- CTA and data note ---------- */
.ps-cta{padding:8px 0 56px}
.ps-cta .cta-card{background:radial-gradient(120% 150% at 100% 0%,#ff5a5f 0%,var(--orange) 42%,#a90f16 100%)}
.ps-cta .cta-card::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.14) 1px,transparent 1.4px);background-size:16px 16px;mask-image:linear-gradient(90deg,transparent 30%,#000)}
.ps-cta .cta-card>*{position:relative}
.ps-cta .cta-card img.cta-art{position:absolute;height:190px;bottom:-12px;right:6px;width:auto}
.ps-cta .cta-card.has-art{padding-right:210px}
.ps-cta h2 .serif{color:#ffe2d6}
.ps-data{padding:0 0 44px}
.ps-data p{max-width:860px;font-size:13px;line-height:1.6;color:var(--ink-2)}
.ps-data b{color:var(--ink);font-weight:600}
.ps-data a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}

/* ---------- responsive ---------- */
@media (max-width:1023px){
  .ps-hero{padding:40px 0 0}
  .ps-hero .rail{grid-template-columns:1fr;gap:8px}
  .ps-hero h1{max-width:18ch}
  .ps-stage{min-height:0;height:300px;margin:8px 0 0;max-width:560px;width:100%;justify-self:center}
  .ps-b1{left:2%}.ps-b2{right:2%}.ps-b3{left:0;top:30%}
  .ps-fbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -24px;padding:4px 24px 4px}
  .ps-fbar::-webkit-scrollbar{display:none}
  .ps-subjects{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
  .ps-subj-txt b{font-size:13px}
  .ps-card{grid-template-columns:52px minmax(0,1fr);gap:14px 16px}
  .ps-crest{width:52px;height:52px}
  .ps-side{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:14px 0 0;border-left:0;border-top:1px solid #f0f0ee}
  .ps-card .ps-side{padding-right:0}
  .ps-guide{grid-template-columns:auto minmax(0,1fr)}
  .ps-guide-act{grid-column:1/-1}
  .ps-cta .cta-card.has-art{padding-right:44px}
}
/* phones and small tablets: tiles scroll sideways */
@media (max-width:767px){
  .ps-tiles{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:10px;margin:0 -24px;padding:4px 24px 12px;scroll-padding-inline:24px}
  .ps-tiles::-webkit-scrollbar{display:none}
  .ps-subj{flex:0 0 156px;scroll-snap-align:start}
  .ps-subj:hover,.ps-dest:hover{transform:none}
  .ps-dest{flex:0 0 min(78%,300px);scroll-snap-align:start}
  .ps-dest-art{height:140px}
  .ps-head-link{display:none}
}
@media (max-width:760px){
  .ps-toolbar-in{min-height:0}
  .ps-pop{position:fixed;left:0;right:0;top:auto;bottom:0;width:auto;max-height:82vh;border-radius:22px 22px 0 0;z-index:70;animation:psSheet .3s var(--ease)}
  @keyframes psSheet{from{transform:translateY(100%)}}
  .ps-pop-x{display:grid}
  .ps-pop-foot{padding-bottom:calc(14px + env(safe-area-inset-bottom))}
  .ps-scrim{position:fixed;inset:0;z-index:65;background:rgba(10,10,10,.4);backdrop-filter:blur(2px)}
}
@media (min-width:761px){ .ps-scrim{display:none} }
@media (max-width:640px){
  .ps-hero{padding:28px 0 0}
  .ps-hero .lede{font-size:15.5px;margin-top:12px}
  .ps-search{height:56px;margin-top:20px;padding-left:14px;border-radius:16px}
  .ps-search input{font-size:16px}
  .ps-search .btn{height:42px;padding:0 14px}
  .ps-quick{gap:6px}
  .ps-quick-label{width:100%;margin-bottom:2px}
  .ps-quick button{min-height:32px;padding:0 12px;font-size:13px}
  .ps-stage{height:236px;margin-top:18px}
  .ps-arch{width:58%}
  .ps-badge{padding:5px 10px 5px 5px;gap:7px;border-radius:12px}
  .ps-badge em{width:28px;height:28px;font-size:16px;border-radius:8px}
  .ps-badge b{font-size:12px}
  .ps-badge small{display:none}
  .ps-b1{top:0;left:0}.ps-b2{top:16px;right:0}.ps-b3{top:58px;left:0}
  .ps-browse{padding:40px 0 44px}
  .ps-dest-head{margin-top:36px}
  .ps-tiles,.ps-fbar{margin:0 -16px;padding-left:16px;padding-right:16px;scroll-padding-inline:16px}
  .ps-toolbar-in{padding-top:10px;padding-bottom:10px}
  .ps-fbtn{height:40px}
  .ps-body{padding-top:22px}
  .ps-head{flex-wrap:nowrap;align-items:center}
  .ps-head-txt{flex-direction:column;gap:2px}
  .ps-sort>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .ps-sort select{height:40px;padding:0 30px 0 12px;background-position:right 11px center;font-size:13.5px}
  .ps-steps{display:none}
  .ps-card{grid-template-columns:44px minmax(0,1fr);padding:16px;gap:12px}
  .ps-crest{width:44px;height:44px;border-radius:12px}
  .ps-save{top:12px;right:12px;width:36px;height:36px}
  .ps-main{padding-right:34px}
  .ps-card h3{font-size:17px}
  .ps-guide{grid-template-columns:1fr;padding:18px}
  .ps-guide-ico{display:none}
  .ps-guide-act .btn{flex:1 1 auto}
  .ps-cta{padding-bottom:40px}
  .ps-cta .cta-card .hero-actions .btn{flex:1 1 auto}
}
/* the chat launcher would sit on top of an open filter sheet */
body.ps-sheet-open .uc-launcher{opacity:0;pointer-events:none}
@media (prefers-reduced-motion:reduce){
  .ps-card,.ps-guide,.ps-pop,.ps-chip,.ps-empty,.ps-empty img,.ps-badge,.ps-cast,.ps-arch,.ps-tiles.in>*{animation:none}
  .ps-subj:hover,.ps-dest:hover{transform:none}
}
/* panel and scrim set display themselves, so [hidden] needs to win explicitly */
.ps-pop[hidden],.ps-scrim[hidden]{display:none}
