:root{--cream:#FDFBF7;--ink:#1A1A1A;--oak:#A0783F}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.4 system-ui,sans-serif}
main{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:32px;max-width:1100px;margin:0 auto;padding:16px}
.preview{display:flex;flex-direction:column;align-items:center}
.hint{font-size:12px;color:#8a8175}
.tip{display:flex;gap:8px;align-items:flex-start;margin:8px 0}.tip svg{flex:none;margin-top:1px;color:var(--oak)}.tip b{color:var(--oak);font-weight:600}
.frame{--fc:#A0783F;position:relative;padding:16px;width:min(100%,592px,calc(74vh * 11 / 14 + 32px));background:var(--fc);box-shadow:0 14px 34px #0004, inset 0 0 0 1px #0003;max-width:100%}
.frame[data-frame=black]{--fc:#1a1a1a}
.frame[data-frame=white]{--fc:#FFFFFF;box-shadow:0 14px 34px #0004}
.mat{position:relative;aspect-ratio:11/14;width:100%;background:#F7F5F0;box-shadow:inset 0 0 0 1px #0003, 0 0 8px #0005;line-height:0}
.frame img#poster{display:block;width:100%;height:100%;background:#F7F5F0;cursor:grab;touch-action:none;user-select:none}
.frame img.dragging{cursor:grabbing}
#busy{position:absolute;inset:0;display:grid;place-items:center;background:#fff9;font-weight:600;line-height:1.4;pointer-events:none}
.controls{display:flex;flex-direction:column;gap:12px}
label,.field{display:flex;flex-direction:column;gap:4px;font-size:13px;position:relative}
input,select,button{font:inherit;padding:10px;border:1px solid #cfc6b8;border-radius:6px;background:#fff}
input[type=range]{padding:0}
button{background:var(--ink);color:#fff;border:0;cursor:pointer}
button:disabled{opacity:.5}
.swatches{display:flex;gap:8px;flex-wrap:wrap}
.sw{display:flex;align-items:center;gap:6px;padding:6px 10px;border:2px solid #cfc6b8;border-radius:999px;background:#fff;color:var(--ink);font-size:12px}
.sw.on{border-color:var(--ink)}
.sw i{width:16px;height:16px;border-radius:50%;border:1px solid #0004}
.sw i.ico{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;margin:-3px 0 -3px -3px;border-color:#0003}
#results{position:absolute;top:100%;left:0;right:0;z-index:5;margin:0;padding:0;list-style:none;background:#fff;border:1px solid #cfc6b8;border-radius:6px}
#results:empty{display:none}
#results li{padding:8px 10px;cursor:pointer;font-size:13px}
#results li:hover{background:#f3ece0}
fieldset{display:grid;gap:8px;border:1px solid #cfc6b8;border-radius:6px}
.price{font:600 20px Georgia,serif;margin:0}
#msg{font-size:13px;word-break:break-all}
@media(max-width:800px){main{grid-template-columns:1fr}}
.spec{font-size:12px;color:#6b6257;margin:0}
/* the moving map layer sits in a box the size of the map window and is clipped by it (overflow, not clip-path: clip-path made the browser repaint on every drag step, which felt choppy on phones) */
.layer{position:absolute;left:7%;right:7%;top:5.5%;bottom:22%;overflow:hidden;pointer-events:none;contain:paint}
.layer img{position:absolute;left:-100%;top:-100%;width:300%;height:auto;max-height:none;background:none;will-change:transform;backface-visibility:hidden}
.layer.fading{opacity:0;transition:opacity .22s ease}
/* the three title styles in the designer: each label hints at its typeface with fonts the visitor's device already has (no download) */
.mcolors .sw.dot{padding:4px;gap:0}
.mcolors .sw.dot i{width:26px;height:26px}
.cname{margin-left:6px;color:#6b6257;font-size:13px}
/* Title style: three rectangular buttons, each name written in its own typeface (fonts the visitor's device already has, no download) */
.tfonts .sw{border-radius:6px;padding:10px 18px;border:1px solid #E0D3B9;background:#FFFEFB;color:#1A1A1A;transition:border-color .2s,background .2s,color .2s}
.tfonts .sw:hover{border-color:var(--oak)}
.tfonts .sw.on{border-color:var(--oak);box-shadow:0 0 0 1px var(--oak)}
@media(prefers-reduced-motion:reduce){.tfonts .sw{transition:none}}
.tfonts .sw[data-k=classic]{font-family:Cinzel,"Trajan Pro",Georgia,serif;letter-spacing:.06em}
.tfonts .sw[data-k=script]{font-family:"Snell Roundhand","Apple Chancery","Segoe Script","Brush Script MT",cursive;font-size:1.18em}
.tfonts .sw[data-k=modern]{font-family:"Josefin Sans","Century Gothic","Avenir Next",Futura,sans-serif;font-weight:300;letter-spacing:.2em;text-transform:uppercase;font-size:.85em}
.recenter-btn{display:none}
/* the Reset map button in the Place section: appears (and fades in) only once the map has been moved or zoomed */
.recenter-form{display:inline-flex;align-items:center;justify-self:start;width:fit-content;gap:8px;margin:2px 0 0;padding:8px 16px 8px 12px;border:1px solid #B88A4A;border-radius:999px;background:#fff;color:#7A5528;font:500 12px var(--sans);letter-spacing:.14em;text-transform:uppercase;cursor:pointer;transition:background .15s,box-shadow .15s;animation:recenterIn .22s ease}
.recenter-form[hidden]{display:none}
.recenter-form svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.recenter-form:hover{background:#F6EFE0;box-shadow:0 1px 6px #7a55281f}
@keyframes recenterIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* the phone editor's Reset button: outlined black beside the solid black Done, so the two read as secondary and primary */
@media(max-width:800px){body.map-edit .recenter-btn{display:block;flex:none;height:52px;padding:0 22px;border:1.5px solid #1A1A1A;border-radius:999px;background:#fff;color:#1A1A1A;font:500 12px var(--sans);letter-spacing:.2em;text-transform:uppercase}body.map-edit .recenter-btn:disabled{opacity:.35}body.map-edit .recenter-btn:not(:disabled):active{background:#EDE6D8}}
.pin{position:absolute;left:50%;top:41.7%;width:7%;aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none}
.frame[data-frame=natural]{--fc:#B08850}

:root{--serif:"Cormorant Garamond",Georgia,serif;--sans:Jost,system-ui,sans-serif}
body{font-family:var(--sans)}
.hero{text-align:center;padding:36px 16px 8px;max-width:760px;margin:0 auto}
.hero h1,.hero h2{font:500 clamp(20px,3.6vw,32px)/1.25 Cinzel,var(--serif);letter-spacing:.06em;text-transform:uppercase;margin:0 0 14px}
.hero p{margin:0;color:#6b6257;font-size:17px}
.band{padding:56px 16px;text-align:center}
.band.alt{background:#F4EFE6}
.band h2,.band h3{font:italic 500 clamp(26px,4vw,38px)/1.15 var(--serif);margin:0 0 12px}
.lead{max-width:560px;margin:0 auto 28px;color:#6b6257}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;max-width:1000px;margin:28px auto 0}
.tiles.two{max-width:520px}
.tiles.three{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
@media(max-width:800px){.tile.no-mobile{display:none}}

.tile{margin:0}
.ph{aspect-ratio:4/5;display:grid;place-items:center;padding:12px;background:#E9E3D6;color:#8a8175;font-size:13px;border:1px dashed #cfc6b8}
.tile figcaption{padding-top:10px;font-size:14px;color:#6b6257}
.tile figcaption b{display:block;color:var(--ink);font-weight:500;letter-spacing:.04em}
.guarantee{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px 40px;max-width:none;font-size:15px}
html{scroll-behavior:smooth}


/* site header */
.site{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:24px;padding:14px clamp(16px,4vw,40px);background:#F4EFE6ee;backdrop-filter:blur(8px);border-bottom:1px solid #e6dfd2}
.logo{font:500 24px/1 var(--serif);letter-spacing:.12em;text-transform:uppercase;color:var(--ink);text-decoration:none;white-space:nowrap}
.logo span{font-style:italic;color:#A0783F;letter-spacing:0}
.nav{display:flex;gap:28px;margin-left:auto}
.nav a{font:400 13px var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#4b443b;text-decoration:none;padding:6px 0;border-bottom:1px solid transparent}
.nav a:hover,.nav a[aria-current=page]{border-bottom-color:var(--ink);color:var(--ink)}
.cart-btn{position:relative;display:grid;place-items:center;width:42px;height:42px;padding:0;background:none;color:var(--ink);border-radius:50%}
.cart-btn:hover{background:#0000000a}
.cart-count{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#A0783F;color:#fff;font:500 11px/18px var(--sans);text-align:center}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(380px,100vw);z-index:40;background:#FDFBF7;box-shadow:-10px 0 30px #0003;padding:20px;display:flex;flex-direction:column;gap:16px}
.drawer-head{display:flex;justify-content:space-between;align-items:center;font:500 22px var(--serif);letter-spacing:.06em}
.drawer-head button{background:none;color:var(--ink);font-size:28px;line-height:1;padding:0 6px}
.drawer-empty{margin:40px 0 0;text-align:center;color:#6b6257}
.drawer-cta{margin-top:auto;display:block;text-align:center;padding:14px;background:var(--ink);color:#fff;text-decoration:none;letter-spacing:.12em;text-transform:uppercase;font-size:13px;border-radius:6px}
.scrim{position:fixed;inset:0;z-index:30;background:#0006}
section[id],main[id]{scroll-margin-top:calc(var(--header-h,70px) + 8px)}
@media(max-width:820px){
  .site{flex-wrap:wrap;gap:0 12px;padding-top:10px;padding-bottom:4px}
  .logo{font-size:20px}
  .cart-btn{margin-left:auto}
  .nav{order:3;width:100%;margin:0;justify-content:flex-start;gap:20px}
  .nav a{font-size:11px;letter-spacing:.1em;padding:6px 0 7px}
  .nav a[href^="#"]{display:none}
}
@media(min-width:821px) and (max-width:1100px){
  .site{flex-wrap:wrap;gap:0 12px;padding-top:10px;padding-bottom:4px}
  .cart-btn{margin-left:auto}
  .nav{order:3;width:100%;margin:0;justify-content:flex-start;gap:28px}
}
.hero .freeship{margin-top:14px;font:500 12px var(--sans);letter-spacing:.2em;text-transform:uppercase;color:#8A5A2B}

.preview{background:#EFE9DD;border-radius:6px;padding:28px 16px 12px}
.tile img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}

/* soft "Rendering…" pill (used while zooming) */
#busy.soft{background:none;display:flex;align-items:center;justify-content:center}
#busy.soft::before{content:"Rendering…";padding:6px 14px;border-radius:999px;background:#FDFBF7ee;box-shadow:0 2px 10px #0003;font:500 13px var(--sans);line-height:1.2}
#busy.soft{font-size:0}

/* phones: pin the preview under the header so it stays visible while the controls scroll */
/* phones: see the "Phones" block at the end of this file (the preview is no longer pinned) */

/* occasions list under the hero */
.occasions{margin:26px auto 0;max-width:640px}
.hero .occasions-label{margin:0 0 10px;font:500 11px var(--sans);letter-spacing:.28em;text-transform:uppercase;color:#8a8175}
.occasions ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.occasions li{padding:7px 14px;border:1px solid #d9d0c0;border-radius:999px;background:#fff;font:400 13px var(--sans);letter-spacing:.06em;color:#4b443b}

/* luxe hero: obsidian band with champagne accents, distinct from the cream page */
.hero{max-width:none;margin:0;padding:76px 20px 64px;color:#1A1A1A;
  background:#F4EFE6;
  box-shadow:inset 0 -1px 0 #e6dfd2}
.hero h1,.hero h2{max-width:900px;margin:0 auto 4px;color:#1A1A1A;font-weight:400;letter-spacing:.16em}
.hero h1::after,.hero h2::after{content:"";display:block;width:140px;height:1px;margin:30px auto 0;background:linear-gradient(90deg,transparent,#A0783F,transparent)}
.hero .occasions{margin-top:30px;max-width:700px}
.hero .occasions-label{color:#8A5A2B;margin-bottom:24px}
.hero .occasions li{background:#C8B291;border:1px solid #C8B291;color:#14161a;font-weight:500;letter-spacing:.1em;padding:7px 16px}
@media(max-width:800px){.hero{padding:52px 16px 44px}.hero h2{letter-spacing:.1em}}
@media(max-width:800px){.hero .occasions ul{gap:6px}.hero .occasions li{padding:5px 11px;font-size:12px;letter-spacing:.06em}}

/* product tabs */
.group{display:flex;flex-direction:column;gap:12px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.note{margin:-6px 0 0;font-size:12px;color:#8a8175}
label.check{flex-direction:row;align-items:center;gap:8px}
label.check input{width:18px;height:18px;padding:0}

/* Luminary preview: borderless acrylic panel, glossy, with the four corner standoffs */
.standoff{display:none}
.frame[data-line=star]{padding:0;background:none;box-shadow:none;width:min(100%,560px,calc(74vh * 18 / 24))}
.frame[data-line=star] .mat{aspect-ratio:18/24;background:#0B0D13;border-radius:1px;
  box-shadow:0 0 0 1px #ffffff2e,0 22px 44px #0007,0 3px 8px #0006,inset 0 0 0 1px #ffffff14}
.frame[data-line=star] .mat::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
  background:linear-gradient(112deg,#ffffff1f 0%,#ffffff00 32%,#ffffff00 62%,#ffffff0d 100%)}
.frame[data-line=star] .standoff{display:block;position:absolute;z-index:3;width:3.33%;aspect-ratio:1;border-radius:50%;
  transform:translate(-50%,-50%);pointer-events:none;
  background:radial-gradient(circle at 34% 30%,#fbfbfb 0%,#c9cdd2 38%,#8a8f96 72%,#d3d7dc 100%);
  box-shadow:0 2px 3px #000a,0 0 0 1px #ffffff40 inset,0 -2px 3px #0000004d inset}
.standoff.tl{left:3.06%;top:2.29%}.standoff.tr{left:96.94%;top:2.29%}.standoff.bl{left:3.06%;top:97.71%}.standoff.br{left:96.94%;top:97.71%}
@media(max-width:800px){.frame[data-line=star]{width:min(100%,calc(38vh * 18 / 24))}}
.tagline{margin:0;font:italic 500 18px/1.35 var(--serif);color:#3a3129}

.speclist{margin:0;padding:0;list-style:none;display:grid;gap:6px;font-size:13px;line-height:1.45;color:#4b443b}
.speclist b{font-weight:500;color:var(--ink)}

/* "also available" card linking to the other product page */
.xsell{background:#F4EFE6}
.xsell .eyebrow{margin:0 0 8px;font:500 11px var(--sans);letter-spacing:.28em;text-transform:uppercase;color:#8a8175}
.xsell{background:#1d1f24;color:#F4EFE6}
.xsell h2{color:#FDFBF7}
.xsell .lead{color:#C9C0AE}
.xsell .eyebrow{color:#C8B291}
.xsell .btn-outline{color:#F4EFE6;border-color:#C8B291}
.xsell .btn-outline:hover{background:#C8B291;border-color:#C8B291;color:#1d1f24}
.btn-outline{display:inline-block;margin-top:6px;padding:12px 26px;border:1px solid var(--ink);border-radius:6px;color:var(--ink);text-decoration:none;font:500 13px var(--sans);letter-spacing:.14em;text-transform:uppercase}
.btn-outline:hover{background:var(--ink);color:#fff}

/* mobile nav labels: drop "The " so three links fit on one row */
@media(max-width:820px){.nav .the{display:none}.nav{gap:14px}.nav a{letter-spacing:.06em}.nav a.craft{display:none}}

/* eyebrow / lead text */
.eyebrow{margin:0 0 10px;font:500 11px var(--sans);letter-spacing:.28em;text-transform:uppercase;color:#8a8175}
.hero .eyebrow{color:#8A5A2B}
.hero-lead{max-width:640px;margin:18px auto 0;color:#E9E0CE;font-size:17px;line-height:1.55}
.hero-gift{padding-bottom:52px}
.crumbs{max-width:1100px;margin:0 auto;padding:14px 16px 0;font-size:13px;color:#8a8175}
.crumbs a{color:#6b6257}

/* how it works */
.steps{list-style:none;margin:28px auto 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;max-width:960px;text-align:left}
.steps .n{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid #C8B291;color:#8A5A2B;font:500 14px var(--sans)}
.steps h3{margin:12px 0 6px;font:500 19px var(--serif);letter-spacing:.02em}
.steps p{margin:0;color:#4b443b;font-size:15px;line-height:1.55}

/* sizes table */
.sizes{border-collapse:collapse;margin:26px auto 0;width:min(100%,720px);font-size:15px}
.sizes th,.sizes td{padding:12px 14px;border-bottom:1px solid #d9d0c0;text-align:left}
@media(max-width:400px){.sizes th,.sizes td{padding:10px 6px}.sizes th{font-size:10px;letter-spacing:.08em}}
.sizes th{font:500 12px var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#8a8175}

/* FAQ */
.faq{max-width:760px;margin:26px auto 0;text-align:left;border-top:1px solid #e3dccd}
.faq details{border-bottom:1px solid #e3dccd}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 2px;font:500 18px/1.35 var(--serif);color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:8px;height:8px;border-right:1px solid #A0783F;border-bottom:1px solid #A0783F;transform:rotate(45deg);margin-top:-4px;transition:transform .25s ease}
.faq details[open] summary::after{transform:rotate(-135deg);margin-top:4px}
.faq summary:focus-visible{outline:1px solid #A0783F;outline-offset:4px}
.faq p{margin:0 0 20px;padding:0 2px;color:#4b443b;font-size:15px;line-height:1.6}

/* gift pages */
.prose{max-width:760px;margin:0 auto;text-align:left}
.prose h1,.prose h2{font:italic 500 clamp(24px,3.6vw,32px)/1.2 var(--serif);margin:28px 0 10px}
.prose p{color:#4b443b;font-size:16px;line-height:1.7;margin:0 0 14px}
.cards2{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px;max-width:860px;margin:28px auto 0}
.card{text-align:center}
.card-img{display:block;background:#EFE9DD;padding:18px;border-radius:6px}
.card-img img{display:block;width:100%;height:auto;margin:0 auto;box-shadow:0 12px 28px #0003}
.card h3{margin:16px 0 6px;font:500 22px var(--serif)}
.card p{margin:0 0 8px;color:#4b443b;font-size:15px}
.card .price-line{font-weight:500;color:var(--ink)}
.ideas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:32px;max-width:960px;margin:24px auto 0;text-align:left}
.ideas-grid h3{margin:0 0 10px;font:500 18px var(--serif)}
.ideas{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.ideas li{font-size:15px;line-height:1.5;color:#2c2721}
.ideas li span{display:block;color:#6b6257;font-size:14px}
.related{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.related a{display:inline-block;padding:8px 16px;border:1px solid #C8B291;border-radius:999px;color:var(--ink);text-decoration:none;font-size:14px}
.related a:hover{background:#C8B291}
.occ-grid{list-style:none;margin:28px auto 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;max-width:1000px}
.occ-grid a{display:block;text-decoration:none;color:var(--ink);text-align:left}
.occ-grid img{display:block;width:100%;height:auto;background:#1d1f24;border-radius:4px}

/* footer */
.foot{padding:40px 16px 24px;background:#1A1C1E;color:#cfc7b8;font-size:14px;text-align:center}
.foot-cols{display:flex;flex-wrap:wrap;justify-content:center;gap:28px 56px;max-width:1000px;margin:0 auto}
.foot-cols>div{text-align:left;min-width:150px}
@media(max-width:600px){.foot-cols{flex-direction:column;align-items:center;gap:26px}.foot-cols>div{width:220px}}
.foot h4{margin:0 0 10px;font:500 11px var(--sans);letter-spacing:.24em;text-transform:uppercase;color:#C8B291}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.foot a{color:#E9E0CE;text-decoration:none}
.foot a:hover{text-decoration:underline}
.foot .copy{max-width:1000px;margin:28px auto 0;color:#8f8b84;font-size:12px}
.foot .copy.credit{margin-top:6px}
.foot .copy.credit a{color:inherit;text-decoration:underline}

/* gift-page hero fixes: centred lead text, readable colour, breathing room under the eyebrow */
.hero.hero-gift{text-align:center}
.hero .eyebrow{margin:0 0 18px}
.hero .hero-lead{max-width:640px;margin:20px auto 0;color:#4b443b;font-size:17px;line-height:1.55;text-align:center}
.hero.hero-gift h1{margin-bottom:0}

/* gifts hub: map + star map side by side for each occasion */
.occ-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:34px 28px;max-width:1040px}
.occ-grid .pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end;padding:14px;background:#1d1f24;border-radius:6px}
.occ-grid .pair img{border-radius:2px;box-shadow:0 8px 18px #0003}

/* gifts hub: category name + description on top, then the pair of examples with 1rem under each image */
.occ-grid .pair{margin:0;padding:16px}
.occ-grid .pair img{margin-bottom:1rem}
/* keep the image panels aligned across a row even when the descriptions differ in length */
.occ-grid li{display:flex}
.occ-grid li>a{display:flex;flex-direction:column;width:100%}
.occ-grid .pair{margin-top:auto}
/* gifts hub: two categories per row so the examples can be larger */
.occ-grid{grid-template-columns:repeat(2,1fr);gap:48px 36px;max-width:1100px}
.occ-grid .pair{gap:14px;padding:20px}
@media(max-width:700px){.occ-grid{grid-template-columns:1fr;gap:56px}.occ-grid .pair{padding:14px;gap:10px}}

/* ---------- /gifts: occasion grid (left-aligned name + description above the examples) ---------- */
.occ-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:64px 40px;max-width:1100px;margin:36px auto 0;padding:0;list-style:none}
.occ-grid li{display:flex}
.occ-grid li>a{display:flex;flex-direction:column;width:100%;text-align:center;text-decoration:none;color:var(--ink)}
.occ-grid .occ-title{margin:0 0 12px;font:500 19px/1.3 Cinzel,var(--serif);letter-spacing:.16em;text-transform:uppercase;color:var(--ink)}
.occ-grid .occ-desc{display:block;margin:0 auto 24px;max-width:58ch;font:400 19px/1.55 var(--serif);color:#4b443b}
.occ-grid .pair{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:end;padding:0;background:none}
.occ-grid .pair img{display:block;width:100%;height:auto;margin:0;padding:22px;box-sizing:border-box;background:#1d1f24;border-radius:4px;box-shadow:0 22px 44px #0003}
@media(max-width:700px){.occ-grid{grid-template-columns:1fr;gap:48px}.occ-grid .pair{gap:12px}.occ-grid .pair img{padding:14px}}
.gifts-band{padding-left:clamp(24px,6vw,56px);padding-right:clamp(24px,6vw,56px)}
.hero.hero-gift{padding-left:clamp(24px,6vw,56px);padding-right:clamp(24px,6vw,56px)}
/* equal space between description and examples whatever the description length (desktop; 3 lines is the longest) */
@media(min-width:701px){.occ-grid .occ-desc{min-height:calc(15px * 1.65 * 3)}}

/* /gifts section heading: same spaced Cinzel capitals as the page headline, with a fine champagne rule */
.band h2.occ-heading{margin:0 0 56px;font:normal 400 clamp(20px,2.6vw,26px)/1.3 Cinzel,var(--serif);letter-spacing:.24em;text-transform:uppercase;color:var(--ink)}
.band h2.occ-heading::after{content:"";display:block;width:56px;height:1px;margin:22px auto 0;background:linear-gradient(90deg,transparent,#C8B291,transparent)}
@media(max-width:700px){.band h2.occ-heading{margin-bottom:40px;letter-spacing:.2em}}

/* /gifts card descriptions: slightly larger, with more space before the examples */
.occ-grid .occ-desc{font-size:19px;line-height:1.55;margin-bottom:36px}
@media(min-width:701px){.occ-grid .occ-desc{min-height:calc(19px * 1.55 * 3)}}
@media(max-width:700px){.occ-grid .occ-desc{font-size:17px;margin-bottom:28px}}

/* shipping & delivery page */
.band.prose .occ-heading{text-align:center}
.band.prose .lead{margin-left:auto;margin-right:auto;text-align:center}
.pack{margin:34px 0 0;padding-top:26px;border-top:1px solid #e3dccd;text-align:left}
.pack h3{margin:0 0 10px;font:500 24px var(--serif);letter-spacing:.005em}
.pack p{margin:0 0 10px;color:#4b443b;font-size:16px;line-height:1.7}
.plain{margin:0 0 14px;padding-left:22px;color:#4b443b;font-size:16px;line-height:1.7}
.film{max-width:640px;margin:0 auto;color:#4b443b;font-size:16px;line-height:1.7;text-align:left}
.table-note{margin:14px auto 0;max-width:720px;color:#8a8175;font-size:13px;text-align:left}
.guarantee a{color:var(--ink);text-underline-offset:3px}
.guarantee .ship-link{display:inline-block;margin-top:6px}

/* damages / returns / questions, contact form */
.making-right{max-width:640px;margin:0 auto 14px;font:italic 500 22px/1.4 var(--serif);color:#3a3129}
.film.center,.table-note.center{text-align:center}
.contact-form{max-width:620px;margin:0 auto;display:grid;gap:20px;text-align:left}
.contact-form .field-row{display:flex;flex-direction:column;gap:6px}
.contact-form label{font:500 12px var(--sans);letter-spacing:.16em;text-transform:uppercase;color:#4b443b}
.contact-form .opt{text-transform:none;letter-spacing:0;color:#8a8175;font-weight:400}
.contact-form input,.contact-form textarea{font:400 16px var(--sans);padding:13px 14px;border:1px solid #cfc6b8;border-radius:6px;background:#fff;color:var(--ink);width:100%}
.contact-form textarea{resize:vertical;min-height:150px}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid #C8B291;outline-offset:1px}
.contact-form [aria-invalid=true]{border-color:#a3402f}
.contact-form .err{margin:0;min-height:0;font-size:13px;color:#a3402f}
.contact-form .err:empty{display:none}
.contact-form button{padding:15px;font:500 13px var(--sans);letter-spacing:.2em;text-transform:uppercase;border-radius:6px}
.contact-status{margin:0;font-size:15px;line-height:1.5}
.contact-status.ok{color:#2f6b3f}
.contact-status.bad{color:#a3402f}
.contact-status:empty{display:none}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
#damages .film,#returns .film,#questions .film,#questions .table-note{text-align:center}
/* shipping page: tighter space under each section heading; protective-film text centered like the rest */
#delivery-times .occ-heading,#tracking .occ-heading,#packaging .occ-heading,#protective-film .occ-heading,#damages .occ-heading,#returns .occ-heading,#questions .occ-heading{margin-bottom:26px}
#protective-film .film{text-align:center}
#packaging .lead,#tracking .lead{margin-top:0}
#damages .making-right{margin-top:0}
.ship-table th:last-child,.ship-table td:last-child{text-align:center}
/* delivery table: equal outer columns so the middle (delivery time) column sits at the exact centre of the table */
.ship-table{table-layout:fixed}
.ship-table th:nth-child(1),.ship-table td:nth-child(1){width:34%}
.ship-table th:nth-child(2),.ship-table td:nth-child(2){width:32%;text-align:center}
.ship-table th:nth-child(3),.ship-table td:nth-child(3){width:34%;text-align:center}
@media(max-width:600px){
  .ship-table th,.ship-table td{padding:12px 6px;font-size:14px}
  .ship-table th{letter-spacing:.08em;font-size:11px}
  .ship-table th:nth-child(1),.ship-table td:nth-child(1){width:30%}
  .ship-table th:nth-child(2),.ship-table td:nth-child(2){width:40%}
  .ship-table th:nth-child(3),.ship-table td:nth-child(3){width:30%}
}

/* Luminary: click the preview to see it at full detail */
body[data-page=luminary] #poster{cursor:zoom-in}
.lightbox{position:fixed;inset:0;z-index:60;background:#0a0b0dee;display:flex;flex-direction:column}
.lightbox[hidden]{display:none}
.lb-close{position:absolute;top:10px;right:14px;z-index:2;width:44px;height:44px;border-radius:50%;background:#ffffff1f;color:#fff;font-size:30px;line-height:1;padding:0}
.lb-note{position:absolute;top:18px;left:0;right:60px;margin:0;text-align:center;color:#d9d0c0;font-size:14px;pointer-events:none}
.lb-scroll{flex:1;min-height:0;overflow:hidden;padding:56px 16px 16px;display:flex;justify-content:center;align-items:center}
.lb-scroll img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 10px 40px #000a;cursor:zoom-in}
/* click the picture to see it at full detail (scrolls); click again to fit the screen */
.lightbox.full .lb-scroll{overflow:auto;display:block;text-align:center}
.lightbox.full .lb-scroll img{max-width:none;max-height:none;width:1980px;cursor:zoom-out}
@media(max-width:800px){.lightbox.full .lb-scroll img{width:1600px}}

/* desktop: the whole preview always fits the window, and stays in view while the form scrolls */
@media(min-width:801px){
  .preview{position:sticky;top:calc(var(--header-h,70px) + 12px);align-self:start;padding:18px 16px 10px}
  /* height available = window - header - preview padding - hint line; width follows from the poster's shape */
  .frame{width:min(100%,592px,calc((100vh - var(--header-h,70px) - 120px) * 11 / 14 + 32px))}
  .frame[data-line=star]{width:min(100%,560px,calc((100vh - var(--header-h,70px) - 100px) * 18 / 24))}
}
.controls .dl{background:#fff;color:var(--ink);border:1px solid var(--ink)}

/* Hearthstone preview: photos of the real frames (Gelato's) as a 9-slice border drawn ON TOP of the poster, so corners stay sharp at any size
   and the poster runs about 1.5% under the frame lip like a real framed print (the print file has 4 mm of bleed for exactly that). Built by scripts/make-frames.mjs. */
.frame[data-line=map]{--bw:30px;--sl:38;--src:url(/img/frame-natural.png);padding:var(--bw);background:none;box-shadow:0 14px 34px #0004;width:min(100%,592px,calc(74vh * 11 / 14 + 2 * var(--bw)))}
.frame[data-line=map]::after{content:"";position:absolute;inset:0;z-index:6;pointer-events:none;border:var(--bw) solid transparent;border-image:var(--src) var(--sl)/var(--bw) stretch;box-shadow:inset 0 0 4px #0002}
.frame[data-line=map] .mat{box-shadow:none;transform:scale(1.03)}
.frame[data-line=map][data-frame=black]{--bw:33px;--sl:21;--src:url(/img/frame-black.png)}
.frame[data-line=map][data-frame=white]{--sl:21;--src:url(/img/frame-white.png)}
@media(max-width:800px){.frame[data-line=map]{--bw:15px;width:min(100%,calc(38vh * 11 / 14 + 2 * var(--bw)))}.frame[data-line=map][data-frame=black]{--bw:16px}}
@media(min-width:801px){.frame[data-line=map]{width:min(100%,592px,calc((100vh - var(--header-h,70px) - 120px) * 11 / 14 + 2 * var(--bw)))}}

/* star map accuracy page */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin:26px 0 4px;text-align:center}
.facts div{border-top:1px solid var(--oak);padding-top:14px}
.facts b{display:block;font:500 clamp(26px,4vw,34px)/1.1 'Cormorant Garamond',Georgia,serif;letter-spacing:.02em}
.facts span{display:block;margin-top:6px;font-size:14px;color:#6b6256}

/* "Email me this design" */
.savebox{margin:10px 0 4px}
.linkbtn{background:none;border:0;padding:0;font:inherit;font-size:13px;letter-spacing:.04em;color:var(--oak);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#saveForm{margin-top:10px;padding:14px;border:1px solid #d9c9a8;background:#fff}
#saveForm label{display:block;font-size:13px;margin-bottom:6px}
.saverow{display:flex;gap:8px}
.saverow input{flex:1;min-width:0}
.saverow button{flex:none;padding:0 18px}
#saveForm .check{display:flex;gap:8px;align-items:flex-start;margin:12px 0 0;font-size:13px;color:#4a443c}
#saveForm .check input{margin-top:3px}
.savenote{margin:10px 0 0;font-size:12px;color:#8a8175}
.savestatus{margin:8px 0 0;font-size:13px;color:#a13b2e}
.savestatus.ok{color:#2f6b3f}

/* digital image add-on */
.addon{margin:10px 0 4px;padding:12px 14px;border:1px solid #d9c9a8;background:#fff}
.addon label{display:flex;flex-direction:row;gap:10px;align-items:flex-start;cursor:pointer;font-size:14px}
.addon input{flex:none;width:18px;height:18px;padding:0;margin-top:2px}
.addon small{color:#8a8175;font-size:12px;line-height:1.5}

/* map credit (Mapbox / OpenStreetMap) on the product pages */
.map-credit{max-width:720px;margin:28px auto 0;padding:0 16px;font-size:12px;line-height:1.6;color:#8a8175;text-align:center}
.map-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* occasion row under the main menu (all pages) */
.site{flex-wrap:wrap}
.occ-row{flex-basis:100%;order:9;display:flex;justify-content:safe center;gap:clamp(12px,3vw,34px);margin-top:12px;padding-top:12px;border-top:1px solid #ece4d4;overflow-x:auto;scrollbar-width:none}
.occ-row::-webkit-scrollbar{display:none}
.occ-row a{flex:none;display:flex;flex-direction:column;align-items:center;gap:5px;padding:2px 4px;color:#4b443b;text-decoration:none;font:500 10px/1.2 var(--sans);letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}
.occ-row svg{width:28px;height:28px;stroke:#A0783F;fill:none;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s}
.occ-row a:hover,.occ-row a:focus-visible{color:var(--ink)}
.occ-row a:hover svg,.occ-row a:focus-visible svg{stroke:var(--ink)}
/* phones: ONE row that scrolls sideways (it used to wrap onto two rows and push the form down). The end items have auto margins, so the row is centred when it fits and starts at the left when it does not. */
@media(max-width:820px){.occ-row{justify-content:flex-start;flex-wrap:nowrap;gap:18px;margin-top:8px;padding:10px 16px 2px;-webkit-overflow-scrolling:touch;scroll-padding:0 16px;mask-image:linear-gradient(to right,transparent 0,#000 12px,#000 calc(100% - 28px),transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0,#000 12px,#000 calc(100% - 28px),transparent 100%)}.occ-row a:first-child{margin-left:auto}.occ-row a:last-child{margin-right:auto}.occ-row a{font-size:9px;letter-spacing:.12em}.occ-row svg{width:24px;height:24px}}
@media(max-width:332px){.occ-row{gap:8px}.occ-row a{font-size:8px;letter-spacing:.06em}.occ-row svg{width:20px;height:20px}}

/* one-line hero on the product pages: the concept line, then the product name (kept as the page heading for search) */
.hero.hero-strip{padding:22px 16px 6px}
.hero.hero-strip .eyebrow{margin:0 0 6px}
.hero.hero-strip h1{font:500 clamp(15px,2.2vw,19px)/1.3 Cinzel,var(--serif);letter-spacing:.1em;margin:0}
.hero.hero-strip,.hero.hero-strip .eyebrow,.hero.hero-strip h1{text-align:center}
.hero.hero-strip h1{display:block;width:100%;max-width:none;margin:0 auto;padding:0}
.hero.hero-strip h1::after{display:none}
.hero.hero-strip{background:none}

/* occasion pages: the example products sit in dark panels on the cream page, so the pictures stand out without a black band; cards are equal height with the buttons aligned */
.occ-examples{background:#FDFBF7;padding-top:56px;padding-bottom:64px}
.occ-examples .cards2{align-items:stretch;gap:36px}
.occ-examples .card{display:flex;flex-direction:column;align-items:center}
.occ-examples .card-img{background:#1d1f24;padding:22px;border-radius:4px;box-shadow:0 22px 44px #0003;width:100%}
.occ-examples .card-img img{box-shadow:0 16px 36px #0008}
.occ-examples .card h3{color:#1A1A1A;margin-top:20px}
.occ-examples .card p{color:#4b443b;min-height:3.2em;display:flex;align-items:center;justify-content:center}
.occ-examples .card .price-line{color:#8A5A2B;min-height:0;display:block}
.occ-examples .card .btn-outline{margin-top:auto;background:#1F3B4D;border-color:#1F3B4D;color:#FDFBF7;font-weight:500}
.occ-examples .card .btn-outline:hover{background:#2E5068;border-color:#2E5068}

/* promo bar and cart */
.promo{margin:0;padding:10px 16px;text-align:center;background:#977012;color:#FFFFFF;font:500 13px/1.5 var(--sans);letter-spacing:.06em}
#cartBody{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0}
#cartBody[hidden]{display:none}
#cartItems{display:grid;gap:14px;overflow:auto}
.cart-item{display:grid;grid-template-columns:1fr auto;gap:2px 12px;padding-bottom:14px;border-bottom:1px solid #e3dccd}
.cart-item b{font:500 15px/1.3 var(--sans);color:var(--ink)}
.cart-item span{font-size:13px;color:#6b6257}
.cart-item .cart-price{grid-row:1;grid-column:2;font-weight:500;color:var(--ink);font-size:15px}
.cart-remove{grid-column:2;justify-self:end;background:none;border:0;padding:0;color:#8A5A2B;text-decoration:underline;font-size:13px;cursor:pointer}
.cart-hint{margin:0;font-size:13px;color:#8A5A2B}
.cart-was{color:#8a8175;font-weight:400;font-size:13px}
.cart-line{display:flex;justify-content:space-between;font-size:14px;padding:3px 0}
.cart-save{color:#2f6b3f}
.cart-total{font-weight:500;font-size:16px;border-top:1px solid #e3dccd;padding-top:10px;margin-top:6px}
.cart-msg{margin:0;color:#a13b2e;font-size:13px;min-height:1em}

/* real photos of the product */
.photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;max-width:1040px;margin:28px auto 0;align-items:start}
.photos figure{margin:0}
.photos img{display:block;width:100%;height:auto;border-radius:2px}
/* a tall (3:4) picture beside a wide (4:3) one: width 56.25% makes both the same height when the two sit side by side */
@media(min-width:640px){.photos figure.tall a{width:56.25%;margin:0 auto}}
.photos figcaption{padding-top:10px;font-size:14px;color:#6b6257;text-align:center}
.tile-contain img{object-fit:contain;background:#fff}

.photos a{display:block;cursor:zoom-in}
#orderRef b{font-weight:600;letter-spacing:.06em;color:var(--ink,#1A1A1A);white-space:nowrap}
#orderRef{font-size:17px}

/* touch screens: a form field smaller than 16px makes iPhones zoom the whole page when it is tapped. Keep every text field at 16px there (the page itself is still free to zoom). */
@media(max-width:820px),(pointer:coarse){input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}}

/* phones: the sizes and prices table is left out (the size menu above shows the same prices) */
@media(max-width:820px){#sizes{display:none}}
/* very small phones (320 to 380 px wide): tighter menu and heading so nothing wraps awkwardly */
@media(max-width:380px){
  .logo{font-size:18px}
  .nav{gap:12px}
  .nav a{font-size:9.5px;letter-spacing:.05em}
  .hero .eyebrow,.eyebrow{font-size:10px;letter-spacing:.16em}
  .hero.hero-strip h1{font-size:13px;letter-spacing:.06em}
  .occ-row{gap:14px}
}

/* Hearthstone: a button under the preview opens the enlarged view (phones and small tablets; on a computer the preview already fills the window) */
.enlarge-btn{display:none;margin-top:10px;padding:10px 22px;border:1px solid #A0783F;border-radius:999px;background:#fff;color:#8A5A2B;font:500 12px var(--sans);letter-spacing:.14em;text-transform:uppercase}
@media(max-width:800px){.enlarge-btn{display:inline-block}}
/* the line under the questions: same width and left edge as the questions above it, links in the site's colour */
#faq > .table-note{max-width:760px;padding:0 2px}
.table-note a{color:#8A5A2B;text-underline-offset:2px}

/* How it works (product pages): three cards, each with a line icon, a large numeral and a short paragraph */
.how{list-style:none;margin:30px auto 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1000px;text-align:left}
.how li{position:relative;background:#fff;border:1px solid #e6dcc7;border-top:3px solid #C8B291;border-radius:3px;padding:30px 26px 30px;overflow:hidden;box-shadow:0 1px 0 #f0e8d8}
.how .how-n{position:absolute;top:6px;right:16px;font:300 84px/1 var(--serif);color:#E8DFC9;pointer-events:none;user-select:none}
.how .how-ico{display:block;width:34px;height:34px;margin:0 0 18px;fill:none;stroke:#A0783F;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;position:relative}
.how h3{position:relative;margin:0 0 10px;font:500 23px/1.2 var(--serif);letter-spacing:.01em;color:var(--ink)}
.how p{position:relative;margin:0;color:#4b443b;font-size:16px;line-height:1.65}
@media(max-width:820px){.how{grid-template-columns:1fr;gap:14px;margin-top:22px}.how li{padding:24px 22px 24px}.how .how-n{font-size:68px;top:4px;right:14px}}

/* the sky-accuracy page has four steps: two columns on a computer */
.how.how-4{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
@media(max-width:820px){.how.how-4{grid-template-columns:1fr}}

/* /gifts on phones: one picture per row, so each is large enough to read (side by side they were 165 px wide and the star map's fine stars vanished);
   the dark star map gets a fine light edge so it does not melt into its dark panel */
@media(max-width:700px){
  .occ-grid .pair{grid-template-columns:1fr;gap:16px;max-width:420px;margin-left:auto;margin-right:auto;width:100%}
  .occ-grid .pair img{padding:16px}
  .occ-grid .pair img[src$="-star-sm.webp"]{outline:1px solid #6b655a;outline-offset:-17px}
}

/* ================= Phones: the designer =================
   The preview is an ordinary picture at the top, almost the width of the screen. It is NOT pinned (a pinned preview covered the fields being filled in).
   While you are down in the form a small thumbnail of your design floats at the bottom of the screen; tap it to go back up. On the Hearthstone page, tapping
   the picture opens a full-screen map editor (drag the map, + and - to zoom, Done), so swiping to scroll and dragging the map never fight. */
.map-edit-top,.map-toolbar,.pv-chip{display:none}
@media(max-width:800px){
  main{gap:14px;padding:8px 8px 20px}
  .controls{padding:0 8px}
  .preview{position:static;padding:10px 8px 8px;box-shadow:none;scroll-margin-top:8px}
  .frame{width:100%}
  .frame[data-line=map]{width:100%}
  .frame[data-line=star]{width:100%}
  .frame img#poster{touch-action:auto;cursor:pointer}
  .preview .hint{display:block;margin:10px 0 0;font-size:13px;color:#6b6257;text-align:center}
  .enlarge-btn{margin-top:8px}

  /* the order pages: the header is an ordinary part of the page on a phone (not pinned), so the preview never slides under it */
  body[data-page] header.site{position:relative;top:auto}

  .pv-chip{display:flex;position:fixed;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:15;flex-direction:column;align-items:center;gap:3px;padding:5px 5px 4px;border:1px solid #cfc6b8;border-radius:10px;background:#fffffff2;box-shadow:0 6px 18px #0004;font:500 9px var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#4b443b}
  .pv-chip[hidden]{display:none}
  .pv-chip img{display:block;width:46px;height:auto;aspect-ratio:11/14;object-fit:cover;border-radius:3px;background:#F7F5F0}

  /* the full-screen map editor */
  body.map-edit{overflow:hidden}
  body.map-edit main::before{content:"";display:block;height:var(--pv-h,0)}
  body.map-edit .preview{position:fixed;inset:0;z-index:70;margin:0;background:#EFE9DD;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:70px 10px 96px;overflow:hidden}
  body.map-edit .frame[data-line=map]{width:min(100%,calc((100vh - 190px) * 11 / 14 + 2 * var(--bw)))}
  @supports(height:100dvh){body.map-edit .frame[data-line=map]{width:min(100%,calc((100dvh - 190px) * 11 / 14 + 2 * var(--bw)))}}
  body.map-edit .frame img#poster{touch-action:none;cursor:grab}
  body.map-edit .preview .hint,body.map-edit .enlarge-btn{display:none}
  body.map-edit .map-edit-top{display:block;position:absolute;top:0;left:0;right:0;padding:16px 16px 10px;text-align:center;font:500 20px var(--serif);color:var(--ink)}
  body.map-edit .map-edit-top small{display:block;margin-top:2px;font:400 13px var(--sans);color:#6b6257}
  body.map-edit .map-toolbar{display:flex;position:absolute;left:0;right:0;bottom:0;align-items:center;gap:12px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e0d8c8}
  .map-done{flex:1;height:52px;border:0;border-radius:999px;background:#1A1A1A;color:#fff;font:600 14px var(--sans);letter-spacing:.14em;text-transform:uppercase}
}

/* "What is included": a short checklist in its own section under the designer */
.checks{list-style:none;max-width:680px;margin:26px auto 0;padding:28px 32px;display:grid;gap:15px;text-align:left;background:#fff;border:1px solid #e6dcc7;border-top:3px solid #C8B291;border-radius:3px;box-shadow:0 1px 0 #f0e8d8}
.checks li{position:relative;padding-left:28px;font:400 17px/1.5 var(--sans);color:#3a3129}
.checks li::before{content:"";position:absolute;left:5px;top:.62em;width:8px;height:8px;background:#A0783F;transform:rotate(45deg)}
.checks li b{font-weight:500;color:var(--ink)}
#included .tagline{max-width:680px;margin:14px auto 0;text-align:center}
@media(max-width:560px){.checks{padding:22px 20px}.checks li{font-size:16px}}

/* ================= Typography =================
   Section headings are set in Jost (the body font): plain, readable, calm. The display type (logo, hero titles, the poster itself) keeps its serif. */
.band h2,.band h3{font:500 clamp(24px,3.4vw,32px)/1.2 var(--sans);letter-spacing:.005em;margin:0 0 10px}
.prose h1,.prose h2{font:500 clamp(22px,3vw,28px)/1.25 var(--sans);letter-spacing:.005em;margin:28px 0 10px}
.steps h3{font:500 18px/1.3 var(--sans);letter-spacing:0}
.how h3{font:500 21px/1.25 var(--sans);letter-spacing:0}
.card h3{font:500 20px/1.3 var(--sans)}
.ideas-grid h3{font:500 17px/1.3 var(--sans)}
.pack h3{font:500 22px/1.25 var(--sans);letter-spacing:0}
.faq summary{font:500 17px/1.4 var(--sans)}
.drawer-head{font:500 20px var(--sans);letter-spacing:.02em}

/* ================= The designer form: four collapsible sections and a buy bar ================= */
.sections{border-top:1px solid #e3dccd}
.fsec{border-bottom:1px solid #e3dccd}
.fsec>summary{list-style:none;cursor:pointer;display:flex;align-items:flex-start;gap:14px;padding:18px 2px;border-radius:4px}
.fsec>summary::-webkit-details-marker{display:none}
.fsec>summary:focus-visible{outline:2px solid #C8B291;outline-offset:2px}
.fsec>summary::after{content:"";flex:none;width:8px;height:8px;border-right:1px solid #A0783F;border-bottom:1px solid #A0783F;transform:rotate(45deg);margin:5px 4px 0 0;transition:transform .25s ease}
.fsec[open]>summary::after{transform:rotate(-135deg);margin-top:9px}
.fn{flex:none;margin-top:-3px;width:28px;height:28px;border-radius:50%;border:1px solid #C8B291;display:grid;place-items:center;font:500 12px var(--sans);color:#8A5A2B}
.fsec.done .fn{background:#A0783F;border-color:#A0783F;font-size:0}
.fsec.done .fn::after{content:"";width:5px;height:10px;border:solid #fff;border-width:0 1.5px 1.5px 0;transform:translate(0,-5px) rotate(45deg)}
.ft{flex:1;min-width:0;display:flex;flex-direction:column}
.ft b{font:500 17px/1.3 var(--sans);letter-spacing:.005em;color:var(--ink)}
.fs{margin-top:2px;font:400 13px/1.35 var(--sans);color:#8a8175;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fs:empty{display:none}
.fsec[open] .fs{display:none}
.fbody{display:grid;gap:14px;padding:2px 2px 22px}
.fsec{scroll-margin-top:84px}
.fbody label,.fbody .field{font:400 13px var(--sans);color:#6b6257;gap:6px}
.fbody input,.fbody select{font-size:16px;color:var(--ink)}
.fbody label.check{flex-direction:row;align-items:center;gap:10px;font-size:15px;color:#3a3129}

.buybar{display:flex;flex-direction:column;gap:12px;margin-top:22px}
.buybar .price{margin:0;display:flex;align-items:baseline;gap:10px}
.price .amt{font:600 26px/1 var(--sans);letter-spacing:-.01em;color:var(--ink)}
.price small{font:400 13px var(--sans);color:#8a8175;letter-spacing:.04em}
.price small{white-space:nowrap}
.buybar .price{display:block}
.price .amt{display:block}
.price small.free,.price small.later{display:flex;align-items:center;gap:9px;font:400 13.5px var(--sans);letter-spacing:.03em;color:#3d3326}
.price small.free{margin-top:10px;padding-top:10px;border-top:1px solid #e6dcc6}
.price small.later{margin-top:7px}
.price small.free svg,.price small.later svg{flex:none;width:17px;height:17px;color:#A0783F}
.price small.later b{font-weight:600}
.buybar #next{height:54px;padding:0 28px;border:0;border-radius:999px;background:#1A1A1A;color:#F6F0E4;font:500 12px var(--sans);letter-spacing:.26em;text-transform:uppercase;transition:background .2s}
.buybar #next:hover{background:#000}
.buybar #next:focus-visible{outline:2px solid #C8B291;outline-offset:3px}

.map-zoom{display:none}
@media(max-width:800px){
  /* while designing, the price and Add to cart simply sit below the design options (in the page, not pinned); once the visitor scrolls past them a copy floats at the bottom of the screen */
  .buybar{flex-direction:column;align-items:stretch;gap:16px;margin:24px 0 0;padding:4px 0 0}
  .buybar #next{width:100%;height:50px}
  .fsec{scroll-margin-top:14px}
  body.float-on .pv-chip{bottom:calc(84px + env(safe-area-inset-bottom))}

  /* the map editor: a joined zoom pill (rounded ends, a fine line between the buttons, a light sand fill) to the left of Done */
  body.map-edit .map-toolbar{justify-content:flex-start;gap:14px}
  body.map-edit .map-zoom{display:flex;flex:none;height:52px;border:1px solid #C8B291;border-radius:999px;background:#F3EBDC;overflow:hidden}
  .map-zoom button{width:58px;height:50px;padding:0;border:0;border-radius:0;background:none;color:var(--ink);display:grid;place-items:center}
  .map-zoom button+button{border-left:1px solid #C8B291}
  .map-zoom button:active{background:#E9DEC9}
  .map-zoom svg{display:block;fill:none;stroke:currentColor;stroke-width:1.15;stroke-linecap:round}
  .map-done{flex:1;height:52px;border:0;border-radius:999px;background:#1A1A1A;color:#F6F0E4;font:500 12px var(--sans);letter-spacing:.26em;text-transform:uppercase}
  body.map-edit .map-edit-top{font:500 19px var(--sans)}
}

.fsec input[type=range],input[type=range]{accent-color:#A0783F}


/* Footer on phones: two balanced columns, left-aligned, with comfortable tap targets and a fine rule above the small print */
@media(max-width:600px){
  .foot{padding:38px 22px calc(26px + env(safe-area-inset-bottom));text-align:left}
  .foot-cols{display:block;column-count:2;column-gap:30px;max-width:520px;gap:0}
  .foot-cols>div{break-inside:avoid;width:auto;min-width:0;margin:0 0 30px}
  .foot h4{margin-bottom:8px}
  .foot ul{gap:0}
  .foot li a{display:block;padding:6px 0;font-size:14.5px;line-height:1.35}
  .foot .copy{max-width:520px;margin:6px auto 0;padding-top:20px;border-top:1px solid #2e3136;text-align:left;line-height:1.55}
  .foot .copy.credit{padding-top:0;border-top:0}
}

/* the floating copy of the price and Add to cart (phones, after the visitor has scrolled past the real ones) */
.buyfloat{display:none}
@media(max-width:800px){
  .buyfloat{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;align-items:center;gap:16px;padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e0d8c8;box-shadow:0 -8px 24px #0000000d}
  /* On an iPhone, Safari's toolbars slide in and out while you drag, and for a moment the screen's bottom edge is not where a fixed bar thinks it is: a sliver of the page shows under the bar. This white skirt hangs below the bar so there is never a gap to see through. */
  .buyfloat::after{content:"";position:absolute;left:0;right:0;top:100%;height:240px;background:#fff;pointer-events:none}
  .buyfloat[hidden]{display:none}
  .buyfloat .price{margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}
  /* the floating bar stays short (the map preview button sits just above it): price and the shipping line only, no Klarna line or divider */
  .buyfloat .price small{display:none}
  .buyfloat .price{justify-content:center}
  .buyfloat button{flex:1;min-width:0;height:50px;padding:0 24px;border:0;border-radius:999px;background:#1A1A1A;color:#F6F0E4;font:500 12px var(--sans);letter-spacing:.26em;text-transform:uppercase}
  body.typing .buyfloat{visibility:hidden}
}

/* The page now runs to the very edges of the phone screen (viewport-fit=cover in the page head), so the floating price bar can reach the true bottom and
   fill the area behind the home indicator. Ordinary content keeps clear of a landscape phone's notch and side areas. */
body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
@media(max-width:800px){
  .buyfloat{padding-bottom:calc(14px + env(safe-area-inset-bottom));min-height:calc(76px + env(safe-area-inset-bottom))}
}

/* the hanging-instructions page */
.hang-steps{max-width:860px;margin:20px auto 0;padding:0;list-style:none;counter-reset:s}
.hang-steps li{counter-increment:s;position:relative;padding:0 0 26px 56px;display:grid;grid-template-columns:1fr 220px;gap:24px;align-items:start}
.hang-ill{width:100%;height:auto;background:#fff;border:1px solid #e3dccd;border-radius:6px}
@media(max-width:640px){.hang-steps li{grid-template-columns:1fr;gap:12px}.hang-ill{max-width:260px}}
.hang-steps li:before{content:counter(s);position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;border:1.5px solid var(--ink);display:grid;place-items:center;font-size:16px}
.hang-steps h3{margin:4px 0 6px;font:500 20px/1.3 var(--sans);letter-spacing:0}
.hang-steps p{margin:0;color:#4a443c;line-height:1.55}
.two-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;max-width:820px;margin:20px auto 0;text-align:left}
.two-lists h3{margin:0 0 8px;font-weight:500}
#details .table-note{text-align:center}

/* the "More gift ideas" pills sit on the dark section: light text, as on the other dark-section buttons */
.xsell .related a{color:#F4EFE6}
.xsell .related a:hover{background:#C8B291;color:#1d1f24}

.frame-tip{margin:8px 0 0}

/* cookie choices (only present when the live site has the Meta pixel switched on) */
.consent{position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:70;max-width:560px;background:#1b1d1f;color:#eadfc8;border:1px solid #cbb69266;border-radius:10px;padding:14px 16px;box-shadow:0 10px 30px #0007;font-size:14px;line-height:1.45}
.consent p{margin:0}
.consent a{color:#cbb692}
.consent-row{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}
.consent button{padding:9px 20px;border-radius:6px;font-size:14px}
.consent .consent-yes{background:#cbb692;color:#1b1d1f;border:0;font-weight:600}
.consent .consent-no{background:transparent;color:#eadfc8;border:1px solid #cbb69288}
.consent-link{background:none;border:0;padding:0;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}
@media (min-width:700px){.consent{left:20px;right:auto}}

/* phone top menu: three equal squared tabs, the current page a flat dark block; short names (Frame, Luminary, Gifts) */
@media(max-width:820px){
  .nav{gap:0;margin:12px 0 0;justify-content:stretch}
  .nav a{flex:1;text-align:center;padding:11px 4px;border:0;font-size:11px;letter-spacing:.14em}
  .nav a+a{border-left:1px solid #cfc6b3}
  .nav a:hover,.nav a[aria-current=page]{border-bottom-color:transparent}
  .nav a[aria-current=page]{background:#1c2433;color:#fff}
  .nav .long{display:none}
}
@media(max-width:380px){.nav a{font-size:10px;letter-spacing:.1em}}

/* phone header: one-line promo, tighter rows, a clearer line above the occasion icons, Gifts tab softer */
.promo-short{display:none}
@media(max-width:820px){
  .promo{padding:7px 12px;font-size:12px}
  .promo-long{display:none}
  .promo-short{display:inline}
  .site{padding-top:8px}
  .nav{margin-top:8px}
  .nav a{padding:9px 4px}
  .nav a[href="/gifts"]:not([aria-current=page]){color:#8a8173}
  .occ-row{margin-top:14px;padding-top:10px;border-top:1px solid #d6ccb4}
  .occ-row svg{width:24px;height:24px}
}
@media(max-width:332px){.occ-row svg{width:20px;height:20px}}

/* room pictures under "What is included" (Hearthstone page): a row that scrolls sideways */
.rooms-wrap{position:relative;isolation:isolate;max-width:1000px;margin:34px auto 0}
.rooms{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;position:relative;z-index:1}
.rooms::-webkit-scrollbar{display:none}
.rooms figure{flex:0 0 min(80%,400px);margin:0;scroll-snap-align:start}
@media(min-width:801px){.rooms figure{flex:0 0 calc((100% - 18px) / 2)}}
.rooms img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:3px;cursor:zoom-in}
.rooms figcaption{margin-top:8px;font:400 13px/1.4 var(--sans);color:#7a6f60;letter-spacing:.02em}
.rooms-nav{position:absolute;top:calc(50% - 30px);width:40px;height:40px;border-radius:50%;border:1px solid #e6dcc7;background:rgba(255,255,255,.92);color:#3a3129;font:400 26px/1 var(--sans);cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.15);padding:0 0 3px}
.rooms-nav[hidden]{display:none}
.rooms-nav{z-index:5}
.rooms figure:last-child{scroll-snap-align:end}
.rooms-nav.prev{left:8px}.rooms-nav.next{right:8px}

/* phone: less empty space between the buttons and "What is included" */
@media(max-width:800px){body[data-page="frame"] main,body[data-page="luminary"] main{padding-bottom:0}body[data-page="frame"] #msg:empty,body[data-page="luminary"] #msg:empty{display:none}body[data-page="frame"] #included,body[data-page="luminary"] #included{padding-top:30px}}

/* Poster only: the print on its own, no frame border */
.frame[data-line=map][data-frame=none]{--bw:0px;padding:0;box-shadow:0 10px 28px #0003;width:min(100%,560px,calc(74vh * 11 / 14))}
.frame[data-line=map][data-frame=none]::after{display:none}
.frame[data-line=map][data-frame=none] .mat{transform:none}
@media(max-width:800px){.frame[data-line=map][data-frame=none]{width:calc(100% - 30px)}}   /* about the same size as the print inside a framed preview (the frame border is about 15px a side) */
@media(min-width:801px){.frame[data-line=map][data-frame=none]{width:min(100%,560px,calc((100vh - var(--header-h,70px) - 120px) * 11 / 14))}}

.rooms-hint{margin:12px 0 0;font:400 13px/1.4 var(--sans);color:#7a6f60;letter-spacing:.02em}
.rooms-zoom{position:fixed;inset:0;z-index:1000;background:rgba(20,16,12,.88);display:flex;align-items:center;justify-content:center;padding:16px;cursor:zoom-out}
.rooms-zoom[hidden]{display:none}
.rooms-zoom img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:3px;box-shadow:0 10px 40px #0008}
.rz-close{position:absolute;top:10px;right:14px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#2a2018;font:400 28px/1 var(--sans);cursor:pointer;padding:0 0 3px}

/* Poster only: hide the lines that are about the frame; show the lines that are about the poster */
body[data-poster="1"] [data-frame-only]{display:none}
body:not([data-poster="1"]) [data-poster-only]{display:none}

/* "Highlight my area": while the map is being dragged or zoomed, the same ring and fade as the print (renderPoster in src/render.js, option highlightArea). The window is the map window
   (same box as .layer); the ring is 72% of its width (0.36 of the map width on each side of the centre) and centred, and the fade is a huge shadow outside it, clipped by the window. */
.area-win{position:absolute;left:7%;right:7%;top:5.5%;bottom:22%;overflow:hidden;pointer-events:none}
.area-ring{position:absolute;left:50%;top:50%;width:72%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;border:1.5px solid var(--area-ring,#9A6B2F);box-shadow:0 0 0 999px var(--area-fade,rgba(247,245,239,.465))}
/* the switch in the Style section */
.swrow{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:18px 0 6px;margin-top:6px;border-top:1px solid #e6dfd3;cursor:pointer}   /* title, line and switch in one centred column */
.swrow .kick{display:block;margin-bottom:4px;font:500 10.5px var(--sans);font-style:normal;letter-spacing:.2em;text-transform:uppercase;color:var(--oak)}
.swrow b{display:block;font-size:14px;font-weight:600}
.swrow small{display:block;margin-top:2px;font-size:12.5px;color:#7a7064}
.tg{-webkit-appearance:none;appearance:none;box-sizing:border-box;padding:0;border:0;flex:none;width:46px;height:26px;margin:0;border-radius:999px;background:#cfc6b8;position:relative;cursor:pointer;transition:background .2s}
.tg::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:left .2s}
.tg:checked{background:var(--oak)}
.tg:checked::after{left:23px}
.tg:focus-visible{outline:2px solid var(--oak);outline-offset:3px}
/* the tip that suggests it for a plain area: a quiet card at the top of the form on computers, a slim pill under the picture on phones. Ivory, a hairline gold edge with a finer gold rule on
   top, a serif headline, small-caps buttons like "Enlarge preview" and "Add to cart" */
.areatip{--g:var(--oak);display:flex;flex-direction:column;align-items:center;gap:6px;box-sizing:border-box;padding:22px 24px 20px;text-align:center;background:#FFFDF8;border:1px solid #E3D3B3;border-top:2px solid var(--g);border-radius:12px;box-shadow:0 10px 30px rgba(60,45,20,.08);animation:tipIn .55s ease-out both}
.areatip[hidden]{display:none}
.areatip .ico{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid #E3D3B3;background:#FBF3E4;margin-bottom:4px}
.areatip .txt{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.areatip b{display:block;font:500 22px/1.2 var(--serif);letter-spacing:.01em;color:#1A1A1A}
.areatip .s{display:block;max-width:34ch;font-size:13.5px;line-height:1.5;color:#6b6257}
.areatip .row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 24px;margin-top:14px}   /* side by side (the phone pill: it must stay slim); wraps below only if a very narrow screen cannot fit both */
.areatip.card .row{flex-direction:column;flex-wrap:nowrap;gap:8px}   /* the desktop card has room: Turn on exactly centred, No thanks beneath it */
.areatip button,.areatip a.on{font-family:var(--sans)}
.areatip .row button.on,.areatip .row a.on{display:inline-block;text-decoration:none;background:#1A1A1A;color:#fff;border:0;border-radius:999px;padding:12px 30px;font-size:11.5px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;transition:background .2s}
.areatip .row button.on:hover,.areatip .row a.on:hover{background:#3a342c}
.areatip .row button.no{background:none;border:0;border-radius:0;padding:6px 2px;color:#8a8175;font-size:12.5px;letter-spacing:.04em;text-decoration:none;border-bottom:1px solid transparent;cursor:pointer;transition:color .2s,border-color .2s}
.areatip .row button.no:hover{color:#1A1A1A;border-bottom-color:#1A1A1A}
/* after Turn on: a calm confirmation with a gold tick and an outlined "Turn off", the same outline as "Reset map" */
.areatip.done{flex-direction:row;justify-content:space-between;gap:16px;padding:14px 18px;text-align:left;border-top-width:1px;box-shadow:none;animation:none}
.areatip.done .ico{margin:0;flex:none;width:32px;height:32px;background:var(--g);border-color:var(--g)}
.areatip.done .txt{flex:1;align-items:flex-start;gap:0}
.areatip.done b{font-size:19px}
.areatip.done .off{flex:none;background:#fff;color:var(--g);border:1px solid var(--g);border-radius:999px;padding:8px 18px;font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;transition:background .2s}
.areatip.done .off:hover{background:#F6EFE0}
.areatip button:focus-visible,.areatip a.on:focus-visible{outline:2px solid #1A1A1A;outline-offset:3px}
.areatip.card{margin:0 0 20px}
#areaDone{margin:10px 0 4px}   /* "Your area is highlighted · Turn off", right under the switch it belongs to */
.areatip + .areatip.card{margin-top:-4px}
.areatip.pill{display:none}
@media(max-width:800px){
  .areatip.card{display:none}
  .areatip.pill{display:flex;margin:12px 0 0;padding:14px 16px 12px;gap:4px}
  .areatip.pill[hidden]{display:none}
  .areatip.pill .ico{display:none}
  .areatip.pill b{font-size:19px}
  .areatip.pill .s{font-size:13px}
  .areatip.pill .row{margin-top:8px}
  .areatip.pill .row button.on,.areatip.pill .row a.on{padding:11px 26px}
  .areatip.pill.done{flex-direction:row;padding:10px 14px}
  .areatip.pill.done .ico{display:grid;width:28px;height:28px}
  .areatip.pill.done b{font-size:17px}
}
@keyframes tipIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.areatip{animation:none}.tg,.tg::after{transition:none}.areatip button{transition:none}}

/* the sitewide sale: the regular price struck through, the sale price beside it */
.was{color:#8a8175;font-weight:400;text-decoration:line-through;text-decoration-thickness:1px}
.amt .was{font-size:.62em;margin-right:4px}
.sale-now{font-weight:600;color:var(--ink)}

/* the size tiles on the Hearthstone page: small framed rectangles drawn to scale, standing on one line, with the size and the price beneath */
.sizepick{display:flex;gap:8px;margin-top:8px}
.sz{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;padding:12px 4px 10px;background:#fff;color:var(--ink);border:1px solid #D9C7A3;border-radius:10px;cursor:pointer;font-family:var(--sans);transition:border-color .2s,box-shadow .2s,background .2s}
.sz:hover{border-color:var(--oak)}
.sz.on{border-color:var(--oak);background:#FFFDF8;box-shadow:0 0 0 1px var(--oak),0 8px 18px rgba(160,120,63,.16)}
.sz:focus-visible{outline:2px solid #1A1A1A;outline-offset:2px}
.sz b{font-size:13px;font-weight:600;letter-spacing:.02em}
.sz-price{display:flex;flex-direction:column;align-items:center;font-size:12px;line-height:1.25;color:#6b6257}
.sz-price .was{font-size:11px}
.sz.on .sz-price{color:var(--ink)}
.sz-rect{display:block;box-sizing:border-box;background:#F4EEE2;border:3px solid var(--rc,#1a1a1a);box-shadow:0 2px 5px rgba(0,0,0,.18)}
.sizepick[data-frame=black]{--rc:#1a1a1a}
.sizepick[data-frame=natural]{--rc:#B08850}
.sizepick[data-frame=white]{--rc:#fff}
.sizepick[data-frame=white] .sz-rect{box-shadow:0 0 0 1px #cfc6b8,0 2px 5px rgba(0,0,0,.12)}
.sizepick[data-frame=none] .sz-rect{border:1px solid #cfc6b8;background:#fff}
@media(max-width:420px){.sizepick{gap:6px}.sz{padding:10px 2px 8px}.sz b{font-size:12px}.sz-price{font-size:11px}}
@media(prefers-reduced-motion:reduce){.sz{transition:none}}

/* Centre marker: three small pictures of the real markers (Hearthstone page), instead of a dropdown; no box around them, the chosen one gets the gold ring */
.markerpick{display:flex;gap:12px;margin-top:8px}
.mk{display:block;padding:0;background:none;border:0;cursor:pointer;border-radius:12px}
.mk-pic{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #D9C7A3;outline:2px solid transparent;outline-offset:2px;transition:outline-color .2s,box-shadow .2s}
.mk-pic svg{width:38px;height:38px;display:block}
.mk:hover .mk-pic{box-shadow:inset 0 0 0 1px var(--oak)}
.mk.on .mk-pic{outline-color:var(--oak);box-shadow:inset 0 0 0 1px var(--oak)}
.mk:focus-visible .mk-pic{outline-color:#1A1A1A}
@media(prefers-reduced-motion:reduce){.mk-pic{transition:none}}

/* The chosen swatch (edition, frame colour, marker colour, title style): a gold ring instead of a black one, and the little colour disc inside gets a darker rim */
.sw.on{border-color:var(--oak)}
.sw.on i{border:2px solid rgba(0,0,0,.55)}

/* Each group inside a step (Edition, Centre marker, Marker color, Frame, Size...) stands on its own: a hairline above it and room around it, with a clearer heading */
.fbody{gap:16px}
.fbody>.field{padding-top:18px;border-top:1px solid #E6DFD3;color:#3a3129;font-weight:500;letter-spacing:.01em}
.fbody>.field:first-child{padding-top:0;border-top:0}
.fbody>.field .cname,.fbody>.field .hint,.fbody>.field .sw{font-weight:400}
.fbody>.field>.swatches,.fbody>.field>.markerpick,.fbody>.field>.sizepick{margin-top:6px}
.fbody>label:not(.swrow):not(.check){color:#3a3129;font-weight:500;letter-spacing:.01em}
.fbody>label:not(.swrow):not(.check) input,.fbody>label:not(.swrow):not(.check) select{font-weight:400}

/* The Zoom slider: a roomy touch target (44 px tall, 28 px round handle) that keeps the finger on the slider while it is dragged, even if the finger drifts up or down (touch-action) */
.fbody input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:44px;margin:0;padding:0;border:0;box-shadow:none;background:transparent;touch-action:none;cursor:pointer}
.fbody input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:#D9C7A3}
.fbody input[type=range]::-moz-range-track{height:4px;border-radius:2px;background:#D9C7A3}
.fbody input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:28px;height:28px;margin-top:-12px;border-radius:50%;background:#fff;border:2px solid var(--oak);box-shadow:0 2px 6px rgba(0,0,0,.18)}
.fbody input[type=range]::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#fff;border:2px solid var(--oak);box-shadow:0 2px 6px rgba(0,0,0,.18)}
.fbody input[type=range]:focus-visible{outline:2px solid #1A1A1A;outline-offset:2px;border-radius:8px}

/* a slim note under the picture when the preview could not refresh (see showPreviewErr in frame.js) */
.previewerr{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 0;padding:10px 14px;background:#FFFDF8;border:1px solid #E3D3B3;border-radius:10px;font-size:13px;line-height:1.4;color:#6b6257}
.previewerr[hidden]{display:none}
.previewerr button{flex:none;background:#fff;color:var(--ink);border:1px solid var(--oak);border-radius:999px;padding:7px 16px;font:500 11px var(--sans);letter-spacing:.12em;text-transform:uppercase}
.previewerr button:focus-visible{outline:2px solid #1A1A1A;outline-offset:2px}

.zoomhint[hidden]{display:none}

.zoomhint{margin-top:-18px}

@media(max-width:800px){.enlarge-btn{padding:6px 14px;font-size:11px;letter-spacing:.1em;margin-top:6px}}

body[data-page="frame"] .band,body[data-page="luminary"] .band{padding-top:44px;padding-bottom:44px}
@media(max-width:800px){body[data-page="frame"] .band,body[data-page="luminary"] .band{padding-top:30px;padding-bottom:30px}}
