/* ==========================================================================
   WUNDERMANN — site stylesheet
   The design language is the floating-object model: stone blocks and pucks with
   real thickness, the 1300 ms turn, elevator pitch on scroll, living ground light,
   the gallery square + stone wheel, selector spheres, the cylinder buy bar and the
   whole-page theme inversion (navy ground / ivory ground).
   ========================================================================== */
:root{
  --ground:#0d1220; --panel:#111a2e; --panel-2:#17233d;
  --ink:#ECE9E3; --ink-2:rgba(236,233,227,.78); --mute:rgba(236,233,227,.52); --line:rgba(236,233,227,.12); --line-2:rgba(236,233,227,.24);
  --bone:#ECE9E3; --gold:#BE9B53; --gold-hi:#E2C47F; --gold-line:rgba(190,155,83,.55); --gold-soft:rgba(190,155,83,.62); --gold-faint:rgba(190,155,83,.18);
  --rest-x:6deg; --turn:1300ms;
  --ease:cubic-bezier(.45,0,.55,1); --glide:cubic-bezier(.65,0,.35,1);
  --f-head:"Cinzel","Trajan Pro",Georgia,serif; --f-body:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --gl:max(18px,env(safe-area-inset-left,0px)); --gr:max(18px,env(safe-area-inset-right,0px));
  --plaque: none;   /* no contour, no halo: the picture's edge meets the stone cleanly */
  color-scheme:dark;
}
html[data-theme="ivory"]{
  --ground:#F0E8D8; --panel:#E8DECB; --panel-2:#DFD3BD;
  --ink:#241b10; --ink-2:rgba(36,27,16,.8); --mute:rgba(36,27,16,.55); --line:rgba(36,27,16,.14); --line-2:rgba(36,27,16,.26);
  --gold-line:rgba(140,106,46,.55); --gold-faint:rgba(140,106,46,.2);
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
*{margin:0;padding:0}
html{background:var(--ground);transition:background .6s ease;overflow-x:clip;scroll-padding-top:110px}
body{background:var(--ground);color:var(--ink);font-family:var(--f-body);font-size:18.5px;line-height:1.62;-webkit-font-smoothing:antialiased;
  min-height:100vh;overflow-x:clip;transition:background .6s ease,color .6s ease;padding-bottom:env(safe-area-inset-bottom,0px)}
img{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:1px solid var(--gold);outline-offset:3px}
h1,h2,h3,h4,h5{font-family:var(--f-head);font-weight:400;line-height:1.2;letter-spacing:.08em;text-wrap:balance}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{width:100%;max-width:1180px;margin:0 auto;padding-left:var(--gl);padding-right:var(--gr)}
.eyebrow{display:block;font-family:var(--f-head);font-size:11px;letter-spacing:.34em;text-transform:uppercase;color:var(--gold)}
.rule{display:block;width:40px;height:1px;background:var(--gold-line);margin:0 auto}
/* navigation veil: the destination's ground colour, dissolving in and out */
.veil{position:fixed;inset:0;z-index:300;pointer-events:none;background:var(--ground);opacity:0}
html.veiled .veil{opacity:1}

/* ---------- strip + header ---------- */
.strip{padding:calc(8px + env(safe-area-inset-top,0px)) var(--gr) 8px var(--gl);text-align:center;font-family:var(--f-head);font-size:10.5px;
  letter-spacing:.26em;text-transform:uppercase;color:var(--gold);border-bottom:1px solid var(--gold-faint)}
.hdr{position:sticky;top:0;z-index:60;background:color-mix(in srgb,var(--ground) 90%,transparent);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);transition:background .6s ease,border-color .6s ease}
.hdr-in{position:relative;height:66px;display:flex;align-items:center;justify-content:center}
.brand{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;width:56px;height:56px;background:#0d1220;
  box-shadow:0 0 0 1px var(--gold-faint)}
.brand img{width:40px;height:40px;object-fit:contain}
.hdr-btn{position:absolute;left:var(--gl);top:50%;transform:translateY(-50%);font-family:var(--f-head);font-size:10.5px;letter-spacing:.28em;text-transform:uppercase;
  text-decoration:none;padding:10px 18px;border-radius:999px;border:1px solid var(--gold-line);background:color-mix(in srgb,var(--ink) 5%,transparent);transition:background .4s,color .4s}
.hdr-btn:hover{background:var(--gold);color:#14100a;border-color:var(--gold)}
.hdr-cart{position:absolute;right:var(--gr);top:50%;transform:translateY(-50%);width:42px;height:42px;display:grid;place-items:center;border-radius:50%;
  border:1px solid var(--gold-line);color:var(--ink);transition:background .4s,color .4s}
.hdr-cart:hover{background:var(--gold);color:#14100a}
.hdr-cart svg{width:18px;height:18px}
@media (max-width:560px){.hdr-btn{padding:8px 13px;font-size:9.5px;letter-spacing:.2em}}

/* ---------- footer ---------- */
.foot{border-top:1px solid var(--line);margin-top:clamp(60px,9vw,120px);padding:56px var(--gr) 150px var(--gl);text-align:center;display:grid;gap:18px;justify-items:center}
.social{display:flex;gap:4px}
.social a{display:grid;place-items:center;width:44px;height:44px;color:var(--mute);transition:color .3s}
.social a:hover{color:var(--gold)}
.social svg{width:19px;height:19px}
.foot .site{font-family:var(--f-head);font-size:11px;letter-spacing:.3em;color:var(--mute)}
.pol{display:flex;gap:22px;flex-wrap:wrap;justify-content:center}
.pol a{font-size:15px;color:var(--mute);text-decoration:none}
.pol a:hover{color:var(--gold)}

/* ---------- the object (model engine) ---------- */
.wobj{
  --w:min(380px,78vw); --h:calc(var(--w) * 1.06); --R:calc(var(--w) * .30); --r:calc(var(--w) * .075);
  --pad:5.5%; --gap:calc(var(--w) * .16);
  position:relative; display:flex; flex-direction:column; align-items:center; outline:none; cursor:pointer;
  -webkit-tap-highlight-color:transparent; user-select:none; -webkit-user-select:none;
}
.wobj.puck{ --w:clamp(150px,30vw,260px); --h:var(--w); --R:50%; --r:calc(var(--w) * .095); --pad:15.5%; --gap:calc(var(--w) * .17); }
/* fail-safe: before the stone is built (or without script) the picture shows on a plain bone tile */
.wobj-fb{position:relative;width:var(--w);height:var(--h);border-radius:var(--R);background:#E9E6DF;display:grid;place-items:center;overflow:hidden;
  margin-bottom:var(--gap)}
html[data-theme="ivory"] .wobj-fb{background:#111930}
.wobj-fb img{width:calc(100% - var(--r) * 2 - 8%);height:calc(100% - var(--r) * 2 - 8%);object-fit:contain}
.wobj.puck .wobj-fb img{width:62%;height:62%}
.wobj.mounted > .wobj-fb{display:none}
.stage{position:relative;width:var(--w);height:calc(var(--h) + var(--gap));perspective:1500px;perspective-origin:50% 45%}
.body,.pitch,.settle,.tilt,.flip{position:absolute;transform-style:preserve-3d}
.body{left:0;top:0;width:var(--w);height:var(--h);pointer-events:none}
.pitch,.settle,.tilt,.flip{inset:0}
.flip{will-change:transform}
.pitch{will-change:transform}
.tilt{transform:rotateX(var(--rest-x))}
.wobj[data-flip="x"] .face.back{transform:rotateX(180deg) translateZ(var(--r))}
.layer{position:absolute;inset:calc(var(--r) * var(--k));border-radius:calc(var(--R) - var(--r) * var(--k));transform:translateZ(calc(var(--r) * var(--s)));
  background-image:linear-gradient(180deg,hsl(42 12% calc(var(--l) + 2.5%)) 0%,hsl(41 10% var(--l)) 50%,hsl(38 9% calc(var(--l) - 7%)) 100%);
  background-size:var(--w) var(--h);background-position:calc(var(--r) * var(--k) * -1) calc(var(--r) * var(--k) * -1);
  box-shadow:inset 0 0 calc(var(--r) * var(--f)) calc(var(--r) * var(--f) * .35) rgba(34,27,16,var(--fa))}
.fin{position:absolute;pointer-events:none}
.fin.y{left:calc(50% - var(--r));width:calc(var(--r) * 2);border-radius:var(--r);background:linear-gradient(90deg,hsl(41 10% 84%),hsl(41 10% 71%) 50%,hsl(41 10% 84%))}
.fin.x{top:calc(50% - var(--r));height:calc(var(--r) * 2);border-radius:var(--r);background:linear-gradient(180deg,hsl(41 10% 84%),hsl(41 10% 70%) 50%,hsl(41 10% 84%))}
.puck .layer{border-radius:50%}
.face{position:absolute;inset:var(--r);border-radius:calc(var(--R) - var(--r));backface-visibility:hidden;-webkit-backface-visibility:hidden;
  background:linear-gradient(180deg,#EDEAE4 0%,#E9E6DF 100%);box-shadow:inset 0 0 calc(var(--r) * .9) rgba(70,57,38,.055)}
.puck .face{border-radius:50%}
.face.front{transform:translateZ(var(--r))}
.face.back{transform:rotateY(180deg) translateZ(var(--r))}
.art{position:absolute;inset:var(--pad)}
.relief{position:absolute;inset:var(--r);pointer-events:none;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.relief.front{transform:translateZ(calc(var(--r) + 3px))}
.relief.back{transform:rotateY(180deg) translateZ(calc(var(--r) + 3px))}
.wobj[data-flip="x"] .relief.back{transform:rotateX(180deg) translateZ(calc(var(--r) + 3px))}
.art img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 50%;filter:var(--plaque)}
.art img.lightmap,.gpic img.lightmap{position:absolute;inset:0;mix-blend-mode:soft-light;filter:none;pointer-events:none}
img.lightmap.p{opacity:1}
img.lightmap.g{opacity:.95}
img.lightmap[hidden]{display:none}
/* living ground light — one light from above: a white sheen on the navy ground, a dark pool on ivory */
.shadow{position:absolute;left:0;right:0;bottom:0;height:calc(var(--gap) * 1.25);opacity:.9;transition:opacity var(--turn) var(--glide)}
.shade{position:absolute;inset:0;transform-origin:50% 55%}
.pool,.core{position:absolute;display:block;border-radius:50%}
.pool{left:-8%;right:-8%;top:12%;bottom:2%;filter:blur(calc(var(--w) * .045));
  background:radial-gradient(closest-side,rgba(236,233,227,.15) 0%,rgba(236,233,227,.09) 38%,rgba(236,233,227,.035) 70%,rgba(236,233,227,0) 100%)}
.core{opacity:.72;left:20%;right:20%;top:36%;bottom:30%;filter:blur(calc(var(--w) * .016));
  background:radial-gradient(closest-side,rgba(246,242,232,.24),rgba(246,242,232,.07) 70%,rgba(246,242,232,0))}
html[data-theme="ivory"] .pool{background:radial-gradient(closest-side,rgba(36,27,16,.30) 0%,rgba(36,27,16,.20) 35%,rgba(36,27,16,.08) 68%,rgba(36,27,16,0) 100%)}
html[data-theme="ivory"] .core{background:radial-gradient(closest-side,rgba(28,20,10,.46),rgba(28,20,10,.14) 70%,rgba(28,20,10,0))}
.eng{position:absolute;inset:0;transform-style:preserve-3d;pointer-events:none}
.eng.back{transform:rotateY(180deg)}
.wobj[data-flip="x"] .eng.back{transform:rotateX(180deg)}
.glyph{position:absolute;left:50%;top:50%;width:1.25em;height:1em;line-height:1em;text-align:center;font-family:var(--f-head);font-weight:500;
  font-size:calc(var(--r) * .84);text-rendering:geometricPrecision;transform-origin:25% 25%;
  color:rgba(92,66,32,.82);text-shadow:0 .065em 0 rgba(255,252,244,.78),0 -.045em .025em rgba(38,26,10,.5);
  backface-visibility:hidden;-webkit-backface-visibility:hidden;user-select:none}
/* paintings live in the bone stone: the bone multiply expressed as tone, edges melted */
.wobj[data-art="painting"] .art img:not(.lightmap){filter:sepia(.17) saturate(.9) contrast(.99) brightness(.93);
  -webkit-mask-image:radial-gradient(118% 118% at 50% 50%,#000 84%,transparent 99%);mask-image:radial-gradient(118% 118% at 50% 50%,#000 84%,transparent 99%)}
html[data-theme="ivory"] .wobj[data-art="painting"] .art img:not(.lightmap){filter:none}
/* the stone inverts on the ivory ground: deep navy body, corner sheen, gold engraving */
html[data-theme="ivory"] .layer{background-image:
  radial-gradient(42% 30% at 16% 9%,rgba(176,196,240,.20),rgba(176,196,240,.07) 55%,rgba(176,196,240,0) 100%),
  radial-gradient(38% 26% at 86% 11%,rgba(176,196,240,.12),rgba(176,196,240,.04) 55%,rgba(176,196,240,0) 100%),
  radial-gradient(46% 22% at 50% 100%,rgba(150,170,215,.06),rgba(150,170,215,0) 100%),
  linear-gradient(180deg,hsl(223 36% calc(var(--l)*.40 - 14.5%)) 0%,hsl(223 34% calc(var(--l)*.40 - 17.5%)) 55%,hsl(224 32% calc(var(--l)*.40 - 21.5%)) 100%)}
html[data-theme="ivory"] .fin.y{background:linear-gradient(90deg,hsl(223 34% 15%),hsl(223 36% 7.5%) 50%,hsl(223 34% 15%))}
html[data-theme="ivory"] .fin.x{background:linear-gradient(180deg,hsl(223 34% 15%),hsl(223 36% 7.5%) 50%,hsl(223 34% 15%))}
html[data-theme="ivory"] .face{background:radial-gradient(60% 40% at 12% 4%,rgba(170,190,235,.07),rgba(170,190,235,0) 70%),linear-gradient(180deg,#111930 0%,#0A0F1C 100%);
  box-shadow:inset 0 0 calc(var(--r) * .9) rgba(0,0,0,.32)}
html[data-theme="ivory"] .glyph{color:transparent;background:linear-gradient(180deg,#F2DA9E 0%,#D8B66C 38%,#B48D46 72%,#8C6A2E 100%);
  -webkit-background-clip:text;background-clip:text;text-shadow:none;filter:drop-shadow(0 .06em 0 rgba(0,0,0,.62)) drop-shadow(0 -.035em 0 rgba(255,228,166,.30))}
/* .inv — the stone opposite to the page's own (an ivory garment on the navy page, a navy garment on the ivory page):
   the garment always sits on the opposite ground */
.wobj.inv .wobj-fb{background:#111930}
.wobj.inv .layer{background-image:
  radial-gradient(42% 30% at 16% 9%,rgba(176,196,240,.20),rgba(176,196,240,.07) 55%,rgba(176,196,240,0) 100%),
  radial-gradient(38% 26% at 86% 11%,rgba(176,196,240,.12),rgba(176,196,240,.04) 55%,rgba(176,196,240,0) 100%),
  radial-gradient(46% 22% at 50% 100%,rgba(150,170,215,.06),rgba(150,170,215,0) 100%),
  linear-gradient(180deg,hsl(223 36% calc(var(--l)*.40 - 14.5%)) 0%,hsl(223 34% calc(var(--l)*.40 - 17.5%)) 55%,hsl(224 32% calc(var(--l)*.40 - 21.5%)) 100%)}
.wobj.inv .fin.y{background:linear-gradient(90deg,hsl(223 34% 15%),hsl(223 36% 7.5%) 50%,hsl(223 34% 15%))}
.wobj.inv .fin.x{background:linear-gradient(180deg,hsl(223 34% 15%),hsl(223 36% 7.5%) 50%,hsl(223 34% 15%))}
.wobj.inv .face{background:radial-gradient(60% 40% at 12% 4%,rgba(170,190,235,.07),rgba(170,190,235,0) 70%),linear-gradient(180deg,#111930 0%,#0A0F1C 100%);
  box-shadow:inset 0 0 calc(var(--r) * .9) rgba(0,0,0,.32)}
.wobj.inv .glyph{color:transparent;background:linear-gradient(180deg,#F2DA9E 0%,#D8B66C 38%,#B48D46 72%,#8C6A2E 100%);
  -webkit-background-clip:text;background-clip:text;text-shadow:none;filter:drop-shadow(0 .06em 0 rgba(0,0,0,.62)) drop-shadow(0 -.035em 0 rgba(255,228,166,.30))}
html[data-theme="ivory"] .wobj.inv .wobj-fb{background:#E9E6DF}
html[data-theme="ivory"] .wobj.inv .layer{background-image:linear-gradient(180deg,hsl(42 12% calc(var(--l) + 2.5%)) 0%,hsl(41 10% var(--l)) 50%,hsl(38 9% calc(var(--l) - 7%)) 100%)}
html[data-theme="ivory"] .wobj.inv .fin.y{background:linear-gradient(90deg,hsl(41 10% 84%),hsl(41 10% 71%) 50%,hsl(41 10% 84%))}
html[data-theme="ivory"] .wobj.inv .fin.x{background:linear-gradient(180deg,hsl(41 10% 84%),hsl(41 10% 70%) 50%,hsl(41 10% 84%))}
html[data-theme="ivory"] .wobj.inv .face{background:linear-gradient(180deg,#EDEAE4 0%,#E9E6DF 100%);box-shadow:inset 0 0 calc(var(--r) * .9) rgba(70,57,38,.055)}
html[data-theme="ivory"] .wobj.inv .glyph{color:rgba(92,66,32,.82);background:none;-webkit-background-clip:border-box;background-clip:border-box;filter:none;
  text-shadow:0 .065em 0 rgba(255,252,244,.78),0 -.045em .025em rgba(38,26,10,.5)}
/* museum-label caption */
.wobj figcaption{margin-top:clamp(14px,2vw,22px);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;line-height:1.25}
.wobj figcaption::before{content:"";display:block;width:36px;height:1px;background:var(--gold-line);margin-bottom:8px}
.cap-name{font-family:var(--f-head);font-size:clamp(11px,1.3vw,13.5px);font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);text-decoration:none}
.cap-side{font-family:var(--f-head);font-size:10px;letter-spacing:.3em;text-transform:uppercase;color:var(--mute)}
.cap-price{font-size:17px;font-style:italic;color:var(--ink-2)}
.wobj:focus-visible figcaption::before{width:64px;background:var(--gold)}
@media (prefers-reduced-motion:reduce){.settle,.flip,.shadow,.gpic,.whisper{transition:none !important}}

/* ---------- cylinder buy bar ---------- */
.buybar{--R:31px;position:fixed;left:50%;bottom:calc(22px + env(safe-area-inset-bottom,0px));transform:translate(-50%,calc(100% + 40px));opacity:0;visibility:hidden;z-index:55;width:min(372px,74vw);height:calc(var(--R) * 2);
  transition:transform .75s cubic-bezier(.22,.8,.25,1),opacity .55s ease,visibility 0s .75s}
.buybar.show{transform:translate(-50%,0);opacity:1;visibility:visible;transition:transform .75s cubic-bezier(.22,.8,.25,1),opacity .55s ease}
.no-js .buybar{display:none}
.cyl-ground{position:absolute;left:6%;right:6%;bottom:calc(var(--R) * -.62);height:calc(var(--R) * .55);border-radius:50%;filter:blur(6px);pointer-events:none;
  background:radial-gradient(closest-side,rgba(236,233,227,.2),rgba(236,233,227,.07) 60%,rgba(236,233,227,0))}
html[data-theme="ivory"] .cyl-ground{background:radial-gradient(closest-side,rgba(60,42,18,.45),rgba(60,42,18,.15) 60%,rgba(60,42,18,0))}
.cyl{position:absolute;inset:0;overflow:hidden;border-radius:999px;perspective:600px;isolation:isolate;transition:transform .5s cubic-bezier(.2,1.5,.4,1);
  background:linear-gradient(90deg,rgba(40,30,15,.22),rgba(40,30,15,0) 2.2%,rgba(40,30,15,0) 97.8%,rgba(40,30,15,.22)),
  linear-gradient(180deg,#ADA595 0%,#E4DFD5 8%,#F7F4EE 19%,#EEEAE1 33%,#DFD9CD 52%,#C6BEAF 72%,#A49B8B 90%,#B0A797 100%)}
html[data-theme="ivory"] .cyl{background:linear-gradient(90deg,rgba(0,0,0,.35),rgba(0,0,0,0) 2.2%,rgba(0,0,0,0) 97.8%,rgba(0,0,0,.35)),
  linear-gradient(180deg,#121a30 0%,#2b385a 9%,#222d4b 18%,#161e36 34%,#10172b 54%,#0b1121 76%,#070b16 92%,#0c1222 100%)}
.cyl-rot{position:absolute;inset:0;transform-style:preserve-3d;will-change:transform}
.cyl-face{position:absolute;left:0;right:0;top:50%;height:calc(var(--R) * 1.5);margin-top:calc(var(--R) * -.75);display:flex;align-items:center;gap:13px;
  padding:0 24px 0 20px;color:#241b10;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:translateZ(calc(var(--R) + .6px))}
.cyl-face.back{justify-content:center;transform:rotateX(-240deg) translateZ(calc(var(--R) + .6px));cursor:pointer;margin-top:calc(var(--R) * -.75);font-size:inherit;letter-spacing:normal;text-transform:none;color:#241b10}
.cyl-face.sizes{justify-content:center;gap:12px;transform:rotateX(-120deg) translateZ(calc(var(--R) + .6px))}
.cs-lab{font-family:var(--f-head);font-size:9.5px;letter-spacing:.26em;text-transform:uppercase;opacity:.7}
.cs-row{display:flex;gap:6px;flex-wrap:nowrap}
.cbs{min-width:38px;height:32px;padding:0 8px;border:1px solid rgba(36,27,16,.35);border-radius:2px;font-family:var(--f-head);font-size:10.5px;letter-spacing:.08em;color:inherit;
  background:rgba(255,255,255,.18);transition:background .3s,border-color .3s,color .3s;white-space:nowrap}
.cbs:hover,.cbs.on{background:#BE9B53;border-color:#BE9B53;color:#14100a}
html[data-theme="ivory"] .cbs{border-color:rgba(236,233,227,.35);background:rgba(255,255,255,.04)}
@media (max-width:420px){.cyl-face.sizes{gap:6px;padding:0 8px}.cs-lab{display:none}.cbs{min-width:32px;padding:0 5px;font-size:9.5px}}
html[data-theme="ivory"] .cyl-face{color:#ECE9E3}
.cyl-face img{width:44px;height:44px;object-fit:contain;flex:none}
.bb-tx{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.bb-name{font-family:var(--f-head);font-size:10.5px;letter-spacing:.16em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bb-price{font-style:italic;font-size:16px;white-space:nowrap}
.bb-buy{margin-left:auto;font-family:var(--f-head);font-size:10px;letter-spacing:.18em;font-weight:600;white-space:nowrap;
  background:linear-gradient(180deg,#D3B36E,#BE9B53 55%,#A5843F);color:#14100a;border:0;border-radius:4px;padding:11px 15px;cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,240,200,.5),0 1px 0 rgba(0,0,0,.25)}
.bb-cart{position:relative;width:34px;height:30px}
.bb-cart svg{width:100%;height:100%;overflow:visible}
.bb-cart .cart{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.bb-cart .tick{fill:none;stroke:#BE9B53;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:14;stroke-dashoffset:14}
.bb-added{font-family:var(--f-head);font-size:10.5px;letter-spacing:.24em;text-transform:uppercase}
.count-bubble{position:absolute;top:-8px;right:-12px;min-width:17px;height:17px;padding:0 5px;white-space:nowrap;border-radius:9px;background:#BE9B53;color:#14100a;
  font:700 9.5px/17px var(--f-head);text-align:center;letter-spacing:0;box-shadow:0 1px 2px rgba(0,0,0,.3);transform:scale(0);transition:transform .35s var(--ease)}
.count-bubble.on{transform:scale(1)}
.count-bubble.pop{animation:cpop .6s var(--ease)}
@keyframes cpop{40%{transform:scale(1.35)}100%{transform:scale(1)}}
.hdr-cart .count-bubble{top:-5px;right:-7px}
.cyl-light{position:absolute;inset:0;pointer-events:none;mix-blend-mode:soft-light;
  background:linear-gradient(180deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,.12) 20%,rgba(128,128,128,0) 42%,rgba(0,0,0,0) 56%,rgba(0,0,0,.3) 84%,rgba(0,0,0,.5) 100%)}
.cyl-edge{position:absolute;left:2%;right:2%;pointer-events:none;height:1px;top:calc(var(--R) * .3);background:rgba(255,252,244,.55);filter:blur(.6px)}
html[data-theme="ivory"] .cyl-edge{background:rgba(176,196,240,.28)}
@media (max-width:420px){.bb-name{font-size:9.5px;letter-spacing:.1em}.cyl-face{gap:9px;padding:0 16px 0 12px}.bb-buy{padding:10px 11px;letter-spacing:.12em}}

/* ---------- gallery: the floating viewing square + the stone wheel ---------- */
.gwrap{width:min(540px,92vw);display:flex;flex-direction:column;align-items:center;margin:0 auto}
.gslab{position:relative}
.gslab.gmain{z-index:2;--w:min(540px,92vw);--h:var(--w);--R:calc(var(--w) * .11);--r:calc(var(--w) * .032);--gap:calc(var(--w) * .13)}
.gslab.gmain .stage{pointer-events:none}
.gslab .face{pointer-events:auto;overflow:hidden;cursor:zoom-in}
.gpic{position:absolute;inset:9%;opacity:0;transition:opacity .16s linear}
.gpic.on{opacity:1}
.gpic img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.gpic img.gp-main{filter:var(--plaque)}
.gpic.full{inset:8%}
.gpic.full img.gp-main{filter:drop-shadow(0 2px 6px rgba(28,20,10,.18))}
.whisper{position:absolute;top:50%;width:26px;height:44px;margin-top:-22px;cursor:pointer;opacity:.38;transition:opacity .3s;z-index:3;background:none;border:0;padding:0}
.whisper:hover{opacity:.9}
.whisper svg{width:100%;height:100%}
.whisper polyline{fill:none;stroke:#BE9B53;stroke-width:2;stroke-linecap:round}
.whisper.prev{left:10px}.whisper.next{right:10px}
.gwheel{--w:min(540px,92vw);--h:var(--w);--R:50%;--r:calc(var(--w) * .03);--gap:0px;--lift:calc(var(--w) * -.24);
  position:relative;z-index:1;margin-top:var(--lift,0px);outline:none;cursor:grab;touch-action:pan-y;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.gwheel:active{cursor:grabbing}
.gwheel .stage{height:calc(var(--w) * .64)}
.gwheel .body{top:calc(var(--w) * -.2)}
.gwheel .shadow{height:calc(var(--w) * .3);bottom:calc(var(--w) * -.04)}
.gwheel .layer,.gwheel .face{border-radius:50%}
.gwheel .face{cursor:inherit}
.wspin{position:absolute;inset:0;transform-style:preserve-3d}
.wpart{position:absolute;left:50%;top:50%;transform-origin:0 0}
.wstrip{pointer-events:auto;background:linear-gradient(180deg,#E6E2D9,#E0DCD2)}
.wgroove{width:1.5px;background:linear-gradient(180deg,rgba(120,104,80,.28),rgba(120,104,80,.18));pointer-events:none}
.wwell{pointer-events:auto;border-radius:calc(var(--w) * .014);overflow:hidden;
  background:linear-gradient(180deg,#D9D4C9 0%,#E2DED5 30%,#E6E2D9 100%);
  box-shadow:inset 0 calc(var(--w) * .006) calc(var(--w) * .01) rgba(60,46,26,.30),inset 0 calc(var(--w) * -.002) 0 rgba(255,253,247,.75),0 calc(var(--w) * .0015) 0 rgba(255,253,247,.6)}
.wwell::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 calc(var(--w) * .005) calc(var(--w) * .008) rgba(50,38,20,.28),inset 0 0 0 1px rgba(90,72,44,.10)}
.wpic{position:absolute;inset:7%;width:86%;height:86%;object-fit:contain;user-select:none;-webkit-user-drag:none;pointer-events:none}
html[data-theme="ivory"] .wwell{background:linear-gradient(180deg,#070B16 0%,#0B111F 35%,#0E1526 100%);
  box-shadow:inset 0 calc(var(--w) * .006) calc(var(--w) * .01) rgba(0,0,0,.6),inset 0 calc(var(--w) * -.002) 0 rgba(176,196,240,.12)}
html[data-theme="ivory"] .wwell::after{box-shadow:inset 0 calc(var(--w) * .005) calc(var(--w) * .008) rgba(0,0,0,.5),inset 0 0 0 1px rgba(176,196,240,.06)}
.wcrater{pointer-events:none;background:hsl(42 10% calc(66% + var(--b) * 25%))}
.wfloor{border-radius:50%;pointer-events:none;background:radial-gradient(closest-side at 50% 40%,rgba(46,36,20,.24),rgba(46,36,20,.08) 70%,rgba(46,36,20,0)),
  linear-gradient(180deg,hsl(42 9% 63%) 0%,hsl(42 10% 76%) 55%,hsl(42 10% 83%) 100%)}
html[data-theme="ivory"] .wcrater{background:hsl(223 34% calc(5% + var(--b) * 13%))}
html[data-theme="ivory"] .wfloor{background:radial-gradient(closest-side at 50% 40%,rgba(0,0,0,.45),rgba(0,0,0,.15) 70%,rgba(0,0,0,0)),
  linear-gradient(180deg,hsl(223 36% 4%) 0%,hsl(223 34% 9%) 55%,hsl(223 33% 13%) 100%)}
.wtitle{font-family:var(--f-head);font-weight:500;line-height:1;white-space:pre;font-size:calc(var(--w) * .052);color:rgba(92,66,32,.86);backface-visibility:hidden;-webkit-backface-visibility:hidden;
  text-shadow:0 1px 0 rgba(255,252,244,.5);pointer-events:none;user-select:none}
html[data-theme="ivory"] .wtitle{color:transparent;background:linear-gradient(180deg,#F2DA9E 0%,#D8B66C 38%,#BE9B53 62%,#8C6A2E 100%);
  -webkit-background-clip:text;background-clip:text;text-shadow:none;filter:none}
html[data-theme="ivory"] .wstrip{background:linear-gradient(180deg,#101830,#0B111F)}
html[data-theme="ivory"] .wgroove{background:linear-gradient(180deg,rgba(0,0,0,.6),rgba(0,0,0,.45));box-shadow:1px 0 0 rgba(176,196,240,.06)}
.gcap{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gwrap .gfb{display:none}
.no-js .gwrap .gfb{display:block}

/* ---------- lightbox ---------- */
.lb{position:fixed;inset:0;z-index:150;display:grid;place-items:center;background:rgba(5,8,14,.92);opacity:0;visibility:hidden;transition:opacity .45s,visibility 0s .45s;padding:24px}
.lb.on{opacity:1;visibility:visible;transition:opacity .45s}
.lb img{max-width:min(92vw,1100px);max-height:82vh;object-fit:contain}
.lb p{margin-top:14px;text-align:center;font-family:var(--f-head);font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold)}
.lb .x,.wl .x{position:absolute;top:16px;right:16px;width:44px;height:44px;display:grid;place-items:center;color:#ECE9E3;border:1px solid rgba(190,155,83,.4);border-radius:50%}

/* ---------- home ---------- */
.hero{display:grid;place-items:center;text-align:center;gap:clamp(18px,3vw,28px);padding:clamp(40px,8vw,96px) var(--gr) clamp(24px,4vw,44px) var(--gl)}
.hero-lock{width:min(520px,82vw);height:auto;filter:drop-shadow(0 12px 30px rgba(0,0,0,.35))}
.hero-sub{font-size:clamp(18px,2.2vw,22px);font-style:italic;color:var(--ink-2);max-width:44ch}
.hshop{display:inline-block;font-family:var(--f-head);font-size:11px;letter-spacing:.28em;text-transform:uppercase;text-decoration:none;
  padding:14px 30px;border:1px solid var(--gold-line);border-radius:999px;color:var(--gold);transition:background .4s,color .4s}
.hshop:hover{background:var(--gold);color:#14100a}
.sec{padding:clamp(56px,8vw,110px) 0 0}
.sec-h{text-align:center;display:grid;gap:12px;justify-items:center;margin-bottom:clamp(30px,5vw,56px)}
.sec-h h2{font-size:clamp(24px,3.6vw,40px);letter-spacing:.14em;color:var(--ink)}
.sec-h p{font-style:italic;color:var(--mute);font-size:18px}
.scenes{display:grid;gap:clamp(70px,14vh,150px);padding-top:clamp(20px,6vh,60px)}
.scene{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,80px);align-items:center}
.scene:nth-child(even) .scene-obj{order:2}
.scene[hidden]{display:none}
.scene-obj{display:grid;justify-items:center}
.scene-obj .wobj{--w:min(360px,72vw)}
.scene-obj .wobj.puck{--w:min(300px,64vw)}
.scene-obj .wobj[data-form]{display:none}
html[data-form="shirt"] .scene-obj .wobj[data-form="shirt"],html[data-form="hoodie"] .scene-obj .wobj[data-form="hoodie"],html[data-form="canvas"] .scene-obj .wobj[data-form="canvas"]{display:flex}
html:not([data-form]) .scene-obj .wobj[data-form="shirt"]{display:flex}
html[data-form="canvas"] .scene[data-wall="0"]{display:none}
.scene-tx .scene-go[data-form]{display:none}
html:not([data-form]) .scene-go[data-form="shirt"],html[data-form="shirt"] .scene-go[data-form="shirt"],html[data-form="hoodie"] .scene-go[data-form="hoodie"],html[data-form="canvas"] .scene-go[data-form="canvas"]{display:inline-block}
.scene-tx{max-width:460px}
.scene-tx .roman{font-family:var(--f-head);font-size:12px;letter-spacing:.3em;color:var(--gold)}
.scene-tx h3{margin:10px 0 4px;font-size:clamp(22px,2.8vw,32px);letter-spacing:.12em}
.scene-tx h3 a{text-decoration:none}
.scene-tx .ptitle{font-style:italic;font-size:19px;color:var(--ink-2)}
.caps{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);display:grid;gap:4px}
.caps em{font-family:var(--f-head);font-style:normal;font-size:12px;letter-spacing:.24em;color:var(--gold)}
.caps .c1{font-size:19.5px;line-height:1.45}
.caps .c2{font-family:var(--f-head);font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--mute);margin-top:8px}
.caps .c3{font-style:italic;color:var(--ink-2)}
.scene-go{display:inline-block;margin-top:18px;font-family:var(--f-head);font-size:10.5px;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);text-decoration:none;
  border-bottom:1px solid var(--gold-line);padding-bottom:4px}
@media (max-width:820px){.scene{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}.scene:nth-child(even) .scene-obj{order:0}.caps{justify-items:center}}
.note{max-width:680px;margin:0 auto;text-align:center;display:grid;gap:22px;font-size:clamp(20px,2.4vw,24px);font-style:italic;color:var(--ink-2)}
.faq{max-width:760px;margin:0 auto}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:18px 34px 18px 0;position:relative;font-family:var(--f-head);font-size:14px;letter-spacing:.12em}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:6px;top:50%;width:9px;height:9px;border-right:1px solid var(--gold);border-bottom:1px solid var(--gold);transform:translateY(-70%) rotate(45deg);transition:transform .4s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq details p{padding:0 0 20px;color:var(--ink-2)}
.faq a{color:var(--gold)}
.soon{text-align:center;margin-top:clamp(36px,5vw,60px);display:grid;gap:8px;justify-items:center}
.soon h3{font-size:clamp(18px,2.4vw,24px);letter-spacing:.18em}
.soon p{font-style:italic;color:var(--mute)}
.soon img{width:46px;opacity:.85}

/* ---------- maps (campaign, field overviews, locations) ---------- */
.mapfig{margin:0 auto;max-width:1120px}
.mapbox{position:relative;background:#0d1220;border:1px solid rgba(190,155,83,.4);padding:clamp(8px,1.4vw,14px);box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.mapbox::before{content:"";position:absolute;inset:5px;border:1px solid rgba(190,155,83,.14);pointer-events:none}
.mapbox svg{display:block;width:100%;height:auto}
.mapfig figcaption{margin-top:14px;text-align:center;font-style:italic;color:var(--ink-2);font-size:18px}
.map .coast{fill:none;stroke:rgba(236,233,227,.30);stroke-width:1.1;stroke-linejoin:round;stroke-linecap:round}
.map .sea{fill:rgba(236,233,227,.035);stroke:rgba(236,233,227,.30);stroke-width:1.1;stroke-linejoin:round}
.map .river{fill:none;stroke:rgba(140,170,215,.42);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.map .grat{stroke:rgba(190,155,83,.08);stroke-width:1}
.map .route{fill:none;stroke:#BE9B53;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:var(--len);stroke-dashoffset:var(--len);transition:stroke-dashoffset 4.2s cubic-bezier(.45,0,.35,1)}
.map .route.back{stroke-dasharray:3 6;stroke-dashoffset:0;opacity:0;transition:opacity 1.2s ease 3.6s;stroke-width:1.6}
.map.drawn .route{stroke-dashoffset:0}
.map.drawn .route.back{opacity:.85}
.map .lbl{font-family:var(--f-head);font-size:13px;letter-spacing:.16em;fill:rgba(236,233,227,.72);text-transform:uppercase}
.map .lbl.gold{fill:#E2C47F}
.map .lbl.small{font-size:11px;fill:rgba(236,233,227,.5)}
.map .lbl.sea-l{font-family:var(--f-body);font-style:italic;font-size:15px;letter-spacing:.12em;fill:rgba(236,233,227,.32);text-transform:none}
.map .dot{fill:#ECE9E3;opacity:.7}
.map a .star{transition:transform .4s var(--ease);transform-box:fill-box;transform-origin:center}
.map a:hover .star,.map a:focus .star{transform:scale(1.35)}
.map a{cursor:pointer;outline:none}
.map a:focus-visible .lbl{fill:#fff}
.map .mac{fill:#BE9B53}
.map .mac-o{fill:none;stroke:#E2C47F;stroke-width:1}
.map .foe{fill:rgba(236,233,227,.85)}
.map .foe-o{fill:none;stroke:rgba(236,233,227,.85);stroke-width:1.2}
.map .move{fill:none;stroke:#E2C47F;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:var(--len);stroke-dashoffset:var(--len);transition:stroke-dashoffset 2.4s cubic-bezier(.45,0,.35,1) .4s}
.map.drawn .move{stroke-dashoffset:0}
.map .head{fill:#E2C47F;opacity:0;transition:opacity .5s ease 2.6s}
.map.drawn .head{opacity:1}
.map .terrain{fill:none;stroke:rgba(236,233,227,.28);stroke-width:1.1}
.map .hill{fill:rgba(236,233,227,.06);stroke:rgba(236,233,227,.26);stroke-width:1}
.map .water{fill:rgba(140,170,215,.10);stroke:rgba(140,170,215,.5);stroke-width:1.2}
.map .key{font-family:var(--f-head);font-size:11px;letter-spacing:.2em;fill:rgba(236,233,227,.6);text-transform:uppercase}
.map .key.gold{fill:#E2C47F}
.map .u{transition:transform 1.7s cubic-bezier(.45,0,.25,1),opacity 1.2s ease}
.map .units{transition:opacity .6s ease}
.map .units.fade{opacity:0}
.fcap{min-height:3.2em;margin-top:14px;text-align:center;font-style:italic;color:var(--ink-2);font-size:18px;line-height:1.45}
.fcap span{display:inline-block;transition:opacity .38s ease,transform .5s var(--ease)}
.fcap span.out{opacity:0;transform:translateY(4px)}
@media (prefers-reduced-motion:reduce){.map .route,.map .move{transition:none;stroke-dashoffset:0}.map .head{opacity:1;transition:none}.map .route.back{opacity:.85;transition:none}}

/* ---------- collections ---------- */
.back{display:inline-flex;gap:8px;align-items:center;margin-top:22px;font-family:var(--f-head);font-size:10.5px;letter-spacing:.26em;text-transform:uppercase;color:var(--mute);text-decoration:none}
.back:hover{color:var(--gold)}
.ctiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2.6vw,30px);max-width:880px;margin:0 auto}
.ctile{position:relative;display:grid;justify-items:center;gap:6px;padding:clamp(22px,3.4vw,40px) 18px;border:1px solid var(--gold-line);text-decoration:none;text-align:center;
  background:color-mix(in srgb,var(--ink) 3%,transparent)}
.ctile::before{content:"";position:absolute;inset:6px;border:1px solid var(--gold-faint);pointer-events:none}
.ctile img{width:58px;height:58px;object-fit:contain;margin-bottom:8px}
.ctile h3{font-size:clamp(15px,2vw,20px);letter-spacing:.16em}
.ctile p{font-style:italic;color:var(--mute)}
.ctile.dim{opacity:.62}
.cgroup{margin-top:clamp(70px,10vw,130px)}
.cgroup-h{text-align:center;display:grid;gap:8px;justify-items:center;margin-bottom:clamp(30px,5vw,50px)}
.cgroup-h h2{font-size:clamp(20px,3vw,30px);letter-spacing:.14em}
.cgroup-h h2 a{text-decoration:none}
.cgroup-h p{font-style:italic;color:var(--ink-2)}
.cgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:clamp(56px,7vw,90px) clamp(18px,3vw,40px);justify-items:center;align-items:start}
.cgrid .wobj{--w:min(250px,70vw)}
.cgrid .wobj.puck{--w:min(220px,62vw)}

/* ---------- product ---------- */
.pv{display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:clamp(28px,4.5vw,72px);align-items:start;margin-top:18px}
.pv .gwrap{position:relative}
.pv .info{position:sticky;top:96px}
.info{display:grid;gap:16px;align-content:start;padding-top:clamp(0px,2vw,20px)}
.info h1{font-size:clamp(26px,3.8vw,42px);letter-spacing:.12em}
.info .garm{font-family:var(--f-head);font-size:12px;letter-spacing:.26em;text-transform:uppercase;color:var(--ink-2)}
.info .pr{font-size:28px;font-style:italic}
.info .meta{font-size:16px;color:var(--mute);font-style:italic}
.seg{display:inline-flex;border:1px solid var(--gold-line);border-radius:999px;overflow:hidden;width:max-content;max-width:100%}
.seg a,.seg span{font-family:var(--f-head);font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;padding:11px 20px;text-decoration:none;color:var(--ink);transition:background .45s,color .45s}
.seg a:hover{background:var(--gold-faint)}
.seg .on,.seg a.on:hover{background:var(--gold);color:#14100a;font-weight:600}
html[data-theme="ivory"] .seg .on,html[data-theme="ivory"] .seg a.on:hover{background:#0d1220;color:var(--gold)}
.lab{font-family:var(--f-head);font-size:10px;letter-spacing:.3em;text-transform:uppercase;color:var(--mute);margin-bottom:8px}
.szs{display:flex;flex-wrap:wrap;gap:8px}
.szb{min-width:52px;height:44px;padding:0 14px;border:1px solid var(--line-2);font-family:var(--f-head);font-size:11.5px;letter-spacing:.12em;transition:all .3s;border-radius:2px}
.szb:hover{border-color:var(--gold)}
.szb.on{background:var(--gold);border-color:var(--gold);color:#14100a}
.szs.need{animation:need 1.2s ease}
@keyframes need{0%,100%{transform:none}20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}
.fitnote{font-size:16px;color:var(--mute);font-style:italic}
.lead{font-size:20px;line-height:1.6;color:var(--ink)}
.desc{display:grid;gap:12px;color:var(--ink-2);font-size:17.5px;padding-top:18px;border-top:1px solid var(--line)}
.desc h4{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin-top:10px}
.desc ul{list-style:none;display:grid;gap:4px}
.desc li{padding-left:18px;position:relative}
.desc li::before{content:"";position:absolute;left:0;top:.75em;width:7px;height:1px;background:var(--gold)}
@media (max-width:940px){.pv{grid-template-columns:minmax(0,1fr)}.pv .gwrap{position:relative;top:0}.pv .info{position:relative;top:0}.atc{width:100%}.info{max-width:640px;margin:0 auto;width:100%}}

/* explorer: the painting in its thin gold frame */
.explorer{max-width:1080px;margin:0 auto}
.pxf{position:relative;padding:clamp(6px,1vw,10px) clamp(6px,1vw,10px) 30px;border:1px solid rgba(190,155,83,.6);background:#090e19;box-shadow:0 0 0 1px rgba(190,155,83,.12) inset,0 34px 70px -34px rgba(0,0,0,.65)}
.pxf::before{content:"";position:absolute;inset:3px;border:1px solid rgba(190,155,83,.22);pointer-events:none}
.px{position:relative;line-height:0;touch-action:pan-y}
.px.exam{cursor:none}
.px.exam.touch{touch-action:none}
.px-img{display:block;width:100%;height:auto}
.px-lens{position:absolute;left:0;top:0;width:190px;height:190px;border-radius:50%;border:1.5px solid rgba(190,155,83,.95);
  box-shadow:0 14px 34px rgba(0,0,0,.55),inset 0 0 0 1px rgba(13,18,32,.35);background-color:#0d1220;background-repeat:no-repeat;
  pointer-events:none;opacity:0;transition:opacity .25s;z-index:2}
.px.lensing .px-lens{opacity:1}
/* the stars always sit ABOVE the lens and stay clickable while it is active */
.px-dot{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;display:grid;place-items:center;cursor:pointer;z-index:4;opacity:.92}
.px-star{display:block;width:38px;height:38px;filter:drop-shadow(0 0 1.5px rgba(5,8,14,.85)) drop-shadow(0 0 2px rgba(240,214,130,.55)) drop-shadow(0 0 5px rgba(232,197,106,.28));
  animation:pxflash 5s linear infinite;animation-delay:calc(var(--d,0) * -1.67s)}
.px-star svg{display:block;width:100%;height:100%}
.px-dot:hover .px-star,.px-dot.on .px-star{animation:none;filter:drop-shadow(0 0 1.5px rgba(5,8,14,.85)) drop-shadow(0 0 3px rgba(255,246,205,.9)) drop-shadow(0 0 7px rgba(232,197,106,.5)) brightness(1.35)}
@keyframes pxflash{0%,82%,100%{transform:scale(1);opacity:.85}88%{transform:scale(1.25);opacity:1}}
.px-card{position:absolute;z-index:5;width:min(300px,calc(100% - 24px));background:rgba(10,14,25,.96);border:1px solid rgba(190,155,83,.5);padding:16px 18px 15px;
  line-height:1.5;box-shadow:0 18px 40px rgba(0,0,0,.5);color:#ECE9E3;cursor:auto}
.px-card h5{margin:0 0 6px;font-size:13.5px;letter-spacing:.12em;color:#BE9B53}
.px-card p{font-size:16.5px;line-height:1.55;color:rgba(236,233,227,.9)}
.px-card[hidden]{display:none}
.px.exam .px-dot{cursor:pointer}
.medal{position:absolute;left:50%;top:100%;transform:translate(-50%,-23px);z-index:6;display:grid;justify-items:center;gap:0}
.medal button{position:relative;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  background:radial-gradient(circle at 42% 34%,#F6E3AE 0%,#D8B66C 34%,#B48D46 70%,#7E5E26 100%);
  box-shadow:0 0 0 3px #090e19,0 0 0 4px rgba(190,155,83,.6),0 0 0 7px #090e19,0 0 0 8px rgba(190,155,83,.22),0 8px 18px rgba(0,0,0,.5),inset 0 1px 1px rgba(255,248,224,.7),inset 0 -2px 4px rgba(60,40,10,.5);
  transition:box-shadow .45s var(--ease),filter .45s}
.medal button:hover{filter:brightness(1.08)}
.medal button svg{width:20px;height:20px;color:#2a1d08}
.medal button[aria-pressed="true"]{box-shadow:0 0 0 3px #090e19,0 0 0 4px #F2DA9E,0 0 0 7px #090e19,0 0 0 8px rgba(242,218,158,.4),0 0 20px rgba(242,218,158,.45),0 8px 18px rgba(0,0,0,.5),inset 0 1px 1px rgba(255,248,224,.7),inset 0 -2px 4px rgba(60,40,10,.5)}
.medal .plaque{margin-top:12px;padding:4px 11px 3px;border-radius:1px;font-family:var(--f-head);font-weight:600;font-size:8.5px;letter-spacing:.34em;padding-left:calc(11px + .34em);line-height:1.2;color:#2a1d08;
  background:linear-gradient(180deg,#E8CC8A 0%,#C9A55E 48%,#A5843F 100%);box-shadow:inset 0 1px 0 rgba(255,244,210,.65),inset 0 -1px 0 rgba(70,48,14,.45),0 0 0 1px rgba(60,40,10,.35),0 3px 8px rgba(0,0,0,.45)}
.explorer .pcap{margin-top:58px;text-align:center;font-style:italic;color:var(--ink-2);font-size:17.5px;max-width:760px;margin-left:auto;margin-right:auto}
.ptitle-h{text-align:center;margin-bottom:clamp(22px,3vw,34px)}
.ptitle-h h2{font-size:clamp(20px,3vw,32px);letter-spacing:.14em}

.story{max-width:780px;margin:clamp(40px,6vw,70px) auto 0;display:grid;gap:26px}
.st-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:22px}
.st-row h4{font-family:var(--f-body);font-style:italic;font-weight:400;font-size:22px;letter-spacing:0;line-height:1.3;color:var(--gold)}
.st-row p{color:var(--ink-2)}
@media (max-width:560px){.st-row{grid-template-columns:minmax(0,1fr);gap:4px}}


.tl{position:relative;max-width:960px;margin:clamp(60px,9vw,110px) auto 0}
.tl ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:relative}
.tl ol::before{content:"";position:absolute;left:12.5%;right:12.5%;top:7px;height:1px;background:var(--gold-line)}
.tl li{display:flex;justify-content:center}
.tl-pt{display:grid;align-content:start;justify-items:center;text-align:center;gap:8px;padding:0 10px 6px;cursor:pointer;border-radius:4px}
.tl-pt::before{content:"";width:15px;height:15px;border-radius:50%;background:var(--ground);box-shadow:0 0 0 1px var(--gold);margin-bottom:8px;
  transition:background .45s var(--ease),box-shadow .45s var(--ease),transform .45s var(--ease)}
.tl-pt:hover::before,.tl-pt[aria-expanded="true"]::before{background:var(--gold);box-shadow:0 0 0 1px var(--gold),0 0 0 5px var(--gold-faint);transform:scale(1.1)}
.tl-pt b{font-family:var(--f-head);font-weight:400;font-size:clamp(15px,1.7vw,19px);letter-spacing:.14em;color:var(--gold);line-height:1.2}
.tl-pt span{font-size:17px;color:var(--ink-2);line-height:1.35;max-width:22ch}
.tl-card{position:absolute;z-index:5;width:min(290px,86vw);padding:16px 18px;background:var(--panel);border:1px solid var(--gold-line);color:var(--ink);
  box-shadow:0 18px 40px -12px rgba(0,0,0,.45);opacity:0;transform:translateY(6px);pointer-events:none;transition:opacity .35s ease,transform .45s var(--ease)}
.tl-card.on{opacity:1;transform:none;pointer-events:auto}
.tl-card b{display:block;font-family:var(--f-head);font-weight:400;font-size:12px;letter-spacing:.24em;color:var(--gold);margin-bottom:6px}
.tl-card p{font-size:16.5px;line-height:1.5;color:var(--ink-2)}
@media (max-width:700px){.tl ol{grid-template-columns:minmax(0,1fr);gap:22px;padding-left:4px}.tl ol::before{left:11px;right:auto;top:8px;bottom:8px;width:1px;height:auto}
  .tl li{justify-content:flex-start}.tl-pt{grid-template-columns:15px auto;grid-template-rows:auto auto;justify-items:start;text-align:left;column-gap:16px;row-gap:2px;padding:0}
  .tl-pt::before{grid-row:1/3;margin:3px 0 0}.tl-pt span{grid-column:2}}

.field{margin-top:clamp(60px,9vw,110px)}
.more{margin-top:clamp(70px,10vw,130px)}

/* ---------- cart drawer ---------- */
.covl{position:fixed;inset:0;background:rgba(4,6,12,.55);opacity:0;visibility:hidden;transition:opacity .4s,visibility 0s .4s;z-index:90}
.covl.open{opacity:1;visibility:visible;transition:opacity .4s}
.cdraw{position:fixed;top:0;right:0;height:100dvh;width:min(430px,94vw);background:var(--ground);color:var(--ink);border-left:1px solid var(--gold-line);z-index:95;
  transform:translateX(105%);transition:transform .55s cubic-bezier(.22,.9,.3,1),background .6s;display:flex;flex-direction:column}
.cdraw.open{transform:none}
.cdraw-h{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}
.cdraw-h h3{font-size:16px;letter-spacing:.24em;text-transform:uppercase}
.cx{width:40px;height:40px;font-size:24px;line-height:1;color:var(--ink)}
.citems{flex:1;overflow-y:auto;padding:6px 22px}
.cempty{padding:40px 0;text-align:center;font-style:italic;color:var(--mute)}
.citem{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start}
.citem img{width:62px;height:62px;object-fit:contain;border-radius:10px;background:#E9E6DF}
html[data-theme="ivory"] .citem img{background:#111930}
.ci-n{display:block;font-family:var(--f-head);font-size:11.5px;letter-spacing:.12em}
.ci-s{display:block;font-size:15.5px;color:var(--mute);font-style:italic}
.ci-q{display:inline-flex;align-items:center;gap:12px;margin-top:6px;border:1px solid var(--line-2);border-radius:999px;padding:2px 10px}
.ci-q button{width:24px;height:28px;font-size:17px}
.ci-r{display:grid;justify-items:end;gap:8px}
.ci-p{font-style:italic;font-size:17px;white-space:nowrap}
.ci-x{font-size:20px;color:var(--mute)}
.cfoot{border-top:1px solid var(--line);padding:18px 22px calc(20px + env(safe-area-inset-bottom,0px));display:grid;gap:10px}
.crow{display:flex;justify-content:space-between;font-size:17.5px}
.crow.disc{color:var(--gold)}
.cnote{font-size:15.5px;color:var(--mute);font-style:italic}
.cprog{height:2px;background:var(--line);position:relative;overflow:hidden}
.cprog i{position:absolute;left:0;top:0;bottom:0;background:var(--gold);transition:width .6s var(--ease)}
.ccheck{height:52px;background:linear-gradient(180deg,#D3B36E,#BE9B53 55%,#A5843F);color:#14100a;font-family:var(--f-head);font-weight:600;font-size:12px;letter-spacing:.24em;text-transform:uppercase;border-radius:3px}
.ckeep{font-size:16px;color:var(--mute);text-decoration:underline;text-underline-offset:4px;padding:6px}

/* ---------- the list (offer popup) ---------- */
.wl{position:fixed;inset:0;z-index:140;display:grid;place-items:center;padding:20px}
.wl[hidden]{display:none}
.wl-back{position:absolute;inset:0;background:rgba(5,9,17,.76);opacity:0;transition:opacity .5s ease}
.wl-box{position:relative;width:min(500px,100%);max-height:calc(100svh - 40px);overflow:auto;text-align:center;color:#ECE9E3;
  background:radial-gradient(120% 90% at 50% 0%,#16213a 0%,#0d1220 72%);border:1px solid rgba(190,155,83,.3);padding:56px 40px 32px;opacity:0;transform:translateY(16px);
  transition:opacity .55s ease,transform .55s cubic-bezier(.2,.7,.2,1)}
.wl-box::before{content:"";position:absolute;inset:10px;border:1px solid rgba(238,232,220,.07);pointer-events:none}
.wl.on .wl-back{opacity:1}.wl.on .wl-box{opacity:1;transform:none}
.wl-sun{width:48px;margin:0 auto 14px}
.wl-eye{font-family:var(--f-head);font-size:13px;letter-spacing:.42em;padding-left:.42em;color:rgba(243,239,230,.78)}
.wl-h{margin:14px auto 6px;font-size:clamp(24px,5vw,32px)}
.wl-gets{list-style:none;margin:20px auto 0;padding:0;display:grid;gap:10px;max-width:30ch}
.wl-gets li{font-size:19px}
.wl-gets li+li{padding-top:10px;border-top:1px solid rgba(238,232,220,.12);color:rgba(243,239,230,.78)}
.wl-gets b{font-weight:500;color:#BE9B53}
.wl-f{margin-top:26px;display:grid;gap:12px}
.wl-f input[type=email]{width:100%;min-height:52px;background:transparent;border:0;border-bottom:1px solid rgba(238,232,220,.26);color:#ECE9E3;font:inherit;font-size:19px;text-align:center;padding:10px 6px;border-radius:0}
.wl-f input[type=email]:focus{outline:none;border-bottom-color:#BE9B53}
.wl-btn{min-height:52px;width:100%;background:linear-gradient(180deg,#D3B36E,#BE9B53 55%,#A5843F);color:#14100a;font-family:var(--f-head);font-weight:600;font-size:12px;letter-spacing:.24em;text-transform:uppercase}
.wl-err{min-height:1.4em;color:#e3887c;font-size:16px}
.wl-skip{display:inline-block;margin-top:6px;padding:10px;font-size:16px;color:rgba(236,233,227,.55);text-decoration:underline;text-underline-offset:4px}
.wl-p{color:rgba(236,233,227,.6)}
.wl-code{margin:10px 0 18px;font-family:var(--f-head);font-size:clamp(30px,8vw,44px);letter-spacing:.06em;color:#BE9B53;user-select:all;-webkit-user-select:all}
.wl-copy{min-height:44px;min-width:120px;padding:0 22px;border:1px solid rgba(190,155,83,.6);font-family:var(--f-head);font-size:11px;letter-spacing:.2em;text-transform:uppercase;margin-bottom:22px}
@media (max-width:640px){.wl{place-items:end center;padding:0}.wl-box{width:100%;max-height:92svh;border-radius:18px 18px 0 0;border-bottom:0;padding:48px 22px calc(26px + env(safe-area-inset-bottom,0px));transform:translateY(100%)}.wl-box::before{display:none}}

/* ---------- 404 ---------- */
.nf{min-height:70vh;display:grid;place-items:center;text-align:center;gap:14px;align-content:center}
.nf h1{font-size:22px;letter-spacing:.3em}
.nf p{font-style:italic;color:var(--mute)}

/* ---------- v2: collections header, add to cart, details, the procession ---------- */
.sec-h .dates{font-family:var(--f-body);font-style:italic;letter-spacing:.02em;font-size:.62em;color:var(--mute);white-space:nowrap}
.atc{position:relative;height:54px;width:min(100%,360px);border-radius:3px;overflow:hidden;font-family:var(--f-head);font-weight:600;font-size:11.5px;letter-spacing:.24em;text-transform:uppercase;
  background:linear-gradient(180deg,#D3B36E,#BE9B53 55%,#A5843F);color:#14100a;box-shadow:inset 0 1px 0 rgba(255,240,200,.5),0 1px 0 rgba(0,0,0,.25);transition:filter .3s}
.atc:hover{filter:brightness(1.05)}
.atc span{position:absolute;inset:0;display:grid;place-items:center;transition:opacity .45s ease,transform .6s var(--ease)}
.atc .a2{opacity:0;transform:translateY(60%)}
.atc.done .a1{opacity:0;transform:translateY(-60%)}
.atc.done .a2{opacity:1;transform:none}
.details{max-width:760px;margin:clamp(70px,10vw,120px) auto 0;display:grid;gap:14px}
.details .lead{font-size:20px;line-height:1.6}
.details .desc{border-top:0;padding-top:0}
.details .meta{font-style:italic;color:var(--mute);font-size:16px}
.soon .dates{font-family:var(--f-body);font-style:italic;letter-spacing:.02em;font-size:.8em;color:var(--mute);white-space:nowrap}
.soon .eyebrow{margin-top:6px}
.ctile .eyebrow{margin-bottom:2px}
/* the field: still deployment diagrams with labelled arrows */
.map.battle .kl{font-family:var(--f-head);font-size:11px;letter-spacing:.12em;fill:rgba(236,233,227,.8);text-transform:uppercase}
.map.battle .kl.g{fill:#E2C47F}
.map.battle .kl.it{font-family:var(--f-body);font-style:italic;font-size:14px;letter-spacing:.04em;text-transform:none}
.map.battle .ld{fill:none;stroke:rgba(236,233,227,.42);stroke-width:.9}
.map.battle .ld.g{stroke:rgba(226,196,127,.55)}
.map.battle .ldh{fill:rgba(236,233,227,.6)}
.map.battle .ldh.g{fill:rgba(226,196,127,.8)}
.map.battle .mv{fill:none;stroke:#E2C47F;stroke-width:2.2;stroke-linecap:round}
.map.battle .mv.flee{stroke:rgba(236,233,227,.75);stroke-dasharray:4 4;stroke-width:1.6}
.map.battle .hd{fill:#E2C47F}
.map.battle .hd.i{fill:rgba(236,233,227,.85)}
.map.battle .mac-o,.map.battle .foe-o{stroke-width:1.4}
.map.battle .leg{fill:rgba(236,233,227,.7)}
.map.battle .leg-o{fill:none;stroke:rgba(236,233,227,.7);stroke-width:1.3}
.map.battle .lg{font-family:var(--f-head);font-size:10px;letter-spacing:.14em;fill:rgba(236,233,227,.6);text-transform:uppercase}

/* v3: title block, in-place switching, the painting's timeline beside its description, the field */
.info h1 + .eyebrow{margin-top:-8px}
.xf{transition:opacity .34s ease}
.xf-out{opacity:0 !important}
.pstory{display:grid;grid-template-columns:minmax(92px,190px) minmax(0,1fr);gap:clamp(16px,4vw,52px);max-width:900px;margin:clamp(40px,6vw,70px) auto 0;align-items:start}
.tl.v{margin:0;max-width:none}
.tl.v > .eyebrow{margin-bottom:16px}
.tl.v ol{grid-template-columns:minmax(0,1fr);gap:20px;padding-left:4px}
.tl.v ol::before{left:11px;right:auto;top:8px;bottom:8px;width:1px;height:auto}
.tl.v li{justify-content:flex-start}
.tl.v .tl-pt{grid-template-columns:15px auto;grid-template-rows:auto auto;justify-items:start;text-align:left;column-gap:14px;row-gap:2px;padding:0}
.tl.v .tl-pt::before{grid-row:1/3;margin:3px 0 0}
.tl.v .tl-pt b{font-size:clamp(14px,1.6vw,17px)}
.tl.v .tl-pt span{grid-column:2;font-size:clamp(13.5px,1.5vw,16px)}
.acc{border-top:1px solid var(--line)}
.acc-row{border-bottom:1px solid var(--line)}
.acc-h{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 4px 16px 0;cursor:pointer;text-align:left;transition:color .3s}
.acc-h h4{font-family:var(--f-body);font-style:italic;font-weight:400;font-size:clamp(19px,2vw,23px);letter-spacing:0;line-height:1.3;color:var(--gold);transition:color .3s}
.acc-h:hover h4,.acc-h:focus-visible h4{color:var(--gold-hi)}
html[data-theme="ivory"] .acc-h:hover h4{color:#8C6A2E}
.acc-c{flex:none;width:26px;height:26px;padding:6px;border:1px solid var(--gold-line);border-radius:50%;fill:none;stroke:var(--gold);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .5s var(--ease),background .3s,border-color .3s}
.acc-h:hover .acc-c{background:var(--gold-faint);border-color:var(--gold)}
.acc-row.open .acc-c{transform:rotate(180deg)}
.acc-b{height:0;overflow:hidden;transition:height .5s var(--ease)}
.acc-b p{padding:0 0 18px;color:var(--ink-2)}
.fieldfig{max-width:900px}
@media (max-width:640px){.pstory{gap:14px;grid-template-columns:112px minmax(0,1fr)}.tl.v .tl-pt{column-gap:9px}.tl.v .tl-pt span{font-size:13px;line-height:1.3}.tl.v ol{gap:16px}.acc-b p{font-size:17px}}

/* v4 ---------------------------------------------------------------------------------------------- */
/* the pill: rounded ends shaded as the cylinder's caps; a press dip, a spring back, a click into place */
.cyl::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(90deg,rgba(30,22,10,.30) 0%,rgba(30,22,10,.10) 3.5%,rgba(30,22,10,0) 8%,rgba(30,22,10,0) 92%,rgba(30,22,10,.10) 96.5%,rgba(30,22,10,.30) 100%);
  box-shadow:inset 0 1px 0 rgba(255,252,244,.55),inset 0 -1px 0 rgba(30,22,10,.25)}
html[data-theme="ivory"] .cyl::after{background:linear-gradient(90deg,rgba(0,0,0,.45) 0%,rgba(0,0,0,.15) 3.5%,rgba(0,0,0,0) 8%,rgba(0,0,0,0) 92%,rgba(0,0,0,.15) 96.5%,rgba(0,0,0,.45) 100%);
  box-shadow:inset 0 1px 0 rgba(176,196,240,.2),inset 0 -1px 0 rgba(0,0,0,.4)}
.cyl-edge{left:calc(var(--R) * .9);right:calc(var(--R) * .9)}
.cyl-face{padding:0 calc(var(--R) * .62) 0 calc(var(--R) * .7)}
.cyl-face img{width:40px;height:40px}
.bb-buy{border-radius:999px;padding:11px 18px}
.cyl.press{transform:translateY(1.5px) scale(.982);transition:transform .12s ease}
.cyl.rise{transition:transform .5s cubic-bezier(.2,1.6,.4,1)}
.cyl.land{animation:land .42s cubic-bezier(.3,0,.2,1)}
@keyframes land{0%{transform:none}35%{transform:translateY(2px) scale(.988)}70%{transform:translateY(-.6px) scale(1.004)}100%{transform:none}}
.cyl-ground{border-radius:50%}
@media (max-width:420px){.cyl-face{padding:0 calc(var(--R) * .5) 0 calc(var(--R) * .55)}}

/* 2) the wheel's centre: one carved bowl, a single smooth concave curve */
.wbowl{border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side at 50% 54%,hsl(42 8% 66%) 0%,hsl(42 9% 70%) 26%,hsl(42 10% 76%) 54%,hsl(42 11% 83%) 80%,hsl(42 12% 88%) 100%),
             hsl(42 10% 80%);
  box-shadow:inset 0 calc(var(--w) * .022) calc(var(--w) * .04) rgba(46,34,16,.30),inset 0 calc(var(--w) * -.012) calc(var(--w) * .02) rgba(255,253,246,.55)}
html[data-theme="ivory"] .wbowl{background:radial-gradient(closest-side at 50% 54%,hsl(223 36% 4%) 0%,hsl(223 34% 6.5%) 30%,hsl(223 33% 9.5%) 60%,hsl(223 32% 13%) 88%,hsl(223 32% 15%) 100%);
  box-shadow:inset 0 calc(var(--w) * .022) calc(var(--w) * .04) rgba(0,0,0,.55),inset 0 calc(var(--w) * -.012) calc(var(--w) * .02) rgba(176,196,240,.10)}

/* 9) the painting fills its gold frame; the magnifier hangs just beneath, touching the frame line */
.pxf{padding:0 !important;border:1px solid rgba(190,155,83,.75);background:none;
  box-shadow:0 0 0 3px #090e19,0 0 0 4px rgba(190,155,83,.28),0 34px 70px -34px rgba(0,0,0,.65)}
.pxf::before{display:none}
.medal{top:100%;transform:translate(-50%,4px)}
.medal button{width:44px;height:44px;box-shadow:0 0 0 1px rgba(190,155,83,.75),0 6px 16px rgba(0,0,0,.45),inset 0 1px 1px rgba(255,248,224,.7),inset 0 -2px 4px rgba(60,40,10,.5)}
.medal button[aria-pressed="true"]{box-shadow:0 0 0 1px #F2DA9E,0 0 18px rgba(242,218,158,.45),0 6px 16px rgba(0,0,0,.45),inset 0 1px 1px rgba(255,248,224,.7),inset 0 -2px 4px rgba(60,40,10,.5)}
.explorer .pcap{margin-top:70px}

/* 6–7) home: numeral, title, the piece — one even rhythm */
.scenes{gap:clamp(64px,9vw,104px)}
.scene{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:clamp(16px,2.4vw,26px)}
.scene:nth-child(even) .scene-obj{order:0}
.scene-tx{max-width:none}
.scene-tx h3{margin:8px 0 0}
.cgroup{margin-top:clamp(64px,9vw,104px)}
.cgrid{row-gap:clamp(48px,6vw,72px)}

/* 12) the timeline: a slim, quiet rail */
.pstory{grid-template-columns:minmax(84px,150px) minmax(0,1fr)}
.tl.v > .eyebrow{font-size:9.5px;margin-bottom:12px}
.tl.v ol{gap:12px}
.tl.v ol::before{left:7px}
.tl.v .tl-pt{grid-template-columns:10px auto;column-gap:10px;row-gap:1px}
.tl.v .tl-pt::before{width:9px;height:9px;margin:4px 0 0 2px}
.tl.v .tl-pt b{font-size:11.5px;letter-spacing:.16em}
.tl.v .tl-pt span{font-size:13px;line-height:1.3;max-width:18ch}
.tl-card{width:min(260px,80vw);padding:13px 15px}
.tl-card p{font-size:15px}
@media (max-width:640px){.pstory{grid-template-columns:96px minmax(0,1fr)}.tl.v .tl-pt span{font-size:12px}.tl.v .tl-pt b{font-size:10.5px}}

/* 10) the field: side labels */
.map.battle .side{font-family:var(--f-head);font-size:12.5px;letter-spacing:.32em;fill:rgba(236,233,227,.5);text-transform:uppercase}
.map.battle .side.g{fill:rgba(226,196,127,.75)}

/* v5 ---------------------------------------------------------------------------------------------- */
/* 1) the welcome: the logo and SHOP ALL, alone on a full screen of navy */
.hero{min-height:100svh;min-height:100vh;align-content:center;padding-top:0;padding-bottom:calc(120px + env(safe-area-inset-bottom,0px));gap:clamp(26px,4vw,40px)}
@supports (min-height:100svh){.hero{min-height:100svh}}
#collection{padding-top:clamp(56px,8vw,96px) !important}
/* 2) the header sun waits until the hero logo has gone */
.brand{transition:opacity .55s ease,transform .7s var(--ease)}
html.hero-on .brand{opacity:0;transform:translateY(-6px) scale(.92);pointer-events:none}

/* the product view: the same imprint in the big slab */
.gwell,.glip{position:absolute;inset:5.5%;border-radius:calc(var(--w) * .045);display:block;pointer-events:none}
.gwell{background:linear-gradient(180deg,#D9D4C9 0%,#E2DED5 30%,#E6E2D9 100%);
  box-shadow:inset 0 calc(var(--w) * .008) calc(var(--w) * .014) rgba(60,46,26,.30),inset 0 calc(var(--w) * -.003) 0 rgba(255,253,247,.75),0 calc(var(--w) * .002) 0 rgba(255,253,247,.6)}
.glip{z-index:2;box-shadow:inset 0 calc(var(--w) * .006) calc(var(--w) * .011) rgba(50,38,20,.26),inset 0 0 0 1px rgba(90,72,44,.10)}
html[data-theme="ivory"] .gwell{background:linear-gradient(180deg,#070B16 0%,#0B111F 35%,#0E1526 100%);
  box-shadow:inset 0 calc(var(--w) * .008) calc(var(--w) * .014) rgba(0,0,0,.6),inset 0 calc(var(--w) * -.003) 0 rgba(176,196,240,.12)}
html[data-theme="ivory"] .glip{box-shadow:inset 0 calc(var(--w) * .006) calc(var(--w) * .011) rgba(0,0,0,.5),inset 0 0 0 1px rgba(176,196,240,.06)}

/* 5) the pill: compact, clipped to its capsule — nothing rectangular anywhere */
.cyl{clip-path:inset(0 round 999px);-webkit-clip-path:inset(0 round 999px)}
.cyl-rot,.cyl-light,.cyl-edge{border-radius:999px}
.cyl-light{inset:0}
.buybar,.buybar *{-webkit-tap-highlight-color:transparent}
.buybar :focus{outline:none}
.buybar :focus-visible{outline:1px solid var(--gold);outline-offset:2px;border-radius:999px}
.bb-name{font-size:10px;letter-spacing:.14em}
.bb-buy{padding:10px 15px;font-size:9.5px;letter-spacing:.16em}
.cyl-face.sizes{gap:8px}
.cs-row{gap:5px}
.cbs{min-width:34px;height:30px;padding:0 6px;font-size:10px}
@media (max-width:400px){.cs-lab{display:none}}

/* 6) the painting is its own control; the label sits close and quiet */
.explorer .pcap{margin-top:14px !important;color:var(--mute);font-size:15.5px}
.px{cursor:zoom-in}
.px.exam{cursor:none}

/* 8) the field: the drawing fits, one legend beneath it */
.fieldfig .mapbox svg.battle{display:block;width:100%;height:auto;max-width:100%}
.flegend{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:14px 4px 4px;padding-top:12px;border-top:1px solid rgba(190,155,83,.18)}
.flegend li{display:inline-flex;align-items:center;gap:7px;font-family:var(--f-head);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:rgba(236,233,227,.66);line-height:1.3}
.flegend .lsw{width:22px;height:14px;flex:none;overflow:visible}
.map.battle .mv.res{stroke-dasharray:5 4}
@media (max-width:520px){.flegend{gap:7px 12px;justify-content:flex-start}.flegend li{font-size:8.5px;letter-spacing:.1em}}

/* 9) the other pieces: a calm row, swiped or dragged, flat and light */
/* THE OTHER PIECES — a still row: no animation of any kind; the visitor swipes or drags it (this is the only horizontal scroller on the site) */
.mrow{animation:none;display:flex;gap:clamp(16px,2.4vw,28px);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:8px var(--gr) 18px var(--gl);
  scrollbar-width:thin;scrollbar-color:var(--gold-faint) transparent;cursor:grab;-webkit-overflow-scrolling:touch}
.mrow.dragging{cursor:grabbing;scroll-snap-type:none}
.mrow::-webkit-scrollbar{height:4px}.mrow::-webkit-scrollbar-thumb{background:var(--gold-faint);border-radius:2px}
.mcard{flex:none;width:clamp(170px,22vw,220px);scroll-snap-align:start;display:grid;justify-items:center;gap:5px;text-align:center;text-decoration:none;user-select:none;-webkit-user-select:none}
.mimg{display:grid;place-items:center;width:100%;aspect-ratio:1/1.06;border-radius:22%;background:linear-gradient(180deg,#EDEAE4,#E6E2D9);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 6px rgba(70,57,38,.12),0 18px 30px -18px rgba(0,0,0,.6);margin-bottom:10px;transition:transform .5s var(--ease)}
.mcard.dark .mimg{background:linear-gradient(180deg,#111930,#0A0F1C);box-shadow:inset 0 1px 0 rgba(176,196,240,.12),inset 0 -2px 6px rgba(0,0,0,.4),0 18px 30px -18px rgba(0,0,0,.6)}
html[data-theme="ivory"] .mimg{background:linear-gradient(180deg,#111930,#0A0F1C)}
html[data-theme="ivory"] .mcard.dark .mimg{background:linear-gradient(180deg,#EDEAE4,#E6E2D9)}
.mimg img{width:76%;height:76%;object-fit:contain;pointer-events:none}
.mcard:hover .mimg{transform:translateY(-4px)}
.mcard .cap-name{font-size:10.5px}
.flegend li{min-width:0;max-width:100%}
.flegend li span{min-width:0;overflow-wrap:anywhere}
.fieldfig .mapbox .flegend svg.lsw{display:block;width:22px;height:14px;max-width:none;flex:none}

/* v6.1 — the compact pill: name on up to two lines, everything sized to the capsule */
/* THE FIELD — no scrolling wrapper: the diagram scales to the width of its frame, legend beneath */
.fieldfig,.fieldfig .mapbox{max-width:100%;overflow:hidden}
.fieldfig .mapbox svg.battle{width:100%;height:auto}
.bb-tx{flex:1 1 auto;min-width:0}
.bb-name{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.2}
.cyl-face{gap:10px}
@media (max-width:520px){
  .cyl-face{gap:8px;padding:0 calc(var(--R) * .42) 0 calc(var(--R) * .5)}
  .cyl-face img{width:34px;height:34px}
  .bb-name{font-size:8.5px;letter-spacing:.1em}
  .bb-price{font-size:14px}
  .bb-buy{padding:9px 11px;font-size:8.5px;letter-spacing:.12em}
  .cyl-face.sizes{gap:0;padding:0 calc(var(--R) * .35)}
  .cs-lab{display:none}
  .cs-row{gap:4px}
  .cbs{min-width:31px;height:28px;padding:0 4px;font-size:9px;letter-spacing:.04em}
}
.mrow{scroll-padding-inline:var(--gl) var(--gr)}

/* v7 ---------------------------------------------------------------------------------------------- */
/* 2) the selector: one long cylinder of bone stone, three segments, engraved bronze capitals */
.selcyl{--R:29px;position:relative;width:min(600px,100%);height:calc(var(--R) * 2);margin:0 auto}
.sel-ground{position:absolute;left:5%;right:5%;bottom:calc(var(--R) * -.62);height:calc(var(--R) * .55);border-radius:50%;filter:blur(6px);pointer-events:none;
  background:radial-gradient(closest-side,rgba(236,233,227,.2),rgba(236,233,227,.07) 60%,rgba(236,233,227,0))}
.sel-body{position:absolute;inset:0;display:flex;border-radius:999px;overflow:hidden;isolation:isolate;clip-path:inset(0 round 999px);-webkit-clip-path:inset(0 round 999px);
  background:linear-gradient(180deg,#ADA595 0%,#E4DFD5 8%,#F7F4EE 19%,#EEEAE1 33%,#DFD9CD 52%,#C6BEAF 72%,#A49B8B 90%,#B0A797 100%)}
.sel-body::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;
  background:linear-gradient(90deg,rgba(30,22,10,.30) 0%,rgba(30,22,10,.10) 2.5%,rgba(30,22,10,0) 6%,rgba(30,22,10,0) 94%,rgba(30,22,10,.10) 97.5%,rgba(30,22,10,.30) 100%);
  box-shadow:inset 0 1px 0 rgba(255,252,244,.55),inset 0 -1px 0 rgba(30,22,10,.25)}
.sel-light{position:absolute;inset:0;pointer-events:none;z-index:2;mix-blend-mode:soft-light;
  background:linear-gradient(180deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,.12) 20%,rgba(128,128,128,0) 42%,rgba(0,0,0,0) 56%,rgba(0,0,0,.3) 84%,rgba(0,0,0,.5) 100%)}
.sel-seg{position:relative;flex:1 1 0;min-width:0;height:100%;perspective:420px;cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none}
.sel-seg:focus-visible{outline:1px solid var(--gold);outline-offset:-4px;border-radius:999px}
.sel-rot{position:absolute;inset:0;transform-style:preserve-3d;will-change:transform}
.sel-word{position:absolute;left:0;right:0;top:50%;height:calc(var(--R) * 1.3);margin-top:calc(var(--R) * -.65);display:grid;place-items:center;
  transform:translateZ(var(--R));backface-visibility:hidden;-webkit-backface-visibility:hidden;white-space:nowrap;
  font-family:var(--f-head);font-weight:600;font-size:clamp(10.5px,2.7vw,13.5px);letter-spacing:.24em;padding-left:.24em;
  color:#7B5A27;text-shadow:0 1px 0 rgba(255,252,244,.75),0 -1px 0 rgba(48,32,10,.42);transition:opacity .7s ease,color .7s ease}
.sel-gr{position:absolute;left:12%;right:12%;top:50%;height:1px;background:rgba(84,64,34,.30);box-shadow:0 1px 0 rgba(255,252,244,.45);
  backface-visibility:hidden;-webkit-backface-visibility:hidden}
.sel-gr.g1{transform:rotateX(68deg) translateZ(var(--R))}
.sel-gr.g2{transform:rotateX(-68deg) translateZ(var(--R))}
.sel-gr.g3{transform:rotateX(180deg) translateZ(var(--R))}
.sel-sep{flex:none;width:2px;position:relative;z-index:1;background:linear-gradient(90deg,rgba(64,48,24,.32),rgba(255,252,244,.5));
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent)}
.selcyl.chosen .sel-seg:not(.on) .sel-word{opacity:.5}
.selcyl .sel-seg.on .sel-word{color:#5F431A}
html[data-theme="ivory"] .sel-body{background:linear-gradient(180deg,#121a30 0%,#2b385a 9%,#222d4b 18%,#161e36 34%,#10172b 54%,#0b1121 76%,#070b16 92%,#0c1222 100%)}
html[data-theme="ivory"] .sel-word{color:#D8B66C;text-shadow:0 -1px 0 rgba(0,0,0,.6)}
.scenes{padding-top:clamp(56px,9vh,96px)}
#collection{padding-top:clamp(40px,6vw,72px) !important}

/* v7.2 — THE SQUARES: one slab, the product page's own, only smaller. The picture lies directly on its face:
   no well, no lip, no panel, no inner edge — one border, one radius, one shadow. */
.wobj:not(.puck){--h:var(--w);--R:calc(var(--w) * .11);--r:calc(var(--w) * .032);--gap:calc(var(--w) * .13);--pad:9%}
.wobj:not(.puck) .art{inset:var(--pad)}
.wobj:not(.puck) .face{box-shadow:none}
/* the other pieces: the same single slab, drawn flat */
.mimg{position:relative;aspect-ratio:1/1;border-radius:11%;background:linear-gradient(180deg,#EDEAE4 0%,#E9E6DF 100%);
  box-shadow:0 18px 26px -16px rgba(0,0,0,.6)}
.mimg::before,.mimg::after{content:none;display:none}
.mimg img{position:relative;width:82%;height:82%;margin:0;object-fit:contain}
.mcard.dark .mimg,html[data-theme="ivory"] .mimg{background:linear-gradient(180deg,#111930 0%,#0A0F1C 100%);box-shadow:0 18px 26px -16px rgba(0,0,0,.6)}
html[data-theme="ivory"] .mcard.dark .mimg{background:linear-gradient(180deg,#EDEAE4 0%,#E9E6DF 100%)}
.road.hannibal{overflow:hidden}

/* 3, 9, 10) the product top: a smaller cube, the short description beside it — on every screen */
.gwrap{--gw:min(420px,40vw);width:var(--gw)}
.gslab.gmain,.gwheel{--w:var(--gw)}
.pv{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"gal a" "gal b";grid-template-rows:auto 1fr;column-gap:clamp(28px,4.5vw,64px);row-gap:20px;align-items:start}
.pv .gwrap{grid-area:gal;margin:0}
.pv .info-a{grid-area:a;position:relative;top:0;gap:12px}
.pv .info-b{grid-area:b;position:relative;top:0;padding-top:0}
.qdesc{font-size:18.5px;line-height:1.5;color:var(--ink-2);max-width:46ch}
@media (max-width:940px){
  .gwrap{--gw:min(300px,calc((100vw - 36px) * .48))}
  .pv{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"gal a" "b b";column-gap:14px;row-gap:24px}
  .pv .info-a{gap:7px;padding-top:2px;max-width:none;margin:0}
  .pv .info-a h1{font-size:clamp(16px,4.4vw,26px);letter-spacing:.07em}
  .pv .info-a .eyebrow{font-size:8.5px;letter-spacing:.22em}
  .pv .info-a h1 + .eyebrow{margin-top:-2px}
  .qdesc{font-size:clamp(14px,3.7vw,17px);line-height:1.4}
  .pv .info-a .pr{font-size:21px}
  .gwrap .whisper{width:16px;height:28px;margin-top:-14px;opacity:.5}
  .gwrap .whisper.prev{left:3px}.gwrap .whisper.next{right:3px}
}

/* 4, 5, 12) collections: two squares — the name; turned, the road — then each painting large, its pieces beneath */
.ctiles{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px}
.csq{position:relative;display:block;aspect-ratio:1/1;perspective:1200px;text-decoration:none;color:inherit;cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent;
  user-select:none;-webkit-user-select:none}
.sq-in{position:absolute;inset:0;transform-style:preserve-3d;transition:transform 1.3s cubic-bezier(.5,0,.3,1)}
.csq.turned .sq-in{transform:rotateY(180deg)}
.sq-f{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden;
  border:1px solid var(--gold-line);background:color-mix(in srgb,var(--ink) 3%,var(--ground))}
.sq-f::before{content:"";position:absolute;inset:6px;border:1px solid var(--gold-faint);pointer-events:none;z-index:2}
.sq-front h3{font-size:clamp(14px,2.6vw,24px);letter-spacing:.16em;line-height:1.35;text-align:center;padding:0 12%}
.sq-back{transform:rotateY(180deg);background:#0d1220}
.csq:focus-visible .sq-f{border-color:var(--gold)}
.road{position:absolute;left:-3%;top:4%;width:106%;height:82%;opacity:.55;overflow:visible;transform-origin:50% 50%}
.road .r-coast,.road .r-sea{fill:none;stroke:rgba(236,233,227,.4);stroke-width:1;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.road .r-sea{fill:rgba(236,233,227,.03)}
.road .r-way{fill:none;stroke:rgba(190,155,83,.75);stroke-width:1.3;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.road .r-way.sea{stroke-dasharray:3 4}
.road .r-flow{fill:none;stroke:#F6E3AE;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-dasharray:2 26;opacity:0}
.road .r-star path:first-child{display:none}
.csq.live .road{animation:rdrift 16s ease-in-out infinite alternate}
.csq.live .r-flow{opacity:.85;animation:rflow 7s linear infinite}
@keyframes rflow{to{stroke-dashoffset:-56}}
@keyframes rdrift{from{transform:translate(-1%,.6%) scale(1)}to{transform:translate(1%,-.6%) scale(1.04)}}
.sq-note{position:absolute;left:0;right:0;bottom:7%;text-align:center;font-family:var(--f-head);font-size:clamp(8px,1.6vw,10px);letter-spacing:.26em;text-transform:uppercase;color:var(--mute);z-index:1}
html[data-theme="ivory"] .sq-note{color:rgba(236,233,227,.6)}
.cpaint{margin:0 auto clamp(40px,6vw,64px);text-align:center}
.cpaint a{display:block;margin:0 auto;width:min(100%,calc(84vh * var(--ar)));border:1px solid rgba(190,155,83,.75);
  box-shadow:0 0 0 3px var(--ground),0 0 0 4px rgba(190,155,83,.28),0 34px 70px -34px rgba(0,0,0,.65)}
.cpaint img{width:100%;height:auto}
.cpaint figcaption{margin-top:14px;font-style:italic;color:var(--mute);font-size:16.5px}
.cgroup-h{margin-bottom:clamp(18px,3vw,28px)}

/* 6, 11, 14) the field: icons, depth, a card for every unit, arrows that draw */
.map.battle .mass{opacity:.38}
.map.battle .dim{opacity:.72}
.map.battle .crown.mac{fill:#E2C47F}
.map.battle .crown.foe{fill:#F2EFE9}
.map .unit{cursor:pointer;outline:none;transition:opacity .35s ease,filter .35s ease}
.map .unit .hit{fill:transparent;stroke:none}
.map .unit:focus-visible .hit{stroke:#E2C47F;stroke-width:1;stroke-dasharray:2 2}
.map.picking .unit:not(.on){opacity:.4}
.map .unit.on{filter:drop-shadow(0 0 3px rgba(242,218,158,.75))}
@media (hover:hover){.map .unit:hover{filter:drop-shadow(0 0 2.5px rgba(242,218,158,.6))}}
.map.battle .arr{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;stroke-dashoffset:0;pointer-events:none}
.map.battle .arr.go{stroke:#E2C47F}
.map.battle .arr.flee{stroke:rgba(236,233,227,.82);stroke-width:1.7}
.map.battle .ahd{pointer-events:none}
.map.battle .ahd.go{fill:#E2C47F}
.map.battle .ahd.flee{fill:rgba(236,233,227,.85)}
.js .map.battle:not(.still) .arr{stroke-dashoffset:1;opacity:0}
.js .map.battle:not(.still) .ahd{opacity:0}
.map.battle.live .arr.a1{animation:fa1 8s infinite}
.map.battle.live .arr.a2{animation:fa2 8s infinite}
.map.battle.live .ahd.h1{animation:fh1 8s infinite}
.map.battle.live .ahd.h2{animation:fh2 8s infinite}
@keyframes fa1{0%{stroke-dashoffset:1;opacity:0}.5%{stroke-dashoffset:1;opacity:1;animation-timing-function:cubic-bezier(.45,0,.3,1)}30%{stroke-dashoffset:0;opacity:1}84%{stroke-dashoffset:0;opacity:1}93%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes fa2{0%,36%{stroke-dashoffset:1;opacity:0}36.5%{stroke-dashoffset:1;opacity:1;animation-timing-function:cubic-bezier(.45,0,.3,1)}58%{stroke-dashoffset:0;opacity:1}84%{stroke-dashoffset:0;opacity:1}93%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes fh1{0%,28%{opacity:0}33%,84%{opacity:1}93%,100%{opacity:0}}
@keyframes fh2{0%,56%{opacity:0}61%,84%{opacity:1}93%,100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.js .map.battle .arr{stroke-dashoffset:0;animation:none !important}.js .map.battle .ahd{opacity:1;animation:none !important}
  .csq .sq-in{transition:none}.csq.live .road,.csq.live .r-flow{animation:none}}
.fcard{min-height:4.6em;margin:12px 6px 0;padding:12px 6px 0;border-top:1px solid rgba(190,155,83,.18);text-align:center}
.fcard b{display:block;font-family:var(--f-head);font-weight:400;font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:#E2C47F;margin-bottom:4px}
.fcard p{font-size:16.5px;line-height:1.45;font-style:italic;color:rgba(236,233,227,.6);max-width:62ch;margin:0 auto}
.fcard.on p{font-style:normal;color:rgba(236,233,227,.88)}
.fcard + .flegend{border-top:0;padding-top:8px;margin-top:6px}
.fieldfig .mapbox .flegend svg.lsw{width:22px;height:16px}
.flegend{justify-content:center !important}
@media (max-width:520px){.fcard{min-height:6.6em}.fcard p{font-size:15px}}

/* v8 (corrections v7) ------------------------------------------------------------------------------ */
/* 1) the product view: big again — the centrepiece; square and disc together */
.gwrap{--gw:min(540px,46vw);position:relative}
@media (max-width:940px){
  .gwrap{--gw:min(540px,calc(100vw - 36px))}
  .pv{grid-template-columns:minmax(0,1fr);grid-template-areas:"gal" "cat" "a";column-gap:0;row-gap:20px}
  .pv .gwrap{justify-self:center}
  .pv .info-b{display:none}
  .pv .info-a{gap:10px;padding-top:4px}
  .pv .info-a h1{font-size:clamp(24px,6.4vw,34px);letter-spacing:.1em}
  .pv .info-a .eyebrow{font-size:10px;letter-spacing:.3em}
  .qdesc{font-size:17.5px;line-height:1.5}
  .pv .info-a .pr{font-size:25px}
}
/* 3) wall art: the piece itself at the chosen size — the painting made up as poster, canvas or framed, scaled to that size */
.gpic.piece{display:grid;place-items:center}
.gpic.piece img.gp-main{position:relative;inset:auto;width:auto;height:auto;max-width:calc(var(--w) * .76 * var(--sc,1));max-height:calc(var(--w) * .76 * var(--sc,1));object-fit:contain;filter:none;
  transition:max-width .5s var(--ease),max-height .5s var(--ease)}
.gpic.piece[data-piece="poster"] img.gp-main{padding:calc(var(--w) * .022 * var(--sc,1));background:#FBF9F4;box-shadow:0 1px 2px rgba(40,30,15,.25),0 10px 22px -8px rgba(40,30,15,.35)}
.gpic.piece[data-piece="canvas"] img.gp-main{box-shadow:0 0 0 1px rgba(40,30,15,.25),3px 4px 0 rgba(40,30,15,.18),0 12px 24px -8px rgba(40,30,15,.45)}
.gpic.piece[data-piece="framed"] img.gp-main{padding:calc(var(--w) * .035 * var(--sc,1));background:#F6F3EC;border:calc(var(--w) * .016 * var(--sc,1)) solid #15120E;
  box-shadow:0 12px 24px -8px rgba(20,14,6,.5)}
/* 4) the arrows ride the rim of the disc */
.rim{position:absolute;left:0;top:0;z-index:4;width:32px;height:32px;display:grid;place-items:center;background:none;border:0;padding:0;cursor:pointer;
  opacity:0;transition:opacity .4s ease;-webkit-tap-highlight-color:transparent}
.rim.placed{opacity:.92}
.rim svg{width:20px;height:20px;overflow:visible}
.rim polyline{fill:none;stroke:#8C6A2E;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 0 rgba(255,252,244,.6))}
.rim:hover polyline{stroke:#BE9B53}
html[data-theme="ivory"] .rim polyline{stroke:#D8B66C;filter:drop-shadow(0 1px 0 rgba(0,0,0,.5))}
/* 2) phone: three pills beneath the view; a tap brings the category up from the bottom */
.catbar{display:none}
@media (max-width:940px){
  .catbar{grid-area:cat;display:flex;gap:8px;justify-content:center;width:100%;max-width:540px;justify-self:center}
}
.catpill{flex:1 1 0;min-width:0;max-width:176px;height:46px;border-radius:999px;display:flex;align-items:center;gap:6px;padding:0 8px 0 5px;position:relative;
  background:linear-gradient(180deg,#ADA595 0%,#E4DFD5 9%,#F7F4EE 22%,#EEEAE1 40%,#DFD9CD 62%,#C6BEAF 82%,#A49B8B 100%);
  box-shadow:inset 0 1px 0 rgba(255,252,244,.6),0 10px 18px -12px rgba(0,0,0,.7);-webkit-tap-highlight-color:transparent}
.cp-img{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#E9E6DF;box-shadow:inset 0 1px 2px rgba(60,46,26,.32)}
.cp-img img{width:86%;height:86%;object-fit:contain}
.cp-w{font-family:var(--f-head);font-weight:600;font-size:clamp(8px,2.3vw,10px);letter-spacing:.08em;text-transform:uppercase;color:#7B5A27;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  text-shadow:0 1px 0 rgba(255,252,244,.7)}
.catpill.on{box-shadow:inset 0 1px 0 rgba(255,252,244,.6),0 0 0 1px var(--gold),0 10px 18px -12px rgba(0,0,0,.7)}
.catpill.on .cp-w{color:#5F431A}
html[data-theme="ivory"] .catpill{background:linear-gradient(180deg,#121a30 0%,#2b385a 10%,#222d4b 22%,#161e36 40%,#10172b 62%,#0b1121 84%,#070b16 100%)}
html[data-theme="ivory"] .cp-w{color:#D8B66C;text-shadow:none}
.csheet{position:fixed;inset:0;z-index:120}
.csheet[hidden]{display:none}
.cs-back{position:absolute;inset:0;background:rgba(5,8,14,.55);opacity:0;transition:opacity .4s ease}
.cs-panel{position:absolute;left:0;right:0;bottom:0;max-height:78vh;overflow:auto;background:var(--ground);color:var(--ink);border-top:1px solid var(--gold-line);
  border-radius:18px 18px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom,0px));transform:translateY(100%);transition:transform .45s cubic-bezier(.22,.9,.3,1);
  box-shadow:0 -20px 50px rgba(0,0,0,.4)}
.csheet.on .cs-back{opacity:1}
.csheet.on .cs-panel{transform:none}
.cs-grip{display:block;width:40px;height:4px;border-radius:2px;background:var(--line-2);margin:0 auto 8px}
.cs-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.cs-h h3{font-size:13px;letter-spacing:.28em;text-transform:uppercase;color:var(--gold)}
.cs-x{width:42px;height:42px;display:grid;place-items:center;color:var(--ink)}
.cs-item{width:100%;display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer}
.cs-item:last-child{border-bottom:0}
.cs-img{width:64px;height:64px;border-radius:11%;display:grid;place-items:center;background:linear-gradient(180deg,#EDEAE4,#E9E6DF)}
.cs-img.iv{background:linear-gradient(180deg,#111930,#0A0F1C)}
.cs-img img{width:84%;height:84%;object-fit:contain}
.cs-n{display:block;font-family:var(--f-head);font-size:11px;letter-spacing:.12em;line-height:1.35}
.cs-s{display:block;font-size:15px;font-style:italic;color:var(--mute)}
.cs-p{font-style:italic;font-size:17px;white-space:nowrap}
.cs-item.on .cs-n{color:var(--gold)}
html.sheet-open{overflow:hidden}
html.sheet-open .buybar{opacity:0;pointer-events:none}
/* 5) the timeline: dots on the line, the line from the first dot to 2026, one pass of light */
.tl.v ol{--tg:12px;gap:var(--tg);padding-left:4px}
.tl.v ol::before{display:none}
.tl.v li{position:relative}
.tl.v li:not(:last-child)::after{content:"";position:absolute;left:4px;width:1px;top:8.5px;bottom:calc(-1 * var(--tg) - 8.5px);background:var(--gold-line);z-index:0}
.tl.v .tl-pt{position:relative;z-index:1;grid-template-columns:9px auto;column-gap:11px}
.tl.v .tl-pt::before{width:9px;height:9px;margin:4px 0 0 0}
.tl.ripple .tl-pt::before{animation:tlglow 1.1s ease calc(var(--i,0) * .5s) 1}
.tl.ripple li:not(:last-child)::after{animation:tlseg .9s ease calc(var(--i,0) * .5s + .3s) 1}
@keyframes tlglow{0%,100%{background:var(--ground);box-shadow:0 0 0 1px var(--gold)}35%{background:var(--gold-hi);box-shadow:0 0 0 1px var(--gold-hi),0 0 12px 3px rgba(226,196,127,.55)}}
@keyframes tlseg{0%,100%{background:var(--gold-line)}45%{background:var(--gold-hi);box-shadow:0 0 6px rgba(226,196,127,.5)}}
/* 6, 10) the field: the frame hugs the drawing; legend, caption and card beneath */
.fieldfig .mapbox{padding:0;line-height:0}
.fieldfig .mapbox::before{display:none}
.fieldfig .flegend{border-top:0;margin:12px auto 0;padding:0;flex-wrap:nowrap;gap:6px 18px;justify-content:center}
.fieldfig .flegend li{color:var(--ink-2)}
.fieldfig .flegend .leg{fill:var(--ink-2)}
.fieldfig .flegend .crown.foe{fill:#F2EFE9;stroke:rgba(36,27,16,.5);stroke-width:.7}
.fcap2{margin:10px auto 0;max-width:64ch;text-align:center;font-style:italic;font-size:14.5px;line-height:1.45;color:var(--mute)}
.mapfig .fcard{min-height:0;margin:10px auto 0;padding:0;border-top:0;max-width:64ch}
.mapfig .fcard b{color:var(--gold);margin-bottom:2px}
.mapfig .fcard b:empty{display:none}
.mapfig .fcard p{font-size:13px;letter-spacing:.06em;color:var(--mute)}
.mapfig .fcard.on{margin-top:14px;padding-top:12px;border-top:1px solid var(--gold-faint)}
.mapfig .fcard.on p{font-size:16.5px;letter-spacing:0;font-style:normal;color:var(--ink-2)}
@media (max-width:520px){
  .fieldfig .flegend{gap:4px 10px}
  .fieldfig .flegend li{font-size:8px;letter-spacing:.08em;gap:5px}
  .fieldfig .flegend svg.lsw{width:18px;height:13px}
  .fcap2{font-size:13.5px}
  .mapfig .fcard.on p{font-size:15.5px}
}
.map.battle .terrain{pointer-events:none}
.map.battle .t-water{fill:rgba(140,170,215,.10);stroke:none}
.map.battle .t-bank{fill:none;stroke:rgba(140,170,215,.55);stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}
.map.battle .t-cur{fill:none;stroke:rgba(140,170,215,.32);stroke-width:.9;stroke-linecap:round}
.map.battle .t-hill{fill:rgba(236,233,227,.035)}
.map.battle .t-crest{fill:none;stroke:rgba(236,233,227,.4);stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}
.map.battle .t-hach{fill:none;stroke:rgba(236,233,227,.24);stroke-width:.9;stroke-linecap:round}
.map.battle .t-tick{fill:none;stroke:rgba(236,233,227,.17);stroke-width:.9;stroke-linecap:round}
.map.battle .t-isle{fill:rgba(236,233,227,.07);stroke:rgba(236,233,227,.36);stroke-width:.9;stroke-linejoin:round}
.map.battle .t-lbl{font-family:var(--f-body);font-style:italic;font-size:14px;letter-spacing:.06em;fill:rgba(236,233,227,.44)}
/* 8) the footer: the lockup above the links; the address last */
.foot-lock{display:block;margin-bottom:4px}
.foot-lock img{width:min(210px,54vw);height:auto;display:block}
/* 9) the cart: the discount line waits in grey, turns gold at CA$94; a welcome instead of a total */
.cfoot .crow.disc{color:var(--mute);opacity:.62;transition:color .5s ease,opacity .5s ease}
.cfoot .crow.disc.live{color:var(--gold);opacity:1}
.cfoot .crow.disc i{font-size:.86em;color:inherit;opacity:.85}
.cnote{font-family:var(--f-body);font-style:italic;text-align:center;color:var(--ink-2)}

/* v9 (corrections v8) ------------------------------------------------------------------------------ */
/* 1) the field: the tapped unit's card straight under the legend; the scene line a whisper; no hint */
.mapfig .fcard{display:none}
.mapfig .fcard.on{display:block;margin:12px auto 0;padding:0;border-top:0}
.fieldfig .fcap2{margin-top:12px;font-style:normal;font-size:13px;letter-spacing:.02em;line-height:1.5;color:var(--ink);opacity:.36}
/* 2) the selector: each word lettered once — no shadow copy */
.sel-word,html[data-theme="ivory"] .sel-word{text-shadow:none;-webkit-font-smoothing:antialiased}
/* 3) phone: one pill, the scene's categories as its segments */
.catpill1{position:relative;display:flex;align-items:stretch;width:100%;height:54px;border-radius:999px;overflow:hidden;isolation:isolate;
  clip-path:inset(0 round 999px);-webkit-clip-path:inset(0 round 999px);
  background:linear-gradient(180deg,#ADA595 0%,#E4DFD5 8%,#F7F4EE 19%,#EEEAE1 33%,#DFD9CD 52%,#C6BEAF 72%,#A49B8B 90%,#B0A797 100%);
  box-shadow:0 12px 22px -14px rgba(0,0,0,.75)}
.catpill1::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;
  background:linear-gradient(90deg,rgba(30,22,10,.28) 0%,rgba(30,22,10,.08) 3%,rgba(30,22,10,0) 7%,rgba(30,22,10,0) 93%,rgba(30,22,10,.08) 97%,rgba(30,22,10,.28) 100%);
  box-shadow:inset 0 1px 0 rgba(255,252,244,.55),inset 0 -1px 0 rgba(30,22,10,.25)}
.catseg{position:relative;flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 6px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.catseg .cp-img{width:32px;height:32px}
.catseg .cp-w{text-shadow:none;font-size:clamp(8.5px,2.4vw,10.5px);letter-spacing:.1em;color:#7B5A27;opacity:.8}
.catseg.on .cp-w{color:#5F431A;opacity:1}
.catseg.on::after{content:"";position:absolute;left:30%;right:30%;bottom:7px;height:1.5px;border-radius:1px;background:var(--gold)}
.cat-sep{flex:none;width:2px;align-self:stretch;background:linear-gradient(90deg,rgba(64,48,24,.3),rgba(255,252,244,.5));
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(180deg,transparent,#000 22%,#000 78%,transparent)}
html[data-theme="ivory"] .catpill1{background:linear-gradient(180deg,#121a30 0%,#2b385a 9%,#222d4b 18%,#161e36 34%,#10172b 54%,#0b1121 76%,#070b16 92%,#0c1222 100%)}
html[data-theme="ivory"] .catseg .cp-w{color:#D8B66C}
html[data-theme="ivory"] .cat-sep{background:linear-gradient(90deg,rgba(0,0,0,.5),rgba(176,196,240,.14))}
/* 4) phone: the colour switch is back under the pill, on every garment */
@media (max-width:940px){
  .pv{grid-template-areas:"gal" "cat" "b" "a"}
  .pv .info-b .segwrap.colour .lab{margin-bottom:8px}
}
/* 5) home: each piece on one side, its few lines on the other — left, right, left, right */
.scene{grid-template-columns:minmax(0,1fr) minmax(0,1fr);justify-items:stretch;align-items:center;text-align:left;gap:clamp(14px,5vw,72px)}
.scene .scene-obj{order:1;justify-items:center}
.scene .scene-tx{order:2;max-width:440px;justify-self:start}
.scene:nth-child(even) .scene-obj{order:2}
.scene:nth-child(even) .scene-tx{order:1;justify-self:end;text-align:right}
.scene-tx h3{font-size:clamp(17px,2.6vw,30px);letter-spacing:.1em}
.scene-d{margin-top:12px;font-size:clamp(15px,1.7vw,19.5px);line-height:1.5;color:var(--ink-2)}
.scene-d span[data-form]{display:none}
html:not([data-form]) .scene-d span[data-form="shirt"],html[data-form="shirt"] .scene-d span[data-form="shirt"],
html[data-form="hoodie"] .scene-d span[data-form="hoodie"],html[data-form="canvas"] .scene-d span[data-form="canvas"]{display:inline}
.scene-tx .scene-go{margin-top:14px}
@media (max-width:820px){
  .scene{grid-template-columns:minmax(0,1fr) minmax(0,1fr);text-align:left;justify-items:stretch}
  .scene-obj .wobj{--w:min(360px,calc((100vw - 36px - 16px) / 2))}
  .scene-obj .wobj.puck{--w:min(300px,calc((100vw - 36px - 16px) / 2 * .9))}
  .scene-obj .wobj figcaption .cap-name{font-size:9.5px;letter-spacing:.14em}
  .scene-obj .wobj figcaption .cap-side{font-size:8.5px;letter-spacing:.2em}
  .scene-tx .roman{font-size:10px}
  .scene-tx h3{font-size:clamp(14px,4.2vw,17px);letter-spacing:.06em}
  .scene-d{font-size:14.5px;line-height:1.45}
  .scene-tx .scene-go{font-size:9px;letter-spacing:.2em}
}
/* 6) home squares: the imprint well, as on the product page — the picture laid in it */
.wobj.imp .face .well,.wobj.imp .relief .lip{position:absolute;inset:5.5%;border-radius:calc(var(--w) * .045);display:block;pointer-events:none}
.wobj.imp .face .well{background:linear-gradient(180deg,#D9D4C9 0%,#E2DED5 30%,#E6E2D9 100%);
  box-shadow:inset 0 calc(var(--w) * .008) calc(var(--w) * .014) rgba(60,46,26,.30),inset 0 calc(var(--w) * -.003) 0 rgba(255,253,247,.75),0 calc(var(--w) * .002) 0 rgba(255,253,247,.6)}
.wobj.imp .relief .lip{box-shadow:inset 0 calc(var(--w) * .006) calc(var(--w) * .011) rgba(50,38,20,.26),inset 0 0 0 1px rgba(90,72,44,.10)}
.wobj.imp.inv .face .well,html[data-theme="ivory"] .wobj.imp:not(.inv) .face .well{background:linear-gradient(180deg,#070B16 0%,#0B111F 35%,#0E1526 100%);
  box-shadow:inset 0 calc(var(--w) * .008) calc(var(--w) * .014) rgba(0,0,0,.6),inset 0 calc(var(--w) * -.003) 0 rgba(176,196,240,.12)}
.wobj.imp.inv .relief .lip,html[data-theme="ivory"] .wobj.imp:not(.inv) .relief .lip{box-shadow:inset 0 calc(var(--w) * .006) calc(var(--w) * .011) rgba(0,0,0,.5),inset 0 0 0 1px rgba(176,196,240,.06)}
/* the turn's light: the face shades as it leaves the light and catches one glint on the way over */
.fshade,.fsheen{position:absolute;inset:0;display:block;pointer-events:none;border-radius:calc(var(--R) - var(--r));opacity:0}
.puck .fshade,.puck .fsheen{border-radius:50%}
.fshade{background:radial-gradient(120% 120% at 50% 0%,rgba(28,20,8,.55),rgba(14,10,4,.9))}
.fsheen{background:linear-gradient(105deg,rgba(255,255,255,0) 38%,rgba(255,250,236,.85) 50%,rgba(255,255,255,0) 62%) 100% 0 / 260% 100% no-repeat;mix-blend-mode:screen}
.wobj.inv .fsheen,html[data-theme="ivory"] .wobj:not(.inv) .fsheen{background-image:linear-gradient(105deg,rgba(176,196,240,0) 38%,rgba(200,215,250,.45) 50%,rgba(176,196,240,0) 62%)}

/* v10 (corrections v9) ----------------------------------------------------------------------------- */
/* 1) the arrows ride the preview square's outline, on the curve of its lower corners */
.gwrap .rim{z-index:5}
/* 2) the pill: the sibling categories only, low on the page — below Add to cart */
.catbar{display:flex;grid-area:cat;width:100%;max-width:440px;margin-top:6px}
.pv{grid-template-areas:"gal a" "gal b" "gal cat";grid-template-rows:auto auto 1fr}
.catseg:only-child{justify-content:center}
@media (max-width:940px){
  .pv{grid-template-areas:"gal" "b" "a" "cat"}
  .catbar{max-width:540px;justify-self:center;margin-top:8px}
}
@media (min-width:941px){.cs-panel{left:50%;right:auto;width:560px;margin-left:-280px;border:1px solid var(--gold-line);border-bottom:0}}
/* 4) the detour to Siwa: greyed — no star, off the gold thread */
.map .detour{fill:none;stroke:rgba(236,233,227,.30);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity 1.4s ease 2.4s}
.map.drawn .detour{opacity:1}
.map .dot.grey{fill:rgba(236,233,227,.38);opacity:1}
.map .lbl.grey{fill:rgba(236,233,227,.34)}
.road .r-detour{fill:none;stroke:rgba(236,233,227,.32);stroke-width:1.1;vector-effect:non-scaling-stroke;stroke-linecap:round}
@media (prefers-reduced-motion:reduce){.map .detour{opacity:1;transition:none}}
.gwrap .rim{width:34px;height:34px}
.gwrap .rim svg{width:26px;height:26px}
.gwrap .rim polyline{stroke-width:2.6}
/* phone: a wall piece keeps its own form switch (Poster · Canvas · Framed) now that the pill offers only the other categories */
@media (max-width:940px){
  .pv .info-b.wall{display:grid}
  .pv .info-b .segwrap.form .lab{margin-bottom:8px}
}

/* v11 (corrections v10) ---------------------------------------------------------------------------- */
/* 1) Siwa: the detour drawn in the same gold, after the main road; its name in the terrain's light grey */
.map .route.siwa{stroke-width:1.8;transition:stroke-dashoffset 1.8s cubic-bezier(.45,0,.35,1) 2.6s}
.map .lbl.grey{fill:rgba(236,233,227,.44)}
/* 4) the wall form selector: one pill, the forms its segments */
.formpill{max-width:440px}
.formpill .catseg{text-decoration:none;color:inherit}
/* 6) phone: the main Add to cart is back where it belongs; the cylinder only follows it */
@media (max-width:940px){
  .pv{grid-template-areas:"gal" "a" "b" "cat"}
  .pv .info-b{display:grid;justify-items:stretch;gap:16px;max-width:640px;width:100%;margin:0 auto}
  .pv .info-b .segwrap{justify-items:start}
  .pv .info-b .atc{width:100%}
}
/* 7, 8, 9) home rows: the piece takes the larger share; beside it, one line; the name once, under the preview, with View */
.scene{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
.scene:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}
.scene-obj .wobj{--w:min(460px,38vw)}
.scene-obj .wobj.puck{--w:min(380px,32vw)}
.scene-tx{max-width:360px}
.scene-d{margin:0;font-size:clamp(17px,1.9vw,22px);line-height:1.45;font-style:italic;color:var(--ink-2)}
.scene-tx .roman,.scene-tx h3,.scene-tx .scene-go{display:none !important}
.cap-view{display:inline-block;margin-top:10px;padding:9px 22px;border:1px solid var(--gold-line);border-radius:999px;font-family:var(--f-head);font-size:10px;
  letter-spacing:.28em;padding-left:calc(22px + .28em);text-transform:uppercase;text-decoration:none;color:var(--gold);transition:background .4s,color .4s}
.cap-view:hover{background:var(--gold);color:#14100a}
@media (max-width:820px){
  .scene{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:14px}
  .scene:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}
  .scene-obj .wobj{--w:calc((100vw - 36px - 14px) * .6)}
  .scene-obj .wobj.puck{--w:calc((100vw - 36px - 14px) * .54)}
  .scene-d{font-size:15.5px;line-height:1.4}
  .cap-view{padding:8px 16px;padding-left:calc(16px + .24em);font-size:9px;letter-spacing:.24em}
}

/* v12 (corrections v11) ---------------------------------------------------------------------------- */
/* 1) ivory mode: every ground follows the theme — header disc, painting frame, cards, the list, and the maps */
html[data-theme="ivory"] .brand{background:var(--ground);box-shadow:0 0 0 1px var(--gold-line)}
html[data-theme="ivory"] .pxf{box-shadow:0 0 0 3px var(--ground),0 0 0 4px rgba(140,106,46,.35),0 30px 60px -34px rgba(60,42,18,.45)}
html[data-theme="ivory"] .px-lens{background-color:var(--ground);box-shadow:0 14px 34px rgba(60,42,18,.35)}
html[data-theme="ivory"] .px-card{background:rgba(250,246,238,.97);color:var(--ink);border-color:var(--gold-line);box-shadow:0 18px 40px rgba(60,42,18,.25)}
html[data-theme="ivory"] .px-card h5{color:#8C6A2E}
html[data-theme="ivory"] .px-card p{color:var(--ink-2)}
html[data-theme="ivory"] .wl-box{background:radial-gradient(120% 90% at 50% 0%,#F8F3E9 0%,#F0E8D8 72%);color:var(--ink);border-color:var(--gold-line)}
html[data-theme="ivory"] .wl-box::before{border-color:rgba(36,27,16,.08)}
html[data-theme="ivory"] .wl-eye,html[data-theme="ivory"] .wl-gets li+li{color:var(--ink-2)}
html[data-theme="ivory"] .wl-gets li+li{border-top-color:var(--line)}
html[data-theme="ivory"] .wl-gets b,html[data-theme="ivory"] .wl-code{color:#8C6A2E}
html[data-theme="ivory"] .wl-f input[type=email]{color:var(--ink);border-bottom-color:var(--line-2)}
html[data-theme="ivory"] .wl-skip,html[data-theme="ivory"] .wl-p{color:var(--mute)}
html[data-theme="ivory"] .wl-box .x,html[data-theme="ivory"] .wl-copy{color:var(--ink)}
/* the maps — the field, the places: light ground, bronze and ink marks; the drawing itself unchanged */
html[data-theme="ivory"] .mapbox{background:#F6F0E4;border-color:rgba(140,106,46,.6);box-shadow:0 30px 60px -34px rgba(60,42,18,.4)}
html[data-theme="ivory"] .mapbox::before{border-color:rgba(140,106,46,.18)}
html[data-theme="ivory"] .map .coast{stroke:rgba(36,27,16,.38)}
html[data-theme="ivory"] .map .sea{fill:rgba(36,27,16,.035);stroke:rgba(36,27,16,.36)}
html[data-theme="ivory"] .map .river{stroke:rgba(52,86,140,.5)}
html[data-theme="ivory"] .map .grat{stroke:rgba(140,106,46,.12)}
html[data-theme="ivory"] .map .lbl{fill:rgba(36,27,16,.72)}
html[data-theme="ivory"] .map .lbl.gold{fill:#8C6A2E}
html[data-theme="ivory"] .map .lbl.small,html[data-theme="ivory"] .map .lbl.grey{fill:rgba(36,27,16,.48)}
html[data-theme="ivory"] .map .lbl.sea-l{fill:rgba(36,27,16,.4)}
html[data-theme="ivory"] .map .dot{fill:rgba(36,27,16,.6)}
html[data-theme="ivory"] .map .route{stroke:#9C7A35}
html[data-theme="ivory"] .map .star{filter:drop-shadow(0 0 1px rgba(60,40,10,.75))}
html[data-theme="ivory"] .map.battle .mac{fill:#9C7A35}
html[data-theme="ivory"] .map.battle .mac-o{stroke:#8C6A2E}
html[data-theme="ivory"] .map.battle .foe{fill:#26314F}
html[data-theme="ivory"] .map.battle .foe-o{stroke:#26314F}
html[data-theme="ivory"] .map.battle .crown.mac{fill:#9C7A35}
html[data-theme="ivory"] .map.battle .crown.foe{fill:#26314F}
html[data-theme="ivory"] .map.battle .mass{opacity:.32}
html[data-theme="ivory"] .map.battle .arr.go{stroke:#8C6A2E}
html[data-theme="ivory"] .map.battle .ahd.go{fill:#8C6A2E}
html[data-theme="ivory"] .map.battle .arr.flee{stroke:rgba(36,27,16,.6)}
html[data-theme="ivory"] .map.battle .ahd.flee{fill:rgba(36,27,16,.65)}
html[data-theme="ivory"] .map.battle .mv{stroke:#8C6A2E}
html[data-theme="ivory"] .map.battle .hd{fill:#8C6A2E}
html[data-theme="ivory"] .map.battle .t-water{fill:rgba(52,86,140,.10)}
html[data-theme="ivory"] .map.battle .t-bank{stroke:rgba(52,86,140,.55)}
html[data-theme="ivory"] .map.battle .t-cur{stroke:rgba(52,86,140,.35)}
html[data-theme="ivory"] .map.battle .t-hill{fill:rgba(36,27,16,.04)}
html[data-theme="ivory"] .map.battle .t-crest{stroke:rgba(36,27,16,.45)}
html[data-theme="ivory"] .map.battle .t-hach{stroke:rgba(36,27,16,.28)}
html[data-theme="ivory"] .map.battle .t-tick{stroke:rgba(36,27,16,.2)}
html[data-theme="ivory"] .map.battle .t-isle{fill:rgba(36,27,16,.06);stroke:rgba(36,27,16,.4)}
html[data-theme="ivory"] .map.battle .t-lbl{fill:rgba(36,27,16,.48)}
html[data-theme="ivory"] .map .unit.on{filter:drop-shadow(0 0 3px rgba(140,106,46,.7))}
html[data-theme="ivory"] .map .unit:focus-visible .hit{stroke:#8C6A2E}
html[data-theme="ivory"] .fieldfig .flegend .crown.foe{fill:#26314F;stroke:none}
html[data-theme="ivory"] .fieldfig .flegend .crown.mac{fill:#9C7A35}
/* the exception: the other pieces keep their navy backs on an ivory page — and every tile gains the imprint well */
.mimg::before,.mimg::after{content:"";display:block;position:absolute;inset:6.5%;border-radius:7%;pointer-events:none}
.mimg::before{background:linear-gradient(180deg,#D9D4C9 0%,#E2DED5 30%,#E6E2D9 100%);
  box-shadow:inset 0 2px 4px rgba(60,46,26,.30),inset 0 -1px 0 rgba(255,253,247,.75),0 1px 0 rgba(255,253,247,.6)}
.mimg::after{z-index:2;box-shadow:inset 0 2px 3px rgba(50,38,20,.24),inset 0 0 0 1px rgba(90,72,44,.10)}
.mimg img{z-index:1;width:78%;height:78%}
.mcard.dark .mimg::before,html[data-theme="ivory"] .mimg::before{background:linear-gradient(180deg,#070B16 0%,#0B111F 35%,#0E1526 100%);
  box-shadow:inset 0 2px 4px rgba(0,0,0,.6),inset 0 -1px 0 rgba(176,196,240,.12)}
.mcard.dark .mimg::after,html[data-theme="ivory"] .mimg::after{box-shadow:inset 0 2px 3px rgba(0,0,0,.5),inset 0 0 0 1px rgba(176,196,240,.06)}
html[data-theme="ivory"] .mimg,html[data-theme="ivory"] .mcard.dark .mimg{background:radial-gradient(60% 40% at 12% 4%,rgba(170,190,235,.08),rgba(170,190,235,0) 70%),linear-gradient(180deg,#111930 0%,#0A0F1C 100%);
  box-shadow:0 18px 26px -16px rgba(20,14,6,.55)}
html[data-theme="ivory"] .mcard.dark .mimg::before{background:linear-gradient(180deg,#141D36 0%,#18223F 40%,#1C2746 100%)}

/* v12.1 — the preview arrows: gold chevrons at the middle of the left and right edges, straddling the border */
.gwrap .rim{width:calc(var(--chev,56px) * .5);height:var(--chev,56px)}
.gwrap .rim svg{width:100%;height:100%}
.gwrap .rim polyline,html[data-theme="ivory"] .gwrap .rim polyline{stroke:#D3B06A;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;
  filter:drop-shadow(0 1px 1.5px rgba(20,14,6,.55))}
.gwrap .rim:hover polyline{stroke:#E8CC8A}
/* footer: the social icons take the theme's lettering colour, like the links beside them */
html[data-theme="ivory"] .social a,html[data-theme="ivory"] .pol a{color:rgba(36,27,16,.62)}
html[data-theme="ivory"] .social a:hover,html[data-theme="ivory"] .pol a:hover{color:#8C6A2E}

/* v14 (corrections v12) ---------------------------------------------------------------------------- */
/* 1) home rows: the title heads the side column, a short gold rule, then the passage in grey; the caption keeps colours, price, View */
.scene{align-items:start}
.scene-tx{align-self:start;max-width:420px;padding-top:clamp(18px,4vw,56px)}
.scene-tx .scene-t{display:block !important;font-size:clamp(17px,2.4vw,28px);letter-spacing:.12em;line-height:1.25}
.scene-rule{display:block;width:44px;height:1px;background:var(--gold);margin:14px 0 16px}
.scene:nth-child(even) .scene-rule{margin-left:auto}
.scene-q{margin:0;font-size:clamp(15px,1.5vw,18px);line-height:1.6;color:var(--mute);font-style:normal}
.scene-q p{margin:0}
.scene-q cite{display:block;margin-top:10px;font-family:var(--f-head);font-style:normal;font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--mute);opacity:.8}
.scene-q.stand-in{font-style:italic}
.scene-obj{min-width:0}
.scene-obj .wobj figcaption::before{display:none}
@media (max-width:820px){
  .scene{gap:12px}
  .scene-obj .wobj{--w:calc((100vw - 36px - 12px) * .58)}
  .scene-obj .wobj.puck{--w:calc((100vw - 36px - 12px) * .52)}
  .scene-tx{padding-top:8px}
  .scene-tx .scene-t{font-size:clamp(13px,3.8vw,16px);letter-spacing:.06em}
  .scene-rule{width:30px;margin:10px 0 12px}
  .scene-q{font-size:13.5px;line-height:1.5}
}
/* 2) the tapped card: a sunken, greyed, rounded panel with a quiet outline */
.mapfig .fcard.on{margin-top:14px;padding:14px 18px 15px;border-radius:12px;border:1px solid rgba(236,233,227,.12);background:rgba(236,233,227,.045);
  box-shadow:inset 0 2px 6px rgba(0,0,0,.45),inset 0 -1px 0 rgba(236,233,227,.05)}
html[data-theme="ivory"] .mapfig .fcard.on{border-color:rgba(36,27,16,.14);background:rgba(36,27,16,.05);
  box-shadow:inset 0 2px 6px rgba(60,42,18,.18),inset 0 -1px 0 rgba(255,253,247,.7)}
/* 4) the arrows inside the white frame's band */
.gwrap .rim{width:calc(var(--chev,56px) * .42)}
/* 5) the buy pill: matte — no gloss band, no highlight line */
.cyl{background:linear-gradient(90deg,rgba(40,30,15,.16),rgba(40,30,15,0) 2.2%,rgba(40,30,15,0) 97.8%,rgba(40,30,15,.16)),
  linear-gradient(180deg,#C9C2B4 0%,#DAD5CB 16%,#E1DCD2 38%,#DCD6CB 60%,#CCC5B7 82%,#BDB5A7 100%)}
html[data-theme="ivory"] .cyl{background:linear-gradient(90deg,rgba(0,0,0,.28),rgba(0,0,0,0) 2.2%,rgba(0,0,0,0) 97.8%,rgba(0,0,0,.28)),
  linear-gradient(180deg,#121a2f 0%,#19223a 18%,#1a233b 40%,#151d33 62%,#10172a 84%,#0b1121 100%)}
.cyl-edge{display:none}
.cyl-light{background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,.14) 100%)}
.cyl::after{box-shadow:inset 0 -1px 0 rgba(30,22,10,.18)}
html[data-theme="ivory"] .cyl::after{box-shadow:inset 0 -1px 0 rgba(0,0,0,.35)}
/* 6) the other pieces follow the colourway: navy pieces on a navy page, ivory pieces on an ivory page */
html[data-theme="ivory"] .mcard[data-col="navy"],html:not([data-theme="ivory"]) .mcard[data-col="ivory"]{display:none}
/* 7) footer icons in ivory mode: the lettering colour, firmly */
html[data-theme="ivory"] .foot .social a,html[data-theme="ivory"] .foot .social a svg{color:#3B2F1F !important}
html[data-theme="ivory"] .foot .social a{opacity:.85}
html[data-theme="ivory"] .foot .pol a{color:#3B2F1F;opacity:.85}
/* 3) the wheel: a shallow cone again — its facets are exact trapezoids (drawn with borders), meeting edge to edge, so nothing creases across */
.wstrip{background:transparent !important;box-sizing:border-box;border-style:solid;border-color:transparent transparent #E3DFD6 transparent}
html[data-theme="ivory"] .wstrip{background:transparent !important;border-bottom-color:#0F1629}
.scene-t span{white-space:nowrap}

/* v15 (corrections v14) ---------------------------------------------------------------------------- */
/* 1) the Arrian passages: grey, upright, quoted as written */
.scene-q p{text-wrap:pretty}
@media (max-width:820px){.scene-q{font-size:12.5px;line-height:1.5}}
/* 2) every circle carries its round inlay — the circle's version of the square's imprint */
.wobj.puck .face .well,.wobj.puck .relief .lip{position:absolute;inset:11.5%;border-radius:50%;display:block;pointer-events:none}
.wobj.puck .face .well{background:radial-gradient(closest-side,#E6E2D9 0%,#E2DED5 70%,#D9D4C9 100%);
  box-shadow:inset 0 calc(var(--w) * .01) calc(var(--w) * .018) rgba(60,46,26,.30),inset 0 calc(var(--w) * -.004) 0 rgba(255,253,247,.75),0 calc(var(--w) * .003) 0 rgba(255,253,247,.6)}
.wobj.puck .relief .lip{box-shadow:inset 0 calc(var(--w) * .008) calc(var(--w) * .014) rgba(50,38,20,.26),inset 0 0 0 1px rgba(90,72,44,.10)}
html[data-theme="ivory"] .wobj.puck .face .well{background:radial-gradient(closest-side,#0E1526 0%,#0B111F 70%,#070B16 100%);
  box-shadow:inset 0 calc(var(--w) * .01) calc(var(--w) * .018) rgba(0,0,0,.6),inset 0 calc(var(--w) * -.004) 0 rgba(176,196,240,.12)}
html[data-theme="ivory"] .wobj.puck .relief .lip{box-shadow:inset 0 calc(var(--w) * .008) calc(var(--w) * .014) rgba(0,0,0,.5),inset 0 0 0 1px rgba(176,196,240,.06)}
/* 4) collections: each collection's title over its road, lightened and still */
.ctitle{position:relative;overflow:hidden;border:1px solid var(--gold-faint);border-radius:4px;min-height:clamp(200px,30vw,320px);display:grid;place-items:center;
  margin:clamp(10px,2vw,20px) auto 0;max-width:980px;background:color-mix(in srgb,var(--ink) 2%,var(--ground))}
.ctitle .ct-map{position:absolute;inset:0;opacity:.22;pointer-events:none}
.ctitle .ct-map .road{position:absolute;inset:6% 4%;width:92%;height:88%;opacity:1;animation:none !important}
.ctitle .ct-map .road .r-flow{display:none}
.ctitle .ct-tx{position:relative;text-align:center;display:grid;gap:8px;padding:28px 20px}
.ctitle h2{font-size:clamp(22px,3.4vw,38px);letter-spacing:.14em}
.ctitle p{font-style:italic;color:var(--mute);font-size:18px}
.ctitle .ct-note{font-family:var(--f-head);font-size:10.5px;letter-spacing:.3em;text-transform:uppercase;color:var(--gold)}
.ctitle.soon-t{margin-top:clamp(70px,10vw,120px)}
.cgroup .drop{max-width:600px;margin:clamp(22px,3vw,34px) auto 0}
/* 5, 7) the drop: the category's pieces fall open beneath the pill, side by side */
.drop-panel{overflow:hidden;height:0;transition:height .55s var(--ease)}
.drop-panel[hidden]{display:none}
.drop-row{display:flex;justify-content:center;gap:clamp(14px,3vw,30px);padding:clamp(18px,3vw,26px) 2px 6px}
.dtile{flex:0 1 180px;min-width:0;display:grid;justify-items:center;gap:6px;text-align:center;text-decoration:none;color:inherit}
.drop-row.n3 .dtile{flex-basis:150px}
.dimg{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1/1;border-radius:11%;background:linear-gradient(180deg,#EDEAE4 0%,#E9E6DF 100%);
  box-shadow:0 14px 22px -14px rgba(0,0,0,.6);margin-bottom:6px;transition:transform .45s var(--ease)}
.dimg::before,.dimg::after{content:"";position:absolute;inset:6.5%;border-radius:7%;pointer-events:none}
.dimg::before{background:linear-gradient(180deg,#D9D4C9 0%,#E2DED5 30%,#E6E2D9 100%);box-shadow:inset 0 2px 4px rgba(60,46,26,.30),inset 0 -1px 0 rgba(255,253,247,.75)}
.dimg::after{z-index:2;box-shadow:inset 0 2px 3px rgba(50,38,20,.24),inset 0 0 0 1px rgba(90,72,44,.10)}
.dimg img{position:relative;z-index:1;width:76%;height:76%;object-fit:contain}
.dimg.dk{background:radial-gradient(60% 40% at 12% 4%,rgba(170,190,235,.08),rgba(170,190,235,0) 70%),linear-gradient(180deg,#111930 0%,#0A0F1C 100%)}
.dimg.dk::before{background:linear-gradient(180deg,#070B16 0%,#0B111F 35%,#0E1526 100%);box-shadow:inset 0 2px 4px rgba(0,0,0,.6),inset 0 -1px 0 rgba(176,196,240,.12)}
.dimg.dk::after{box-shadow:inset 0 2px 3px rgba(0,0,0,.5),inset 0 0 0 1px rgba(176,196,240,.06)}
.dimg.round{border-radius:50%}
.dimg.round::before,.dimg.round::after{inset:9%;border-radius:50%}
.dimg.round::before{background:radial-gradient(closest-side,#E6E2D9 0%,#E2DED5 70%,#D9D4C9 100%)}
.dimg.round img{width:54%;height:54%}
.dtile:hover .dimg{transform:translateY(-3px)}
.dtile .cap-side{font-size:9.5px}
.dtile .cap-price{font-size:15.5px}
/* 6) the category pill on the phone: compact */
@media (max-width:940px){
  .catbar{max-width:300px}
  .catpill1{height:42px}
  .catseg{gap:5px;padding:0 4px}
  .catseg .cp-img{width:26px;height:26px}
  .catseg .cp-w{font-size:8.5px;letter-spacing:.08em}
  .catseg.on::after{bottom:5px}
  .catbar .drop-panel{width:calc(100vw - 36px);max-width:none;margin-left:calc(50% - 50vw + 18px)}
}
@media (max-width:520px){.cgroup .drop .selcyl{--R:24px}.cgroup .drop .sel-word{font-size:10px}}
@media (max-width:940px){.catbar{max-width:336px}.catseg .cp-img{width:24px;height:24px}.catseg .cp-w{font-size:8px;letter-spacing:.06em;overflow:visible;text-overflow:clip}}

/* v16 (corrections v15 + v16) ---------------------------------------------------------------------- */
/* v15.1–2 the pills: titles only, in full; at rest nothing is selected */
.catseg .cp-w{overflow:visible;text-overflow:clip;opacity:.62}
.catseg.on .cp-w{opacity:1}
.catseg.on::after{content:none !important}
.catpill1{position:relative}
.drop .sel-word{opacity:.62}
.drop .selcyl.chosen .sel-seg:not(.on) .sel-word{opacity:.45}
.drop .sel-seg.on .sel-word{opacity:1}
@media (max-width:940px){.catseg .cp-w{font-size:9px;letter-spacing:.12em}.catseg{padding:0 6px}}
/* v16.1 the home rows: one short line, grey, upright */
.scene-q{font-style:normal}
/* v16.2 the round inlay: a thin rim, a wide opening — the picture fills its circle */
.wobj.puck{--pad:12.5%}
.wobj.puck .face .well,.wobj.puck .relief .lip{inset:6%}
.wobj.puck .wobj-fb img{width:72%;height:72%}
.dimg.round::before,.dimg.round::after{inset:5%}
.dimg.round img{width:66%;height:66%}
@media (max-width:940px){.catbar{width:min(336px,100%)}}
.catbar .drop{flex:1 1 auto;min-width:0;width:100%}

/* v17 (corrections v17) ---------------------------------------------------------------------------- */
/* 1) round tiles: a large dipped circle, a slim rim — the picture smaller than the circle, resting inside it with floor all round */
.wobj.puck{--pad:22%}
.wobj.puck .face .well,.wobj.puck .relief .lip{inset:.8%}
.wobj.puck .wobj-fb img{width:46%;height:46%}
.dimg.round::before,.dimg.round::after{inset:3.5%}
.dimg.round img{width:50%;height:50%}
/* 3) the stone pill on the phone: smaller, with clear margins */
@media (max-width:820px){
  .selcyl{--R:20px;width:min(300px,78%)}
  .sel-word{font-size:9px;letter-spacing:.16em}
  .sel-ground{filter:blur(4px)}
}
/* 4) under a round tile: the price and View only, centred on the tile's axis */
.wobj.puck figcaption{width:100%;align-items:center;text-align:center}

/* v18 — every pill is a turning cylinder: the tapped word stays in front, the others roll down and under, out of view */
.catseg{perspective:260px}
.catseg .cp-w{display:inline-block;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform-style:preserve-3d;will-change:transform}
.sel-gr{transition:opacity .35s ease}.sel-seg.away .sel-gr{opacity:0}

/* v21 (corrections v21) ---------------------------------------------------------------------------- */
/* 2) home rows: VIEW only, raised close under the tile */
.scene-obj .wobj figcaption{margin-top:calc(var(--gap) * -.42);gap:0}
/* 6) the tapped troop's ring: one hand-drawn stroke, gold on navy, bronze on ivory */
.map.battle .ring{fill:none;stroke:#E2C47F;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;pointer-events:none;opacity:.95}
html[data-theme="ivory"] .map.battle .ring{stroke:#8C6A2E}
/* 7) a whisper of a line: under the welcome; between the collection's scenes */
.hero{position:relative}
.hero::after{content:"";position:absolute;left:50%;bottom:0;width:min(520px,64%);height:1px;transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(236,233,227,.14) 20%,rgba(236,233,227,.14) 80%,transparent)}
.cgroup + .cgroup{position:relative;padding-top:clamp(40px,6vw,64px)}
.cgroup + .cgroup::before{content:"";position:absolute;left:50%;top:0;width:min(520px,64%);height:1px;transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(236,233,227,.14) 20%,rgba(236,233,227,.14) 80%,transparent)}
html[data-theme="ivory"] .hero::after,html[data-theme="ivory"] .cgroup + .cgroup::before{background:linear-gradient(90deg,transparent,rgba(36,27,16,.14) 20%,rgba(36,27,16,.14) 80%,transparent)}
/* 8) the navy squares: the inner layer molded INTO the slab — one curve of stone, no step, no seam, no frame line */
html[data-theme="ivory"] .gwell,
.wobj.imp.inv .face .well,html[data-theme="ivory"] .wobj.imp:not(.inv) .face .well,
html[data-theme="ivory"] .wobj.puck .face .well{background:transparent;
  box-shadow:inset 0 calc(var(--w) * .016) calc(var(--w) * .05) rgba(0,0,0,.5),inset 0 calc(var(--w) * -.008) calc(var(--w) * .035) rgba(170,190,235,.05)}
html[data-theme="ivory"] .glip,
.wobj.imp.inv .relief .lip,html[data-theme="ivory"] .wobj.imp:not(.inv) .relief .lip,
html[data-theme="ivory"] .wobj.puck .relief .lip{box-shadow:inset 0 calc(var(--w) * .01) calc(var(--w) * .03) rgba(0,0,0,.26)}
.mcard.dark .mimg::before,html[data-theme="ivory"] .mimg::before,html[data-theme="ivory"] .mcard.dark .mimg::before,.dimg.dk::before{background:transparent;
  box-shadow:inset 0 3px 11px rgba(0,0,0,.5),inset 0 -2px 8px rgba(170,190,235,.05)}
.mcard.dark .mimg::after,html[data-theme="ivory"] .mimg::after,.dimg.dk::after{box-shadow:inset 0 2px 7px rgba(0,0,0,.26)}

/* v22 (corrections v22) ---------------------------------------------------------------------------- */
/* 9) every picture seated flush in its stone: no rim, no lip line, no sticker edge — on ivory as on navy */
.gwell{box-shadow:inset 0 calc(var(--w) * .016) calc(var(--w) * .05) rgba(60,46,26,.22),inset 0 calc(var(--w) * -.008) calc(var(--w) * .035) rgba(255,253,247,.5)}
.glip{box-shadow:inset 0 calc(var(--w) * .01) calc(var(--w) * .03) rgba(50,38,20,.13)}
.wobj.imp .face .well,.wobj.puck .face .well{box-shadow:inset 0 calc(var(--w) * .016) calc(var(--w) * .05) rgba(60,46,26,.22),inset 0 calc(var(--w) * -.008) calc(var(--w) * .035) rgba(255,253,247,.5)}
.wobj.imp .relief .lip,.wobj.puck .relief .lip{box-shadow:inset 0 calc(var(--w) * .01) calc(var(--w) * .03) rgba(50,38,20,.13)}
.mimg::before,.dimg::before{box-shadow:inset 0 3px 11px rgba(60,46,26,.22),inset 0 -2px 8px rgba(255,253,247,.5)}
.mimg::after,.dimg::after{box-shadow:inset 0 2px 7px rgba(50,38,20,.13)}
/* the navy ones keep v21's soft dark roll (restated after the light rules above) */
html[data-theme="ivory"] .gwell,
.wobj.imp.inv .face .well,html[data-theme="ivory"] .wobj.imp:not(.inv) .face .well,
html[data-theme="ivory"] .wobj.puck .face .well{box-shadow:inset 0 calc(var(--w) * .016) calc(var(--w) * .05) rgba(0,0,0,.5),inset 0 calc(var(--w) * -.008) calc(var(--w) * .035) rgba(170,190,235,.05)}
html[data-theme="ivory"] .glip,
.wobj.imp.inv .relief .lip,html[data-theme="ivory"] .wobj.imp:not(.inv) .relief .lip,
html[data-theme="ivory"] .wobj.puck .relief .lip{box-shadow:inset 0 calc(var(--w) * .01) calc(var(--w) * .03) rgba(0,0,0,.26)}
.mcard.dark .mimg::before,html[data-theme="ivory"] .mimg::before,.dimg.dk::before{box-shadow:inset 0 3px 11px rgba(0,0,0,.5),inset 0 -2px 8px rgba(170,190,235,.05)}
.mcard.dark .mimg::after,html[data-theme="ivory"] .mimg::after,.dimg.dk::after{box-shadow:inset 0 2px 7px rgba(0,0,0,.26)}
html[data-theme="ivory"] .mcard.dark .mimg::before{background:linear-gradient(180deg,#D9D4C9 0%,#E2DED5 30%,#E6E2D9 100%);box-shadow:inset 0 3px 11px rgba(60,46,26,.22),inset 0 -2px 8px rgba(255,253,247,.5)}
html[data-theme="ivory"] .mcard.dark .mimg::after{box-shadow:inset 0 2px 7px rgba(50,38,20,.13)}
/* the photographed views (close-up, folded, cuff, embroidery, the painting) sit IN the well: their own size, edges melting into the stone */
.gpic.full{display:grid;place-items:center;grid-template-rows:100%;grid-template-columns:100%}
.gpic.full img.gp-main,.gpic.full img.lightmap{grid-area:1/1;position:relative;inset:auto;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;
  filter:none;border-radius:calc(var(--w) * .022);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 1.6%,#000 98.4%,transparent),linear-gradient(180deg,transparent,#000 1.6%,#000 98.4%,transparent);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 1.6%,#000 98.4%,transparent),linear-gradient(180deg,transparent,#000 1.6%,#000 98.4%,transparent);mask-composite:intersect}
.gpic.full.piece img.gp-main{-webkit-mask-image:none;mask-image:none;border-radius:0}
/* 13) the closing picture under the specs: the hoop (shirts) · the specs back (hoodies), seated in the page's stone */
.specpic{margin:clamp(30px,5vw,48px) auto 0;width:min(100%,560px);text-align:center}
.sp-stone{position:relative;display:block;border-radius:6%;padding:5.5%;background:linear-gradient(180deg,#EDEAE4 0%,#E9E6DF 100%);
  box-shadow:0 22px 40px -22px rgba(0,0,0,.6)}
.sp-stone img{display:block;width:100%;height:auto;border-radius:3.5%}
.specpic.machine .sp-stone img{box-shadow:inset 0 0 0 0 transparent;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 1.2%,#000 98.8%,transparent),linear-gradient(180deg,transparent,#000 1.2%,#000 98.8%,transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent,#000 1.2%,#000 98.8%,transparent),linear-gradient(180deg,transparent,#000 1.2%,#000 98.8%,transparent);mask-composite:intersect}
.specpic.specs .sp-stone img{mix-blend-mode:multiply;border-radius:0}        /* the white ground becomes the stone itself: no box survives */
html[data-theme="ivory"] .specpic.specs .sp-stone{background:transparent;box-shadow:none;padding:0}   /* on the ivory page: it melts straight into the page ground */
html[data-theme="ivory"] .specpic.machine .sp-stone{background:linear-gradient(180deg,#111930 0%,#0A0F1C 100%)}
.specpic figcaption{margin-top:12px;font-style:italic;color:var(--mute);font-size:15.5px}
