/* ===========================================================================
   credits.css — the temporary "built by" credit (js/credits.js). Branding from expressautomations.com: black and warm
   charcoal, bone text, ember orange. The card is dark in BOTH themes on purpose: it is the developer's own brand surface.
   Nothing rests at opacity 0; the card is simply [hidden] until opened. Reduced motion removes the transition.
   =========================================================================== */
.cr-host { position: relative; display: inline-flex; align-items: center; margin-left: .5rem; }

.cr-btn {
    display: inline-flex; align-items: center; gap: .5rem; height: 34px; padding: 0 .75rem 0 .3rem;
    border: 1px solid rgba(255, 107, 0, .45); border-radius: 999px; cursor: pointer;
    background: #0d0b09; color: #f4efe7; font-size: var(--fs-xs, .75rem); font-weight: 500; letter-spacing: .01em; line-height: 1;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 2px 8px rgba(0, 0, 0, .18);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cr-btn:hover, .cr-btn[aria-expanded="true"] { border-color: #ff8c3a; box-shadow: 0 0 0 3px rgba(255, 107, 0, .16), 0 4px 14px rgba(0, 0, 0, .25); }
.cr-btn:focus-visible { outline: 2px solid #ff8c3a; outline-offset: 2px; }
.cr-mark { width: 24px; height: 24px; border-radius: 50%; display: block; }
.cr-btn-t { white-space: nowrap; color: rgba(244, 239, 231, .72); }
.cr-btn-t b { color: #f4efe7; font-weight: 600; }
@media (max-width: 1280px) { .cr-btn-t { display: none; } .cr-btn { padding: 0 .3rem; } }

.cr-card {
    position: absolute; z-index: 1080; top: calc(100% + 10px); right: 0; width: 640px; max-width: calc(100vw - 24px); max-height: calc(100vh - 90px); overflow-y: auto;
    border-radius: 16px; color: #f4efe7; background: #17130f;
    border: 1px solid rgba(244, 239, 231, .14); box-shadow: 0 18px 48px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 107, 0, .12);
    transform-origin: 90% 0; opacity: 1; transform: none;
    transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}
.cr-card[hidden] { display: none; }
.cr-card:not(.is-open) { transform: translateY(-6px) scale(.98); }

.cr-head { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.05rem .9rem; background: linear-gradient(135deg, #241e18, #0d0b09); border-bottom: 1px solid rgba(255, 107, 0, .28); }
.cr-logo { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.cr-name { font-size: var(--fs-md, .95rem); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; line-height: 1.15; }
.cr-tag { margin-top: .2rem; font-size: var(--fs-xs, .75rem); color: #ff8c3a; letter-spacing: .03em; }

.cr-body { padding: .9rem 1.05rem .6rem; }
.cr-blurb { margin: 0 0 .7rem; font-size: var(--fs-sm, .82rem); line-height: 1.5; color: rgba(244, 239, 231, .82); }
.cr-facts { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.cr-facts span { padding: .2rem .55rem; border-radius: 999px; font-size: var(--fs-xs, .75rem); background: rgba(255, 107, 0, .12); border: 1px solid rgba(255, 107, 0, .3); color: #ffe0c8; }
.cr-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.cr-contact li { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-sm, .82rem); }
.cr-contact i { color: #ff8c3a; width: 16px; text-align: center; }
.cr-contact a { color: #f4efe7; text-decoration: none; border-bottom: 1px solid rgba(244, 239, 231, .25); }
.cr-contact a:hover { color: #ff8c3a; border-bottom-color: #ff8c3a; }
.cr-contact span { color: rgba(244, 239, 231, .82); }

.cr-app { margin-top: .5rem; padding: .85rem 1.05rem 1rem; background: #0d0b09; border-top: 1px solid rgba(244, 239, 231, .1); }
.cr-app-h { font-size: var(--fs-xs, .75rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a59b8f; }
.cr-app-h em { font-style: normal; margin-left: .4rem; padding: .1rem .45rem; border-radius: 999px; background: rgba(255, 107, 0, .16); color: #ff8c3a; letter-spacing: .04em; }
.cr-app p { margin: .5rem 0 .6rem; font-size: var(--fs-xs, .75rem); line-height: 1.5; color: rgba(244, 239, 231, .7); }
.cr-stack { display: flex; flex-wrap: wrap; gap: .3rem; }
.cr-stack span { padding: .15rem .5rem; border-radius: 6px; font-size: var(--fs-xs, .75rem); background: rgba(244, 239, 231, .07); border: 1px solid rgba(244, 239, 231, .12); color: rgba(244, 239, 231, .86); }


.cr-visit { display: flex; align-items: center; justify-content: space-between; margin: .35rem 1.05rem .8rem; padding: .55rem .8rem; border-radius: 10px; text-decoration: none;
    background: #ff6b00; color: #0d0b09; font-size: var(--fs-sm, .82rem); font-weight: 700; letter-spacing: .01em; transition: background .16s ease, transform .16s ease; }
.cr-visit:hover { background: #ff8c3a; color: #0d0b09; transform: translateY(-1px); }
.cr-visit:focus-visible { outline: 2px solid #f4efe7; outline-offset: 2px; }
.cr-sec { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .6rem; }
.cr-sec li { display: flex; gap: .65rem; align-items: flex-start; }
.cr-sec i { color: #ff8c3a; font-size: 1rem; line-height: 1.3; flex: none; width: 18px; text-align: center; }
.cr-sec b { display: block; font-size: var(--fs-xs, .75rem); font-weight: 700; color: #f4efe7; letter-spacing: .01em; }
.cr-sec span { display: block; margin-top: .1rem; font-size: var(--fs-xs, .75rem); line-height: 1.45; color: rgba(244, 239, 231, .66); }
@media (prefers-reduced-motion: reduce) { .cr-card, .cr-btn, .cr-visit { transition: none; } }
@media print { .cr-host { display: none; } }

/* two columns: the studio on the left, the build on the right */
.cr-cols { display: grid; grid-template-columns: 1fr 1.15fr; }
.cr-col { padding: 1.05rem 1.15rem 1.1rem; min-width: 0; }
.cr-co { background: linear-gradient(160deg, #241e18, #17130f 55%); border-right: 1px solid rgba(255, 107, 0, .22); }
.cr-co .cr-head { padding: 0 0 .8rem; background: none; border-bottom: 1px solid rgba(255, 107, 0, .25); margin-bottom: .8rem; }
.cr-co .cr-visit { margin: .9rem 0 0; }
.cr-co .cr-contact { margin-top: .1rem; }
.cr-app { margin: 0; background: #0d0b09; border-top: 0; padding: 1.05rem 1.15rem 1.1rem; }
.cr-sub { margin: .85rem 0 .4rem; font-size: var(--fs-xs, .75rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ff8c3a; }
.cr-sync { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.cr-sync li b { display: block; font-size: var(--fs-xs, .75rem); color: #f4efe7; font-weight: 600; }
.cr-sync li span { display: block; font-size: var(--fs-xs, .75rem); line-height: 1.4; color: rgba(244, 239, 231, .66); }
.cr-sec li { align-items: center; }
.cr-sec span { margin-top: 0; }
@media (max-width: 900px) { .cr-cols { grid-template-columns: 1fr; } .cr-co { border-right: 0; border-bottom: 1px solid rgba(255, 107, 0, .22); } }
