/* Local review batch: reference icons, softer accents, and mobile alignment. */
body.portfolio-site .story-icon.reference-icon,
body.portfolio-site .story-package:first-child .story-package-heading .story-icon.reference-icon{display:inline-flex;width:72px;height:72px;min-width:72px;padding:0;background:transparent;border:0;align-items:center;justify-content:center}
body.portfolio-site .reference-icon img{width:100%;height:100%;object-fit:contain;background:transparent}
body.portfolio-site .story-benefits .reference-icon{margin:0 auto 14px}
body.portfolio-site .story-more .reference-icon{margin-bottom:12px}
body.portfolio-site .project-tags{background:#f0f4f7;color:#2c2c2c}
body.portfolio-site.editorial-inquiry .editorial-hero .editorial-hero-art{background:#fff}
body.portfolio-site.editorial-inquiry .editorial-hero .editorial-hero-art img{background:transparent}
body.portfolio-site.editorial-inquiry .inquiry-form-panel{background:#f0f4f7}
body.portfolio-site.editorial-inquiry .inquiry-process{background:#fff3d6}
body.portfolio-site .notes-editorial-grid{padding-bottom:56px}
body.portfolio-site .notes-editorial .note-portal-art{height:auto;min-height:0;aspect-ratio:auto;padding:24px 22px;gap:12px;background:#f0f4f7}
body.portfolio-site .notes-editorial .note-portal-art strong{font-size:clamp(23px,2.4vw,30px)}
@media(max-width:600px){
 body.portfolio-site .story-package-heading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center}
 body.portfolio-site .story-package-heading>div{text-align:center;width:100%}
 body.portfolio-site .story-package-heading .story-icon{margin:0 auto}
 body.portfolio-site .story-package-description,body.portfolio-site .story-package-copy{text-align:center}
 body.portfolio-site .story-feature-copy{text-align:center}
 body.portfolio-site .story-feature-copy p{margin-left:auto;margin-right:auto}
 body.portfolio-site .editorial-hero-copy{text-align:center}
 body.portfolio-site .editorial-hero-copy :is(h1,p){margin-left:auto;margin-right:auto}
 body.portfolio-site .editorial-hero-actions{justify-content:center}
 body.portfolio-site.editorial-services #page-content :is(h2,h3,h4,h5,p,summary,.eyebrow,.editorial-text-link,.text-link){text-align:center}
 body.portfolio-site.editorial-services :is(.editorial-additional-grid article,.support-card,.creative-service-detail){text-align:center}
 body.portfolio-site.editorial-services :is(.story-package ul,.support-card ul,.more-packages ul,.creative-service-detail ul){text-align:center;list-style-position:inside;padding-left:0}
 body.portfolio-site.editorial-services .story-package li{padding-left:0;text-align:center}
 body.portfolio-site.editorial-services .story-package li:before{position:static;margin-right:7px}
 body.portfolio-site.editorial-services .creative-service-detail .story-button{margin-left:auto;margin-right:auto}
 body.portfolio-site .notes-editorial :is(.notes-masthead,.notes-feature-copy,.note-card,.note-portal-art){text-align:center}
 body.portfolio-site .notes-editorial :is(h1,h2,p){margin-left:auto;margin-right:auto}
 body.portfolio-site .notes-category-filters{justify-content:center}
 body.portfolio-site .notes-editorial .text-link{justify-content:center}
 body.portfolio-site .notes-editorial .note-portal-art{padding:23px 18px;align-items:center;gap:10px}
 body.portfolio-site .notes-editorial .note-portal-art>strong{font-size:27px}
 body.portfolio-site .notes-editorial-grid{padding-bottom:48px}
 body.portfolio-site.editorial-inquiry #page-content :is(h1,h2,h3,p,label,legend,.eyebrow){text-align:center}
 body.portfolio-site.editorial-inquiry :is(.inquiry-form-panel,.inquiry-examples,.inquiry-email-panel,.inquiry-process){text-align:center}
 body.portfolio-site.editorial-inquiry :is(.inquiry-examples article,.inquiry-email-panel){display:flex;flex-direction:column;align-items:center}
 body.portfolio-site.editorial-inquiry .inquiry-examples article>div{width:100%}
 body.portfolio-site.editorial-inquiry .inquiry-form-panel label{display:block}
 body.portfolio-site.editorial-inquiry :is(input,textarea,select){text-align:left}
 body.portfolio-site .garden-footer{text-align:center;align-items:center}
 body.portfolio-site .garden-footer .garden-footer-button{margin-left:auto;margin-right:auto}
}
@media(max-width:600px){
 body.portfolio-site .story-package ul{padding-left:0;text-align:center;list-style-position:inside}
 body.portfolio-site .story-package ul li{padding-left:0;text-align:center}
 body.portfolio-site .story-package ul li:before{position:static;display:inline;margin-right:7px}
 body.portfolio-site.editorial-services #page-content ul{padding-left:0;text-align:center;list-style-position:inside}
 body.portfolio-site.editorial-services #page-content ul li{text-align:center}
}
body.portfolio-site .story-package-heading{gap:0}
body.portfolio-site .story-package-heading>div{width:100%}

/* Inquiry process and alternate service panel colors for local review. */
body.portfolio-site .inquiry-process .editorial-section-heading{width:100%;max-width:none;margin-inline:auto;text-align:center}
body.portfolio-site .inquiry-process .editorial-section-heading .eyebrow{width:auto;max-width:none;white-space:nowrap;text-align:center}
body.portfolio-site .inquiry-process .editorial-section-heading h2{text-align:center}
body.portfolio-site .inquiry-process li>span{border-color:#3f5b8c}
body.portfolio-site .inquiry-process li+li:before{color:#3f5b8c}
body.portfolio-site.editorial-services #payment-billing{background:#fff3d6}
body.portfolio-site.editorial-services .more-packages{background:#eef4ec}
body.portfolio-site.editorial-services .support-card{background:#f0f4f7}
body.portfolio-site.editorial-services .story-package-copy>.package-more{margin-top:auto;padding-top:16px}
body.portfolio-site.editorial-services .editorial-hero .editorial-hero-art img{width:100%;object-fit:contain}
body.portfolio-site.notes-editorial-page .notes-feature .notes-feature-art{background:#fff}
body.portfolio-site.notes-editorial-page .notes-feature .notes-feature-art img{background:transparent}

/* Cover scale and service detail refinements. */
body.portfolio-site .editorial-project-art .journal-cover-window{height:78%;max-height:210px}
body.portfolio-site.editorial-services #payment-billing .billing-option{background:#fffcf4;border:1px solid #f1f1f1;border-radius:10px;margin:12px 0;overflow:hidden}
body.portfolio-site.editorial-services #payment-billing .billing-option>summary{padding:22px 26px}
body.portfolio-site.editorial-services #payment-billing .billing-option-content{padding:0 26px 26px;overflow-wrap:anywhere}
body.portfolio-site.editorial-services .more-packages>div>article{background:#f0f4f7}
body.portfolio-site.editorial-services .more-packages>div>article>.package-more{margin-top:auto;padding-top:18px;width:100%}
body.portfolio-site.editorial-services .more-packages>div>article>.package-start{margin-top:2px}
body.portfolio-site.editorial-services :is(.more-packages>div>article,.story-package-copy)>.package-start{width:100%;display:flex;justify-content:center;border-radius:10px;font-size:14px;padding:13px 20px;min-height:48px}
body.portfolio-site.editorial-services .more-packages .package-more>summary{width:100%;border-radius:10px;font-size:14px;padding:13px 20px;min-height:48px}
@media(max-width:600px){
 body.portfolio-site.editorial-services #payment-billing .billing-option>summary{padding:20px 18px}
 body.portfolio-site.editorial-services #payment-billing .billing-option-content{padding:0 18px 22px}
}

body.portfolio-site .story-feature .supplied-cover-collage{display:flex;align-items:center;justify-content:center;background:#fff;padding:20px;height:auto;min-height:280px}
body.portfolio-site .story-feature .supplied-cover-collage img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;transform:none;background:transparent}
@media(max-width:600px){body.portfolio-site .story-feature .supplied-cover-collage{min-height:0;padding:18px}}

/* Let the supplied collage use its native proportions and fill the image column. */
body.portfolio-site.storybook-home .story-feature .supplied-cover-collage{padding:12px;min-height:0;height:auto}
body.portfolio-site.storybook-home .story-feature .supplied-cover-collage img{width:100%;max-width:none;height:auto;aspect-ratio:auto;object-fit:contain}

/* Expanded cards follow their own content instead of stretching the whole row. */
body.portfolio-site .story-package-grid:has(.package-more[open]){align-items:start}
body.portfolio-site .story-package-grid:has(.package-more[open]) .package-more{margin-top:16px}
body.portfolio-site .more-packages>div:has(.package-more[open]){align-items:start}
body.portfolio-site .more-packages>div:has(.package-more[open])>article>.package-more{margin-top:16px}

/* Portfolio covers share a top edge and journals stay centered in their slots. */
body.portfolio-site .editorial-project-art>img{object-position:center top}
body.portfolio-site .editorial-project-art:has(.journal-cover-window){display:flex;justify-content:center;align-items:flex-start;padding:30px 12px 12px}
body.portfolio-site .editorial-project-art .journal-cover-window{flex:none;width:auto;height:78%;max-height:210px;margin:0 auto}

/* Paired service actions preserve the primary inquiry button. */
.service-detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
body.portfolio-site .service-detail-actions .story-button{flex:none;margin:0}
body.portfolio-site .service-portfolio-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:#3f5b8c;font-weight:600;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
body.portfolio-site .service-portfolio-link:hover{text-decoration-thickness:2px}
body.portfolio-site .service-portfolio-link:focus-visible{outline:3px solid #f4b125;outline-offset:4px;border-radius:3px}
@media(max-width:600px){.service-detail-actions{justify-content:center}}

/* Package reference: centered introductions and illustrated feature rows. */
body.portfolio-site .story-package .story-package-art{padding:8px;aspect-ratio:1.42}
body.portfolio-site .story-package .story-package-art img{width:100%;height:100%;object-fit:contain}
body.portfolio-site .story-package-heading,body.portfolio-site .story-package-description{text-align:center}
body.portfolio-site .story-package-heading h3{font-size:clamp(25px,2.4vw,36px)}
body.portfolio-site .story-package .story-price{margin-top:10px;text-align:center}
body.portfolio-site .story-package-copy{padding:22px 18px}
body.portfolio-site .story-package .package-feature-list{list-style:none;padding:0;margin:8px 0 22px;display:flex;flex-direction:column;gap:9px}
body.portfolio-site .story-package .package-feature-list>li{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid #eee8de;border-radius:12px;background:#fff;text-align:left;line-height:1.4;box-shadow:0 2px 7px #2c2c2c04}
body.portfolio-site .story-package .package-feature-list>li:before{display:none}
.package-feature-icon{display:flex;align-items:center;justify-content:center;width:44px;height:48px;flex:0 0 44px;border-radius:10px;background:#fff0c9;color:#3f5b8c}
.package-feature-list li:nth-child(even) .package-feature-icon{background:#f0f4f7}
.package-feature-icon svg{width:28px;height:28px}
.package-feature-list li>span:last-child{min-width:0;display:block}
.package-feature-list strong{display:block;font:700 14px/1.3 Arial,sans-serif;color:#2c2c2c;margin-bottom:3px}
.package-feature-list strong+span{display:block;font-size:12px;color:#555}
body.portfolio-site .story-package-copy>.package-start{margin-top:auto;margin-bottom:12px}
body.portfolio-site.editorial-services .story-package-copy>.package-more{padding-top:0;margin-top:0}
body.portfolio-site .story-package-copy>.story-button.outline{width:100%;margin-top:0}
body.portfolio-site .story-package-grid:has(.package-more[open]) .story-package-copy>.package-start{margin-top:0}
@media(max-width:600px){
 body.portfolio-site .story-package-grid{max-width:470px}
 body.portfolio-site .story-package .story-package-art{aspect-ratio:1.4;padding:6px}
 body.portfolio-site .story-package-copy{padding:20px 16px}
 body.portfolio-site .story-package-heading h3{font-size:30px}
 body.portfolio-site .story-package .package-feature-list>li{text-align:left}
 .package-feature-list strong{font-size:15px}
 .package-feature-list strong+span{font-size:13px}
}

/* Feature colors are consistent between packages, not assigned by row order. */
body.portfolio-site .package-feature-list .feature-layout{background:#fff0c9}
body.portfolio-site .package-feature-list .feature-cover{background:#e0edf8}
body.portfolio-site .package-feature-list .feature-type{background:#eee5f6}
body.portfolio-site .package-feature-list .feature-revisions{background:#e4efdf}
body.portfolio-site .package-feature-list .feature-files{background:#fae3d8}
body.portfolio-site .package-feature-list .feature-character{background:#f8e1eb}
body.portfolio-site .package-feature-list .feature-pages{background:#dcf0ed}
body.portfolio-site .package-feature-list .feature-review{background:#e5e8f4}
body.portfolio-site .package-feature-list .feature-meetings{background:#f7e8cf}

/* Other Design previews: neutral surfaces and more room for the artwork. */
body.portfolio-site.editorial-work #page-content .other-design-card .editorial-project-art{display:flex;align-items:center;justify-content:center;background:#f1f1f1;padding:8px}
body.portfolio-site.editorial-work #page-content .other-design-card .editorial-project-art>img{width:100%;height:100%;object-fit:contain;object-position:center;transform:scale(1.14)}
body.portfolio-site.editorial-work #page-content .other-design-card:hover .editorial-project-art>img{transform:scale(1.16)}
body.portfolio-site.editorial-work #page-content .other-design-card[data-asset="adventure-girl-logo"] .editorial-project-art>img{mix-blend-mode:multiply}
body.portfolio-site.editorial-work #page-content .other-design-card[data-asset="btba-large-envelope"] .editorial-project-art>img{transform:scale(1.08)}

/* Clear neutral surfaces and readable inquiry fields. */
body.portfolio-site.editorial-services #payment-billing{background:#f1f4f7;border-color:#d8dfe6}
body.portfolio-site.editorial-services #payment-billing .billing-option{background:#fff;border-color:#d8dfe6}
body.portfolio-site.notes-editorial-page #page-content .notes-feature .notes-feature-art,
body.portfolio-site.notes-editorial-page #page-content .note-card img,
body.portfolio-site.notes-editorial-page #page-content .note-portal-art{background:#f1f1f1}
body.portfolio-site.notes-editorial-page #page-content .notes-feature .notes-feature-art img{background:transparent}
body.portfolio-site.editorial-inquiry #page-content .inquiry-form-panel{background:#e5edf5;border:1px solid #b9c9da}
body.portfolio-site.editorial-inquiry #project-inquiry-form :is(input,select,textarea){background:#fff;border:1px solid #879bb0;color:#2c2c2c}
body.portfolio-site.editorial-inquiry #project-inquiry-form :is(input,textarea)::placeholder{color:#596574;opacity:1}
body.portfolio-site.editorial-inquiry #project-inquiry-form fieldset{border-color:#9bafc3}
/* Consistent contrast between portfolio artwork and project descriptions. */
body.portfolio-site.editorial-work #page-content .editorial-project-card{background:#fff;border-color:#d7dce2}
body.portfolio-site.editorial-work #page-content .editorial-project-card .editorial-project-art{background:#f1f1f1;border-bottom:1px solid #d7dce2}
body.portfolio-site.editorial-work #page-content .editorial-project-card .editorial-project-copy{background:#fff}
body.portfolio-site.editorial-work #page-content .editorial-work-section{background:#fff}
/* Comfortable spacing throughout expanded billing information. */
body.portfolio-site.editorial-services #payment-billing .billing-option-content{padding-top:4px;padding-bottom:30px;line-height:1.7}
body.portfolio-site.editorial-services #payment-billing .billing-option-content p+p{margin-top:16px}
body.portfolio-site.editorial-services #payment-billing .billing-option-content h3{margin:26px 0 12px;line-height:1.25}
body.portfolio-site.editorial-services #payment-billing .billing-option-content ul{margin:14px 0 22px;padding-left:24px}
body.portfolio-site.editorial-services #payment-billing .billing-option-content li+li{margin-top:8px}

body.portfolio-site.storybook-home #home-content .story-more{background:#fdf3d9}
body.portfolio-site.notes-editorial-page #page-content .notes-feature .notes-feature-art{background:#fff}
body.portfolio-site.notes-editorial-page #page-content .notes-cover-spread{display:grid;grid-template-columns:1fr 1.7fr;align-items:center;gap:12px;width:100%;background:#fff}
body.portfolio-site.notes-editorial-page #page-content .notes-cover-spread .notes-feature-cover{width:100%;height:auto;object-fit:contain;background:transparent}
body.portfolio-site.notes-editorial-page #page-content .notes-cover-spread .note-spread-window img{position:absolute;width:108%;max-width:none;height:auto;left:-4%;top:-217%;background:transparent}

body.portfolio-site .package-dialog{position:fixed;inset:0;margin:auto;width:min(850px,calc(100% - 32px));max-height:85dvh;box-sizing:border-box;padding:36px;border:1px solid #d7dce2;border-radius:16px;background:#fff;color:#2c2c2c;overflow-y:auto;text-align:left;box-shadow:0 20px 70px #0003}
.package-dialog::backdrop{background:#18233299}
body.portfolio-site .package-dialog>h2{padding-right:35px;margin:0 0 24px;font-size:34px}
body.portfolio-site .package-dialog .package-more-content{padding:0;margin:0;display:block}
body.portfolio-site .package-dialog .package-more-content h4{margin:24px 0 12px}
body.portfolio-site .package-dialog .package-more-content p{margin:0 0 16px;line-height:1.65}
body.portfolio-site .package-dialog>.story-button{margin-top:24px}
body.portfolio-site .package-dialog-close{position:absolute;right:16px;top:12px;font-size:30px;min-width:44px;min-height:44px;color:#3f5b8c}
body.portfolio-site .story-package-copy>.package-modal-trigger{margin-top:12px;justify-content:center}
@media(max-width:600px){body.portfolio-site .package-dialog{padding:26px 20px}body.portfolio-site .package-dialog>h2{font-size:28px}}

body.portfolio-site.notes-editorial-page #page-content .notes-feature .notes-feature-art img.supplied-baby-preview{width:100%;height:auto;max-height:none;object-fit:contain;background:transparent}

@media(max-width:1000px){body.portfolio-site.notes-editorial-page #page-content .notes-feature-copy{text-align:center}body.portfolio-site.notes-editorial-page #page-content .notes-feature-copy p{margin-left:auto;margin-right:auto}}

/* Oval editorial image treatments. */
body.portfolio-site .about-editorial-hero .editorial-hero-art{display:flex;align-items:center;justify-content:center;background:#fff;padding:28px;overflow:visible}
body.portfolio-site .about-editorial-hero .editorial-hero-art img{display:block;width:100%;max-width:460px;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 35%;border-radius:50%}
body.portfolio-site .notes-feature .notes-feature-art{position:relative;isolation:isolate;background:#fff;overflow:visible}
body.portfolio-site .notes-feature .notes-feature-art:before{content:"";position:absolute;inset:12% 2%;border-radius:50%;background:#fdf3d9;z-index:-1;pointer-events:none}
body.portfolio-site .notes-feature .notes-feature-art img{position:relative;background:transparent}
@media(max-width:767px){body.portfolio-site .about-editorial-hero .editorial-hero-art{padding:24px}body.portfolio-site .about-editorial-hero .editorial-hero-art img{max-width:360px}}
