/* Qasedak — homepage phase 2, loaded after legacy stylesheet */
.q-home{--qh-bg:var(--q-bg,#071710);--qh-surface:var(--q-surface,#103322);--qh-text:var(--q-text,#f3fff6);--qh-muted:var(--q-muted,#b8d7c4);--qh-line:var(--q-outline,#28543d);color:var(--qh-text);background:var(--qh-bg);font-family:inherit;overflow:hidden}.q-home *{box-sizing:border-box}.q-home a{text-decoration:none}.q-home-hero{position:relative;background:radial-gradient(ellipse at 75% 20%,rgba(35,134,87,.25),transparent 58%),var(--qh-bg);padding:76px 24px 85px;isolation:isolate}.q-home-hero-inner{max-width:1180px;margin:auto;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:45px;direction:rtl}.q-eyebrow{color:#49b67c;font-size:.84rem;font-weight:700;letter-spacing:.01em}.q-home h1,.q-home h2,.q-home h3{color:var(--qh-text);line-height:1.5;margin:0}.q-home h1{font-size:clamp(2.8rem,5.5vw,5.2rem);font-weight:900;letter-spacing:-.035em;margin:14px 0 18px}.q-home h1 span{display:block;font-size:clamp(1.4rem,2.8vw,2.4rem);color:#6ed29a;font-weight:600}.q-home-copy>p{font-size:1.05rem;color:var(--qh-muted);line-height:2.15;max-width:530px}.q-home-actions,.q-member-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.q-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:14px;padding:13px 23px;font-weight:750;transition:transform .2s,background .2s;min-height:48px}.q-btn:hover{transform:translateY(-2px)}.q-btn-primary{background:#238657!important;color:white!important;border:1px solid #238657}.q-btn-primary:hover{background:#2e9e69!important}.q-btn-ghost{background:transparent!important;color:var(--qh-text)!important;border:1px solid var(--qh-line)}.q-home-byline{display:flex;align-items:center;gap:12px;margin-top:48px}.q-home-byline img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:2px solid #238657}.q-home-byline strong,.q-home-byline small{display:block}.q-home-byline small{color:var(--qh-muted);font-size:.78rem;margin-top:4px}.q-home-visual{min-height:430px;position:relative;display:flex;justify-content:center;align-items:center}.q-visual-orbit{position:absolute;width:360px;height:360px;border:1px solid #368b5c55;border-radius:50%;box-shadow:0 0 100px #23865722}.q-visual-book{position:absolute;width:220px;height:310px;border:7px solid #153d2b;border-radius:10px 19px 19px 10px;overflow:hidden;box-shadow:0 28px 60px #0008;transform-origin:center}.q-visual-book img{width:100%;height:100%;object-fit:cover}.q-visual-book-a{transform:rotate(10deg) translate(66px,-4px);z-index:2}.q-visual-book-b{transform:rotate(-13deg) translate(-75px,24px);opacity:.88}.q-visual-caption{position:absolute;bottom:0;color:#83c9a2;font-size:.9rem}.q-visual-caption span{padding:0 12px}.q-home-section{max-width:1180px;margin:0 auto;padding:72px 24px}.q-section-heading{text-align:center;margin-bottom:32px}.q-section-heading h2{font-size:clamp(1.7rem,3vw,2.5rem);margin:8px 0}.q-section-heading p{color:var(--qh-muted)}.q-book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.q-book-card{display:block;background:var(--qh-surface);border:1px solid var(--qh-line);border-radius:23px;overflow:hidden;transition:transform .25s,border-color .25s}.q-book-card:hover{transform:translateY(-6px);border-color:#3eaf76}.q-book-art{height:260px;position:relative;overflow:hidden;background:#0d271a}.q-book-art img{width:100%;height:100%;object-fit:cover;filter:brightness(.7);transition:transform .4s}.q-book-card:hover img{transform:scale(1.05)}.q-book-number{position:absolute;top:20px;right:20px;background:#0b2418dd;color:#d4ffe2;padding:7px 14px;border-radius:999px;font-size:.78rem}.q-book-info{padding:24px 26px}.q-book-info h3{font-size:1.5rem}.q-book-info p{color:var(--qh-muted);line-height:1.9}.q-book-link,.q-text-link{color:#48b779;font-weight:750}.q-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.q-category-card{height:235px;position:relative;border-radius:20px;overflow:hidden;background:#0d271a}.q-category-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#061a12ed,transparent 75%)}.q-category-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.q-category-card:hover img{transform:scale(1.05)}.q-category-card>span{position:absolute;z-index:1;bottom:20px;right:22px;color:white;font-size:1.4rem;font-weight:800}.q-category-card small{display:block;font-size:.78rem;color:#c5e7d1;font-weight:400;margin-top:6px}.q-gift-band{max-width:1132px;margin:40px auto;padding:50px 55px;border-radius:26px;border:1px solid #398a5e;background:linear-gradient(115deg,#103c28,#071b12);display:flex;align-items:center;justify-content:space-between;gap:30px;color:#fff}.q-gift-band h2{color:#fff;font-size:clamp(1.6rem,3vw,2.5rem);margin:12px 0}.q-gift-band p{color:#c4dfcf;line-height:2;max-width:620px}.q-gift-symbol{font-size:9rem;line-height:1;color:#49b67c66}.q-member-strip{max-width:1132px;margin:30px auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 32px;background:var(--qh-surface);border:1px solid var(--qh-line);border-radius:22px}.q-member-strip p{color:var(--qh-muted)}.q-member-links{margin:0}.q-about-strip{display:flex;align-items:center;justify-content:space-between;gap:30px}.q-about-strip>div{max-width:680px}.q-about-strip p{color:var(--qh-muted);line-height:2.2}.q-about-strip img{width:155px;height:155px;object-fit:cover;border-radius:50%;border:5px solid #238657}.q-faq{padding-top:30px;padding-bottom:100px}.q-faq details{border:1px solid var(--qh-line);border-radius:14px;margin-bottom:10px;padding:15px 22px;background:var(--qh-surface)}.q-faq summary{cursor:pointer;font-weight:700;color:var(--qh-text)}.q-faq details p{color:var(--qh-muted);line-height:2.1}.q-home a:focus-visible,.q-home summary:focus-visible{outline:3px solid #49b67c;outline-offset:4px}
[data-theme="light"] .q-home-hero{background:radial-gradient(ellipse at 75% 20%,#d8f3e3,transparent 58%),var(--qh-bg)}[data-theme="light"] .q-visual-book{border-color:#e3f2e8;box-shadow:0 20px 40px #16442a3b}[data-theme="light"] .q-gift-band{background:linear-gradient(115deg,#175338,#103322)}
@media(max-width:800px){.q-home-hero{padding:42px 18px}.q-home-hero-inner{grid-template-columns:1fr;gap:12px}.q-home-visual{min-height:330px}.q-visual-book{width:160px;height:240px}.q-visual-orbit{width:270px;height:270px}.q-home-section{padding:48px 18px}.q-gift-band{margin:24px 18px;padding:30px}.q-gift-symbol{font-size:5rem}.q-member-strip{margin:20px 18px}.q-home-byline{margin-top:28px}}@media(max-width:580px){.q-home h1{font-size:2.6rem}.q-home h1 span{font-size:1.5rem}.q-home-visual{min-height:290px}.q-book-grid{grid-template-columns:1fr}.q-book-art{height:205px}.q-category-grid{grid-template-columns:1fr;gap:12px}.q-category-card{height:155px}.q-gift-symbol{display:none}.q-member-strip,.q-about-strip{flex-direction:column;align-items:flex-start}.q-about-strip img{order:-1;width:110px;height:110px}.q-home-actions .q-btn{flex:1}.q-member-links{width:100%}}@media(prefers-reduced-motion:reduce){.q-home *{transition:none!important}}

/* Contrast fix: poem-card gift section in both themes */
.q-home .q-gift-band,html[data-theme="light"] .q-home .q-gift-band,html[data-theme="dark"] .q-home .q-gift-band{color:#ffffff!important;}
.q-home .q-gift-band h2,html[data-theme="light"] .q-home .q-gift-band h2,html[data-theme="dark"] .q-home .q-gift-band h2{color:#ffffff!important;text-shadow:0 1px 2px rgba(0,0,0,.35);}
.q-home .q-gift-band .q-eyebrow,html[data-theme="light"] .q-home .q-gift-band .q-eyebrow{color:#b4f5d0!important;}
.q-home .q-gift-band p,html[data-theme="light"] .q-home .q-gift-band p{color:#e3f3e9!important;}
.q-home .q-gift-band .q-btn-primary{color:#ffffff!important;background:#238657!important;}
@media(max-width:580px){.q-home .q-gift-band{padding:30px 24px}.q-home .q-gift-band h2{line-height:1.65;}}
