/* Theme, header and footer for the static generated pages (/value, /jewelry, /hallmarks, /find,
   /how-we-value, /press, /tools). Tokens copy src/index.css; markup comes from scripts/site-shell.mjs. */
:root{
  --bg:hsl(60 20% 98%);--fg:hsl(166 92% 15%);--card:#fff;
  --primary:hsl(166 92% 20%);--primary-fg:hsl(60 20% 98%);--primary-light:hsl(166 70% 35%);--primary-glow:hsl(166 92% 40%);
  --gold:hsl(45 70% 70%);--accent:hsl(45 56% 86%);
  --muted:hsl(166 30% 40%);--muted-bg:hsl(60 10% 95%);--line:hsl(166 20% 90%);
  --up:hsl(152 60% 30%);--down:hsl(0 65% 45%);--ok:hsl(152 60% 30%);
  --radius:.75rem;
  --gradient-emerald:linear-gradient(135deg,var(--primary),var(--primary-light));
  --shadow-soft:0 10px 40px -10px hsl(166 92% 20% / .1);
  --shadow-glow:0 0 40px hsl(166 92% 40% / .3);
  --serif:'Playfair Display',Georgia,serif;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--sans);line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--serif);font-weight:600}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.sh-skip{position:absolute;left:-999px;top:.5rem;z-index:60;background:var(--primary);color:var(--primary-fg);padding:.5rem 1rem;border-radius:.5rem}
.sh-skip:focus{left:.5rem}

/* header: Navigation.tsx in its scrolled state */
.sh-header{position:sticky;top:0;z-index:50;background:hsl(60 20% 98% / .95);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);box-shadow:var(--shadow-soft)}
.sh-bar{max-width:80rem;margin:0 auto;padding:0 1.5rem;height:5rem;display:flex;align-items:center;justify-content:space-between}
.sh-logo{display:flex;align-items:center;gap:.75rem;color:var(--fg);text-decoration:none}
.sh-mark{width:2.5rem;height:2.5rem;flex:none;border-radius:.75rem;background:var(--gradient-emerald);color:var(--primary-fg);display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-soft);transition:box-shadow .3s}
.sh-logo:hover .sh-mark{box-shadow:var(--shadow-glow)}
.sh-mark svg{width:1.5rem;height:1.5rem}
.sh-word{font-family:var(--serif);font-size:1.5rem;font-weight:600;line-height:1}
.sh-links{display:none;align-items:center;gap:1.5rem}
.sh-links>a:not(.sh-btn),.sh-drop>button{font:500 .875rem/1.25rem var(--sans);color:var(--muted);text-decoration:none;transition:color .2s}
.sh-links>a:not(.sh-btn):hover,.sh-drop:hover>button,.sh-drop:focus-within>button{color:var(--primary)}
.sh-drop{position:relative}
.sh-drop>button{display:inline-flex;align-items:center;gap:.25rem;height:2.5rem;padding:0 1rem;background:none;border:0;cursor:pointer}
.sh-drop>button svg{width:.75rem;height:.75rem;transition:transform .2s}
.sh-drop:hover>button svg,.sh-drop:focus-within>button svg{transform:rotate(180deg)}
.sh-menu{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);padding-top:.375rem}
.sh-drop:hover .sh-menu,.sh-drop:focus-within .sh-menu{display:block}
.sh-panel{width:25rem;display:grid;gap:.75rem;padding:1rem;background:var(--card);border:1px solid var(--line);border-radius:.375rem;box-shadow:var(--shadow-glow)}
.sh-panel a{display:block;padding:.75rem;border-radius:var(--radius);color:var(--fg);text-decoration:none;transition:background .2s}
.sh-panel a:hover{background:var(--accent)}
.sh-panel b{display:block;font-size:.875rem;font-weight:500;line-height:1}
.sh-panel span{display:block;margin-top:.25rem;font-size:.875rem;line-height:1.375;color:var(--muted)}
.sh-btn{display:inline-flex;align-items:center;justify-content:center;height:2.5rem;padding:0 1rem;border-radius:calc(var(--radius) - 2px);background:var(--primary);color:var(--primary-fg);font:600 .875rem/1 var(--sans);text-decoration:none;white-space:nowrap;transition:all .3s}
.sh-btn:hover{background:var(--primary-light);box-shadow:var(--shadow-glow)}
.sh-mobile summary{list-style:none;cursor:pointer;padding:.5rem;color:var(--fg)}
.sh-mobile summary::-webkit-details-marker{display:none}
.sh-mobile summary:hover{color:var(--primary)}
.sh-mobile summary svg{display:block;width:1.5rem;height:1.5rem}
.sh-mobile .sh-x,.sh-mobile[open] .sh-burger{display:none}
.sh-mobile[open] .sh-x{display:block}
.sh-sheet{position:absolute;left:0;right:0;top:5rem;max-height:calc(100vh - 5rem);overflow-y:auto;display:flex;flex-direction:column;gap:1rem;padding:1.5rem;background:var(--bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:var(--shadow-soft)}
.sh-sheet a:not(.sh-btn){padding:.5rem 0;font-size:1rem;font-weight:500;color:var(--muted);text-decoration:none}
.sh-sheet a:not(.sh-btn):hover{color:var(--primary)}
.sh-sheet .sh-sub{padding-left:1rem}
.sh-sheet .sh-label{margin-top:.5rem;font-size:.875rem;font-weight:600;color:var(--primary)}
.sh-sheet .sh-btn{margin-top:1rem}
@media (min-width:1024px){.sh-links{display:flex}.sh-mobile{display:none}}

/* footer: Footer.tsx */
.sh-footer{margin-top:4rem;padding:4rem 1.5rem;border-top:1px solid var(--line);font-size:.875rem}
.sh-fin{max-width:72rem;margin:0 auto}
.sh-cols{display:grid;gap:3rem;margin-bottom:3rem}
.sh-cols+.sh-cols{padding-top:2.5rem;border-top:1px solid var(--line)}
.sh-footer .sh-logo{margin-bottom:1rem}
.sh-footer .sh-word{font-size:1.25rem}
.sh-footer p{margin:0 0 1rem;line-height:1.625;color:var(--muted)}
.sh-footer h3{margin:0 0 1rem;font-size:.875rem;letter-spacing:.05em;text-transform:uppercase;color:var(--fg)}
.sh-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.sh-footer ul.sh-two{grid-template-columns:1fr 1fr;column-gap:1.5rem}
.sh-footer a{color:var(--muted);text-decoration:none;transition:color .2s}
.sh-footer a:hover{color:var(--primary)}
.sh-ig{display:inline-flex;align-items:center;gap:.5rem}
.sh-ig svg{width:1.25rem;height:1.25rem}
.sh-footer .sh-blurb{max-width:48rem;margin:0 0 2rem;padding-top:2rem;border-top:1px solid var(--line);font-size:.75rem}
.sh-listed{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-bottom:1.5rem;font-size:.75rem;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.sh-listed a{opacity:.6;transition:opacity .2s}.sh-listed a:hover{opacity:1}
.sh-listed img{display:block;mix-blend-mode:multiply}
.sh-footer .sh-copy{margin:0;text-align:center;font-weight:300}
@media (min-width:768px){.sh-cols{grid-template-columns:repeat(2,1fr)}.sh-cols.sh-four{grid-template-columns:repeat(4,1fr)}}

/* shared article content */
.wrap{max-width:56rem;margin:0 auto;padding:2.5rem 1.5rem 0}
.wrap h1{font-size:clamp(2rem,4.5vw,3rem);line-height:1.15;margin:.25rem 0 1rem}
.wrap h2{font-size:clamp(1.375rem,2.6vw,1.75rem);line-height:1.25;margin:2.75rem 0 .75rem}
.wrap a{color:var(--primary)}
.wrap ul,.wrap ol{padding-left:1.2rem}.wrap li{margin:.3rem 0}
.crumbs{font-size:.875rem;color:var(--muted);margin-bottom:1.25rem}
.crumbs a{color:var(--muted);text-decoration:none}.crumbs a:hover{color:var(--primary)}
.updated{font-size:.8rem;color:var(--muted);margin:-.5rem 0 1rem}
.note,.meta{font-size:.85rem;color:var(--muted)}
.lede{font-size:1.125rem;color:var(--muted)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem 1.4rem;margin:1rem 0;box-shadow:0 1px 2px 0 rgb(0 0 0 / .05);overflow-x:auto}
.cta,.wrap a.cta{display:inline-flex;align-items:center;justify-content:center;min-height:2.75rem;padding:.7rem 2rem;margin:.4rem 0;border-radius:calc(var(--radius) - 2px);background:var(--primary);color:var(--primary-fg);font-weight:600;text-decoration:none;transition:all .3s}
.cta:hover,.wrap a.cta:hover{background:var(--primary-light);box-shadow:var(--shadow-glow)}
.chips{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.6rem}
.chip{border:1px solid var(--line);border-radius:999px;padding:.15rem .7rem;font-size:.82rem;color:var(--muted)}
.chip b{font-weight:600}.pos{color:var(--up)}.neg{color:var(--down)}
.big{font-family:var(--serif);font-size:2.4rem;line-height:1.2;color:var(--primary)}
.wrap table{width:100%;border-collapse:collapse;font-size:.92rem}
.wrap th,.wrap td{text-align:left;padding:.6rem .5rem;border-bottom:1px solid var(--line)}
.wrap th{font-weight:600;color:var(--fg)}
.wrap td.num,.wrap th.num{text-align:right;white-space:nowrap}
.wrap code{font-family:ui-monospace,Menlo,monospace;font-size:.9em;background:var(--muted-bg);border-radius:4px;padding:.05rem .35rem}
.wrap td code{white-space:nowrap}
.press{margin:.3rem 0 0;font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;color:var(--muted)}
.press a,.wrap .press a{margin-left:.35rem;font-family:var(--serif);font-size:1.05rem;letter-spacing:0;text-transform:none;color:var(--fg);text-decoration:none}
.page-note{margin-top:3rem;padding-top:1rem;border-top:1px solid var(--line);font-size:.82rem;color:var(--muted)}
@media (max-width:480px){.card{padding:1rem}.wrap table{font-size:.84rem}.wrap th,.wrap td{padding:.45rem .3rem}.big{font-size:1.9rem}}
