/* Approved scope: compact Home composition; larger map on Events only.
   Colour and crisp illustration are shared. Pixel accents are functional states,
   small controls and lighting; body copy, logos and photographs stay clear. */
:root{--page-max:1152px;--ui-edge:#8ba89d;--ui-shadow:#c3d4cb;--ui-fill:#e8f0eb;--illustration-line:#294940;--illustration-frame:#71958a;--label-font:ui-monospace,SFMono-Regular,Consolas,monospace}
:root[data-theme=dark]{--ui-edge:#7f9b91;--ui-shadow:#0b1921;--ui-fill:#243c39;--illustration-line:#b4caba;--illustration-frame:#648b7b}
.site-header{height:84px;border-bottom:1px solid var(--line)}
.site-header nav a[aria-current=page]::after{width:6px;height:6px;left:calc(50% - 3px);right:auto;bottom:0;background:var(--teal);box-shadow:3px -3px 0 color-mix(in srgb,var(--teal) 28%,transparent)}
.site-header nav a:focus-visible{outline:2px solid var(--teal);outline-offset:5px}
.contact-link{gap:8px}
.mail-drawing{stroke-width:2;stroke-linejoin:miter}
.brand-mark{filter:none}
.intro{gap:28px;min-height:350px;padding:36px 0 28px}
.intro h1{font-size:clamp(40px,4.3vw,52px)}
.intro-description{font-size:19px;line-height:1.6}
.studio-comparison{max-width:540px}
.pinboard-frame{fill:var(--illustration-frame);stroke:var(--illustration-line);stroke-width:2.1}
.pinboard-surface{fill:#cbded0}
[data-theme=dark] .pinboard-frame{fill:var(--illustration-frame);stroke:var(--illustration-line)}
[data-theme=dark] .pinboard-surface{fill:#35554a}
.board-pin{fill:#efbf81;stroke:var(--illustration-line);stroke-width:1.1}
.pb-grid .pb-icon{stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pb-grid .pb-paper{stroke:#294940;stroke-width:1.6}
.pixel-lamp-ready .jointed-rig{--lamp-line:var(--illustration-line)}
[data-theme=dark] .pixel-lamp-ready .jointed-rig{--lamp-line:var(--illustration-line)}
.pixel-lamp-ready .switch-casing{border-color:var(--illustration-line)}
[data-theme=dark] .pixel-lamp-ready .switch-casing{border-color:var(--illustration-line)}
/* A shared small-control treatment: squared edges, a two-pixel physical offset.
   The power glyph remains conventional, and focus rings remain outside the frame. */
.play-mark,.site-footer .theme-utility{border-radius:0;border:1.5px solid var(--ui-edge);box-shadow:2px 2px 0 var(--ui-shadow);background:var(--ui-fill)}
.play-mark{width:36px;height:36px}
.play-mark svg{width:16px;height:16px}
.demo-feature:active .play-mark,.recording-link:active .play-mark,.site-footer .theme-utility:active{transform:translate(2px,2px);box-shadow:none}
.recording-media,.demo-photo{border:1.5px solid var(--ui-edge);border-radius:0}
.recording-duration{border-radius:0;font-family:var(--label-font);font-size:11px;letter-spacing:.02em}
.recording-meta,.home-workshop-meta,.role-date,.event-date{font-family:var(--label-font);font-size:12px;letter-spacing:-.2px}
/* Retain the quiet timeline; its nodes now repeat the header's square status mark. */
.company-role::before{border-radius:0;width:8px;height:8px;border-width:1.5px;top:8px}
.current-role::before{box-shadow:2px 2px 0 color-mix(in srgb,var(--teal) 25%,transparent)}
.company-logo{background:transparent!important}
.event-scroll-panel,.event-scroll-panel .event-rows,.event-group .event-empty{border-radius:0}
.event-scroll-panel{border-color:var(--ui-edge);box-shadow:2px 2px 0 var(--ui-shadow)}
.past-events .event-rows::-webkit-scrollbar-track,.past-events .event-rows::-webkit-scrollbar-thumb{border-radius:0}
.map-toolbar{border:1.5px solid var(--ui-edge);border-radius:0;box-shadow:2px 2px 0 var(--ui-shadow)}
.cell-map .map-toolbar button{font-family:var(--label-font);font-size:13px;background:var(--ui-fill)}
.cell-map-popup{border:1.5px solid var(--ui-edge);border-radius:0;box-shadow:3px 3px 0 var(--ui-shadow)}
.qfc-leaf .qfc-face,.qfc-leaf .qfc-face::after,.qfc-all-plaque{border-radius:0}
.qfc-leaf-indicator{border-radius:0;width:6px;height:6px}
.qfc-leaf .qfc-face{font-family:var(--label-font);letter-spacing:-.5px}
.site-footer{font-size:13px;min-height:84px}
.site-footer .theme-utility,.home-footer .footer-power{font:12px/1.3 var(--label-font);padding:11px 13px;min-height:40px;border-radius:0;border-width:1.5px;background:var(--ui-fill)}
.site-footer .theme-utility svg{width:15px;height:15px;stroke-width:1.8}
.site-footer a{font:12px/1.4 var(--label-font);text-underline-offset:5px}
.power-socket{border-color:var(--ui-edge);border-radius:0}
.site-footer .theme-utility:hover{background:color-mix(in srgb,var(--teal) 12%,var(--ui-fill));color:var(--ink)}
/* Events alone owns the expanded canvas. Keep its shell aligned to that canvas. */
body:has(.events-page) .site-header,body:has(.events-page) .site-footer,body:has(.events-page) .review-bar-inner{width:min(1480px,calc(100% - 80px))}
@media(max-width:1050px){.intro{gap:24px}.intro h1{font-size:44px}.intro-description{font-size:18px}}
@media(max-width:680px){
 .site-header{height:auto;min-height:105px}
 .intro{min-height:0;gap:18px;padding:30px 0 24px}
 .intro h1{font-size:40px}.intro-description{font-size:18px}
 .studio-comparison{max-width:450px}
 .role-date,.event-date{font-size:11px}.recording-meta{font-size:12px}
 .site-footer{min-height:0}.site-footer .theme-utility{min-height:44px}
 body:has(.events-page) .site-header,body:has(.events-page) .site-footer,body:has(.events-page) .review-bar-inner{width:calc(100% - 32px)}
}

/* Preserve the accepted illustrated workshop card on Home. */
.home-content .workshop-link{margin-top:18px;padding-top:17px;gap:15px}
.home-content .workshop-link strong{font-size:14px;line-height:1.45}
.home-content .workshop-link span span{font-size:12px}
.home-content .workshop-icon svg{stroke:#294940;stroke-width:1.8;fill:#a4cdb4;stroke-linejoin:round}
[data-theme=dark] .home-content .workshop-icon svg{stroke:#b4caba;fill:#476f60}
.home-with-cable .layout-cable{color:#759187;opacity:.85}
.home-with-cable .layout-cable path{stroke-width:1.25}
[data-theme=dark] .home-with-cable .layout-cable{color:#78978b;opacity:.8}
.demo-dialog{border:1.5px solid var(--ui-edge);border-radius:0;box-shadow:4px 4px 0 var(--ui-shadow)}
.demo-dialog-close{border-radius:0;border-color:var(--ui-edge);background:var(--ui-fill)}
