/* Opening composition uses the user's original transparent hero illustration. */
.home .hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.28fr);grid-template-areas:"intro art" "controls art" "trail trail";gap:0 10px;align-items:center;min-height:0;margin:20px -12px 30px;padding:42px 34px 0;border:1px solid #ebdbd3;border-radius:32px;background:radial-gradient(ellipse at 83% 26%,#fbe4dd88,transparent 52%),#fffaf2;box-shadow:0 7px 0 #efe2dd88,0 20px 45px #926b7b10;overflow:hidden;isolation:isolate}
.home .hero-copy{display:contents}
.home .hero-intro{grid-area:intro;position:relative;z-index:3;align-self:end}
.home .hero .eyebrow{padding:0;background:none;border-radius:0;font-size:12px;letter-spacing:.06em;color:#8f6955;display:flex;align-items:center;gap:9px}
.home .hero .eyebrow:before{content:"";height:1px;width:25px;background:#b68c66}
.home .hero h1{font-size:clamp(35px,3.8vw,49px);font-weight:900;letter-spacing:-.07em;line-height:1.17;color:#43382f;margin:18px 0 19px;text-shadow:0 2px 0 #fff}
.home .hero h1 em{display:block;font-size:1.22em;font-style:normal;white-space:nowrap;color:#af536e}
.home .hero h1 br{display:none}
.home .hero p{font-size:14px;line-height:1.85;color:#78645d;margin:0 0 18px;word-break:keep-all}
.home .hero-chips{gap:7px;display:flex;align-items:center;flex-wrap:wrap;margin:0 0 23px}
.home .hero-chips span{font-size:10px;font-weight:700;border:0;background:#eee9dc;color:#71634a;padding:7px 10px;border-radius:7px}
.home .hero-chips span:nth-child(2){background:#e5eee3;color:#4c7364}
.home .hero-chips span:nth-child(3){background:#f5e3e7;color:#97566b}
.home .hero-controls{grid-area:controls;align-self:start;position:relative;z-index:3;padding-bottom:30px}
.home .hero .answer-mode-picker{margin:0;padding:0;max-width:410px}
.home .hero .answer-mode-picker legend{font-size:11px;color:#6d5b50;margin-bottom:9px}
.home .hero .answer-mode-options{gap:8px}
.home .hero .answer-mode-options button{background:#fffcf8;border:1px solid #dfd1c5;border-radius:12px;min-height:65px;padding:11px 13px;gap:5px;color:#6e6056;box-shadow:none}
.home .hero .answer-mode-options button[aria-pressed="true"]{border:1px solid #a65871;background:#fae9ed;box-shadow:inset 0 0 0 1px #a65871;color:#8d3e59}
.home .hero .answer-mode-options b{font-size:13px}
.home .hero .answer-mode-options small{font-size:10px}
.home .hero-actions{display:flex;align-items:center;gap:17px;margin:20px 0 0;flex-wrap:wrap}
.home .hero-start{background:linear-gradient(140deg,#bd637d,#a54864);color:#fffdf6;box-shadow:0 4px 0 #7f344d,0 9px 15px #a6506426;border:1px solid #c7778d;border-radius:14px;padding:16px 23px;min-height:55px;font-size:15px;font-weight:800;transition:translate .2s}
.home .hero-start span{margin-left:15px}.home .hero-start:hover{translate:0 -2px}
.home .hero-choose{color:#6e6053;font-size:12px;padding:10px 0;background:transparent;border-bottom:1px solid #cbbcac;border-radius:0}
.home .hero-art{grid-area:art;position:relative;isolation:isolate;align-self:stretch;min-height:410px;height:100%;width:100%;overflow:visible;max-width:none;aspect-ratio:auto;display:grid;align-items:center}
.home .hero-art:before{content:"";position:absolute;inset:-20px -28px -5px -45px;z-index:-2;background:url('assets/pastel-world.webp') 58% center/cover;opacity:.43;mask-image:radial-gradient(ellipse at 56% 51%,#000 22%,transparent 72%);pointer-events:none}
.home .hero-art:after{content:"";position:absolute;inset:10% 6% 4%;z-index:-1;background:radial-gradient(ellipse,#fff3e185,transparent 69%);border:0;pointer-events:none}
.home .opening-illustration{position:relative;inset:auto;display:block;width:106%;max-width:none;height:auto;object-fit:contain;object-position:center;margin-left:-4%;z-index:1;animation:openingDuoFloat 7s ease-in-out infinite;filter:drop-shadow(0 16px 11px #8c5a6720)}
.home .opening-art-note{position:absolute;bottom:1%;right:4%;font-size:10px;letter-spacing:.14em;color:#977657;z-index:2}
.home .opening-spark{z-index:2;color:#c5924e;text-shadow:0 0 8px #fff;font-size:25px}
.home .opening-spark.one{left:3%;top:9%}.home .opening-spark.two{right:2%;top:17%}.home .opening-spark.three{left:42%;bottom:2%}
.home .opening-trail{grid-area:trail;display:flex;gap:20px;justify-content:center;align-items:center;padding:18px 24px;margin:0 -34px;border-top:1px solid #eadbd0;background:#f6eee1b3;color:#72604c;font-size:11px}
.home .opening-trail span{display:flex;align-items:center;gap:8px}.home .opening-trail b{font-size:13px;color:#60513e}.home .opening-trail i{font-style:normal;color:#b39b7e}.home .opening-trail small{font-size:10px;color:#85755f}
.home .opening-trail .trail-number{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e8dfce;font-size:10px;color:#756244}
.home .hero button:focus-visible{outline:3px solid #4a8d7a;outline-offset:4px}
@keyframes openingDuoFloat{0%,100%{translate:0 0}50%{translate:0 -7px}}
@media(min-width:681px) and (max-width:1000px){.home .hero{padding:30px 25px 0;grid-template-columns:1fr 1.05fr}.home .hero h1{font-size:35px}.home .hero h1 em{font-size:1.15em}.home .hero p{font-size:12px}.home .hero-art{min-height:350px}.home .opening-trail{margin:0 -25px;gap:13px}.home .opening-trail small{display:none}.home .hero-actions{gap:12px}.home .hero-start{padding:14px 17px}.home .hero-choose{font-size:11px}}
@media(max-width:680px){
 .home .hero{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "art" "controls" "trail";display:grid;margin:14px -5px 25px;padding:26px 19px 0;gap:0;border-radius:25px}
 .home .hero-intro{text-align:center}.home .hero .eyebrow{justify-content:center;font-size:10px}.home .hero .eyebrow:before{width:17px}
 .home .hero h1{font-size:28px;margin:12px 0 10px;line-height:1.13}.home .hero h1 em{font-size:1.38em;margin-top:3px}
 .home .hero p{font-size:11px;margin:0 0 12px;line-height:1.65}.home .hero-chips{justify-content:center;margin:0;gap:5px}.home .hero-chips span{font-size:8px;padding:5px 7px}
 .home .hero-art{width:100%;height:auto;aspect-ratio:1.48;min-height:0;margin:6px 0 7px;overflow:visible}.home .opening-illustration{width:106%;margin-left:-3%;animation:none}.home .hero-art:before{inset:-18px -18px -8px}.home .opening-art-note{display:none}
 .home .hero-controls{padding:0 0 25px;width:100%;max-width:420px;justify-self:center}.home .hero .answer-mode-picker{max-width:none}.home .hero .answer-mode-picker legend{font-size:10px}.home .hero .answer-mode-options button{min-height:57px;padding:10px 12px}.home .hero .answer-mode-options b{font-size:12px}.home .hero .answer-mode-options small{font-size:9px}
 .home .hero-actions{margin-top:14px;gap:10px;display:grid;grid-template-columns:1fr;justify-items:center}.home .hero-start{width:100%;min-height:50px;padding:12px 18px;font-size:14px}.home .hero-choose{min-height:32px;padding:7px 0;font-size:11px}
 .home .opening-trail{margin:0 -19px;padding:14px 8px;gap:8px;flex-wrap:wrap}.home .opening-trail span{gap:4px}.home .opening-trail b{font-size:10px}.home .opening-trail small{display:none}.home .opening-trail .trail-number{width:20px;height:20px;font-size:9px}.home .opening-trail i{font-size:9px}
 .home .opening-spark.one{top:4%;left:4%}.home .opening-spark.two{top:6%;right:3%}.home .opening-spark.three{display:none}
}
@media(prefers-reduced-motion:reduce){.home .opening-illustration,.home .opening-spark{animation:none}.home .hero-start{transition:none}}
