.plener-quiz-page{
  --psq-wave-height:clamp(58px,6vw,92px);
  --psq-ink:#fcfbf5;
  background:#141510;
}
.plener-quiz-page #main{
  --psq-bottom-gap:48px;
  position:relative;
  isolation:isolate;
  width:100%;
  max-width:none;
  padding:48px 32px calc(var(--psq-bottom-gap) + var(--psq-wave-height));
}
/* Keep the transparent part of the wave over the same photo as the quiz. */
.plener-quiz-page #site-footer{
  position:relative;
  margin-top:calc(-1 * var(--psq-wave-height));
}
.plener-quiz-page #site-footer .footer-wave{height:var(--psq-wave-height);margin-top:0;}
.plener-quiz-page .content-page{
  max-width:860px;
  margin:0 auto;
  padding:40px 48px 44px;
  border-radius:0;
}
.plener-quiz-page #main > .psq-page-background{
  position:absolute;
  inset:0;
  z-index:-1;
  width:100%;
  height:100%;
  margin:0;
  object-fit:cover;
  object-position:center;
  pointer-events:none;
}
.plener-quiz-page.plener-visual-preview #main{padding-top:66px;}
.psq-background-edit{
  position:absolute;
  top:12px;
  left:50%;
  transform:translateX(-50%);
  min-height:42px;
  padding:8px 16px;
  background:#fff;
  color:#111;
  border:1px solid #7e7e7e;
  font:600 14px/1.4 var(--body);
  cursor:pointer;
}
.plener-quiz-page .content-page>.page-heading{font:400 clamp(32px,3.4vw,42px)/1.16 var(--display);color:inherit;margin:0 0 24px;letter-spacing:normal;text-align:center;}
.psq{
  --psq-ink:#111;
  --psq-accent:#111;
  --psq-muted:#626262;
  --psq-line:#d5d5d5;
  --psq-paper:#f5f5f5;
  --psq-control:#fff;
  --psq-hover:#f3f3f3;
  --psq-error:#873c32;
  position:relative;
  font:15px/1.8 var(--body);
  color:var(--psq-ink);
  overflow-anchor:none;
}
.plener-quiz-page .psq{
  --psq-ink:inherit;
  --psq-accent:#f0dfb8;
  --psq-muted:#e0dfd5;
  --psq-line:rgba(255,255,255,.4);
  --psq-paper:rgba(0,0,0,.24);
  --psq-control:rgba(255,255,255,.08);
  --psq-hover:rgba(255,255,255,.17);
  --psq-error:#ffcebf;
}
.psq-measure{position:absolute;top:0;left:0;width:100%;visibility:hidden;pointer-events:none;--psq-copy-height:0px;--psq-question-height:0px;}
.psq-question{display:flex;flex-direction:column;min-height:var(--psq-question-height,0px);}
.psq-question-layout>div:first-child{min-height:var(--psq-copy-height,0px);}
.psq [hidden]{display:none!important;}
.psq [data-quiz-copy]:empty,.psq [data-quiz-intro-copy]:empty,.psq [data-quiz-intro-meta]:empty,.psq-stone-collage:empty,.psq-result-copy>p:empty{display:none;}
.psq-intro-copy,[data-quiz-stone-text],.psq-result-note{white-space:pre-line;}
.psq :is(h2,h3,p){margin:0;}
.psq :is(h2,h3){font-family:var(--display);font-weight:400;letter-spacing:normal;}
.plener-quiz-page .article-body .psq h2{font-size:28px;line-height:1.3;}
.psq .psq-meta{font-size:13px;line-height:1.6;color:var(--psq-muted);}
.psq-start{display:flex;flex-direction:column;gap:28px;}
.psq-intro{display:flex;flex-direction:column;align-items:center;width:100%;text-align:center;}
.psq .psq-intro-copy{margin-top:12px;max-width:64ch;line-height:1.75;}
.psq .psq-sign{font:400 20px/1.4 var(--display);margin:16px 0 0;color:var(--psq-ink);}
.psq-stone-collage{order:-1;display:flex;justify-content:center;gap:12px;margin:0 0 18px;width:100%;}
.plener-quiz-page .article-body .psq-stone-collage img{display:block;width:64px;height:64px;aspect-ratio:1;object-fit:cover;clip-path:circle(49%);}
.psq-person{width:100%;max-width:620px;margin:0 auto;}
.plener-quiz-page .article-body .psq-person h2{font-size:26px;line-height:1.3;margin:0 0 20px;text-align:center;}
.psq-who{display:grid;grid-auto-rows:1fr;gap:12px;}
.psq-who>button,.psq-option{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:1px solid var(--psq-line);border-radius:0;background:var(--psq-control);color:var(--psq-ink);padding:15px 18px;min-height:60px;font:400 15px/1.5 var(--body);cursor:pointer;transition:border-color .16s,background .16s;}
.psq :is(.psq-who>button,.psq-option):hover{background:var(--psq-hover);border-color:var(--psq-accent);}
.psq-who>button::after{content:'';width:8px;height:8px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);flex:0 0 8px;margin-left:auto;margin-right:4px;}
.psq :is(button,a,input,summary):focus-visible{outline:2px solid var(--psq-accent);outline-offset:4px;}
.psq :is([data-quiz-title],[data-quiz-stone-name]):focus{outline:none;}
.psq-gift{margin-top:24px;padding:24px;background:var(--psq-paper);border:1px solid var(--psq-line);border-radius:0;}
.plener-quiz-page .psq-gift{color-scheme:dark;}
.psq-gift fieldset{border:0;padding:0;margin:0 0 20px;}
.psq-gift legend{padding:0;margin-bottom:12px;font-size:15px;font-weight:500;}
.psq-gift fieldset label{display:inline-flex;align-items:center;gap:8px;margin-right:24px;min-height:32px;}
.psq-gift input[type=radio]{width:18px;height:18px;accent-color:var(--psq-accent);}
.psq-gift>label{display:block;font-size:14px;margin-bottom:8px;}
.psq-gift>label span{color:var(--psq-muted);font-size:12px;margin-left:6px;}
.psq-gift input[type=text]{width:100%;min-width:0;min-height:50px;padding:12px 14px;border:1px solid var(--psq-line);border-radius:0;background:var(--psq-control);color:var(--psq-ink);font:inherit;font-size:16px;}
.psq-gift input[type=text]::placeholder{color:var(--psq-muted);opacity:1;}
.psq-gift>p{font-size:13px;line-height:1.7;margin:14px 0 18px;}
.psq-gift .button{width:100%;min-height:50px;background:#111;color:#fff;border:1px solid #111;border-radius:0;font-size:14px;}
.psq-gift .button:hover:not(:disabled){background:#292929;border-color:#292929;}
.psq-gift .button:disabled{opacity:.45;}
.psq-progress{height:4px;width:100%;background:var(--psq-line);margin-bottom:14px;overflow:hidden;border-radius:0;}
.psq-progress>span{display:block;background:var(--psq-accent);height:100%;width:0;transition:width .2s;}
.psq-question>.psq-meta{text-align:center;}
.psq-question-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin:24px 0 16px;align-items:start;}
.psq-question-layout h2{max-width:34ch;margin:0 auto;text-align:center;text-wrap:balance;}
.psq .psq-hint{font-size:14px;line-height:1.75;color:var(--psq-muted);margin:14px auto 0;max-width:58ch;text-align:center;}
.psq-answers{display:grid;grid-auto-rows:1fr;gap:12px;}
.psq-option[aria-pressed=true]{border-color:var(--psq-accent);background:var(--psq-hover);box-shadow:inset 0 0 0 1px var(--psq-accent);}
.psq-option>span:last-child{min-width:0;}
.psq-choice-mark,.psq-swatch{width:20px;height:20px;flex:0 0 20px;border:1px solid #b4b4b4;border-radius:0;}
.psq-option[aria-pressed=true] .psq-choice-mark{background:radial-gradient(circle,var(--psq-accent) 3px,transparent 4px);border-color:var(--psq-accent);}
.psq .psq-back{align-self:flex-start;margin:0;font:400 14px/1.5 var(--body);padding:8px 0;color:var(--psq-muted);}
.psq .psq-back:hover{color:var(--psq-ink);}
.psq-result-intro{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"stone" "copy";gap:22px;align-items:start;text-align:center;margin:8px 0 32px;}
.plener-quiz-page .article-body .psq-result-image{grid-area:stone;justify-self:center;display:block;width:160px;height:160px;object-fit:cover;border-radius:0;margin:0;}
.psq-result-intro:has(.psq-result-image[hidden]){grid-template-areas:"copy";}
.psq-result-copy{grid-area:copy;width:100%;min-width:0;max-width:640px;margin:0 auto;}
.plener-quiz-page .article-body .psq-result-intro h2{font-size:36px;line-height:1.15;margin:0 0 10px;}
.psq .psq-stone-subtitle{font-size:15px;line-height:1.6;color:var(--psq-accent);margin-bottom:20px;}
.psq-result-copy>p:not(.psq-stone-subtitle){max-width:60ch;margin-inline:auto;}
.psq-letter{margin:22px 0;font-size:14px;}
.psq-letter summary{cursor:pointer;text-decoration:underline;text-underline-offset:5px;}
.psq-letter p{margin:16px auto 0;white-space:pre-line;max-width:65ch;text-align:left;}
.psq-result-intro .text-link{font-size:14px;}
.psq-recommendations{margin-top:32px;padding-top:28px;border-top:1px solid var(--psq-line);}
.plener-quiz-page .article-body .psq-recommendations h3{font-size:26px;line-height:1.25;margin:0 0 12px;}
.psq-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px;}
.psq-products[data-count="1"]{grid-template-columns:minmax(0,340px);justify-content:center;}
.psq-products[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:660px;margin-inline:auto;}
.psq-products[data-count="0"]{display:none;}
.psq-recommendations>h3,.psq-recommendations>.psq-meta{text-align:center;}
.psq-products .product-card{min-width:0;}
.plener-quiz-page .article-body .psq-products .photo img{width:100%;height:100%;object-fit:cover;}
.plener-quiz-page .article-body .psq-products h3{font:400 15px/1.5 var(--body);margin:12px 0 8px;}
.psq-products .product-card-purchase{flex-wrap:wrap;}
.psq-products .card-add-to-cart{max-width:100%;}
.psq .psq-result-note{font-size:14px;line-height:1.8;max-width:65ch;margin:32px auto 0;color:var(--psq-muted);text-align:center;}
.psq-result>.psq-sign{margin-bottom:18px;text-align:center;}
.psq-result>[data-quiz-again]{display:block;margin:0 auto;}
.psq-loading{display:flex;align-items:center;gap:14px;padding:48px 0;font-size:16px;}
.psq-loading::before{content:'';width:18px;height:18px;flex:0 0 18px;border:2px solid var(--psq-line);border-top-color:var(--psq-accent);border-radius:0;animation:psq-loading 1s linear infinite;}
@keyframes psq-loading{to{transform:rotate(360deg);}}
.psq-error{padding:24px;background:var(--psq-paper);border-radius:0;}
.psq-error p{margin-bottom:22px;color:var(--psq-error);}
.psq-error .text-link{margin-left:20px;}
.plener-quiz-page .psq :is(.psq-gift .button,.psq-affirmations,.card-add-to-cart){
  border-color:var(--psq-line);
  background:var(--psq-control);
  color:var(--psq-ink);
}
.plener-quiz-page .psq :is(.psq-gift .button,.psq-affirmations,.card-add-to-cart):hover:not(:disabled){
  background:var(--psq-hover);
  border-color:var(--psq-accent);
}
@media(max-width:900px){
 .plener-quiz-page #main{padding-top:36px;padding-inline:24px;}
 .plener-quiz-page .content-page{padding:36px;}
}
@media(max-width:700px){
 .plener-quiz-page #main{--psq-bottom-gap:28px;padding-top:24px;padding-inline:12px;}
 .plener-quiz-page .content-page{padding:28px 22px 30px;box-shadow:0 10px 30px rgba(0,0,0,.28);}
 .plener-quiz-page .content-page>.page-heading{font-size:32px;margin-bottom:20px;}
 .psq{font-size:14px;}
 .psq-start{gap:24px;}
 .psq .psq-intro-copy{max-width:54ch;margin-top:12px;}
 .psq .psq-sign{font-size:18px;margin-top:14px;}
 .psq-stone-collage{gap:10px;margin-bottom:16px;}
 .plener-quiz-page .article-body .psq-stone-collage img{width:48px;height:48px;}
 .plener-quiz-page .article-body .psq-person h2{font-size:24px;margin-bottom:18px;}
 .psq-who>button,.psq-option{min-height:58px;font-size:14px;gap:12px;padding:14px;}
 .psq-question-layout{gap:20px;margin:20px 0 12px;}
 .plener-quiz-page .article-body .psq h2{font-size:25px;}
 .psq-question-layout h2{max-width:26ch;text-wrap:pretty;}
 .psq .psq-hint{font-size:13px;margin-top:12px;max-width:52ch;}
 .psq .psq-back{font-size:13px;}
 .psq-result-intro{gap:20px;margin:12px 0 28px;}
 .plener-quiz-page .article-body .psq-result-image{width:140px;height:140px;margin:0 auto;}
 .plener-quiz-page .article-body .psq-result-intro h2{font-size:32px;}
 .plener-quiz-page .article-body .psq-recommendations h3{font-size:24px;}
 .psq-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px;}
 .plener-quiz-page .article-body .psq-products h3{font-size:13px;}
 .psq-products .card-add-to-cart{width:100%;font-size:11px;padding-inline:7px;}
 .psq-gift{padding:18px;}
 .psq-gift fieldset label{margin-right:18px;}
 .psq-error{padding:20px;}
 .psq-error .text-link{display:inline-block;margin:16px 0 0;}
}
@media(max-width:380px){
 .plener-quiz-page .content-page{padding:24px 18px 26px;}
 .plener-quiz-page .content-page>.page-heading{font-size:30px;}
 .plener-quiz-page .article-body .psq-person h2{font-size:23px;}
 .psq-who>button,.psq-option{padding:13px 12px;}
}
@media(prefers-reduced-motion:reduce){.psq *{transition:none!important;animation:none!important;}}

.psq-full-description{white-space:pre-line;text-align:left;line-height:1.85;margin:18px auto 24px;max-width:64ch;}
.psq .psq-affirmations{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:12px 26px;margin-top:16px;border:1px solid #000;background:#000;color:#fff;font:500 14px/1.5 var(--body);border-radius:0;}
.psq .psq-affirmations:hover{background:#292929;color:#fff;}
.plener-quiz-page .article-body .psq-result-image img{display:block;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0;}
.psq-result-intro:has(.psq-result-image[hidden]){grid-template-areas:"copy";}

/* A round crop keeps the artwork flush with the glass result panel. */
.plener-quiz-page .article-body .psq-result-image {
  background:none;
  border-radius:50%;
  overflow:hidden;
}
.plener-quiz-page .article-body .psq-result-image img {
  background:none;
  border-radius:inherit;
}
