/* Moss Print field notes. Loaded only for editable editorial pages. */
.moss-editorial-page{--ed-bg:#f1eee6;--ed-art:#ddd9c8;--ed-card:#f7f3e8;--ed-accent:#e65d44}
.moss-page-about{--ed-bg:#eeeee7;--ed-art:#d7ddce;--ed-card:#f7f3e8}
.moss-page-contact{--ed-bg:#f3ede7;--ed-art:#e9d5c7;--ed-card:#fff8ed}
.moss-page-faq{--ed-bg:#f0f0e8;--ed-art:#dce1d5;--ed-card:#faf7ed}
.moss-page-artwork-guide{--ed-bg:#e9ece6;--ed-art:#cbd7cc;--ed-card:#f7f7ef}
.moss-page-materials{--ed-bg:#f3efe6;--ed-art:#e3d9c7;--ed-card:#fbf6e9}
.moss-page-processes{--ed-bg:#e9eae3;--ed-art:#d6d5c5;--ed-card:#f7f4e9}
.moss-page-samples{--ed-bg:#f0eae7;--ed-art:#e7d8d5;--ed-card:#fdf7ed}
.moss-page-how-to-order{--ed-bg:#f0eee7;--ed-art:#d8decf;--ed-card:#f9f5e9}

/* Navigation and controls inherit the shared catalog structure. */
.moss-header-search button img{display:block;width:22px;height:22px;margin:auto}
.moss-site-header{box-shadow:0 1px 0 #282c2410}
.moss-editorial-page~.moss-bottom-cta .moss-button,
.moss-catalog:has(.moss-editorial-page) .moss-header-quote,
.moss-catalog:has(.moss-editorial-page) .moss-button,
.moss-catalog:has(.moss-editorial-page) .wp-block-button__link{border-radius:7px}

/* One printed cover for each page, with a different surface and craft drawing. */
.moss-editorial-hero{background:var(--ed-bg);overflow:hidden}
.moss-editorial-hero-inner{grid-template-columns:minmax(0,1.02fr) minmax(390px,.98fr);gap:clamp(35px,6vw,105px);min-height:495px;padding-block:48px 58px}
.moss-editorial-head{min-width:0}
.moss-editorial-head .eyebrow{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.14em}
.moss-editorial-head .eyebrow:before{content:'';width:22px;height:1px;background:var(--ed-accent)}
.moss-editorial-head h1{font-size:clamp(52px,5.8vw,84px);line-height:1.02;margin:22px 0 24px;max-width:13ch;letter-spacing:-.055em}
.moss-editorial-intro{max-width:52ch;font-size:17px;line-height:1.68;color:#5a5f55}
.moss-editorial-rule{display:block;width:125px;height:1px;margin-top:35px;background:linear-gradient(90deg,var(--ed-accent) 0 30px,#b9beb2 30px 100%)}
.moss-editorial-art{height:382px;border:0;border-radius:7px;background:var(--ed-art);overflow:hidden}
.moss-editorial-abstract{position:relative;width:100%;height:100%;display:block;background:var(--ed-art);isolation:isolate}
.moss-editorial-abstract:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(107deg,#fff2 0 1px,transparent 1px 8px);opacity:.37;pointer-events:none}
.moss-art-sheet{position:absolute;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 18px 30px #25281c1d}
.moss-art-sheet-back{width:54%;height:73%;left:15%;top:10%;background:#efeadc;transform:rotate(-13deg)}
.moss-art-sheet-back:after{content:'';position:absolute;inset:15px;border:1px solid #d5cbb8}
.moss-art-sheet-front{width:54%;height:72%;left:32%;top:17%;background:var(--ed-card);padding:18px 20px 17px;transform:rotate(7deg);align-items:center}
.moss-art-edition,.moss-art-caption,.moss-art-side-note{font:600 10px/1.35 var(--sans);letter-spacing:.13em;color:#596052;text-align:center}
.moss-art-edition{align-self:flex-start}
.moss-art-caption{align-self:flex-end;max-width:18ch;text-align:right}
.moss-art-sheet-front img{width:min(42%,154px);height:auto;aspect-ratio:1;object-fit:contain;transform:rotate(-7deg)}
.moss-art-side-note{position:absolute;left:17px;bottom:14px;text-align:left;color:#68715f;font-size:9px;line-height:1.42;transform:rotate(-90deg);transform-origin:left bottom}
.moss-page-about .moss-art-sheet-front{transform:rotate(4deg)}
.moss-page-processes .moss-art-sheet-front{transform:rotate(-5deg);left:30%}
.moss-page-samples .moss-art-sheet-back{transform:rotate(11deg);left:17%}
.moss-page-artwork-guide .moss-art-sheet-front{transform:rotate(-2deg)}

/* Editable WordPress body reads like a compact field guide. */
.moss-editorial-layout{grid-template-columns:minmax(0,1fr) 245px;gap:clamp(52px,7vw,120px);padding-block:76px 104px}
.moss-editorial-content{max-width:840px;counter-reset:moss-section}
.moss-rich-content{font-size:16px;line-height:1.76;color:#495048}
.moss-editorial-content>h2{counter-increment:moss-section;display:grid;grid-template-columns:51px minmax(0,1fr);gap:12px;align-items:baseline;border-top:1px solid #d4d6ca;padding-top:28px;margin:36px 0 17px;font-size:clamp(29px,2.8vw,42px);line-height:1.16;letter-spacing:-.035em}
.moss-editorial-content>h2:first-child{margin-top:0}
.moss-editorial-content>h2:before{content:counter(moss-section, decimal-leading-zero);font:italic 24px/1 var(--serif);color:var(--action);letter-spacing:0}
.moss-editorial-content>h2+p{margin-left:63px;max-width:67ch}
.moss-page-how-to-order .moss-editorial-content>h2{display:block}
.moss-page-how-to-order .moss-editorial-content>h2:before{display:none}
.moss-page-how-to-order .moss-editorial-content>h2+p{margin-left:0}
.moss-editorial-content>p:last-child:has(>a){display:flex;flex-wrap:wrap;gap:10px;margin:45px 0 0 63px}
.moss-editorial-content>p:last-child>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border:1px solid var(--ink);border-radius:7px;color:var(--ink);font-weight:600;text-decoration:none;font-size:13px}
.moss-editorial-content>p:last-child>a:first-child{background:var(--ink);color:#fff}
.moss-editorial-content>p:last-child>a:hover{border-color:var(--action);background:var(--action);color:#fff}
.moss-rich-content li::marker{color:var(--action)}
.moss-rich-content blockquote{border-left-width:2px}
.moss-rich-content .wp-block-button__link{border-radius:7px}

.moss-editorial-aside{top:178px;padding-top:23px;border-top:1px solid #c7cbbd}
.moss-aside-doodle{display:block;width:56px;height:56px;margin-bottom:22px;object-fit:contain}
.moss-editorial-aside .eyebrow{font-size:10px}
.moss-editorial-aside h2{font-size:27px;line-height:1.15;margin:10px 0 26px}
.moss-editorial-aside>a{font-size:13px;padding-block:13px;border-color:#dadcd1}
.moss-editorial-aside>a span{transition:transform .2s}
.moss-editorial-aside>a:hover span{transform:translate(2px,-2px)}

/* The inquiry page is a working form, treated as a clear next step. */
.moss-contact-section{grid-template-columns:minmax(0,.83fr) minmax(0,1fr);gap:clamp(35px,6vw,90px);padding-top:76px}
.moss-contact-intro .eyebrow{display:flex;align-items:center;gap:12px}
.moss-contact-intro .eyebrow:before{content:'';width:20px;height:1px;background:var(--action)}
.moss-contact-form{border-radius:7px;border:1px solid #dedfd4;background:#f0efe9;padding:clamp(24px,3vw,42px)}
.moss-contact-form .moss-inquiry-form input,.moss-contact-form .moss-inquiry-form textarea{border-radius:5px}

/* Full-width closing band as the last printed page. */
.moss-catalog:has(.moss-editorial-page) .moss-bottom-cta{position:relative;overflow:hidden;padding-block:68px;background:#59644f}
.moss-catalog:has(.moss-editorial-page) .moss-bottom-cta:after{content:'';position:absolute;right:3%;top:0;width:190px;height:190px;background:url('./icons/foil-spark.svg') center/contain no-repeat;filter:brightness(0) invert(1);opacity:.16;transform:rotate(-15deg);pointer-events:none}
.moss-catalog:has(.moss-editorial-page) .moss-bottom-cta-inner{position:relative;z-index:1}
.moss-catalog:has(.moss-editorial-page) .moss-footer-main h2:before{content:'';display:inline-block;width:13px;height:1px;background:var(--action);margin:0 9px 4px 0}

@media(max-width:1100px){
  .moss-editorial-hero-inner{gap:38px;grid-template-columns:minmax(0,1fr) minmax(340px,.9fr)}
  .moss-editorial-art{height:345px}
  .moss-editorial-layout{gap:50px}
}
@media(max-width:900px){
  .moss-editorial-hero-inner{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);min-height:0}
  .moss-editorial-head h1{font-size:clamp(48px,5.8vw,67px)}
  .moss-editorial-art{height:300px}
  .moss-art-sheet-front{padding:15px}
  .moss-editorial-layout{grid-template-columns:minmax(0,1fr) 195px;gap:35px}
}
@media(max-width:700px){
  .moss-editorial-hero-inner{display:block;padding-block:38px 26px}
  .moss-editorial-head h1{font-size:clamp(43px,10.5vw,64px);margin:17px 0 18px;max-width:15ch}
  .moss-editorial-intro{font-size:15px;line-height:1.62}
  .moss-editorial-rule{margin-top:25px}
  .moss-editorial-art{height:265px;margin-top:28px}
  .moss-art-sheet-front{width:52%;height:74%;left:33%;top:15%;padding:11px}
  .moss-art-sheet-back{width:53%;height:75%;left:16%;top:10%}
  .moss-art-edition,.moss-art-caption{font-size:7px;letter-spacing:.1em}
  .moss-art-sheet-front img{width:47%}
  .moss-editorial-layout{display:block;padding-block:48px 65px}
  .moss-editorial-content>h2{grid-template-columns:36px minmax(0,1fr);gap:9px;margin-top:31px;padding-top:22px;font-size:clamp(27px,7.3vw,36px)}
  .moss-editorial-content>h2:before{font-size:20px}
  .moss-editorial-content>h2+p{margin-left:45px;font-size:15px}
  .moss-editorial-content>p:last-child:has(>a){margin-left:0;margin-top:35px}
  .moss-editorial-aside{position:static;margin-top:54px;display:grid;grid-template-columns:54px minmax(0,1fr);column-gap:15px}
  .moss-aside-doodle{grid-row:1/3;width:48px;height:48px;margin:0}
  .moss-editorial-aside .eyebrow{align-self:end}
  .moss-editorial-aside h2{font-size:23px;margin:4px 0 18px}
  .moss-editorial-aside>a{grid-column:1/-1}
  .moss-contact-section{display:block;padding-block:50px 65px}
  .moss-contact-intro{margin-bottom:28px}
  .moss-contact-form{padding:22px}
  .moss-catalog:has(.moss-editorial-page) .moss-bottom-cta:after{width:140px;height:140px;right:-25px;top:30%;opacity:.12}
}
