/* Alchemist G. G. Wilkins look — same palette/type as custom.jonathanzajac.com (templates/base.html) */
:root{--wood:#1a120c;--wood2:#2a1c12;--parch:#ecdcb8;--ink:#2b1a0e;--ink2:#5c4531;--cu:#b8702f;--cu2:#d98b45;--cu3:#7a4514;--amber:#d9a441;--green:#2f4a3a;--cream:#f4e8cf;--dimd:#c9b48f;--red:#9e2a1f}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{color:var(--cream);font:17px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background-color:var(--wood);
 background-image:linear-gradient(#1a120cc8,#1a120cee 60%,#120c08),url(/static/brand/page-bg.jpg);background-size:cover;background-position:center top}
.wrap{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px 16px;text-align:center}
.seal{width:150px;height:auto;filter:drop-shadow(0 4px 10px #000);margin:0 auto 4px;display:block}
h1{font:800 24px/1.25 Cinzel,Georgia,serif;letter-spacing:.06em;text-transform:uppercase;margin:6px 0 10px;padding-bottom:10px;border-bottom:4px double var(--cu);color:var(--cream);text-shadow:0 2px 4px #000c}
p{margin:6px 0;color:var(--dimd)}
.lbl{font-family:Cinzel,Georgia,serif;letter-spacing:.08em;text-transform:uppercase}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:800 16px Cinzel,Georgia,serif;letter-spacing:.08em;text-transform:uppercase;
 background:linear-gradient(#d98b45,#a65f26);color:#1a0f07;border:1px solid #6b3a12;border-radius:4px;padding:15px 24px;margin:6px;cursor:pointer;
 box-shadow:0 3px 0 #5a2f0e,0 6px 12px #0009,inset 0 1px 0 #f2b374;text-decoration:none}
.btn:active{transform:translateY(2px);box-shadow:0 1px 0 #5a2f0e}
.btn:disabled{opacity:.5}
.btn.go{background:linear-gradient(#5f8c6e,#2f4a3a);color:var(--cream);border-color:#1c2e24;box-shadow:0 3px 0 #16251c,0 6px 12px #0009,inset 0 1px 0 #8fb39b;text-shadow:0 1px 0 #0008}
.btn.stop{background:linear-gradient(#c0463a,#7e2017);color:var(--cream);border-color:#4a120c;box-shadow:0 3px 0 #3a0e09,0 6px 12px #0009,inset 0 1px 0 #e07a6e;text-shadow:0 1px 0 #0008}
.btn.ghost{background:linear-gradient(#34231a,#231710);color:var(--cream);border-color:#4d3522;box-shadow:0 3px 0 #120c08,0 6px 12px #0008,inset 0 1px 0 #ffffff14;font-size:13px;padding:11px 16px}
.small{font-size:13px}
.hide{display:none!important}
/* video frame: dark walnut frame with a copper line, like the custom-site viewer */
.stage{position:relative;width:100%;max-width:760px;aspect-ratio:3/4;max-height:70vh;background:#000;overflow:hidden;margin:10px 0;
 border:8px solid #3a2718;border-image:linear-gradient(135deg,#4a3320,#2a1a0f 40%,#4a3320 70%,#231509) 1;box-shadow:inset 0 0 0 2px var(--cu),0 10px 30px #000c}
@media(min-width:700px){.stage{aspect-ratio:4/3}}
.stage video{display:block}
.remote{width:100%;height:100%;object-fit:cover;background:#000}
.self{position:absolute;right:8px;bottom:8px;width:28%;max-width:170px;border:2px solid var(--cu2);transform:scaleX(-1);background:#111;box-shadow:0 4px 12px #000c}
.solo .self{position:static;width:100%;height:100%;max-width:none;border:0;object-fit:cover}
.solo .remote{display:none}
.over{position:absolute;left:0;right:0;top:0;padding:12px;background:linear-gradient(#000b,#0000);font:700 15px Cinzel,Georgia,serif;letter-spacing:.06em;color:var(--cream)}
.pulse{display:inline-block;width:10px;height:10px;border-radius:50%;background:#7fd08f;margin-right:6px;animation:pulse 1s infinite}
@keyframes pulse{50%{opacity:.25}}
.bar{display:flex;flex-wrap:wrap;justify-content:center;gap:2px}
/* parchment card + walnut inputs */
.card{color:var(--ink);background:radial-gradient(ellipse at 50% 40%,#e6d4ad 0,#d8c294 70%,#c6ab7a 100%);border:1px solid #8a6a3a;border-radius:4px;padding:16px;
 box-shadow:0 8px 22px #0009,inset 0 0 0 1px #fff5,inset 0 0 60px #8a5a2b2e;text-align:left}
.card h2{font:800 15px Cinzel,Georgia,serif;letter-spacing:.14em;text-transform:uppercase;margin:0 0 10px;color:var(--cu3);border-bottom:1px solid #b8702f66;padding-bottom:6px}
input,textarea,select{width:100%;background:linear-gradient(#2f2016,#231710);color:var(--cream);border:1px solid #6b4a2b;border-bottom:2px solid var(--cu);border-radius:3px;padding:11px;margin:4px 0;font:16px inherit;font-family:inherit;box-shadow:inset 0 2px 6px #000a}
input::placeholder,textarea::placeholder{color:#a8906c}
textarea{min-height:80px}
form{width:100%;max-width:460px;text-align:left}
.row{display:flex;gap:8px}.row>*{flex:1;min-width:0}
.err{color:#ffb4a8}
.rec{color:#ff8f80}
.hp{position:absolute;left:-9999px}

/* ---------- shared designer ---------- */
.dbtn{background:linear-gradient(#e6bd62,#b98a33);color:#2b1a0e;border-color:#6e4f14;box-shadow:0 3px 0 #5a3f0e,0 6px 12px #0009,inset 0 1px 0 #f6dc96}
#design{width:100%;max-width:1200px;display:grid;grid-template-columns:1fr 330px;gap:12px;align-items:start;text-align:left}
#dview{width:100%;height:min(76vh,640px);background:#1d2229;border:8px solid #3a2718;border-image:linear-gradient(135deg,#4a3320,#2a1a0f 40%,#4a3320 70%,#231509) 1;box-shadow:inset 0 0 0 2px var(--cu),0 10px 30px #000c;position:relative;touch-action:none}
#dpanel{max-height:min(76vh,640px);overflow:auto}
.dslider{margin:6px 0 10px}
.dslider .top{display:flex;justify-content:space-between;font-weight:700;font-size:14px;color:var(--ink)}
.dslider .top b{font-family:Cinzel,Georgia,serif;color:var(--cu3)}
.dslider .st{display:flex;align-items:center;gap:6px}
.dslider input[type=range]{flex:1;padding:0;margin:0;accent-color:var(--cu);box-shadow:none;background:transparent;border:0;height:30px}
.dslider button{width:34px;height:34px;flex:none;border-radius:4px;border:1px solid #6b3a12;background:linear-gradient(#d98b45,#a65f26);color:#1a0f07;font:800 18px/1 Georgia,serif;cursor:pointer}
.dwho{font-size:13px;color:var(--ink2);min-height:18px}
.ping{position:absolute;width:38px;height:38px;margin:-19px 0 0 -19px;border-radius:50%;border:3px solid #ffd27a;box-shadow:0 0 18px #ffb347;pointer-events:none;animation:ping 1.6s ease-out forwards;z-index:3}
@keyframes ping{0%{transform:scale(.4);opacity:1}100%{transform:scale(1.8);opacity:0}}
/* while designing, the video call shrinks to a corner tile over the model */
body.designing .stage{position:fixed;z-index:20;left:22px;top:22px;right:auto;bottom:auto;width:min(26vw,190px);height:auto!important;max-height:none;aspect-ratio:3/4;margin:0;border-width:4px}
body.designing .stage .over{display:none}
body.designing .self{width:36%}
body.designing .callbar{position:fixed;z-index:21;left:12px;bottom:12px}
body.designing .wrap{justify-content:flex-start}
@media(max-width:820px){
  #design{grid-template-columns:1fr}
  #dview{height:52vh}
  #dpanel{max-height:none}
  body.designing .stage{left:auto;right:10px;top:10px;width:27vw;max-width:120px}
  body.designing .callbar{position:static}
}
/* brass plaques under each vessel (same as custom site) */
.vtags{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.vtag{position:absolute;transform:translate(-50%,10px);padding:6px 14px 7px;border-radius:7px;white-space:nowrap;text-align:center;line-height:1.1;
 color:#241a0a;background:radial-gradient(ellipse at 30% 20%,#d6b86a 0,#b4934a 45%,#8d7138 100%);
 border:2px solid #4a3714;box-shadow:inset 0 0 0 2px #d9bd74,inset 0 0 0 3px #6b5424,inset 0 0 14px #3a2a0a99,0 4px 10px #000c}
.vtag b{display:block;font:800 12px/1.15 Cinzel,Georgia,serif;letter-spacing:.09em;text-transform:uppercase}
.vtag small{display:block;margin-top:2px;font:700 10px/1.15 Cinzel,Georgia,serif;letter-spacing:.06em;color:#3a2b0e}
.vtag small::before{content:'— ';}.vtag small::after{content:' —';}
