.demo-cards > .demo-control {
  position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:2px;
  min-width:0; min-height:119px; padding:10px; overflow:hidden; border:1px solid transparent;
  border-radius:12px; color:var(--ink); background:var(--panel); text-align:start; cursor:pointer;
}
.demo-control:nth-child(2) { background:var(--warm); }
.demo-control:nth-child(3) { background:color-mix(in srgb,var(--card) 80%,var(--secondary)); }
.demo-control[aria-pressed="true"] { border-color:var(--green); box-shadow:inset 0 -3px var(--green); }
.demo-control:focus-visible,.service-order:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.demo-control .icon { flex:none; }
.demo-banner-copy { position:relative; z-index:1; }
.demo-banner-copy p { margin-block-start:4px; color:#f5ddc4; font-size:.88rem; line-height:1.5; }
.demo-banner[data-scene="projects"] { background:#52352b; }
.demo-banner[data-scene="quote"] { background:#60402c; }
.demo-banner[data-scene="projects"] .demo-brand { rotate:-13deg; }
.demo-banner[data-scene="quote"] .demo-brand { rotate:10deg; scale:.84; }
.demo-banner .demo-brand { transform-origin:center; }
.service-card .service-order {
  position:relative; align-self:flex-start; margin-block-start:auto; translate:0 0;
  padding-block-start:12px; color:var(--green); font-weight:700; text-decoration:underline;
  text-decoration-color:color-mix(in srgb,var(--green) 45%,transparent); text-underline-offset:4px;
}
.service-card .service-order:hover { text-decoration-color:currentColor; }
.page-passage {
  display:none; position:fixed; top:0; left:0; z-index:9; width:34px; height:34px;
  pointer-events:none; opacity:0; color:#f7d8b7; border:1px solid #895b45;
  border-radius:10px; background:#4a3024; box-shadow:0 6px 15px #37201740;
}
.page-passage i { position:absolute; top:50%; left:50%; width:15px; height:2px; background:currentColor; border-radius:3px; }
@media (min-width: 1080px) and (prefers-reduced-motion: no-preference) {
  .page-passage.is-traveling { display:block; }
}
@media (prefers-reduced-motion: no-preference) {
  .demo-control { transition:translate .28s var(--motion-ease), box-shadow .28s, border-color .28s; }
  .demo-control:hover { translate:0 -3px; }
  .demo-banner { transition:background-color .38s; }
  .demo-banner .demo-brand { transition:rotate .46s var(--motion-ease), scale .46s var(--motion-ease); }
}
@media (max-width:790px) { .demo-cards > .demo-control { min-height:104px; } }
@media (max-width:360px) { .demo-cards > .demo-control { min-height:0; } }
