/* A tactile, accessible FAQ. The answers remain native details elements. */
.faq{align-items:start;gap:7%;padding-block:85px 100px}
.faq-heading h2{font-size:clamp(42px,4.6vw,66px);line-height:1;letter-spacing:-.06em;max-width:6ch;margin:0}
.faq-sculpture{position:relative;width:265px;height:255px;margin:35px auto 0 10px;perspective:850px;pointer-events:none}
.faq-sculpture:after{content:'';position:absolute;bottom:2px;left:25px;width:220px;height:30px;border-radius:50%;background:radial-gradient(ellipse,#91790033,transparent 70%);filter:blur(5px)}
.faq-sculpture-orbit{position:absolute;inset:15px 25px 40px 10px;transform:translateY(0);animation:faq-drift 6s ease-in-out infinite}
.faq-sculpture-card{position:absolute;inset:0;transform:rotateX(var(--faq-rx,8deg)) rotateY(var(--faq-ry,-15deg)) rotateZ(-9deg);transform-style:preserve-3d;transition:transform .65s cubic-bezier(.2,.8,.2,1)}
.faq-bubble-back{position:absolute;inset:22px -19px -17px 20px;border-radius:45px;background:#e3c421;transform:translateZ(-24px);border:1px solid #96800133}
.faq-bubble-front{position:absolute;inset:0;border-radius:44px;background:linear-gradient(145deg,#fffbd9,#fff09a);border:1px solid #fffce9;box-shadow:1px 1px 0 #c5aa29,2px 3px 0 #c5aa29,4px 6px 0 #c5aa29,6px 9px 0 #c5aa29,8px 12px 0 #c5aa29,18px 26px 30px #8c75001f}
.faq-bubble-front:after{content:'';position:absolute;bottom:-21px;left:35px;width:44px;height:44px;background:#fff09a;clip-path:polygon(0 0,100% 0,0 100%);filter:drop-shadow(4px 5px 0 #c5aa29)}
.faq-question,.faq-check{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--display);font-size:145px;line-height:1;font-weight:750;transition:opacity .25s,transform .55s cubic-bezier(.2,.8,.2,1);text-shadow:2px 4px 0 #bda32a40}
.faq-question{transform:translateZ(22px) rotate(6deg)}.faq-check{opacity:0;transform:translateZ(22px) scale(.45) rotate(-20deg);font-size:109px}
.faq.has-answer .faq-question{opacity:0;transform:translateZ(22px) scale(.6) rotate(20deg)}.faq.has-answer .faq-check{opacity:1;transform:translateZ(22px) scale(1) rotate(8deg)}
.faq-orbit-dot{position:absolute;width:45px;height:45px;right:-29px;top:0;border-radius:50%;background:#ffe100;border:1px solid #a58e2c;box-shadow:3px 5px 0 #bea63f;display:grid;place-items:center;font-size:23px;transform:translateZ(35px)}
.faq-list{display:grid;gap:12px;counter-reset:questions}
.faq-list details{counter-increment:questions;background:#fff4ac4d;border:1px solid #17191035;border-radius:19px;overflow:hidden;transition:background .35s,border-color .35s,box-shadow .35s;box-sizing:border-box}
.faq-list details:hover{background:#fff4ac8c;border-color:#17191060}.faq-list details[data-expanded="true"],.faq-list details[open]:not([data-expanded]){background:#fff6bb;border-color:#b09b38;box-shadow:5px 6px 0 #9d83001a}
.faq-list summary{display:flex;align-items:center;gap:18px;min-height:88px;padding:23px 76px 23px 23px;font-size:20px;font-weight:650;line-height:1.35;outline-offset:-5px}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:before{content:counter(questions,decimal-leading-zero);font:500 12px/1 var(--body);opacity:.5;flex:0 0 21px}
.faq-list summary:after{content:'+';display:grid;place-items:center;top:50%;right:20px;width:37px;height:37px;border:1px solid #17191030;background:#ffe10088;border-radius:50%;font-size:25px;font-weight:400;line-height:1;transform:translateY(-50%) rotate(0);transition:transform .4s,background .35s}
.faq-list details[data-expanded="true"] summary:after,.faq-list details[open]:not([data-expanded]) summary:after{content:'+';transform:translateY(-50%) rotate(45deg);background:#ffe100}
.faq-list .faq-answer{padding:0 64px 27px 62px}
.faq-list .faq-answer p{font-size:16px;line-height:1.65;margin:0;padding:0;max-width:48ch}
@keyframes faq-drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@media(max-width:760px){
 .faq{padding-block:55px 65px}.faq-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:15px}
 .faq-heading h2{font-size:43px;max-width:6ch}.faq-sculpture{width:125px;height:130px;flex:0 0 125px;margin:0 8px 0 0}.faq-sculpture-orbit{inset:14px 14px 30px 5px}.faq-bubble-front,.faq-bubble-back{border-radius:22px}.faq-bubble-back{inset:10px -8px -8px 9px}.faq-question{font-size:69px}.faq-check{font-size:54px}.faq-bubble-front:after{width:24px;height:24px;bottom:-12px;left:15px}.faq-orbit-dot{width:25px;height:25px;font-size:15px;right:-16px}.faq-sculpture:after{width:100px;height:18px;left:15px;bottom:7px}
 .faq-list{gap:10px}.faq-list summary{min-height:80px;font-size:17px;padding:20px 59px 20px 17px;gap:12px}.faq-list summary:before{font-size:10px;flex-basis:16px}.faq-list summary:after{width:30px;height:30px;right:15px;font-size:23px}.faq-list .faq-answer{padding:0 25px 24px 45px}.faq-list .faq-answer p{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.faq-sculpture-orbit{animation:none}.faq-sculpture-card,.faq-question,.faq-check,.faq-list details,.faq-list summary:after{transition:none}}
