:root{--ink:#292924;--paper:#eee9e0;--line:#b9afa0;--tile:#f7f3eb;--shadow:#1b1916;}
*{box-sizing:border-box}
html{background:var(--paper);scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
button{font:inherit;cursor:pointer}
button:focus-visible,a:focus-visible{outline:3px solid #9e621f;outline-offset:4px}
.site{min-height:100svh;display:flex;flex-direction:column}
main{flex:1}
.scene{width:100%;position:relative;isolation:isolate;background:#dedbd3;overflow:hidden;line-height:0}
.scene__image{width:100%;height:auto;display:block}
.scene__masthead{position:absolute;top:2.2%;left:2.4%;line-height:1.3;padding:.6rem .8rem;background:rgba(245,241,234,.91);border:1px solid rgba(83,72,57,.3);box-shadow:0 3px 12px rgba(28,24,19,.12);border-radius:4px;display:flex;gap:.55rem;align-items:baseline}
.scene__brand{font-size:clamp(.72rem,1.1vw,1rem);font-weight:800;letter-spacing:.13em}
.scene__state{font-size:clamp(.66rem,.92vw,.84rem);color:#5e574e}
.hotspot{position:absolute;background:transparent;border:1px dashed transparent;border-radius:.6rem;transition:background .15s ease,border .15s ease,box-shadow .15s ease}
.hotspot:hover,.hotspot:focus-visible{background:rgba(255,248,232,.09);border-color:rgba(66,51,35,.65);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.hotspot__tag{position:absolute;left:50%;bottom:5%;transform:translateX(-50%);display:inline-block;white-space:nowrap;padding:.52rem .7rem;color:#211c17;font-size:clamp(.7rem,1.1vw,.95rem);font-weight:720;line-height:1.3;background:rgba(255,251,242,.95);border:1px solid #b9afa0;border-radius:4px;box-shadow:0 3px 12px rgba(0,0,0,.12)}
.hotspot--shelf{left:25.5%;top:8.5%;width:48.5%;height:67%}
.hotspot--bench{left:20%;top:78%;width:57%;height:21%}
.hotspot--bench .hotspot__tag{left:23%;bottom:28%}
.hotspot--chain{left:76%;top:27%;width:12.5%;height:38%}
.hotspot--chain .hotspot__tag{left:51%;bottom:10%}
.actionbar{max-width:1480px;margin:auto;display:flex;gap:1.4rem;justify-content:space-between;align-items:center;padding:1.25rem clamp(1rem,3vw,2rem);border-bottom:1px solid var(--line)}
.actionbar__intro{margin:0;font-size:.97rem;color:#514d45;line-height:1.6}
.actionbar__links{display:flex;gap:.5rem;flex-wrap:wrap}
.actionbar__links button,.panel__footer button{padding:.67rem .85rem;background:var(--tile);border:1px solid #9d9282;border-radius:4px;color:var(--ink);font-weight:650}
.actionbar__links button:hover,.panel__footer button:hover{background:#e2d8c8}
.footer{padding:.65rem clamp(1rem,3vw,2rem);font-size:.73rem;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;color:#666055}
.panel{border:1px solid #8f8170;border-radius:8px;padding:clamp(1.25rem,3vw,2rem);width:min(570px,calc(100% - 1.7rem));max-height:min(85dvh,820px);box-shadow:0 28px 90px rgba(0,0,0,.32);background:#f7f2e9;color:#2f2a24}
.panel::backdrop{background:rgba(21,19,15,.65);backdrop-filter:blur(2px)}
.panel__heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.panel__eyebrow{font-size:.67rem;letter-spacing:.13em;font-weight:780;color:#78644c}
.panel__close{border:none;background:transparent;color:#302821;font-size:2rem;line-height:1;padding:.1rem .4rem}
.panel h1{font-family:Georgia,serif;font-size:clamp(1.5rem,4vw,2.2rem);font-weight:600;line-height:1.2;margin:.65rem 0 1.1rem}
.panel__body{font-size:1rem;line-height:1.65;color:#423c34}
.panel__body p{margin:.7rem 0}
.panel__body .small-note{font-size:.88rem;color:#665c50}
.panel__body ul{padding-left:1.2rem}
.project-list{list-style:none;padding:0!important;margin:0}
.project-list li{padding:.85rem 0;border-bottom:1px solid #d7cabe}
.project-list a{color:#322c25;font-weight:700;text-decoration-thickness:1px;text-underline-offset:3px}
.panel__footer{margin-top:1.5rem;padding-top:1rem;border-top:1px solid #d6cabb;text-align:right}
@media(max-width:800px){.scene__masthead{top:2%;left:3%;gap:.4rem}.scene__state{display:none}.hotspot--chain{display:none}.hotspot--bench .hotspot__tag{display:none}.hotspot__tag{font-size:.68rem;padding:.32rem .38rem}.hotspot--shelf{left:22%;width:55%;top:11%;height:65%}.actionbar{display:block}.actionbar__links{margin-top:1rem}.actionbar__links button{flex:1 1 140px}.footer{line-height:1.5}}
@media(max-width:450px){.scene__masthead{padding:.25rem .37rem}.scene__brand{font-size:.59rem}.hotspot__tag{bottom:0;font-size:.58rem;padding:.27rem .34rem}.hotspot--bench{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Narrow screens show a centered crop of the SAME original image, not another asset. */
@media(max-width:450px){
  .scene{height:55svh;min-height:340px}
  .scene__image{width:100%;height:100%;object-fit:cover;object-position:center center}
  .hotspot--shelf{left:0;top:0;width:100%;height:100%;border-radius:0}
  .hotspot--shelf .hotspot__tag{bottom:7%;font-size:.78rem;padding:.55rem .7rem}
}

/* Clickable red-pencil marks: transparent background image stays byte-for-byte intact. */
:root{--marker-red:#a84a40}
.hotspot{z-index:2}
.hotspot::before{
  content:"";pointer-events:none;position:absolute;z-index:1;
  width:clamp(48px,5.7vw,112px);aspect-ratio:1;
  border:4px solid var(--marker-red);border-radius:49% 54% 46% 51%;
  box-shadow:1px -1px 0 0 rgba(160,64,50,.38), -2px 2px 0 rgba(139,44,37,.3),
    inset 2px -1px 0 rgba(130,43,37,.16);
  transform:translate(-50%,-50%) rotate(-17deg);
  filter:drop-shadow(0 1px 1px rgba(22,20,15,.3));
  background:rgba(167,44,34,.025)
}
.hotspot:hover::before,.hotspot:focus-visible::before{
  border-width:5px;background:rgba(178,52,43,.08);
  box-shadow:0 0 0 7px rgba(166,62,52,.12), -2px 2px 0 rgba(139,44,37,.4)
}
.hotspot--shelf::before{left:48%;top:58%}
.hotspot--bench::before{left:28%;top:47%;width:clamp(44px,4.7vw,92px)}
.hotspot--chain{left:58%;top:14%;width:13%;height:38%}
.hotspot--chain::before{left:50%;top:34%;width:clamp(42px,4.3vw,88px)}
.hotspot--chain .hotspot__tag{left:75%;bottom:3%}
.hotspot__tag{border-color:#9c5347;box-shadow:0 3px 12px rgba(0,0,0,.13),inset 0 -2px 0 rgba(161,60,47,.13)}
@media(max-width:800px){
  .hotspot--chain{display:block;left:60%;top:8%;width:19%;height:40%}
  .hotspot--chain .hotspot__tag{display:none}
  .hotspot--bench .hotspot__tag{display:none}
}
@media(max-width:450px){
  .scene{isolation:isolate}
  .hotspot--shelf{left:0;top:12%;width:100%;height:64%}
  .hotspot--shelf::before{left:50%;top:57%;width:74px;height:74px}
  .hotspot--shelf .hotspot__tag{bottom:11%;padding:.42rem .65rem;font-size:.75rem}
  .hotspot--bench{display:block;left:3%;top:77%;width:53%;height:22%}
  .hotspot--bench::before{left:50%;top:44%;width:52px;height:52px}
  .hotspot--chain{display:block;left:61%;top:9%;width:34%;height:33%}
  .hotspot--chain::before{left:50%;top:53%;width:52px;height:52px}
}
