/* Character studio: illustration-led editorial layout. */
.character-hero-layout{max-width:1136px;margin:0 auto 40px;display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}
.character-hero-layout .studio-intro{text-align:left;margin:0;max-width:none}
.character-hero-layout .studio-intro h1{font-size:clamp(36px,4.1vw,62px);line-height:1.08;letter-spacing:-.035em;margin:18px 0 22px}
.character-hero-layout .studio-intro>p:last-child{font-size:16px;line-height:1.8;max-width:480px}
.character-hero-layout .page-breadcrumb{justify-content:flex-start}
.character-hero-art{height:310px;position:relative;isolation:isolate}
.character-hero-art img{position:absolute;object-fit:cover;border:6px solid #fffdf5;border-radius:90px 90px 18px 18px;box-shadow:0 16px 35px #234b3320}
.character-hero-left{width:36%;height:82%;left:0;top:10%;transform:rotate(-9deg);object-position:center 25%}
.character-hero-main{width:48%;height:100%;left:25%;top:0;z-index:2;object-position:46% center}
.character-hero-right{width:37%;height:82%;right:0;top:12%;transform:rotate(9deg);object-position:34% center}
.character-examples,.character-sheet-section,.character-guide{max-width:1248px;padding-top:76px;padding-bottom:76px}
.character-section-heading{max-width:none;display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:36px}
.character-section-heading h2,.character-prompt-guide h2{font-size:clamp(32px,3.5vw,48px);font-family:var(--story-font,Georgia,serif);font-weight:400;line-height:1.14;letter-spacing:-.025em;margin:0}
.character-section-heading h2 em,.character-prompt-guide h2 em{color:#7b9169;font-weight:400}
.character-section-heading>p{max-width:350px;font-size:15px;line-height:1.8;margin:0 0 4px;color:#64735d}
.character-example-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.character-example-grid article{border:0;border-radius:22px;background:#f0f1e7;box-shadow:none;overflow:hidden}
.character-example-grid article>.character-art-frame{padding:0;background:#e9eddf;height:360px;overflow:hidden}
.character-example-grid .character-art-frame img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;display:block}
.character-idea-courier .character-art-frame img{object-fit:contain;background:#f5edd8}
.character-idea-reader .character-art-frame img{object-position:33% center}
.character-idea-sky .character-art-frame img{object-position:46% center}
.character-example-grid article>.character-card-copy{padding:26px}
.character-example-grid h3{font:500 23px/1.25 var(--story-font,Georgia,serif);letter-spacing:-.02em;margin:0 0 12px;color:#294f3b}
.character-example-grid .character-card-copy>p{font-size:14px;line-height:1.75;min-height:74px;margin:0 0 20px;color:#64735d}
.character-idea-button,.character-example-grid .character-idea-button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;border:0;border-bottom:1px solid #9bac8d;border-radius:0;background:transparent;color:#315d42;font:600 14px/1.5 var(--body,Arial,sans-serif);padding:10px 0;cursor:pointer;text-align:left}
.character-idea-button:hover,.character-example-grid .character-idea-button:hover{background:transparent;color:#142f20;border-color:#315d42}
.character-idea-button:focus-visible{outline:2px solid #315d42;outline-offset:5px}
.character-example-grid details{margin:18px 0 0;font-size:12px}
.character-example-grid details p{font-size:13px;line-height:1.7}
.character-sheet-section{padding-top:28px}
.character-sheet-row{display:grid;grid-template-columns:1.7fr 1fr;align-items:center;gap:50px;margin-top:30px}
.character-sheet-row+ .character-sheet-row{margin-top:56px;grid-template-columns:1fr 1.7fr}
.character-sheet-row+ .character-sheet-row figure{order:2}
.character-sheet-row figure{margin:0;border:1px solid #e4e7d9;border-radius:22px;overflow:hidden;background:#f7f3e8}
.character-sheet-row img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.character-sheet-copy h3{font:400 clamp(26px,2.5vw,34px)/1.2 var(--story-font,Georgia,serif);letter-spacing:-.025em;color:#294f3b;margin:0 0 18px;max-width:300px}
.character-sheet-copy p{font-size:15px;line-height:1.8;color:#64735d;margin:0 0 22px;max-width:350px}
.character-guide{padding-top:16px}
.character-prompt-guide{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;max-width:none;margin:0 0 80px;padding:44px 0;border-top:1px solid #dde5d2}
.character-prompt-guide>div>p{font-size:15px;line-height:1.8;max-width:360px;margin:22px 0 0}
.character-prompt-notebook{background:#edf1e3;border-radius:20px;padding:30px 34px}
.character-prompt-guide blockquote{margin:0 0 18px;padding:0;border:0;background:none;font:400 21px/1.6 var(--story-font,Georgia,serif);color:#355b42}
.character-next{padding-top:40px}
.character-next h2{font:400 clamp(28px,3vw,38px)/1.2 var(--story-font,Georgia,serif);margin:0 0 28px}
.character-next>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.character-next a{width:auto;margin:0;border-radius:16px;overflow:hidden;background:#eff1e6;text-decoration:none}
.character-next img{display:block;width:100%;height:180px;object-fit:cover}
.character-next a>span{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;font-size:14px;line-height:1.5;color:#355b42}
@media(max-width:900px){.character-hero-layout{gap:24px}.character-hero-art{height:260px}.character-example-grid{gap:16px}.character-example-grid article>.character-art-frame{height:300px}.character-example-grid article>.character-card-copy{padding:20px}.character-sheet-row{gap:30px}.character-prompt-guide{gap:30px}.character-next>div{gap:16px}}
@media(max-width:650px){.character-hero-layout{grid-template-columns:1fr;gap:26px;margin-bottom:30px}.character-hero-layout .studio-intro{text-align:center}.character-hero-layout .studio-intro h1{font-size:38px}.character-hero-layout .studio-intro>p:last-child{font-size:15px}.character-hero-art{max-width:350px;width:100%;height:240px;margin:auto}.character-section-heading{display:block;margin-bottom:26px}.character-section-heading>p{margin:20px 0 0;max-width:none}.character-example-grid{grid-template-columns:1fr;gap:24px}.character-example-grid article>.character-art-frame{height:380px}.character-example-grid .character-card-copy>p{min-height:0}.character-sheet-row,.character-sheet-row+ .character-sheet-row{grid-template-columns:1fr;gap:24px}.character-sheet-row+ .character-sheet-row figure{order:0}.character-sheet-copy h3,.character-sheet-copy p{max-width:none}.character-sheet-copy{padding:0 4px}.character-prompt-guide{grid-template-columns:1fr;gap:26px;margin-bottom:48px}.character-prompt-notebook{padding:26px}.character-next>div{grid-template-columns:1fr}.character-next img{height:200px}.character-examples,.character-sheet-section,.character-guide{padding-top:48px;padding-bottom:24px}}

.character-hero-layout .studio-intro>p:last-child{margin-left:0;margin-right:0}@media(max-width:650px){.character-hero-layout .studio-intro>p:last-child{margin-left:auto;margin-right:auto}}
body.authenticated-workspace .character-hero-art{display:none}body.authenticated-workspace .character-hero-layout{display:block;max-width:1160px;margin:0 auto}

/* Keep the character workbench in the first screen. */
body.tool-page .character-hero-layout{gap:24px;margin-bottom:18px;grid-template-columns:minmax(0,1fr) 180px}
body.tool-page .character-hero-layout .studio-intro h1{font-size:clamp(28px,3vw,40px);margin:8px 0 10px}
body.tool-page .character-hero-art{max-height:130px;overflow:hidden}
body.tool-page .character-hero-art img{max-height:130px;object-fit:contain}
@media(max-width:700px){body.tool-page .character-hero-layout{grid-template-columns:1fr;gap:0}body.tool-page .character-hero-art{display:none}}
