/* =====================================================================
   MERRI · world layer
   One shared sheet, linked from every page after styles.css. The palette
   itself was remapped at source (see the hex swap); this adds the things
   that make it MERRI rather than merely recoloured — the hand-drawn marks,
   the shaped photographs, the editorial eyebrows and the hairline seams.
   Restrained on purpose: near-white grounds, colour in the details.
   ===================================================================== */
:root{
  --m-ink:#0E2C21; --m-forest:#14402F; --m-rust:#A63A20; --m-plum:#7A2A5A;
  --m-navy:#1B4E77; --m-ochre:#D89A18; --m-gold:#F2B01E; --m-goldlt:#FBD26A;
  --m-pink:#F49BC1; --m-mint:#7FD1AE; --m-sky:#7FB6E0; --m-coral:#E8533A;
  --m-cream:#FAF9F6; --m-paper:#FDFCFA; --m-oat:#F4F2EA; --m-blue:#D6E4F0;
  /* the shared stylesheet's own tokens, pointed at the new palette */
  --green:#14402F!important; --green-deep:#0E2C21!important; --ink:#0E2C21!important;
  --grey:#4C6357!important; --gold:#A63A20!important; --gold-dark:#8A3A1C!important;
  --gold-bright:#F2B01E!important; --cream:#FAF9F6!important; --offwhite:#FAF9F6!important;
  --paper:#FAF9F6!important; --blue-deep:#14402F!important; --blue-ink:#0E2C21!important;
  --blue-soft:#D6E4F0!important; --blue:#7FB6E0!important;
}

/* ---- the bar and the footer, on 30-odd pages ------------------------- */
.merri-bar{background:rgba(253,252,250,.94)!important;border-bottom:1px solid rgba(14,44,33,.12)!important}
.merri-foot{background:#0E2C21!important;color:rgba(247,241,227,.84)!important;position:relative;overflow:hidden}
.merri-foot a{color:rgba(247,241,227,.82)!important}
.merri-foot a:hover{color:#FBD26A!important}
.merri-foot::before{content:"";position:absolute;top:-10px;left:-12px;width:96px;height:124px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%20120%22%3E%3Cg%20opacity%3D%220.45%22%3E%3Cpath%20d%3D%22M4%200C4%2026%2026%2034%2026%2060s-20%2034-20%2060%22%20stroke%3D%22%237FD1AE%22%20stroke-width%3D%223%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%2F%3E%3Cellipse%20cx%3D%2219%22%20cy%3D%2220%22%20rx%3D%229%22%20ry%3D%225%22%20fill%3D%22%237FD1AE%22%20transform%3D%22rotate%2824%2019%2020%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%2248%22%20rx%3D%229%22%20ry%3D%225%22%20fill%3D%22%237FD1AE%22%20transform%3D%22rotate%28-20%200%2048%29%22%2F%3E%3Cellipse%20cx%3D%2222%22%20cy%3D%2276%22%20rx%3D%229%22%20ry%3D%225%22%20fill%3D%22%237FD1AE%22%20transform%3D%22rotate%2830%2022%2076%29%22%2F%3E%3Cellipse%20cx%3D%223%22%20cy%3D%22104%22%20rx%3D%229%22%20ry%3D%225%22%20fill%3D%22%237FD1AE%22%20transform%3D%22rotate%28-26%203%20104%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center/contain;pointer-events:none;opacity:.5}
.merri-legal,.m-sig{color:rgba(247,241,227,.72)!important}

/* ---- eyebrows and small caps, everywhere ----------------------------- */
.eyebrow,.m-label,.ceyebrow,.w-eyebrow,.post-kicker,.kicker{color:#A63A20!important}
.m-label-pale{color:#FBD26A!important}

/* ---- buttons --------------------------------------------------------- */
.btn{border-radius:2px!important;letter-spacing:.18em!important}
.btn.gold{background:#F2B01E!important;border-color:#F2B01E!important;color:#0E2C21!important}
.btn.gold:hover{background:#FBD26A!important;border-color:#FBD26A!important}

/* ---- photographs get shapes, not rectangles -------------------------- */
[data-lightbox]{overflow:hidden}
[data-lightbox]:nth-of-type(4n+1){border-radius:400px 400px 8px 8px;border:2px solid #D89A18}
[data-lightbox]:nth-of-type(4n+2){border-radius:50%;border:2px solid #A63A20}
[data-lightbox]:nth-of-type(4n+3){border-radius:14px;border:2px solid #14402F}
[data-lightbox]:nth-of-type(4n+4){border-radius:110px 8px 110px 8px;border:2px solid #7A2A5A}
[data-lightbox] img{width:100%;height:100%;object-fit:cover}

/* ---- labelled sections get the marks --------------------------------- */
[data-screen-label]:not([data-screen-label="Header"]){position:relative;overflow:hidden}
[data-screen-label]:not([data-screen-label="Header"]) > *{position:relative;z-index:2}
[data-screen-label]:not([data-screen-label="Header"]):nth-of-type(3n+1)::after{
  content:"";position:absolute;top:9%;right:5%;width:17px;height:17px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2018%2018%22%3E%3Cg%20opacity%3D%220.55%22%3E%3Cpath%20d%3D%22M9%200l2%207%207%202-7%202-2%207-2-7-7-2%207-2z%22%20fill%3D%22%23D89A18%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center/contain;pointer-events:none;z-index:1}
[data-screen-label]:not([data-screen-label="Header"]):nth-of-type(3n+2)::after{
  content:"";position:absolute;bottom:8%;left:4%;width:26px;height:24px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2026%22%3E%3Cg%20opacity%3D%220.34%22%3E%3Cg%20stroke%3D%22%2314402F%22%20stroke-width%3D%222.6%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M4%2026V9M11%2026V4M18%2026V10M25%2026V6%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center/contain;pointer-events:none;z-index:1}
[data-screen-label]:not([data-screen-label="Header"]):nth-of-type(3n+3)::after{
  content:"";position:absolute;bottom:9%;right:5%;width:19px;height:19px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2018%2018%22%3E%3Cg%20opacity%3D%220.34%22%3E%3Cpath%20d%3D%22M2.5%2016h13%22%20stroke%3D%22%2314402F%22%20stroke-width%3D%222.6%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M2.5%2016c0-4%203.5-5.5%206.5-5.5%22%20stroke%3D%22%2314402F%22%20stroke-width%3D%222.6%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%229.5%22%20r%3D%225.6%22%20fill%3D%22none%22%20stroke%3D%22%2314402F%22%20stroke-width%3D%222.6%22%2F%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%229.5%22%20r%3D%221.9%22%20fill%3D%22%2314402F%22%2F%3E%3Cpath%20d%3D%22M3.4%2011.4L2%207.4M6.4%2010.4L7.6%206.6%22%20stroke%3D%22%2314402F%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center/contain;pointer-events:none;z-index:1}

/* ---- the blog. Fifteen posts and an index on one template, so one
   treatment. These names come from the pages themselves; the rules sit after
   blog/blog.css in the cascade, so they carry the palette across without the
   old sheet needing to be touched. --------------------------------------- */
.post,.blog-index,.blog-grid,.digital-products{background:#FAF9F6}
.post-back{color:#A63A20!important;font-weight:600;letter-spacing:.16em}
.post-category,.post-card-cat,.cta-eyebrow,.blog-index .label{
  color:#A63A20!important;font-weight:600;letter-spacing:.24em;text-transform:uppercase}
.post-date,.post-card-read{color:#4C6357!important}
.post-content h1,.post-content h2,.post-content h3,.blog-index h1,.post-card-body h2,.post-card-body h3{
  font-family:'Instrument Serif',Georgia,serif;font-weight:400;letter-spacing:-.022em;color:#0E2C21!important}
.post-content h2{margin-top:1.9em}
.post-content h2::before{content:"";display:block;width:34px;height:2px;background:#A63A20;margin:0 0 15px}
.post-content p,.post-content li{color:rgba(14,44,33,.86)!important}
.post-content a{color:#A63A20!important;text-decoration-color:rgba(166,58,32,.45)}
.post-content strong{color:#0E2C21!important}
.post-content blockquote{border-left:3px solid #D89A18!important;background:#FDFCFA!important;
  padding:20px 24px!important;font-family:'Instrument Serif',Georgia,serif;font-style:italic;
  color:#0E2C21!important;border-radius:0 5px 5px 0}
.post-figure,.post-hero-mobile{overflow:hidden;border-radius:280px 280px 8px 8px;border:3px solid #D89A18}
.post-figure img,.post-hero-mobile img{width:100%;height:100%;object-fit:cover;display:block}
.post-figure figcaption{padding-top:10px;font-size:12.5px;color:#4C6357}
.post-cta{background:#14402F!important;color:#FAF9F6!important;border-radius:8px;
  padding:clamp(26px,3vw,38px)!important;position:relative;overflow:hidden}
.post-cta *{color:#FAF9F6!important}
.post-cta .cta-eyebrow{color:#F2B01E!important}
.post-cta .btn,.post-cta .btn.gold{background:#FAF9F6!important;border-color:#FAF9F6!important;color:#14402F!important}
.post-cta::after{content:"";position:absolute;bottom:8%;right:5%;width:17px;height:17px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2018%2018%22%3E%3Cg%3E%3Cpath%20d%3D%22M9%200l2%207%207%202-7%202-2%207-2-7-7-2%207-2z%22%20fill%3D%22%23F2B01E%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center/contain;pointer-events:none}
.post-pin{background:#FDFCFA!important;border:1px solid rgba(14,44,33,.16);border-radius:8px}
.pin-save{color:#A63A20!important;font-weight:600}
/* the index cards */
.post-card{background:#FDFCFA!important;border:1px solid rgba(14,44,33,.14)!important;
  border-radius:8px;overflow:hidden;transition:box-shadow .25s ease}
.post-card:hover{box-shadow:0 18px 40px rgba(14,44,33,.12)}
.post-card-img{overflow:hidden;border-bottom:1px solid rgba(14,44,33,.1)}
.post-card-img img{width:100%;height:100%;object-fit:cover}
.post-card-body{padding:clamp(18px,2vw,26px)!important}
.blog-bottom-cta{background:#14402F!important;color:#FAF9F6!important;position:relative;overflow:hidden}
.blog-bottom-cta *{color:#FAF9F6!important}
.blog-bottom-cta .cta-eyebrow{color:#F2B01E!important}
.blog-bottom-cta .btn,.blog-bottom-cta .btn.gold{
  background:#FAF9F6!important;border-color:#FAF9F6!important;color:#14402F!important}
.blog-bottom-cta::before{content:"";position:absolute;top:-8px;left:-10px;width:100px;height:128px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%20120%22%3E%3Cg%20opacity%3D%220.45%22%3E%3Cpath%20d%3D%22M4%200C4%2026%2026%2034%2026%2060s-20%2034-20%2060%22%20stroke%3D%22%237FD1AE%22%20stroke-width%3D%223%22%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%2F%3E%3Cellipse%20cx%3D%2219%22%20cy%3D%2220%22%20rx%3D%229%22%20ry%3D%225%22%20fill%3D%22%237FD1AE%22%20transform%3D%22rotate%2824%2019%2020%29%22%2F%3E%3Cellipse%20cx%3D%220%22%20cy%3D%2248%22%20rx%3D%229%22%20ry%3D%225%22%20fill%3D%22%237FD1AE%22%20transform%3D%22rotate%28-20%200%2048%29%22%2F%3E%3Cellipse%20cx%3D%2222%22%20cy%3D%2276%22%20rx%3D%229%22%20ry%3D%225%22%20fill%3D%22%237FD1AE%22%20transform%3D%22rotate%2830%2022%2076%29%22%2F%3E%3Cellipse%20cx%3D%223%22%20cy%3D%22104%22%20rx%3D%229%22%20ry%3D%225%22%20fill%3D%22%237FD1AE%22%20transform%3D%22rotate%28-26%203%20104%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center/contain;pointer-events:none;opacity:.55}
.digital-products{border-top:1px solid rgba(14,44,33,.14)}

/* Belt and braces for the blog. blog/blog.css still holds the old palette in
   selectors this sheet does not name; these catch-alls neutralise it on every
   text node inside the light blog containers. The dark blocks are re-asserted
   underneath so they still win on source order. */
.post-body :where(p,li,span,td,th,dd,dt,figcaption,small,em,i){color:rgba(14,44,33,.86)!important}
.post-body :where(h1,h2,h3,h4,h5,strong,b){color:#0E2C21!important}
.post-card-body :where(p,span,li){color:rgba(14,44,33,.84)!important}
.post-card-body :where(h1,h2,h3,h4){color:#0E2C21!important}
.blog-index :where(h1,h2,h3){color:#0E2C21!important}
.blog-index .sub,.blog-index :where(p){color:rgba(14,44,33,.84)!important}
.digital-products :where(h2,h3,h4){color:#0E2C21!important}
.digital-products :where(p,span,li){color:rgba(14,44,33,.84)!important}
.post-content :where(a){color:#A63A20!important}
/* re-assert: anything sitting on forest keeps cream */
.post-category,.post-card-cat,.cta-eyebrow,.blog-index .label,.post-back,.pin-save{
  color:#A63A20!important}
.post-date,.post-card-read,.post-figure figcaption{color:#4C6357!important}
.post-cta :where(*),.blog-bottom-cta :where(*),.merri-foot :where(p,span,li,div){color:#FAF9F6!important}
.post-cta .cta-eyebrow,.blog-bottom-cta .cta-eyebrow{color:#F2B01E!important}
.merri-foot :where(a){color:rgba(247,241,227,.84)!important}
.merri-legal,.m-sig,.merri-tag{color:rgba(247,241,227,.78)!important}

/* ---- the .m-* confirmation family (upgraded) --------------------------
   Same shape of page as the welcome, so the same treatment: near-white page,
   the celebration block on ochre, the community block on forest, the account
   block on the light blue, and the plan cards in paper. */
.m-page{background:#FDFCFA!important}
.m-wrap{background:#FAF9F6!important}
.m-bar{background:#0E2C21!important;border-bottom:2px solid #F2B01E!important}
.chero{background:#D89A18!important;position:relative;overflow:hidden}
.chero h1,.chero .m-h1{color:#0E2C21!important}
.chero p,.chero .m-lede{color:rgba(14,44,33,.86)!important}
.chero .m-label,.chero .ceyebrow{color:#A63A20!important}
.m-heroNote{border-color:rgba(14,44,33,.3)!important;color:rgba(14,44,33,.84)!important}
.m-next,.m-intro{background:#FDFCFA!important}
.m-dark{background:#14402F!important;color:#FAF9F6!important;position:relative;overflow:hidden}
.m-dark :where(h1,h2,h3,.m-h2,.m-big){color:#FAF9F6!important}
.m-dark :where(p,.m-body,li){color:rgba(247,241,227,.88)!important}
.m-dark .m-idx,.m-dark .m-num,.m-dark .m-label-pale{color:#F2B01E!important}
.m-dark :where(a,.m-btn){background:#FAF9F6!important;color:#14402F!important;border-color:#FAF9F6!important}
.m-bone{background:#D6E4F0!important;color:#0E2C21!important;position:relative;overflow:hidden}
.m-bone :where(h1,h2,h3,.m-h2,.m-big){color:#0E2C21!important}
.m-bone :where(p,.m-body,li){color:rgba(14,44,33,.84)!important}
.m-bone .m-idx,.m-bone .m-num,.m-bone .m-label{color:#1B4E77!important}
.m-bone :where(a,.m-btn){border-color:#1B4E77!important;color:#1B4E77!important}
.m-band{background:#FAF9F6!important}
.m-plans,.m-plans > *{border-color:rgba(14,44,33,.24)!important}
.m-plan-b{background:#FDFCFA!important}
.m-label{color:#A63A20!important}
.m-price{color:#0E2C21!important}
.m-choose{color:#A63A20!important;font-weight:600}
.m-foot{background:#0E2C21!important}
.chero::after{content:"";position:absolute;top:13%;right:6%;width:30px;height:30px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20opacity%3D%220.5%22%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%227%22%20fill%3D%22%23D89A18%22%2F%3E%3Cg%20stroke%3D%22%23D89A18%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M16%201v5M16%2026v5M1%2016h5M26%2016h5M5.4%205.4l3.6%203.6M23%2023l3.6%203.6M26.6%205.4L23%209M9%2023l-3.6%203.6%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center/contain;pointer-events:none;z-index:1}
.m-dark::after{content:"";position:absolute;bottom:7%;right:5%;width:23px;height:17px;
  background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2018%22%3E%3Cg%3E%3Cpath%20d%3D%22M12%205C9%200%202%20.5%202%205.5%202%209.5%208%2010.5%2012%208.5Z%22%20fill%3D%22%23F49BC1%22%2F%3E%3Cpath%20d%3D%22M12%205c3-5%2010-4.5%2010%20.5%200%204-6%205-10%203Z%22%20fill%3D%22%23F49BC1%22%2F%3E%3Cpath%20d%3D%22M12%208.5c-3%200-7%201.5-6%205%20.8%202.8%205%20.5%206-2Z%22%20fill%3D%22%23F49BC1%22%20opacity%3D%22.75%22%2F%3E%3Cpath%20d%3D%22M12%208.5c3%200%207%201.5%206%205-.8%202.8-5%20.5-6-2Z%22%20fill%3D%22%23F49BC1%22%20opacity%3D%22.75%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center/contain;pointer-events:none;z-index:1}

/* the two-column post layout must collapse; harmless if blog.css already does */
@media(max-width:900px){
  .post-grid{grid-template-columns:1fr!important}
  .post-side{max-width:none!important}
}

/* ---- rust lifts to gold wherever it sits on a dark ground -------------
   Every muted gold in the old palette became rust, which is right on the
   near-whites and unreadable on forest and ink (1.80:1). These are the dark
   containers across the site; inside them the accent goes back to gold. */
.merri-foot .eyebrow,.merri-foot .m-label,.merri-foot [style*="color:#A63A20"],
.m-dark .eyebrow,.m-dark .m-label,.m-dark [style*="color:#A63A20"],
.hero .eyebrow,.hero .m-label,.hero .ceyebrow,.hero .label,.hero [style*="color:#A63A20"],
.td-hero .label,.ty-hero .label,.post-cta .cta-eyebrow,.blog-bottom-cta .cta-eyebrow,
[style*="background:#14402F"] .eyebrow,[style*="background:#14402F"] .m-label,
[style*="background:#14402F"] .label,[style*="background:#14402F"] [style*="color:#A63A20"],
[style*="background:#0E2C21"] .eyebrow,[style*="background:#0E2C21"] .m-label,
[style*="background:#0E2C21"] .label,[style*="background:#0E2C21"] [style*="color:#A63A20"],
[style*="background:#0E2C21"] [style*="color:#A63A20"],
[style*="background:#14402F"] [style*="color:#A63A20"],
[style*="background:#16261F"] [style*="color:#A63A20"]{color:#F2B01E!important}

/* ---- low-opacity small text -------------------------------------------
   The old sheet leaned on opacity .4-.55 for secondary copy, which lands at
   3.0-4.3:1 once it is small. Raised, not recoloured, so hierarchy holds. */
[style*="opacity:.4"],[style*="opacity:.42"],[style*="opacity:.45"],[style*="opacity:.46"],
[style*="opacity:.5"],[style*="opacity:.52"],[style*="opacity:.55"],[style*="opacity:.6"],
[style*="opacity:0.4"],[style*="opacity:0.45"],[style*="opacity:0.5"],[style*="opacity:0.55"]{opacity:.8!important}
[style*="rgba(250,249,246,.42)"],[style*="rgba(250,249,246,.45)"],[style*="rgba(250,249,246,.5)"],
[style*="rgba(250, 249, 246, 0.42)"],[style*="rgba(250,249,246,.6)"]{color:rgba(247,241,227,.88)!important}
.merri-legal,.m-sig,.merri-tag{color:rgba(247,241,227,.8)!important}

/* ---- generic refinements --------------------------------------------- */
.serif,h1,h2{letter-spacing:-.02em}
hr,.rule{border-color:rgba(14,44,33,.16)!important}
::selection{background:#FBD26A;color:#0E2C21}
