/* Sophia / Publishing Studio: editorial catalog, visual development only. */
.publishing-hero{
 padding:86px 0 76px;
 position:relative;isolation:isolate;overflow:hidden;
 background:
  radial-gradient(circle at 80% 15%,#df8fee5e,transparent 36%),
  radial-gradient(circle at 12% 92%,#58bbdf63,transparent 42%),
  linear-gradient(115deg,#34385f,#634368 53%,#324d6d);
 border-bottom:1px solid #bd9ccf;
}
.publishing-hero::after{content:"✦";position:absolute;right:7%;top:-80px;font-size:min(36vw,440px);color:#f6c3f81a;z-index:-1;font-family:Georgia,serif}
.publishing-hero h1{font-size:clamp(3rem,9vw,7rem);max-width:1000px;text-wrap:balance}
.publishing-hero p:not(.eyebrow){color:#f3eafa;max-width:720px;font-size:clamp(1rem,1.9vw,1.2rem)}
.story-header{display:grid;grid-template-columns:.7fr 1fr;gap:24px;align-items:end;margin-bottom:24px}
.story-header h2{margin:0}
.story-disclosure{color:#ded7ee;max-width:640px;line-height:1.7;margin:0}
.story-toolbar{padding:17px;border:1px solid #8a7cae;border-radius:16px;background:#292c4b;display:grid;gap:13px}
.story-toolbar label{display:grid;gap:8px;color:#f5dff7;font-size:.8rem;font-weight:800}
.story-toolbar input{font:inherit;font-size:1rem;min-height:48px;padding:12px 15px;border:1px solid #b4acd1;background:#1a223d;color:#fff;border-radius:11px;width:100%}
.story-toolbar input::placeholder{color:#c6bfe1}
.story-filters{display:flex;flex-wrap:wrap;gap:8px}
.story-filters button{font:inherit;min-height:44px;background:#353b5c;color:#f6f0ff;border:1px solid #8c90b8;border-radius:999px;padding:8px 16px;cursor:pointer;font-weight:750;font-size:.85rem}
.story-filters button:hover,.story-filters button.selected{background:linear-gradient(110deg,#e7b8ff,#ffd5bb);color:#382447;border-color:#f7dbff}
.story-count{color:#e2d9f1;font-size:.8rem;margin:15px 0}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.story-card{--story-accent:#f5bcdb;display:flex;flex-direction:column;min-height:325px;padding:21px 21px 18px;border:1px solid #8584b1;border-top:4px solid var(--story-accent);border-radius:18px;background:linear-gradient(145deg,#343556,#272f4c);box-shadow:0 16px 32px #090a234d}
.story-card.story-fire{--story-accent:#ffb882;background:linear-gradient(145deg,#57435b,#352f4f)}
.story-card.story-signal{--story-accent:#88e4e8;background:linear-gradient(145deg,#2d4c5f,#29324e)}
.story-card.story-earth{--story-accent:#8be7c1;background:linear-gradient(145deg,#31575b,#2c3650)}
.story-card.story-doors{--story-accent:#cbb4ff;background:linear-gradient(145deg,#493e6f,#2d3050)}
.story-card.story-divinity{--story-accent:#ffd592;background:linear-gradient(145deg,#544056,#333349)}
.story-card.story-mind{--story-accent:#b4d1ff;background:linear-gradient(145deg,#35476e,#2b324d)}
.story-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.story-chip{border-radius:999px;padding:5px 11px;background:var(--story-accent);color:#282238;font-size:.7rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase}
.story-status{color:#e9ddf8;font-size:.72rem}
.story-code{color:#d8cbe4;font-size:.72rem;letter-spacing:.045em;margin:19px 0 5px}
.story-card h3{font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.08}
.story-description{color:#e5e1f0;font-size:.9rem;line-height:1.65;margin:13px 0}
.story-footer{border-top:1px solid #827da17d;padding-top:12px;margin-top:auto;display:flex;gap:10px;flex-direction:column}
.story-footer span{color:#dccde5;font-size:.73rem}
.story-link{font-size:.86rem;color:#b8f6ff;font-weight:800;text-decoration:underline;text-underline-offset:4px}
.story-notice{border-left:4px solid #ffdaa2;background:#473c59;padding:18px 20px;border-radius:0 12px 12px 0;color:#f8eefa;margin-top:29px;line-height:1.65}
.story-notice a{color:#c8efff;text-decoration:underline}
.story-tail{display:flex;justify-content:space-between;align-items:center;gap:22px}
.story-tail p{max-width:680px;color:#e3dbea}
.story-empty{color:#eed8e8;grid-column:1/-1;line-height:1.7;padding:26px;border:1px dashed #9a8dad;border-radius:15px}
.ignition-hero{background:radial-gradient(circle at 86% 15%,#e8a2667d,transparent 37%),radial-gradient(circle at 4% 91%,#7378da5d,transparent 45%),linear-gradient(115deg,#393958,#614452 62%,#45496d)}
.ignition-mark{margin:8px 0 20px;letter-spacing:.16em;text-transform:uppercase;color:#ffe9bd;font-size:.8rem;font-weight:800}
.ignition-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px}
.ignition-panel{padding:24px;border:1px solid #9c83a6;border-radius:18px;background:#302f4e}
.ignition-panel p,.ignition-panel li{color:#e5dcef;line-height:1.7}
.ignition-panel h2{font-size:2.15rem;margin-bottom:17px}
.ignition-panel ul{padding-left:20px}
.ignition-stage{padding:35px;border:1px solid #d7a886;border-radius:19px;background:radial-gradient(circle at 65% 12%,#f1b66d77,transparent 40%),linear-gradient(155deg,#433355,#292944);display:grid;align-content:center;gap:10px;min-height:340px}
.ignition-stage strong{font-size:clamp(2.4rem,5vw,4rem);line-height:1;color:#fff0d9;letter-spacing:-.05em}
.ignition-stage small{letter-spacing:.16em;color:#e8cfba;font-weight:800}
.ignition-stage p{color:#f4e2e7}
.ignition-stage::before{content:"✧";font-size:5rem;color:#ffd69e;line-height:1}
.story-toolbar :focus-visible,.story-link:focus-visible,.story-notice a:focus-visible{outline:3px solid #fff1c6;outline-offset:4px}
@media(max-width:1000px){.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.story-grid,.story-header,.ignition-grid{grid-template-columns:1fr}.publishing-hero{padding:59px 0 54px}.story-tail{display:grid}.story-card{min-height:280px}.ignition-stage{min-height:270px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
