/* Shared article layout for Mon Chez Moi. */
:root{--contents-width:40vw;--article-gap:4vw}
.logo{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(26px,3vw,42px);letter-spacing:-1.4px;white-space:nowrap}
.logo span{font-family:Arial,Helvetica,sans-serif;letter-spacing:2px;font-size:9px}
footer .logo{font-size:30px}
main{max-width:none}
.reading-layout{grid-template-columns:var(--contents-width) minmax(0,1fr);gap:var(--article-gap);justify-content:normal;align-items:start}
.contents{position:sticky;top:35px;max-height:calc(100dvh - 70px);overflow:auto;align-self:start;padding:0 28px 20px 0;border-bottom:0}
.contents nav{display:flex;flex-direction:column;gap:20px;font-size:14px}
.contents nav a{overflow-wrap:anywhere}
.contents .aside-note{display:block}
.reading-layout article{min-width:0;max-width:800px}
.byline{flex-wrap:wrap;gap:12px 24px}
.copy-link{display:inline-flex;align-items:center;gap:12px;padding:8px 0;background:none;border:0;border-bottom:1px solid #9caaa0;color:#333;font:inherit;font-size:14px;cursor:pointer}
.copy-link:hover{color:#a44a35;border-color:#a44a35}
.copy-link:focus-visible{outline:3px solid #b64128;outline-offset:5px}
.copy-status{font-size:13px!important;letter-spacing:normal!important;color:#62665f}
.copy-status:empty{display:none}
.back-to-top{position:fixed;right:24px;bottom:24px;z-index:20;display:flex;align-items:center;gap:10px;padding:12px 17px;border:1px solid #d9dfd9;background:#242b25;color:white;box-shadow:0 4px 18px #0002;border-radius:3px;font-size:14px}
.back-to-top>span:first-child{font-size:20px;line-height:1}
.back-to-top:hover{background:#3a443c;text-decoration:none}
footer{padding-bottom:100px}
@media(max-width:850px){header{flex-wrap:wrap}.contents{top:20px;max-height:calc(100dvh - 40px);padding-right:12px}.contents nav{gap:16px}.contents .aside-note{max-width:100%;font-size:15px}.contents .eyebrow{font-size:10px;letter-spacing:1px}.balance{grid-template-columns:1fr}.balance>div+div{border-left:0;border-top:1px solid #deded7;padding-left:0}.styles{grid-template-columns:1fr}.swatch{height:45px}.reading-layout h2{font-size:28px}.source{padding:20px}.source h3{font-size:22px}}
@media(max-width:560px){.contents nav a{gap:7px}.contents nav span{min-width:16px}.contents nav{font-size:14px}.contents .aside-note{font-size:14px}.reading-layout h2{font-size:25px;letter-spacing:-.5px}.reading-layout article p{font-size:16px;line-height:1.7}.source>a{flex-wrap:wrap;gap:8px}.section-index{font-size:10px;letter-spacing:.8px}.back-to-top{right:12px;bottom:12px;padding:10px 13px}.source{padding:12px}.styles h3{font-size:15px}.styles div>span:last-child{font-size:13px}footer .logo{font-size:28px}}

/* Three-column article: nearby contents, reading column, sticky advertising. */
:root{--contents-width:clamp(190px,18vw,260px);--article-gap:28px}
.reading-layout{grid-template-columns:var(--contents-width) minmax(0,1fr) minmax(180px,300px);gap:var(--article-gap)}
.contents{padding-right:0}
.advertising{position:sticky;top:35px;align-self:start;min-width:0;max-height:calc(100dvh - 70px);display:flex;flex-direction:column;gap:10px}
.ad-label{font-size:10px;letter-spacing:2px;color:#777;text-align:center}
.ad-placeholder{width:100%;aspect-ratio:1/2;max-height:calc(100dvh - 105px);min-height:160px;background:#f2f3ef;border:1px dashed #c4c9c0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#6b7467;text-align:center;padding:12px}
.ad-placeholder span{font-size:14px}.ad-placeholder small{font-size:12px;color:#8b9287}
@media(max-width:1100px) and (min-width:851px){.reading-layout{grid-template-columns:180px minmax(0,1fr) 180px;gap:22px}.balance{grid-template-columns:1fr}.balance>div+div{border-left:0;border-top:1px solid #deded7;padding-left:0}}
@media(max-width:850px){.reading-layout{grid-template-columns:minmax(0,1fr) 150px;gap:22px}.contents{position:static;grid-column:1/-1;max-height:none;padding-bottom:20px;border-bottom:1px solid #ddd}.contents nav{display:grid;grid-template-columns:1fr 1fr}.contents .aside-note{display:none}.advertising{top:20px;max-height:calc(100dvh - 40px)}.ad-placeholder{max-height:calc(100dvh - 75px)}}
@media(max-width:560px){.reading-layout{grid-template-columns:minmax(0,1fr) 100px;gap:14px}.ad-placeholder{padding:8px;min-height:150px}.ad-placeholder span{font-size:12px}.ad-label{font-size:9px;letter-spacing:1px}.ad-placeholder small{font-size:10px}.back-to-top{right:12px;bottom:12px}}

/* Shared wordmark: the tagline spans the exact width of the name. */
.logo{display:inline-grid;grid-template-columns:minmax(0,max-content)}
.logo .tagline{display:flex;width:100%;justify-content:center;gap:4px;margin-top:1px;letter-spacing:0;font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:400;line-height:1.3}
.logo .tagline>span{display:inline;font:inherit;letter-spacing:inherit;margin:0}
footer .logo .tagline{font-size:13px}
@media(max-width:560px){.logo .tagline{font-size:13px}header nav{flex-wrap:wrap;gap:12px}header nav a[href="catalogue.html"]{display:inline}}

.article-ad-left{margin-top:28px;display:flex;flex-direction:column;gap:10px}.article-ad-left .ad-placeholder{aspect-ratio:6/5;min-height:120px;max-height:250px}.ad-slot{min-width:0;width:100%}.ad-slot img{max-width:100%;height:auto}

.ads-disabled .reading-layout,.ads-disabled .catalogue-layout{grid-template-columns:var(--contents-width) minmax(0,1fr)}
@media(max-width:850px){.ads-disabled .reading-layout,.ads-disabled .catalogue-layout{grid-template-columns:minmax(0,1fr)}}

.copy-link .link-icon{display:block;width:18px;height:18px;flex-shrink:0}

.home-plan-demo { max-width:760px; margin-left:auto; margin-right:auto; }
.home-plan-controls { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.home-plan-controls button { font:inherit; font-size:15px; border:1px solid #647c71; border-radius:8px; padding:10px 14px; background:#f7f3e9; color:#263d35; cursor:pointer; }
.home-plan-controls button[aria-pressed="true"] { background:#263d35; color:white; }
.home-plan-controls button:focus-visible { outline:3px solid #159bb5; outline-offset:3px; }
.home-plan-status { font-size:15px; }

.home-robot-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;margin:24px 0}
.home-robot-layout .article-figure{margin:0;min-width:0}
.home-robot-animation{background:#edf1e5;border-radius:18px;padding:22px;text-align:center;min-width:0}
.home-robot-animation figure{margin:0}.home-robot-animation svg{display:block;width:100%;height:auto}
.home-robot-animation figcaption{font-size:13px;line-height:1.5;color:#53694b}
.home-robot-animation button{margin-top:16px;padding:10px 16px;border:1px solid #bcccb6;border-radius:22px;background:white;color:#2d4436;cursor:pointer}
.home-robot-animation button:focus-visible{outline:3px solid #a75534;outline-offset:3px}
@media(max-width:650px){.home-robot-layout{grid-template-columns:1fr}}

.home-robot-animation{margin:24px 0;padding:20px 0;background:transparent;border-radius:0}.home-robot-animation svg{max-height:240px}
