/* v0.15 compositions and visual studio. Scope styling to opt-in page layouts. */
.studio-preview-workspace{background:var(--surface);border:1px solid var(--stroke);border-radius:22px;margin:24px 0 36px;padding:22px;min-width:0;overflow:hidden}
.studio-preview-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.studio-preview-heading h2{margin:4px 0 6px;font-size:clamp(22px,3vw,34px);letter-spacing:-.04em}.studio-preview-heading p{font-size:13px;color:var(--muted);max-width:530px;margin:0 0 14px}
.preview-draft-state{background:var(--soft);color:var(--ink);border-radius:20px;padding:8px 12px;font-weight:800;font-size:11px;white-space:nowrap}
.studio-preview-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:14px 0}.studio-preview-controls>label{font-size:12px;font-weight:800;display:grid;gap:5px}.studio-preview-controls select{min-width:160px;height:40px;padding:6px 10px;border-radius:10px;border:1px solid var(--stroke);background:var(--surface);color:var(--ink)}
.studio-device-toggle{display:flex;gap:5px;padding:3px;border:1px solid var(--stroke);border-radius:12px;margin:0;min-width:0}.studio-device-toggle button{background:transparent;color:var(--ink);border:0;padding:9px 11px;border-radius:9px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.studio-device-toggle button[aria-pressed='true']{background:var(--ink);color:var(--surface)}
.studio-preview-stage{background:#211e27;border-radius:19px;overflow:hidden;position:relative;min-height:616px;padding:16px;display:flex;align-items:flex-start;justify-content:center;max-width:100%}
.studio-preview-framewrap{position:relative;flex:none;width:780px;height:572px;overflow:hidden;border:6px solid #3d3b43;background:white;border-radius:12px;box-shadow:0 10px 35px #0004}
.studio-preview-stage iframe{border:0;display:block;width:1200px;height:880px;transform:scale(.64);transform-origin:top left;pointer-events:none;background:#fff}
.studio-preview-stage[data-device='mobile'] .studio-preview-framewrap{width:414px;height:572px;border-radius:28px;border:8px solid #46444d;box-sizing:border-box}
.studio-preview-stage[data-device='mobile'] iframe{width:390px;height:570px;transform:none}
.studio-preview-hint{font-size:11px;color:var(--muted);line-height:1.5;padding-top:10px;margin:0}
/* cinematic spotlight: immersive hero and stage-like mastheads */
[data-page='home'][data-page-layout='spotlight'] .hero{grid-template-columns:1fr;min-height:610px;position:relative;background:#18141d;border-radius:8px;isolation:isolate}
[data-page='home'][data-page-layout='spotlight'] .hero-visual{position:absolute;inset:0;width:100%;height:100%;opacity:.9}
[data-page='home'][data-page-layout='spotlight'] .hero-photo{inset:0;background-position:var(--hero-position) center!important;background-size:cover!important}
[data-page='home'][data-page-layout='spotlight'] .hero-copy{position:relative;z-index:2;grid-area:1/1;min-height:610px;max-width:none;display:flex;flex-direction:column;justify-content:end;align-items:start;padding:50px 8%;background:linear-gradient(0deg,#13101af5 0%,#16101ad0 45%,transparent 100%)}
[data-page='home'][data-page-layout='spotlight'] .hero-copy h1{font:400 clamp(48px,6.5vw,91px)/.96 Georgia,serif;letter-spacing:-.075em;color:#fff;max-width:860px}
[data-page='home'][data-page-layout='spotlight'] .hero-copy p,[data-page='home'][data-page-layout='spotlight'] .hero-bottom-note{color:#fff0f6}
[data-page='home'][data-page-layout='spotlight'] .hero .btn.outline{border-color:#fff;color:#fff}
[data-page-layout='spotlight'] .standard-page .heading{background:linear-gradient(125deg,var(--ink),color-mix(in srgb,var(--ink),var(--accent) 25%));color:var(--surface);border-radius:8px;padding:48px 42px;min-height:230px}
[data-page-layout='spotlight'] .standard-page .heading h1{color:inherit;font:400 clamp(44px,5vw,72px)/1 Georgia,serif}
[data-page-layout='spotlight'] .standard-page .heading .eyebrow,[data-page-layout='spotlight'] .standard-page .heading p{color:inherit;opacity:.85}
/* mosaic: asymmetrical grid, whimsical tiles */
[data-page='home'][data-page-layout='mosaic'] .hero{grid-template-columns:55% 45%;background:var(--soft);border:4px solid var(--ink);border-radius:28px;box-shadow:12px 12px 0 var(--secondary);min-height:450px}
[data-page='home'][data-page-layout='mosaic'] .hero-copy{padding:48px 24px 42px 40px}
[data-page='home'][data-page-layout='mosaic'] .hero-copy h1{font-size:clamp(43px,4vw,70px);letter-spacing:-.075em;transform:rotate(-1deg)}
[data-page='home'][data-page-layout='mosaic'] .hero-visual{transform:rotate(3deg) scale(.93);border-radius:22px;overflow:hidden}
[data-page='home'][data-page-layout='mosaic'] .category-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:15px}
[data-page='home'][data-page-layout='mosaic'] .category-tile:nth-child(3n + 1){grid-row:span 2;min-height:200px}
[data-page-layout='mosaic'] .standard-page .heading{border-radius:18px;background:var(--soft);border:3px solid var(--ink);box-shadow:8px 8px 0 var(--secondary);padding:34px;transform:rotate(-.5deg)}
[data-page-layout='mosaic'] .standard-page .posts-grid,[data-page-layout='mosaic'] .standard-page .group-grid,[data-page-layout='mosaic'] .standard-page .people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px}
[data-page-layout='mosaic'] .standard-page .post-card:nth-child(3n+1),[data-page-layout='mosaic'] .standard-page .group-card:nth-child(3n+1){grid-row:span 2}
[data-page-layout='mosaic'] .standard-page .post-card,[data-page-layout='mosaic'] .standard-page .group-card{border:2px solid var(--ink);box-shadow:5px 5px 0 var(--secondary)}
/* story: quiet long-form editorial hierarchy */
[data-page='home'][data-page-layout='story'] .hero{grid-template-columns:1fr;min-height:0;display:flex;flex-direction:column-reverse;background:transparent;border:0;border-bottom:1px solid var(--ink);border-radius:0;box-shadow:none}
[data-page='home'][data-page-layout='story'] .hero-visual{position:relative;height:340px;width:100%;order:0;overflow:hidden}
[data-page='home'][data-page-layout='story'] .hero-visual .hero-photo{inset:0;background-position:var(--hero-position) 40%!important;background-size:cover!important}
[data-page='home'][data-page-layout='story'] .hero-copy{order:1;padding:26px 0 38px;max-width:100%;width:100%;min-height:0}
[data-page='home'][data-page-layout='story'] .hero-copy h1{font:400 clamp(55px,8vw,110px)/.93 Georgia,serif;letter-spacing:-.085em;max-width:900px}
[data-page='home'][data-page-layout='story'] .hero-copy p{max-width:580px}
[data-page='home'][data-page-layout='story'] .hero-sticker{display:none}
[data-page='home'][data-page-layout='story'] .category-tile{border-radius:1px;border-top:1px solid var(--ink)}
[data-page-layout='story'] .standard-page .heading{border-bottom:2px solid var(--ink);border-radius:0;background:transparent;padding:24px 0 46px}
[data-page-layout='story'] .standard-page .heading h1{font:400 clamp(48px,7vw,95px)/.95 Georgia,serif;letter-spacing:-.08em;max-width:800px}
[data-page-layout='story'] .standard-page .post-card,[data-page-layout='story'] .standard-page .group-card,[data-page-layout='story'] .standard-page .person-card{border-radius:0;box-shadow:none;border-left:0;border-right:0}
[data-page-layout='story'] .standard-page .posts-grid{display:grid;grid-template-columns:1fr;gap:6px}
[data-page-layout='story'] .standard-page .section-head h2{font-family:Georgia,serif;font-weight:400}
@media(max-width:940px){.studio-preview-heading{flex-direction:column}.studio-preview-stage[data-device='desktop'] .studio-preview-framewrap{width:555px;height:410px}.studio-preview-stage[data-device='desktop'] iframe{transform:scale(.45)}.studio-preview-stage[data-device='desktop']{min-height:455px}}
@media(max-width:600px){.studio-preview-workspace{padding:13px;margin:15px 0}.studio-preview-controls{gap:8px}.studio-preview-stage{padding:8px;min-height:510px}.studio-preview-stage[data-device='desktop'] .studio-preview-framewrap{width:340px;height:251px;border-width:4px}.studio-preview-stage[data-device='desktop'] iframe{transform:scale(.277)}.studio-preview-stage[data-device='desktop']{min-height:280px}.studio-preview-stage[data-device='mobile'] .studio-preview-framewrap{width:390px;max-width:100%;height:555px;border-width:4px}.studio-preview-stage[data-device='mobile'] iframe{transform:scale(.95);transform-origin:top left}.studio-device-toggle button{padding:8px 6px;font-size:10px}.studio-preview-controls select{min-width:135px}[data-page='home'][data-page-layout='spotlight'] .hero{min-height:525px}[data-page='home'][data-page-layout='spotlight'] .hero-copy{min-height:525px;padding:30px 20px}[data-page='home'][data-page-layout='spotlight'] .hero-copy h1{font-size:clamp(44px,10vw,62px)}[data-page='home'][data-page-layout='mosaic'] .hero{display:flex;flex-direction:column;box-shadow:5px 5px 0 var(--secondary)}[data-page='home'][data-page-layout='mosaic'] .hero-copy{padding:25px}[data-page='home'][data-page-layout='mosaic'] .hero-visual{position:relative;width:100%;height:230px;transform:none}[data-page='home'][data-page-layout='mosaic'] .category-row{grid-template-columns:1fr 1fr}[data-page='home'][data-page-layout='mosaic'] .category-tile:nth-child(3n + 1){grid-row:auto;min-height:110px}[data-page-layout='mosaic'] .standard-page .posts-grid,[data-page-layout='mosaic'] .standard-page .group-grid,[data-page-layout='mosaic'] .standard-page .people-grid{grid-template-columns:1fr}[data-page='home'][data-page-layout='story'] .hero-visual{height:245px}[data-page='home'][data-page-layout='story'] .hero-copy h1{font-size:clamp(45px,12vw,70px)}}

/* One-click complete art directions; all changes remain draft-only. */
.studio-site-recipes{margin:30px 0 38px;min-width:0}.studio-site-recipes>h2{font:400 clamp(27px,3vw,38px)/1.1 Georgia,serif;letter-spacing:-.045em;margin:8px 0}
.studio-site-recipes>p{font-size:12px;line-height:1.6;color:var(--muted);max-width:730px;margin:0 0 17px}
.studio-recipe-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.studio-recipe{border:1px solid var(--stroke);border-radius:15px;overflow:hidden;background:var(--surface);min-width:0}
.recipe-visual{height:144px;background:var(--recipe-bg);color:var(--recipe-ink);padding:13px;display:grid;grid-template-columns:1fr 43%;gap:6px}
.recipe-masthead{min-width:0;display:flex;flex-direction:column;gap:7px;justify-content:center}.recipe-masthead small{font-size:11px;font-weight:1000}.recipe-masthead b{font-size:clamp(14px,1.4vw,23px);letter-spacing:-.075em;line-height:1.02}.recipe-masthead i{width:50%;height:6px;background:var(--recipe-accent)}
.recipe-image{background:var(--recipe-image) center/cover;border-radius:3px}
.recipe-description{padding:14px;display:flex;flex-direction:column;gap:7px;min-height:151px}.recipe-description h3{font-size:14px;margin:0}.recipe-description p{font-size:11px;line-height:1.5;color:var(--muted);flex:1;margin:0}.recipe-description .btn{font-size:10px;width:100%;white-space:normal;padding:9px 4px}
.recipe-playful{--recipe-bg:#fff0f7;--recipe-ink:#251429;--recipe-accent:#f72b95;--recipe-image:url('../assets/images/hero-playful.webp')}.recipe-playful .recipe-masthead b{font-weight:1000;transform:rotate(-2deg)}
.recipe-magazine{--recipe-bg:#f0ede6;--recipe-ink:#241d1e;--recipe-accent:#9e2e43;--recipe-image:url('../assets/images/hero-clean.webp')}.recipe-magazine .recipe-masthead b{font-family:Georgia,serif;font-weight:400;font-size:24px}.recipe-magazine .recipe-image{filter:grayscale(1)}
.recipe-afterhours{--recipe-bg:#140e1a;--recipe-ink:#fcf0e8;--recipe-accent:#dbac72;--recipe-image:url('../assets/images/hero-neon.webp')}.recipe-afterhours .recipe-masthead b{font:400 23px Georgia,serif}
.recipe-atelier{--recipe-bg:#faf8f6;--recipe-ink:#292427;--recipe-accent:#292427;--recipe-image:url('../assets/images/hero-clean.webp')}.recipe-atelier .recipe-image{filter:grayscale(1)}.recipe-atelier .recipe-masthead b{font:400 22px Georgia,serif}
.recipe-collage{--recipe-bg:#ffeabf;--recipe-ink:#211626;--recipe-accent:#fb2f85;--recipe-image:url('../assets/images/hero-collage.webp')}.recipe-collage .recipe-image{transform:rotate(5deg);border:5px solid #fff}
@media(max-width:1320px){.studio-recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.studio-recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-description{min-height:169px}}
@media(max-width:355px){.studio-recipe-grid{grid-template-columns:1fr}}
