/* Photo calendars hub (/photo-calendars). Mobile-first; everything scoped under .pch. */
.pch {
    --n: #1a365d; --nd: #10233f; --g: #c5a059; --gd: #9c7a38; --gl: #d4b06a;
    --cream: #faf9f7; --paper: #f3efe7; --ink: #1f2937; --muted: #5b6472; --line: #e6e1d7; --sun: #b4443a;
    --serif: 'Playfair Display', Georgia, serif; --sans: 'Inter', system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
    font-family: var(--sans); color: var(--ink); background: var(--cream);
    font-size: 15px; line-height: 1.55; overflow-x: clip;
}
.pch *, .pch *::before, .pch *::after { box-sizing: border-box; }
.pch h1, .pch h2, .pch h3, .pch p, .pch ul, .pch ol, .pch dl, .pch dd, .pch figure, .pch blockquote { margin: 0; padding: 0; }
.pch ul, .pch ol { list-style: none; }
.pch img { display: block; max-width: 100%; }
.pch a { color: inherit; text-decoration: none; }
/* style.css sets a global `button { width: 100px; height: 40px; background: #0872ba; border-radius: 5px }`; undo it here */
.pch button { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; cursor: pointer; padding: 0; width: auto; min-width: 0; height: auto; }
.pch a:focus-visible, .pch button:focus-visible, .pch input:focus-visible, .pch-mobile-cta a:focus-visible { outline: 3px solid var(--g); outline-offset: 3px; border-radius: 6px; }
.pch [hidden] { display: none !important; }

.pch-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.pch-gold { color: var(--g); }
.pch-muted { color: var(--muted); }
.pch-center { text-align: center; }
.pch-num { text-align: right; }
.pch-after { margin-top: 24px; }
.pch-link { color: var(--n); font-weight: 600; text-decoration: underline; text-decoration-color: var(--g); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* type */
.pch-h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 8.6vw, 60px); line-height: 1.06; letter-spacing: -.015em; color: var(--n); }
.pch-h2, .pch-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 6.4vw, 42px); line-height: 1.12; letter-spacing: -.01em; color: var(--n); }
.pch-h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 4.6vw, 28px); color: var(--n); }
.pch-head { max-width: 680px; margin-bottom: 28px; }
.pch-head p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.pch-head--light h2 { color: #fff; }
.pch-head--light p { color: rgba(255, 255, 255, .72); }
.pch-head-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.pch-head-row .pch-btn { align-self: flex-start; margin-bottom: 28px; }

/* buttons */
.pch-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 24px; font-size: 15px; font-weight: 600; line-height: 1.2; transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s; text-align: center; }
.pch-btn:hover { transform: translateY(-2px); }
.pch-btn:active { transform: none; }
.pch-btn--primary { background: var(--n); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(26, 54, 93, .7); }
.pch-btn--primary:hover { background: var(--nd); }
.pch-btn--ghost { background: rgba(255, 255, 255, .75); color: var(--n) !important; border: 1px solid rgba(26, 54, 93, .2); }
.pch-btn--ghost:hover { border-color: var(--g); background: #fff; }
.pch-btn--outline { background: #fff; color: var(--n) !important; border: 1px solid var(--line); }
.pch-btn--outline:hover { border-color: var(--g); }
.pch-btn--gold { background: var(--g); color: var(--nd) !important; box-shadow: 0 14px 30px -12px rgba(197, 160, 89, .8); }
.pch-btn--gold:hover { background: var(--gl); }
.pch-btn--sm { padding: 9px 16px; font-size: 13px; }
.pch-shine { position: relative; overflow: hidden; isolation: isolate; }
.pch-shine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); animation: pchShine 3.6s ease-in-out 1.2s infinite; }
@keyframes pchShine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ticker */
.pch-ticker { overflow: hidden; background: var(--n); color: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 500; padding: 8px 0; }
.pch-ticker__track { display: flex; width: max-content; animation: pchMarquee 30s linear infinite; }
.pch-ticker:hover .pch-ticker__track { animation-play-state: paused; }
.pch-ticker__item { display: inline-flex; gap: 10px; padding: 0 16px; white-space: nowrap; }
@keyframes pchMarquee { to { transform: translateX(-50%); } }

/* hero */
.pch-hero { position: relative; overflow: hidden; background-image: radial-gradient(rgba(26, 54, 93, .05) 1px, transparent 1px); background-size: 14px 14px; }
.pch-hero__glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.pch-hero__glow--a { right: -100px; top: -100px; background: rgba(197, 160, 89, .22); }
.pch-hero__glow--b { left: -130px; bottom: 0; background: rgba(26, 54, 93, .1); }
.pch-hero__glow--c { right: 0; top: 0; width: 380px; height: 380px; background: rgba(197, 160, 89, .14); }
.pch-hero__grid { position: relative; display: grid; gap: 36px; padding-top: 28px; padding-bottom: 48px; }
.pch-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(197, 160, 89, .45); background: rgba(255, 255, 255, .85); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--gd); }
.pch-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g); animation: pchPulse 2s ease-in-out infinite; }
@keyframes pchPulse { 50% { opacity: .35; } }
.pch-h1 { margin-top: 18px; }
.pch-hero__sub { margin-top: 14px; max-width: 34em; font-size: 16px; color: var(--muted); }
.pch-hero__price { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.pch-hero__price strong { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--n); }
.pch-hero__ctas { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.pch-hero__rating { margin-top: 18px; font-size: 13px; color: var(--muted); }
.pch-stars { color: var(--g); letter-spacing: 2px; }
.pch-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 13.5px; }
.pch-checks li { position: relative; padding-left: 22px; }
.pch-checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2px solid var(--gd); border-bottom: 2px solid var(--gd); transform: rotate(-45deg); }
.pch-checks--desktop { display: none; margin-top: 24px; }
.pch-checks--mobile { margin-top: 24px; }
.pch-checks--stack { grid-template-columns: 1fr; gap: 12px; font-size: 14.5px; }
.pch-hero__stage { display: grid; place-items: center; min-height: 430px; }
.pch-hero__product { width: 100%; max-width: 340px; animation: pchFade .5s ease both; }
.pch-hero__product img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(16, 35, 63, .45); }
.pch-hero__product figcaption { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.pch-hero__product strong { color: var(--ink); }
.pch-hero__note { margin-top: 8px; text-align: center; font-size: 12px; color: var(--muted); }

/* entrance (one orchestrated load sequence) */
.pch-in { animation: pchUp .8s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes pchUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pchFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* segmented control */
.pch-seg { margin: 20px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; max-width: 380px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.pch-seg button { white-space: nowrap; border-radius: 999px; padding: 9px 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); transition: background-color .25s, color .25s; }
.pch-seg button[aria-checked="true"] { background: var(--n); color: #fff; box-shadow: 0 4px 10px -4px rgba(16, 35, 63, .5); }

/* hanging calendar */
.pch-hang { width: 100%; display: flex; flex-direction: column; align-items: center; }
.pch-hang__stack { position: relative; width: 100%; max-width: 290px; perspective: 1600px; }
.pch-hang__hook { position: absolute; z-index: 3; top: -20px; left: 50%; width: 24px; height: 24px; transform: translateX(-50%); border: 3px solid var(--n); border-bottom-color: transparent; border-radius: 50%; }
.pch-hang__swing { position: relative; transform-origin: 50% -14px; animation: pchSwing 6s ease-in-out infinite; }
@keyframes pchSwing { 0%, 100% { transform: rotate(-.8deg); } 50% { transform: rotate(.8deg); } }
.pch-hang__wire { position: absolute; z-index: 4; top: -6px; left: 16px; right: 16px; display: flex; justify-content: space-between; }
.pch-hang__wire i { width: 4px; height: 14px; border-radius: 4px; background: linear-gradient(#9aa3ad, #4b5563); }
.pch-hang__edge { position: absolute; height: 100%; border-radius: 6px; }
.pch-hang__edge--2 { left: 8px; right: 8px; bottom: -8px; background: #ece7dd; }
.pch-hang__edge--1 { left: 4px; right: 4px; bottom: -4px; background: #f4f0e8; }
.pch-hang__page { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(16, 35, 63, .45), 0 10px 20px -10px rgba(16, 35, 63, .25); }
.pch-hang__page > .pch-sheet { position: absolute; inset: 0; }
.pch-hang__page > .pch-sheet.is-leaving { z-index: 2; transform-origin: 50% 0; backface-visibility: hidden; animation: pchFlip .7s cubic-bezier(.55, .05, .4, 1) forwards; }
@keyframes pchFlip { to { transform: rotateX(-105deg) translateY(-4px); opacity: 0; } }
.pch-hang__flag { position: absolute; z-index: 5; right: -10px; bottom: 20px; border-radius: 999px; background: var(--n); color: #fff; font-size: 10.5px; font-weight: 600; padding: 4px 10px; box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .4); animation: pchFade .5s ease both; }
.pch-scrub { margin-top: 28px; width: 100%; max-width: 330px; display: flex; align-items: center; gap: 8px; }
.pch .pch-scrub__play { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border-radius: 50%; border: 1px solid var(--line) !important; background: #fff !important; color: var(--n); font-size: 11px; }
.pch-scrub__months { flex: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.pch-scrub__months button { height: 32px; border-radius: 6px; font-size: 10.5px; font-weight: 600; color: var(--muted); transition: background-color .3s, color .3s; }
.pch-scrub__months button:hover { background: #fff; }
.pch-scrub__months button[aria-pressed="true"] { background: var(--n); color: #fff; }

/* calendar sheet (shared by hero + editor) */
.pch-sheet { display: flex; flex-direction: column; overflow: hidden; border-radius: 6px; background: #fff; }
.pch-sheet__photo { position: relative; flex: 0 0 54%; height: 54%; overflow: hidden; display: grid; gap: 3px; background: #fff; }
.pch-sheet__photo img { width: 100%; height: 100%; object-fit: cover; }
.pch-sheet.is-new .pch-sheet__photo img { animation: pchKb 4.2s ease-out both; }
@keyframes pchKb { from { transform: scale(1.12); } to { transform: none; } }
.pch-sheet__photo::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); pointer-events: none; }
.pch-sheet__title { position: absolute; left: 14px; right: 14px; top: calc(54% - 34px); z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; color: #fff; }
.pch-sheet__title span { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1; }
.pch-sheet__title small { font-size: 11px; font-weight: 600; letter-spacing: .2em; opacity: .9; }
.pch-sheet__grid { flex: 1; min-height: 0; overflow: hidden; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-content: start; gap: 3px 0; padding: 8px 12px 10px; text-align: center; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.pch-sheet__grid b { font-size: 9px; font-weight: 600; letter-spacing: .05em; color: var(--gd); padding-bottom: 2px; }
.pch-sheet__grid span { justify-self: center; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; }
.pch-sheet.is-new .pch-sheet__grid span { animation: pchPop .5s cubic-bezier(.2, .9, .3, 1.4) both; animation-delay: calc(200ms + var(--i, 0) * 12ms); }
@keyframes pchPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.pch-sheet__grid .is-sun { color: var(--sun); }
.pch-sheet__grid .is-mark { background: var(--g); color: #fff; font-weight: 700; }
/* editor layouts */
.pch-sheet[data-layout="collage"] .pch-sheet__photo { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; }
.pch-sheet[data-layout="split"] .pch-sheet__photo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pch-sheet[data-layout="polaroid"] .pch-sheet__photo { place-items: center; background: var(--paper); padding: 10px; }
.pch-sheet[data-layout="polaroid"] .pch-sheet__photo img { width: 72%; padding: 5px 5px 18px; background: #fff; transform: rotate(-2deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.pch-sheet[data-layout="polaroid"] .pch-sheet__photo::after { display: none; }
.pch-sheet[data-layout="polaroid"] .pch-sheet__title { color: var(--n); top: 10px; }
.pch-sheet[data-layout="bleed"] .pch-sheet__photo { position: absolute; inset: 0; height: auto; flex: none; }
.pch-sheet[data-layout="bleed"] .pch-sheet__title { top: 12px; }
.pch-sheet[data-layout="bleed"] .pch-sheet__grid { position: relative; margin-top: auto; flex: none; height: 46%; background: rgba(255, 255, 255, .9); backdrop-filter: blur(4px); border-radius: 10px 10px 0 0; }

/* stats strip */
.pch-stats { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pch-stats__grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.pch-stats__grid > div { background: #fff; padding: 18px 8px; text-align: center; }
.pch-stats__grid strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--n); font-variant-numeric: tabular-nums; }
.pch-stats__grid > div > span { font-size: 12px; color: var(--muted); }

/* deadline */
.pch-deadline { background: var(--paper); }
.pch-deadline__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 14px; padding-bottom: 14px; font-size: 13.5px; }
.pch-deadline__inner p { display: flex; align-items: center; gap: 10px; }
.pch-deadline__tab { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--n); color: #fff; font-size: 13px; }

/* sticky nav */
.pch-nav { position: sticky; top: var(--pch-nav-top, 0px); z-index: 90; background: rgba(250, 249, 247, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pch-nav__list { position: relative; display: flex; gap: 2px; max-width: 1180px; margin: 0 auto; padding: 0 10px; overflow-x: auto; scrollbar-width: none; }
.pch-nav__list::-webkit-scrollbar { display: none; }
.pch-nav__list a { flex: none; padding: 14px 12px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .25s; }
.pch-nav__list a:hover, .pch-nav__list a[aria-current="true"] { color: var(--n); }
.pch-nav__bar { position: absolute; bottom: 0; left: 0; width: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--g); transition: transform .5s var(--ease), width .5s var(--ease); }

/* sections */
.pch-sec { position: relative; padding: 64px 0; scroll-margin-top: calc(var(--pch-nav-top, 0px) + 56px); }
.pch-sec--tight-top { padding-top: 0; }
.pch-sec--short { padding: 52px 0; }
.pch-sec--paper { background: var(--paper); }
.pch-sec--white { background: #fff; }
.pch-sec--dark { overflow: hidden; background: var(--nd); color: #fff; }
.pch-split { display: grid; gap: 28px; }
.pch-reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.pch.is-js .pch-reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* chips */
.pch-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px 22px; padding: 2px 20px; scrollbar-width: none; scroll-padding: 0 20px; }
.pch-chips::-webkit-scrollbar { display: none; }
.pch-chips button { flex: none; border: 1px solid var(--line) !important; background: #fff !important; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; transition: background-color .25s, border-color .25s, color .25s; }
.pch-chips button:hover { border-color: var(--g) !important; }
.pch-chips button[aria-pressed="true"] { background: var(--n) !important; border-color: var(--n) !important; color: #fff; }
.pch-chips--gold button { font-weight: 500; padding: 6px 14px; }
.pch-chips--gold button[aria-pressed="true"] { background: var(--g) !important; border-color: var(--g) !important; color: var(--nd); }

/* rails */
.pch-rail-wrap { max-width: 1180px; margin: 0 auto; }
.pch-rail { display: flex; gap: 16px; overflow-x: auto; padding: 0 20px 14px; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pch-rail::-webkit-scrollbar { display: none; }
.pch-rail > * { flex: none; scroll-snap-align: start; }
.pch-hint { padding: 0 20px; font-size: 12px; color: var(--muted); }

/* type cards */
.pch-type { width: 72%; display: flex; flex-direction: column; animation: pchFade .45s ease both; }
.pch-type__img { display: block; overflow: hidden; border-radius: 16px; background: var(--paper); }
.pch-type__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s var(--ease); }
.pch-type:hover .pch-type__img img { transform: scale(1.06); }
.pch-type__body { flex: 1; display: flex; flex-direction: column; padding: 12px 2px 0; }
.pch-type h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--n); }
.pch-type__body > p { margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.pch-type .pch-type__price { margin-top: 8px; font-size: 13px; }
.pch-type__price strong { font-size: 15px; color: var(--ink); }
.pch-type__actions { display: flex; gap: 8px; margin-top: 12px; }
.pch-type__actions .pch-btn--primary { flex: 1; }

/* ready-made */
.pch-rm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pch-rm__card { position: relative; display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 3 / 4; }
.pch-rm__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pch-rm__card:hover img { transform: scale(1.1); }
.pch-rm__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .08) 55%, transparent); }
.pch-rm__text { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; color: #fff; display: flex; flex-direction: column; }
.pch-rm__text strong { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.15; }
.pch-rm__text span { font-size: 12px; opacity: .8; }
.pch-rm__text em { margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--g); }

/* spaces */
.pch-space { width: 78%; }
.pch-space__img { overflow: hidden; border-radius: 16px; }
.pch-space__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.pch-space:hover img { transform: scale(1.05); }
.pch-space figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 500; }

/* editor demo */
.pch-ed { overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; background: #0c1b31; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.pch-ed__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 600; }
.pch-ed__live { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.pch-ed__live i { width: 6px; height: 6px; border-radius: 50%; background: #34d399; animation: pchPulse 2s ease-in-out infinite; }
.pch-ed__body { display: flex; flex-direction: column-reverse; }
.pch-ed__tools { border-top: 1px solid rgba(255, 255, 255, .1); }
.pch-ed__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pch-ed__tabs button { position: relative; padding: 11px 0; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .55); transition: color .25s; }
.pch-ed__tabs button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px; background: var(--g); transform: scaleX(0); transition: transform .3s var(--ease); }
.pch-ed__tabs button[aria-selected="true"] { color: var(--g); }
.pch-ed__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.pch-ed__panel { padding: 12px; animation: pchFade .35s ease both; }
.pch-ed__help { margin: 0 0 8px; font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.pch-ed__opts + .pch-ed__help { margin: 8px 0 0; }
.pch-ed__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.pch-ed__thumbs button { aspect-ratio: 1; overflow: hidden; border-radius: 6px; box-shadow: 0 0 0 2px transparent; transition: transform .2s, box-shadow .2s; }
.pch-ed__thumbs button:hover { transform: scale(1.06); }
.pch-ed__thumbs button.is-on { box-shadow: 0 0 0 2px var(--g); }
.pch-ed__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pch .pch-ed__autofill { margin-top: 12px; width: 100%; border-radius: 8px; background: var(--g) !important; color: var(--nd) !important; padding: 9px; font-size: 12.5px; font-weight: 600; }
.pch-ed__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.pch-ed__opts button { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid rgba(255, 255, 255, .12) !important; border-radius: 8px; padding: 9px 6px; font-size: 12.5px; color: rgba(255, 255, 255, .8); transition: border-color .2s, background-color .2s; }
.pch-ed__opts button[data-pch-font] { font-size: 14px; }
.pch-ed__opts button[aria-pressed="true"] { border-color: var(--g) !important; background: rgba(197, 160, 89, .16); color: #fff; }
.pch-ed__toggle { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; padding: 9px 12px; font-size: 12.5px; cursor: pointer; }
.pch-ed__toggle small { color: rgba(255, 255, 255, .45); font-size: 11.5px; }
.pch-ed__toggle input { margin-left: auto; width: 16px; height: 16px; accent-color: var(--g); }
.pch-ed__stage { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 100%; justify-items: center; align-items: center; padding: 24px 16px; perspective: 1100px; background: #e9e3d8; transition: background .7s; }
.pch-ed__stage[data-mode="desk"] { background: linear-gradient(#e9e3d8 62%, #b89466 62%); }
.pch-ed__stage[data-mode="3d"], .pch-ed__stage[data-mode="flat"] { background: #1a2c47; }
.pch-ed__page { position: relative; width: 92%; max-width: 280px; aspect-ratio: 4 / 5; transition: transform .7s var(--ease), box-shadow .7s; border-radius: 6px; box-shadow: 0 25px 45px -15px rgba(0, 0, 0, .55); }
.pch-ed__page > .pch-sheet { position: absolute; inset: 0; color: var(--ink); }
.pch-ed__stage[data-mode="flat"] .pch-ed__page { box-shadow: none; }
.pch-ed__stage[data-mode="wall"] .pch-ed__page { transform: scale(.88); }
.pch-ed__stage[data-mode="desk"] .pch-ed__page { transform: rotateX(24deg) scale(.82) translateY(-6%); }
.pch-ed__stage[data-mode="3d"] .pch-ed__page { transform: rotateX(8deg) rotateY(-28deg) scale(.86); }
.pch-ed__toast { position: absolute; bottom: 10px; border-radius: 999px; background: rgba(0, 0, 0, .72); color: #fff; padding: 4px 12px; font-size: 11.5px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.pch-ed__toast.is-on { opacity: 1; }
.pch-ed__modes { display: flex; gap: 4px; padding: 8px; border-top: 1px solid rgba(255, 255, 255, .1); }
.pch-ed__modes button { flex: 1; border-radius: 999px; padding: 7px 0; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .6); transition: background-color .25s, color .25s; }
.pch-ed__modes button[aria-pressed="true"] { background: #fff; color: var(--n); }
.pch-ed__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; padding: 8px; border-top: 1px solid rgba(255, 255, 255, .1); }
.pch-ed__months button { border-radius: 4px; padding: 6px 0; font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.pch-ed__months button:hover { background: rgba(255, 255, 255, .1); }
.pch-ed__months button[aria-pressed="true"] { background: var(--g); color: var(--nd); }
.pch-ed-lists { display: grid; gap: 32px; margin: 40px 0 32px; }
.pch-ed-lists__h { font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; }
.pch-list { margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.pch-list li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pch-list strong { font-size: 14.5px; }
.pch-list span:not(.pch-gold) { font-size: 13.5px; color: rgba(255, 255, 255, .62); }

/* compare */
.pch-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pch-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pch-table thead { background: var(--paper); }
.pch-table th, .pch-table td { padding: 12px 8px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.pch-table thead th:last-child { padding-right: 14px; text-align: right; }
.pch-table thead th { border-top: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.pch-table th:first-child { padding-left: 14px; }
.pch-table .pch-num { padding-right: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.pch-table tbody th a { font-weight: 600; color: var(--n); }
.pch-table tbody th a:hover { text-decoration: underline; }
.pch-table tbody th span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.pch-table tbody tr { transition: background-color .3s, opacity .3s; }
.pch-table.is-filtering tbody tr { opacity: .5; }
.pch-table.is-filtering tbody tr.is-hit { opacity: 1; background: rgba(197, 160, 89, .16); }

/* materials */
.pch-mat { display: grid; gap: 20px; }
.pch-mat__tabs { display: flex; gap: 8px; }
.pch-mat__tabs button { flex: 1; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line) !important; background: var(--cream) !important; border-radius: 16px; padding: 14px; text-align: left; transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s; }
.pch-mat__tabs button:hover { border-color: var(--g) !important; }
.pch-mat__tabs strong { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.pch-mat__tabs span { font-size: 12.5px; color: var(--muted); }
.pch-mat__tabs button[aria-selected="true"] { background: var(--n) !important; border-color: var(--n) !important; color: #fff; box-shadow: 0 12px 24px -12px rgba(16, 35, 63, .6); }
.pch-mat__tabs button[aria-selected="true"] span { color: rgba(255, 255, 255, .7); }
.pch-mat__panel { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; animation: pchFade .45s ease both; }
.pch-mat__img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pch-mat__body { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.pch-mat__types { font-size: 14px; font-weight: 600; color: var(--gd); }
.pch-mat__body .pch-btn { margin-top: auto; }

/* why us */
.pch-why { display: grid; column-gap: 32px; }
.pch-why > div { padding: 16px 0; border-top: 1px solid var(--line); }
.pch-why dt { font-size: 15.5px; font-weight: 600; color: var(--n); }
.pch-why dd { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* steps */
.pch-steps { position: relative; }
.pch-steps::before, .pch-steps::after { content: ""; position: absolute; left: 19px; top: 16px; width: 1px; }
.pch-steps::before { bottom: 16px; background: var(--line); }
.pch-steps::after { height: 0; background: var(--g); transition: height 1.8s ease-out; }
.pch-steps.is-in::after { height: calc(100% - 32px); }
.pch-steps li { position: relative; display: flex; gap: 20px; padding-bottom: 28px; }
.pch-steps li:last-child { padding-bottom: 0; }
.pch-steps__n { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-size: 14px; font-weight: 700; color: var(--muted); transition: all .5s; transition-delay: calc(var(--i) * 320ms); }
.pch-steps li > div { padding-top: 6px; transition: all .7s var(--ease); transition-delay: calc(var(--i) * 320ms + 120ms); }
.pch.is-js .pch-steps:not(.is-in) li > div { opacity: 0; transform: translateX(12px); }
.pch-steps.is-in .pch-steps__n { border-color: var(--g); background: var(--n); color: #fff; }
.pch-steps h3 { font-size: 16px; font-weight: 600; color: var(--n); }
.pch-steps p { margin-top: 2px; font-size: 14px; color: var(--muted); }

/* occasions, guides, related */
.pch-occ { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pch-occ a { display: flex; flex-direction: column; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, opacity .8s var(--ease); }
.pch-occ a.is-in:hover { transform: translateY(-2px); border-color: var(--g); box-shadow: 0 10px 20px -12px rgba(16, 35, 63, .3); }
.pch-occ strong { font-size: 15px; color: var(--n); }
.pch-occ span { margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.pch-guides { display: flex; flex-wrap: wrap; gap: 8px; }
.pch-guides a { border: 1px solid var(--line); border-radius: 999px; background: var(--cream); padding: 8px 16px; font-size: 13.5px; font-weight: 500; color: var(--n); transition: background-color .25s, color .25s, border-color .25s; }
.pch-guides a:hover { background: var(--n); border-color: var(--n); color: #fff; }
.pch-related { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pch-related a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 500; color: var(--n); transition: border-color .25s; }
.pch-related a:hover { border-color: var(--g); }
.pch-related i { color: var(--gd); font-size: 12px; transition: transform .25s; }
.pch-related a:hover i { transform: translateX(4px); }

/* reviews */
.pch-reviews { margin: 24px auto 0; max-width: 680px; min-height: 180px; }
.pch-review { animation: pchFade .5s ease both; }
.pch-review .pch-stars { font-size: 20px; }
.pch-review__q { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 5vw, 30px); line-height: 1.3; color: var(--n); }
.pch-review footer { margin-top: 16px; font-size: 14px; color: var(--muted); }
.pch-review footer strong { display: block; color: var(--ink); }
.pch-dots { margin-top: 16px; display: flex; justify-content: center; gap: 8px; }
.pch-dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--line) !important; transition: width .5s var(--ease), background-color .3s; }
.pch-dots button[aria-pressed="true"] { width: 32px; background: var(--n) !important; }

/* faq */
.pch-faq { border-top: 1px solid var(--line); }
.pch-faq__item { border-bottom: 1px solid var(--line); }
.pch-faq h3 { font-size: inherit; }
.pch-faq button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; text-align: left; font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: var(--n); }
.pch-faq__plus { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; line-height: 1; transition: transform .3s, background-color .3s, color .3s; }
.pch-faq__item.is-open .pch-faq__plus { transform: rotate(45deg); background: var(--g); border-color: var(--g); color: #fff; }
.pch-faq__a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .45s; }
.pch-faq__a > p { overflow: hidden; padding-right: 40px; font-size: 14.5px; color: var(--muted); }
.pch-faq__item.is-open .pch-faq__a { grid-template-rows: 1fr; opacity: 1; }
.pch-faq__item.is-open .pch-faq__a > p { padding-bottom: 16px; }

/* final cta */
.pch-cta { position: relative; overflow: hidden; padding: 64px 0 120px; background: var(--n); color: #fff; text-align: center; }
.pch-cta h2 { max-width: 760px; margin: 0 auto; font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 7vw, 50px); line-height: 1.1; color: #fff; }
.pch-cta p { max-width: 440px; margin: 14px auto 0; font-size: 15.5px; color: rgba(255, 255, 255, .72); }
.pch-cta .pch-btn { margin-top: 30px; }
.pch-cta .pch-cta__small { margin-top: 20px; font-size: 12.5px; color: rgba(255, 255, 255, .55); max-width: none; }

/* sticky mobile cta */
/* sits above master's 60px .pp-bottom-nav (≤991px); JS sets --pch-bnav to 0 while that bar is slid away */
.pch-mobile-cta { position: fixed; left: 0; right: 0; bottom: var(--pch-bnav, 60px); z-index: 999989; padding: 10px 12px; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s, bottom .3s ease; transform: translateY(140%); opacity: 0; pointer-events: none; }
.pch-mobile-cta.is-on { transform: none; opacity: 1; pointer-events: auto; }
.pch-mobile-cta a { display: flex; justify-content: space-between; align-items: center; border-radius: 16px; background: #1a365d; color: #fff; padding: 12px 14px 12px 20px; text-decoration: none; box-shadow: 0 18px 40px -12px rgba(16, 35, 63, .7); font-family: 'Inter', system-ui, sans-serif; }
.pch-mobile-cta small { display: block; font-size: 11px; color: rgba(255, 255, 255, .62); }
.pch-mobile-cta strong { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; line-height: 1; }
.pch-mobile-cta__go { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: #c5a059; color: #10233f; padding: 10px 16px; font-size: 14px; font-weight: 600; }

/* ---------- tablet ---------- */
@media (min-width: 640px) {
    .pch-hero__ctas { flex-direction: row; }
    .pch-type { width: 44%; }
    .pch-occ { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pch-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pch-mat__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pch-mat__img img { aspect-ratio: auto; }
    .pch-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pch-deadline__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
    .pch { font-size: 16px; }
    .pch-wrap { padding: 0 32px; }
    .pch-sec { padding: 96px 0; }
    .pch-sec--tight-top { padding-top: 0; }
    .pch-head { margin-bottom: 44px; }
    .pch-head p { font-size: 17px; }
    .pch-head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .pch-head-row .pch-btn { align-self: auto; margin-bottom: 44px; }
    .pch-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
    .pch-hero__sub { font-size: 18px; }
    .pch-checks--desktop { display: grid; }
    .pch-checks--mobile { display: none; }
    .pch-hero__stage { min-height: 520px; }
    .pch-hang__stack { max-width: 360px; }
    .pch-scrub { max-width: 390px; }
    .pch-stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pch-stats__grid strong { font-size: 32px; }
    .pch-nav__list { justify-content: center; padding: 0 32px; }
    .pch-rail-wrap { padding: 0 32px; }
    .pch-rail { overflow: visible; padding: 0; scroll-snap-type: none; }
    .pch-rail--types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; }
    .pch-rail--spaces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    .pch-type, .pch-space { width: auto; }
    .pch-type__actions { margin-top: auto; padding-top: 12px; }
    .pch-hint { display: none; }
    .pch-chips { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; flex-wrap: wrap; }
    .pch-rm { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    .pch-rm__text strong { font-size: 21px; }
    .pch-ed__body { display: grid; grid-template-columns: 290px minmax(0, 1fr); }
    .pch-ed__tools { border-top: 0; border-right: 1px solid rgba(255, 255, 255, .1); }
    .pch-ed__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pch-ed__stage { padding: 48px 24px; }
    .pch-ed-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pch-table { font-size: 14.5px; }
    .pch-table th, .pch-table td { padding: 14px 12px; }
    .pch-table th:first-child { padding-left: 22px; }
    .pch-table .pch-num, .pch-table thead th:last-child { padding-right: 22px; }
    .pch-mat { grid-template-columns: .8fr 1.2fr; }
    .pch-mat__tabs { flex-direction: column; }
    .pch-mat__tabs button { flex: none; padding: 18px; }
    .pch-mat__tabs strong { font-size: 22px; }
    .pch-mat__body { padding: 28px; }
    .pch-split { grid-template-columns: .8fr 1.2fr; gap: 48px; }
    .pch-occ { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .pch-related { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .pch-cta { padding: 96px 0; }
}

@media (min-width: 992px) { .pch-mobile-cta { display: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .pch *, .pch *::before, .pch *::after { animation: none !important; transition: none !important; }
    .pch.is-js .pch-reveal:not(.is-in), .pch.is-js .pch-steps:not(.is-in) li > div { opacity: 1; transform: none; }
    .pch-steps::after { height: calc(100% - 32px); }
    .pch-steps__n { border-color: var(--g); background: var(--n); color: #fff; }
    .pch-ticker__track { width: auto; overflow-x: auto; scrollbar-width: none; }
    .pch-ticker__item[aria-hidden="true"] { display: none; }
    .pch-mobile-cta { transition: none; }
}
