/* Toolkit icon cards match the squared category panels. */
#toolkit .tool-grid>button,#toolkit .tool-grid>button.selected{border-radius:0!important;border:1px solid var(--line)!important;border-top:4px solid var(--red)!important}
#toolkit .tool-grid>button.selected{border-color:var(--red)!important}

/* Project 06 uses the same card system as HiddenBoston (03); its artwork remains unique. */
.project-card.angle{background:#f4d84b!important;color:#1d1d1d}
.project-card.angle .card-top{height:42px;padding:9px 15px;border-bottom:1px solid #0002}
.project-card.angle .project-image{height:145px;background:#eee5d6}
.project-card.angle .project-image>img{width:100%;height:100%;object-fit:cover;object-position:center 7%}
.project-card.angle .card-bottom{padding:17px 16px}
.project-card.angle .card-bottom>span{font-size:8px;font-weight:600;text-transform:uppercase;letter-spacing:.7px}
.project-card.angle .card-bottom h3{font-size:34px;margin:7px 0}
.project-card.angle .card-bottom p{font-size:10px;margin:0 0 10px}
.project-card.angle .card-bottom>div{padding-top:9px;border-top:1px solid #0003;font-size:10px}

/* Keep project 06 within the same physical deck rhythm as projects 01–05. */
.project-deck{overflow:visible}
.project-card.angle{width:245px!important;height:359px!important;top:65px!important;z-index:2!important}
.project-card.angle .card-bottom h3{font-size:26px!important;line-height:1.05!important;white-space:nowrap!important;letter-spacing:-.025em!important}
.project-card.angle .card-bottom{padding:17px 16px!important}
.project-card.angle .card-bottom p{font-size:10px!important;margin:0 0 10px!important}

/* Rounded icon-card border treatment. */
#toolkit .tool-grid>button,#toolkit .tool-grid>button.selected{border:2px solid var(--line)!important;border-radius:28px!important}
#toolkit .tool-grid>button.selected{border-color:var(--red)!important}

/* Project 06 lifts to the front exactly like every other project card. */
.project-card.angle.lifted,.project-card.angle:focus-visible{transform:translateY(-27px) rotate(0deg) scale(1.1)!important;z-index:10!important;box-shadow:0 30px 70px #000b!important}

/* Keep the track visible through hovered previous-role markers. */
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1):hover,
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1):focus-visible,
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1).selected{
background:transparent!important;box-shadow:none!important}
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1):hover::before,
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1):focus-visible::before,
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1).selected::before{background:transparent!important;box-shadow:none!important}

/* Opaque hovered markers mask the track behind the circle. */
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1):hover,
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1):focus-visible,
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1).selected{
background:var(--surface,#202020)!important;isolation:isolate;box-shadow:0 0 0 6px var(--surface,#202020)!important}

/* Only the hovered role receives a yellow timeline marker. */
#experience .experience-stint-controls button.experience-stint.timeline-hover:nth-of-type(n+1){
background:var(--yellow,#f4d84b)!important;border-color:var(--yellow,#f4d84b)!important;color:#161616!important;box-shadow:0 0 0 6px var(--surface,#202020),0 0 18px #f4d84b38!important}

/* Resume-matched glass rings, preserving the yellow linked hover state. */
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1):not(.timeline-hover){
background:#16161666!important;border:1px solid #ffffff80!important;color:#eee8df!important;-webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important;box-shadow:0 0 0 6px var(--surface,#202020)!important}
#experience .experience-stint-controls button.experience-stint{border-radius:50%!important}

/* Neutral glass surface masks red track bleed inside every resting marker. */
#experience .experience-stint-controls button.experience-stint:nth-of-type(n+1):not(.timeline-hover){
background:linear-gradient(145deg,#ffffff05,#ffffff00),#1e1e1e!important;background-color:#1e1e1e!important;box-shadow:0 0 0 6px var(--surface,#202020)!important}
