/* NovoMuse site layouts. lay-1 is the normal look and needs no rules. See includes/layouts.php. */

/* ===== 2 Gallery: centred logo, menu underneath, square tiles, fine lines ===== */
.lay-2{--r:0px;--arch:0}
.lay-2 .btn,.lay-2 .card .sb,.lay-2 input,.lay-2 select,.lay-2 textarea{border-radius:0}
.lay-2 .btn{text-transform:uppercase;letter-spacing:.18em;font-size:.76rem;padding:15px 30px}
.lay-2 .block{padding-top:104px;padding-bottom:104px}
.lay-2 .head{flex-direction:column;align-items:center;text-align:center;gap:10px}.lay-2 .head h2{font-weight:300;letter-spacing:.02em}
.lay-2 .grid4{grid-template-columns:repeat(3,1fr);gap:64px 38px}
.lay-2 .ph{aspect-ratio:1}.lay-2 .card .ph{outline:1px solid #1c1814;outline-offset:9px;margin:9px 9px 18px}
.lay-2 .card .meta{text-align:center}.lay-2 .card .meta h3{font:400 .98rem var(--sans);letter-spacing:.16em;text-transform:uppercase}.lay-2 .card .meta small{letter-spacing:.2em;text-transform:uppercase;font-size:.66rem}
.lay-2 .heart{top:20px;right:20px}
.lay-2 .fr{border-radius:0}.lay-2 .fr.arch,.lay-2 .fr.circle{border-radius:0}
@media(min-width:901px){
  .lay-2 .site-header{background:#faf7f0;box-shadow:0 1px 0 #1c1814}
  .lay-2 .nav{height:auto;flex-wrap:wrap;justify-content:center;gap:0 30px;padding-top:20px;padding-bottom:0;position:relative}
  .lay-2 .brand{flex:1 0 100%;display:flex;justify-content:center;font-size:2.1rem;margin-bottom:4px}
  .lay-2 .brand img{height:34px}
  .lay-2 .links{order:2;flex:1 0 100%;justify-content:center;margin:0;padding:10px 0 16px;gap:38px;text-transform:uppercase;letter-spacing:.22em;font-size:.72rem}
  .lay-2 .icons{position:absolute;right:24px;top:26px}
}

/* ===== 3 Boutique: floating pill menu, soft rounded cards, gentle stagger ===== */
.lay-3{--r:24px;background:#f0e8d9}
.lay-3 .block{padding-top:76px;padding-bottom:76px}
.lay-3 .card{background:#fffdf8;border-radius:30px;padding:12px 12px 20px;box-shadow:0 18px 40px rgba(70,45,10,.10)}
.lay-3 .ph{border-radius:22px}.lay-3 .card .meta{padding:14px 8px 0}.lay-3 .heart{top:22px;right:22px}
.lay-3 .grid4{align-items:start;gap:34px 24px}.lay-3 .grid4>.card:nth-child(even){margin-top:38px}
.lay-3 .btn{padding:15px 32px;box-shadow:0 10px 24px rgba(221,139,39,.22)}
.lay-3 .head h2{font-style:italic}
.lay-3 .fr.arch{border-radius:200px 200px 28px 28px}
@media(min-width:901px){
  .lay-3 .site-header{background:transparent;box-shadow:none;border:0;top:12px;pointer-events:none;backdrop-filter:none}
  .lay-3 .site-header .nav{pointer-events:auto;max-width:1140px;margin:0 auto;height:68px;padding:0 14px 0 26px;background:rgba(255,252,246,.94);border:1px solid #e2d6bd;border-radius:999px;box-shadow:0 18px 44px rgba(70,45,10,.16);backdrop-filter:blur(14px);gap:22px}
  .lay-3 .links{gap:6px}.lay-3 .links a{padding:9px 16px;border-radius:999px;transition:background .25s,color .25s}.lay-3 .links a::after{display:none}.lay-3 .links a:hover{background:#f0e8d9}.lay-3 .links a.on{background:#000;color:#fff}
}
@media(max-width:900px){.lay-3 .grid4>.card:nth-child(even){margin-top:0}}

/* ===== 4 Atelier: dark header, arch-topped photos ===== */
.lay-4{background:#f1e9da}
.lay-4 .site-header{background:#0b0b0b;color:#f3ead9;border-bottom:1px solid rgba(221,139,39,.35)}
.lay-4 .brand{color:#fff}.lay-4 .brand img{filter:brightness(0) invert(1)}
.lay-4 .links a,.lay-4 .icons,.lay-4 .icons a{color:#d9cfbd}.lay-4 .links a:hover,.lay-4 .links a.on,.lay-4 .icons a:hover{color:#f5bf73}
.lay-4 .burger{color:#f3ead9}
.lay-4 .card .ph{border-radius:999px 999px 6px 6px;aspect-ratio:3/4}
.lay-4 .card .meta{text-align:center}
.lay-4 .head h2{font-size:clamp(2.2rem,4vw,3.4rem);font-weight:300}

/* ===== Card styles ===== */
/* cs-1 Classic needs no rules */
.cs-2 .card .ph{border-radius:18px;aspect-ratio:4/5}
.cs-2 .card .meta{position:absolute;left:0;right:0;bottom:0;padding:30px 14px 12px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.7));border-radius:0 0 18px 18px;pointer-events:none}
.cs-2 .card .meta small:first-child{display:none}.cs-2 .card .meta h3{font-size:1.02rem;line-height:1.25;margin:0 0 2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cs-2 .card .meta p{font-size:.9rem}.cs-2 .card .meta .savetag{display:none}
.cs-2 .card .meta h3,.cs-2 .card .meta p,.cs-2 .card .meta small{color:#fff}.cs-2 .card .meta small{opacity:.75}.cs-2 .card .meta .was{color:#ffd9a0}
.cs-3 .card .ph{border-radius:999px 999px 14px 14px;aspect-ratio:3/4;box-shadow:0 0 0 6px #fffdf8,0 0 0 7px rgba(221,139,39,.55)}
.cs-3 .card .meta{text-align:center;padding-top:20px}.cs-3 .card .heart{top:14%;right:50%;margin-right:-18px;opacity:.95}
.cs-4 .card{background:#fffdf8;padding:12px 12px 14px;border-radius:4px;box-shadow:0 8px 22px rgba(0,0,0,.14);transition:transform .35s,box-shadow .35s}
.cs-4 .card:nth-child(odd){transform:rotate(-1.4deg)}.cs-4 .card:nth-child(even){transform:rotate(1.2deg)}
.cs-4 .card:hover{transform:rotate(0) translateY(-6px);box-shadow:0 18px 34px rgba(0,0,0,.2)}
.cs-4 .card .ph{border-radius:2px}.cs-4 .card .meta{padding:14px 4px 0;text-align:center}.cs-4 .card .heart{top:20px;right:20px}
@media(prefers-reduced-motion:reduce){.cs-4 .card,.cs-4 .card:hover{transition:none}}

/* ===== Product page styles ===== */
/* pv-1 Side by side needs no rules */
@media(min-width:901px){
 .pv-2 .detail{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:48px;align-items:start}
 .pv-2 .detail>div:last-child{position:sticky;top:96px;background:#fffdf8;border:1px solid var(--line,#e5dccb);border-radius:22px;padding:34px;box-shadow:0 20px 50px rgba(0,0,0,.07)}
 .pv-2 .detail h1{font-size:clamp(2rem,3.2vw,2.8rem)}
 .pv-3 .detail{grid-template-columns:1fr;max-width:860px;margin-left:auto;margin-right:auto;gap:36px;text-align:center}
 .pv-3 .detail .gal .stage{max-height:78vh}
 .pv-3 .detail .opts,.pv-3 .detail .actions,.pv-3 .detail .specs,.pv-3 .detail .row{justify-content:center}.pv-3 .detail .specs{list-style-position:inside;padding:0}
 .pv-3 .detail .buy{max-width:520px;margin-left:auto;margin-right:auto}
 .pv-4 .detail{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:start}
 .pv-4 .detail>.gal{order:2}.pv-4 .detail>div:last-child{order:1;border-left:3px solid #DD8B27;padding-left:28px}
 .pv-4 .detail h1{font-size:clamp(2.4rem,4vw,3.6rem);line-height:1.02}
 .pv-4 .detail .gal .stage{border-radius:4px;box-shadow:14px 14px 0 rgba(221,139,39,.22)}
}
@media(max-width:900px){.pv-2 .detail>div:last-child{background:#fffdf8;border:1px solid var(--line,#e5dccb);border-radius:18px;padding:22px}.pv-4 .detail>div:last-child{border-left:3px solid #DD8B27;padding-left:18px}}

/* ===== Card labels: one stack, top-left, so a missing label never leaves a gap and nothing overlaps (heart stays top-right) ===== */
.card .ph .lbls{position:absolute;top:12px;left:12px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:calc(100% - 66px);pointer-events:none}
.card .ph .lbls>span{position:static;margin:0;max-width:100%;white-space:normal;overflow:visible;line-height:1.25;box-shadow:0 2px 10px rgba(0,0,0,.3)}
.card .ph .lbls .tag{background:#f7f2e8;color:#111;font-weight:500;font-size:.78rem;letter-spacing:0;text-transform:none;padding:5px 12px;border-radius:999px}
.card .ph .lbls .offbadge{background:#DD8B27;color:#fff;font:700 .78rem/1.25 var(--sans,inherit);padding:5px 10px;border-radius:999px}
.card .ph .lbls .sb{background:#f7f2e8;color:#111;font-weight:500;font-size:.78rem;letter-spacing:0;text-transform:none;padding:5px 12px;border-radius:999px}
.cs-3 .card .ph .lbls,.lay-4 .card .ph .lbls{top:15%;left:50%;transform:translateX(-50%);align-items:center;max-width:calc(100% - 24px)}
.cs-3 .card .ph .lbls>span,.lay-4 .card .ph .lbls>span{white-space:nowrap}
.cs-3 .card .heart{top:12px;right:12px;margin:0}

/* pv-5 Midnight: the whole product block sits on a dark stage */
.pv-5 .detail{background:#0b0b0b;color:#efe6d3;border-radius:26px;padding:clamp(18px,3vw,40px);gap:clamp(24px,4vw,56px);box-shadow:0 30px 70px rgba(0,0,0,.28)}
.pv-5 .detail h1,.pv-5 .detail .price{color:#fff}
.pv-5 .detail .muted,.pv-5 .detail .small,.pv-5 .detail legend,.pv-5 .detail label,.pv-5 .detail .stock{color:#bfb4a0}
.pv-5 .detail a:not(.btn){color:#f5bf73}
.pv-5 .detail .specs li::marker{color:#DD8B27}
.pv-5 .detail .opt{background:transparent;border-color:rgba(255,255,255,.28);color:#efe6d3}
.pv-5 .detail .opt:has(input:checked){background:#DD8B27;color:#0b0b0b;border-color:#DD8B27}
.pv-5 .detail input[type=number]{background:#1a1511;color:#fff;border-color:rgba(255,255,255,.28)}
.pv-5 .detail .btn.ghost{color:#efe6d3;border-color:rgba(255,255,255,.4);background:transparent}
.pv-5 .detail .btn.ghost:hover{background:#DD8B27;color:#0b0b0b;border-color:#DD8B27}
.pv-5 .detail details,.pv-5 .detail .quote{border-color:rgba(255,255,255,.2);color:#efe6d3}
.pv-5 .detail .qcard,.pv-5 .detail .qcard *{--line:rgba(255,255,255,.2)}

/* shop box loading state */
.shopres{position:relative;min-height:260px}
.shopres.is-loading>*:not(.shopspin){opacity:.22;transition:opacity .2s;pointer-events:none}
.shopspin{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:min(18vh,150px);gap:14px;color:#6a6157;font-size:.95rem}
.shopspin p{margin:0}
.subpills .subn{display:inline-block;margin-left:4px;font-size:.72rem;opacity:.6}
/* category index */
.cattiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px;margin-top:26px}
.cattile{display:block;text-decoration:none;color:inherit;border-radius:20px;overflow:hidden;background:#fffdf8;border:1px solid var(--line,#e5dccb);transition:transform .3s,box-shadow .3s}
.cattile:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(0,0,0,.12)}
.cattile .ct-ph{display:block;aspect-ratio:4/3;background:#1b1712;overflow:hidden}.cattile .ct-ph img{width:100%;height:100%;object-fit:cover;display:block}
.cattile .ct-m{display:grid;gap:3px;padding:16px 18px 18px}.cattile b{font:400 1.45rem var(--serif)}.cattile small{color:#8a8070}.cattile em{font-style:normal;color:#6a6157;font-size:.88rem}
@media(prefers-reduced-motion:reduce){.cattile{transition:none}}
.subpills{margin-top:12px}

/* ---- subcategories: sidebar tree, tiles, shop menu ---- */
.catlay.has-tree{display:grid;grid-template-columns:230px minmax(0,1fr);gap:36px;align-items:start}.catmain{min-width:0}
.subtree{position:sticky;top:104px;max-height:calc(100vh - 124px);overflow:auto;padding:4px 4px 12px 0}
.subtree-n{display:grid;gap:2px}.subtree-n ul{list-style:none;margin:0;padding:0}.subtree-n ul ul{margin:2px 0 6px 12px;padding-left:12px;border-left:1px solid var(--line,#e5dccb)}
.subtree-n a{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:7px 10px;border-radius:10px;color:inherit;text-decoration:none;font-size:.95rem;transition:background .2s}
.subtree-n a:hover{background:rgba(221,139,39,.12)}.subtree-n a small{opacity:.55;font-size:.76rem}
.subtree-n .st-h{font:400 1.25rem var(--serif,serif);padding:6px 10px 10px}.subtree-n .st-h.on,.subtree-n li.on>a{background:#111;color:#f7efe0}.subtree-n li.on>a small{opacity:.75}
.subtree-n li.has>a span::after{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);opacity:.45;transition:transform .2s}.subtree-n li.open>a span::after{transform:rotate(45deg)}
.subdesc{margin:10px 0 0;max-width:62ch;color:#6a6157}
.subtiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin:18px 0 6px}
.subtile{display:block;text-decoration:none;color:inherit;border-radius:14px;overflow:hidden;background:#fffdf8;border:1px solid var(--line,#e5dccb);transition:transform .25s,box-shadow .25s}.subtile:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(0,0,0,.1)}
.subtile .st-ph{display:block;aspect-ratio:4/3;background:#1b1712;overflow:hidden}.subtile .st-ph img{width:100%;height:100%;object-fit:cover;display:block}
.subtile .st-m{display:grid;padding:10px 12px 12px}.subtile b{font:400 1.12rem var(--serif,serif)}.subtile small{color:#8a8070}
@media(max-width:900px){.catlay.has-tree{display:block}.subtree{position:static;max-height:none;margin:0 0 16px;padding:0}.subtree-n{display:flex;flex-wrap:wrap;gap:6px}.subtree-n ul{display:contents}.subtree-n ul ul{display:contents}.subtree-n li{display:contents}.subtree-n a{border:1px solid var(--line,#e5dccb);border-radius:999px;padding:6px 12px;font-size:.88rem}.subtree-n .st-h{font:inherit;font-size:.88rem;padding:6px 12px}}
@media(prefers-reduced-motion:reduce){.subtile,.subtree-n a,.subtree-n li.has>a span::after{transition:none}}
.mm{position:absolute;left:0;right:0;top:100%;background:#fffdf8;color:#1a1612;border-bottom:1px solid var(--line,#e5dccb);box-shadow:0 26px 44px rgba(0,0,0,.14);opacity:0;transform:translateY(-6px);transition:opacity .2s,transform .2s;pointer-events:none;max-height:calc(100vh - 110px);overflow:auto}
.mm.on{opacity:1;transform:none;pointer-events:auto}.mm[hidden]{display:none}
.mm-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:26px 36px;padding:28px 0 20px}
.mm-h{display:block;font:400 1.35rem var(--serif,serif);color:inherit;text-decoration:none;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid var(--line,#e5dccb)}.mm-h:hover{color:#DD8B27}
.mm-c ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}.mm-c li a{color:inherit;text-decoration:none;font-size:.95rem}.mm-c li>a:hover{color:#DD8B27}
.mm-k{display:flex;flex-wrap:wrap;gap:2px 10px;margin:1px 0 4px 10px}.mm-k a{font-size:.8rem!important;opacity:.62}.mm-k a:hover{opacity:1}.mm-more{color:#DD8B27!important;font-size:.85rem!important}
.mm-f{display:flex;gap:26px;padding:12px 0 18px;border-top:1px solid var(--line,#e5dccb);font-size:.9rem}.mm-f a{color:inherit}
.lay-3 .mm{left:0;right:0;max-width:1140px;margin:8px auto 0;border-radius:24px;border:1px solid #e2d6bd}
.lay-4 .mm{background:#0f0e0c;color:#efe5d2;border-color:rgba(221,139,39,.35)}.lay-4 .mm-h,.lay-4 .mm-f{border-color:rgba(255,255,255,.14)}
.mm-m summary{cursor:pointer;padding:6px 0}.mm-m a{display:block;padding:5px 0}.mm-mh{font-weight:500;margin-top:8px}.mm-ms{padding-left:14px!important;opacity:.8}.mm-ms2{padding-left:28px!important;opacity:.65}
@media(max-width:900px){.mm{display:none!important}}
@media(prefers-reduced-motion:reduce){.mm{transition:none}}
.lay-3 .mm-g,.lay-3 .mm-f{padding-left:30px;padding-right:30px;box-sizing:border-box}

.alltypes{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:28px 32px;margin-top:18px}.at-h{display:block;font:400 1.25rem var(--serif,serif);color:inherit;text-decoration:none;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid var(--line,#e5dccb)}.at-c ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}.at-c ul ul{margin:3px 0 5px 12px;padding-left:12px;border-left:1px solid var(--line,#e5dccb)}.at-c a:not(.at-h){color:inherit;text-decoration:none;font-size:.95rem}.at-c a:not(.at-h):hover{color:#DD8B27}.at-c small{opacity:.5;font-size:.76rem}.ptitle.sm{font-size:1.6rem;margin-top:44px}
.mm-k{max-width:100%}
.subtree-n li.has>a span::after{transform:rotate(45deg)}

.catlay.has-tree{grid-template-columns:260px minmax(0,1fr)}.subtree{max-height:none;overflow:visible;padding:0}
.sidecard{background:#fffdf8;border:1px solid var(--line,#e5dccb);border-radius:18px;padding:18px 14px 14px}.sc-h{font:400 1.3rem var(--serif,serif);margin:0 0 10px;padding:0 10px}
.sidecard ul{list-style:none;margin:0;padding:0}.sc-cats{display:grid;gap:2px}.sidecard a{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:9px 10px;border-radius:10px;color:inherit;text-decoration:none;font-size:.96rem;transition:background .2s,color .2s}
.sidecard a:hover{background:rgba(221,139,39,.12)}.sidecard a small{opacity:.55;font-size:.78rem}.sidecard li.on>a{background:#111;color:#f7efe0}.sidecard li.on>a small{opacity:.75}.sidecard li.open>a{font-weight:500}
.sc-sub{margin:2px 0 8px 14px!important;padding-left:12px!important;border-left:1px solid var(--line,#e5dccb)}.sc-sub a{font-size:.9rem;padding:7px 10px}.sidecard a:focus-visible{outline:2px solid #DD8B27;outline-offset:2px}
@media(max-width:900px){.sidecard{padding:12px}.sc-h{display:none}.sc-cats{display:flex;flex-wrap:wrap;gap:6px}.sc-cats>li{display:contents}.sc-cats>li>a{padding:8px 14px;border:1px solid var(--line,#e5dccb);border-radius:999px;background:#fff}.sc-cats>li.on>a{background:#111}.sc-sub{display:contents}.sc-sub li{display:contents}.sc-sub a{padding:8px 14px;border:1px solid var(--line,#e5dccb);border-radius:999px;background:#fff;font-size:.92rem}.sc-sub li.on>a{background:#111}.sidecard{background:none;border:0;padding:0}}

/* collapsible subcategories in the Categories card */
.sidecard li{position:relative}.sidecard li.has>a{padding-right:44px}
.sc-t{position:absolute;right:6px;top:5px;width:30px;height:30px;border:0;border-radius:8px;background:transparent;cursor:pointer;color:inherit;display:grid;place-items:center;transition:background .2s}
.sc-t:hover{background:rgba(221,139,39,.18)}.sc-t:focus-visible{outline:2px solid #DD8B27}
.sc-t:before{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:translateY(-2px) rotate(45deg);transition:transform .25s var(--ease,ease)}
li.open>.sc-t:before{transform:translateY(1px) rotate(-135deg)}
.sidecard li.on>.sc-t{color:#f7efe0}
.sidecard li.has>.sc-sub{display:none}.sidecard li.has.open>.sc-sub{display:block;animation:scin .25s ease}@keyframes scin{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.sidecard .sc-sub li.has>a{padding-right:44px}.sc-sub .sc-t{top:2px}
@media(max-width:900px){.sc-t{display:none}.sidecard li.has>a{padding-right:14px}.sidecard li.has>.sc-sub{display:none}.sidecard li.has.open>.sc-sub{display:contents}}
/* Overlay cards: on phones and for long badges, keep the picture clear and put the words under it */
@media(max-width:700px){.cs-2 .card .meta{position:static;padding:10px 2px 0;background:none;color:inherit;border-radius:0}.cs-2 .card .meta h3{color:var(--ink,#111)}.cs-2 .card .meta p{color:var(--orange-d,#b9701a)}.cs-2 .card .meta .was{color:#8a8070}.cs-2 .card .meta small:first-child{display:block;color:var(--muted,#8a8070);opacity:1}.cs-2 .card .meta h3,.cs-2 .card .meta p{text-shadow:none}}
.card .lbls .tag,.card .lbls .sb,.card .lbls .offbadge{font-size:.72rem;padding:3px 9px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card .lbls{max-width:calc(100% - 56px)}

/* ===== 5 Journal: editorial, left-aligned headings with fine rules, sharp corners, text-led cards ===== */
.lay-5{--r:2px;--arch:0;background:#f6f1e7}
.lay-5 .btn,.lay-5 input,.lay-5 select,.lay-5 textarea,.lay-5 .card .sb,.lay-5 .fr{border-radius:2px}
.lay-5 .btn{text-transform:none;letter-spacing:.02em;font-weight:500;padding:13px 26px}
.lay-5 .site-header{background:#f6f1e7;border-bottom:2px solid #1c1814;box-shadow:none;backdrop-filter:none}
.lay-5 .links a{font-size:.92rem;letter-spacing:.02em;padding-bottom:4px;border-bottom:2px solid transparent}.lay-5 .links a:hover,.lay-5 .links a.on{border-bottom-color:#DD8B27;color:#1c1814}
.lay-5 .block{padding-top:84px;padding-bottom:84px}
.lay-5 .head{align-items:end;border-bottom:1px solid #1c1814;padding-bottom:14px;margin-bottom:34px}
.lay-5 .head h2{font:400 clamp(2.1rem,4.2vw,3.5rem)/1.05 var(--serif);letter-spacing:-.01em}
.lay-5 .grid4{grid-template-columns:repeat(3,1fr);gap:56px 34px}
.lay-5 .card{background:transparent;box-shadow:none;border-radius:0;border-top:1px solid #1c1814;padding-top:14px}
.lay-5 .card .ph{border-radius:0;aspect-ratio:4/5}.lay-5 .card .meta{padding:14px 0 0;text-align:left}
.lay-5 .card .meta h3{font:400 1.35rem/1.2 var(--serif)}.lay-5 .card .meta small:first-child{font-style:italic;letter-spacing:0;text-transform:none;color:#8a5310}
.lay-5 .heart{top:24px;right:12px}
.lay-5 .fr.arch,.lay-5 .fr.circle{border-radius:0}
.lay-5 .ptitle{font-weight:400;letter-spacing:-.01em}
.lay-5 .crumbs{background:transparent;border-bottom:1px solid #d9d0bf}
@media(max-width:900px){.lay-5 .grid4{grid-template-columns:repeat(2,1fr);gap:40px 18px}.lay-5 .block{padding-top:56px;padding-bottom:56px}}
@media(max-width:520px){.lay-5 .grid4{grid-template-columns:1fr 1fr;gap:34px 12px}.lay-5 .card .meta h3{font-size:1.08rem}}

/* ===== Dark mode (always on in layout 6 Noir; anyone can switch it with the sun/moon button) ===== */
html.dk,html.dk body{color-scheme:dark;--ink:#f1e8d8;--ivory:#12100d;--sand:#1b1814;--line:#35291b;--muted:#a99e8a;--orange-d:#f0b062;--r:14px;background:#0d0b09;color:#f1e8d8}
html.dk h1,html.dk h2,html.dk h3,html.dk h4,html.dk .ptitle{color:#f6eddc}
html.dk a{color:#f0b062}html.dk .btn{color:#120d07}html.dk .btn.ghost{background:transparent;color:#f1e8d8;border-color:#5a4730}html.dk .btn.ghost:hover{border-color:#DD8B27;color:#f5bf73}
html.dk .site-header{background:rgba(13,11,9,.88);border-bottom:1px solid rgba(221,139,39,.35);box-shadow:none}
html.dk .brand{color:#fff}html.dk .brand img{filter:brightness(0) invert(1)}
html.dk .links a,html.dk .icons,html.dk .icons a{color:#d9cfbd}html.dk .links a:hover,html.dk .links a.on,html.dk .icons a:hover{color:#f5bf73}html.dk .burger{color:#f3ead9}
html.dk .block,html.dk section,html.dk main{background-color:transparent}
html.dk .card,html.dk .formcard,html.dk .notice,html.dk .panel,html.dk .box,html.dk .cv-spec,html.dk .sidecard,html.dk details,html.dk .sumbox,html.dk table.cart{background:#17130f;border:1px solid #2e2418;color:#f1e8d8;box-shadow:0 14px 34px rgba(0,0,0,.45)}
html.dk .card:hover{border-color:rgba(221,139,39,.55)}
html.dk .card .meta h3,html.dk .card .meta p{color:#f6eddc}html.dk .muted,html.dk small{color:#a99e8a}
html.dk input,html.dk select,html.dk textarea{background:#1b1612;color:#f1e8d8;border-color:#4a3a27}html.dk input::placeholder,html.dk textarea::placeholder{color:#7e745f}
html.dk input:focus,html.dk select:focus,html.dk textarea:focus{border-color:#DD8B27;outline:2px solid rgba(221,139,39,.35)}
html.dk .crumbs{background:rgba(255,255,255,.03);border-bottom-color:#2e2418}html.dk .crumbs a{background:rgba(255,255,255,.05);color:#f1e8d8;border-color:#3a2d1d}html.dk .crumbs a:hover{background:rgba(221,139,39,.18);color:#f5bf73}
html.dk .crumbs li+li::before{border-color:#6f5a3c}html.dk .crumbs li[aria-current] span{background:#DD8B27;color:#120d07}
html.dk hr,html.dk table td,html.dk table th{border-color:#2e2418}
html.dk .site-footer,html.dk footer{background:#080706;color:#cfc4b0}
html.dk .head h2{font-weight:300;font-size:clamp(2.2rem,4vw,3.4rem)}
html.dk .card .ph{border-radius:14px}
html.dk .pills a,html.dk .pills button,html.dk .fchips a,html.dk .fchips button,html.dk .fchips span{background:#1b1612;color:#e9dcc3;border-color:#4a3a27}html.dk .pills a:hover,html.dk .fchips a:hover{border-color:#DD8B27;color:#f5bf73}html.dk .pills a.on,html.dk .pills .on,html.dk .pills [aria-current]{background:#DD8B27;color:#120d07;border-color:#DD8B27}
/* Noir: text colours on surfaces that had fixed light backgrounds */
html.dk{--text:#f1e8d8;--text-soft:#cfc4b0}
html.dk .skip{background:#DD8B27;color:#120d07}
html.dk .muted,html.dk .fcount,html.dk .fcount b,html.dk p.muted,html.dk label,html.dk .dow,html.dk .help,html.dk .hint{color:#c7bba5}
html.dk .fcount b{color:#f6eddc}
html.dk .nmg-line,html.dk .site-footer small,html.dk footer small{color:#b5a98f}
html.dk .faqmore,html.dk .authcard,html.dk .tabs2,html.dk .cal,html.dk .faqsec details,html.dk .faqsec .a{background:#17130f;color:#f1e8d8;border:1px solid #2e2418}
html.dk .faqsec details p,html.dk .faqsec details div,html.dk .faqmore p,html.dk .faqmore b,html.dk .faqmore span,html.dk .authcard p,html.dk .authcard label,html.dk .authcard h1,html.dk .authcard h2,html.dk .cal b,html.dk .cal .day,html.dk .cal span{color:#ece1cc}
html.dk .faqmore .btn,html.dk .tabs2 a,html.dk .tabs2 button{background:#1b1612;color:#f1e8d8;border-color:#4a3a27}html.dk .tabs2 .on,html.dk .tabs2 [aria-selected=true]{background:#DD8B27;color:#120d07}
html.dk .cal .day,html.dk .cal a.day{background:transparent;border-color:#3a2d1d}html.dk .cal span.day{color:#9a8f78;background:transparent}html.dk .cal a.day{color:#f5bf73}html.dk .cal a.day:hover,html.dk .cal a.day.on{background:#DD8B27;color:#120d07}
html.dk .cal .dow{color:#b5a98f}
html.dk .look b,html.dk .looks b,html.dk .lk b,html.dk [class*=look] h3,html.dk [class*=look] b{color:#f6eddc}
html.dk .btn:not(.ghost):not(.small){color:#120d07}
html.dk .btn.small{background:#1b1612;color:#f1e8d8;border-color:#4a3a27}html.dk .btn.small:hover{border-color:#DD8B27;color:#f5bf73}
html.dk ::selection{background:#DD8B27;color:#120d07}
@media(max-width:900px){.lay-2 .grid4{grid-template-columns:repeat(2,1fr);gap:30px 14px}.lay-2 .card .ph{margin:6px 6px 14px}}
@media(min-width:901px) and (max-width:1320px){.lay-3 .site-header .nav{gap:12px;padding:0 12px 0 20px}.lay-3 .links a{padding:9px 10px}.lay-3 .links{gap:2px}}
/* Boutique pill: room for the extra links when signed in (bell, name) and when the showroom is on */
.lay-3 .site-header .nav{max-width:min(1300px,calc(100% - 32px))}
.lay-3 .links a{padding:9px 12px;white-space:nowrap}.lay-3 .icons{gap:12px;white-space:nowrap}
@media(min-width:901px) and (max-width:1500px){.lay-3 .site-header .nav{gap:10px;padding:0 12px 0 18px}.lay-3 .links a{padding:9px 9px}.lay-3 .brand span{font-size:.95em}}
@media(min-width:901px) and (max-width:1120px){.lay-3 .brand span{display:none}.lay-3 .links a{font-size:.82rem;padding:8px 7px}.lay-3 .icons a{font-size:.85rem}}
