﻿/* Appily Ninetyfive â€” Comic Frame Desk (company-info)
   Pop pink + electric cyan on mint mist Â· Bangers + IBM Plex Sans
   Splash mission Â· comic-strip history Â· slap-sticker values
   Not stats-card steppers Â· topo about shells Â· Foundry Codex blueprint/dial/sector/ledger Â·
   Graftline rootstock/graft/scion Â· Almanac epigraph/year/season Â· Indenture deed/ribbon */

:root {
  --cm-ink: #141820;
  --cm-mist: #E8FFF6;
  --cm-plate: #FFFFFF;
  --cm-pop: #C21850;
  --cm-pop-deep: #8A1038;
  --cm-cyan: #00D4E8;
  --cm-cyan-deep: #007A88;
  --cm-flash: #FFE600;
  --cm-mute: #3A444C;
  --cm-border: rgba(20, 24, 32, 0.14);
  --cm-halftone: radial-gradient(circle, rgba(20, 24, 32, 0.12) 1.2px, transparent 1.3px);

  --cm-display: "Bangers", "Arial Black", sans-serif;
  --cm-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --cm-1: 8px;
  --cm-2: 16px;
  --cm-3: 24px;
  --cm-4: 32px;
  --cm-5: 48px;
  --cm-6: 64px;
  --cm-page: clamp(16px, 4vw, 32px);
  --cm-radius: 18px;
  --cm-pill: 999px;
  --cm-shadow: 6px 6px 0 var(--cm-ink);
  --cm-ease: cubic-bezier(0.34, 1.4, 0.64, 1);
  --cm-wipe: cubic-bezier(0.65, 0, 0.35, 1);
  --cm-fast: 220ms var(--cm-wipe);
  --cm-spring: 400ms var(--cm-ease);
}

@media (prefers-reduced-motion: reduce) {
  :root { --cm-fast: 0.01ms; --cm-spring: 0.01ms; }
  .a95-cm-splash,
  .a95-cm-panel,
  .a95-cm-sticker { transition: none !important; animation: none !important; }
}

*, *::before, *::after { box-sizing: border-box; }

body.comic-frame-desk {
  margin: 0;
  min-height: 100vh;
  font-family: var(--cm-body);
  font-size: 1rem;
  color: var(--cm-ink);
  background:
    radial-gradient(ellipse at 10% -8%, rgba(255, 42, 106, 0.16), transparent 42%),
    radial-gradient(ellipse at 92% 4%, rgba(0, 212, 232, 0.16), transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 230, 0, 0.14), transparent 48%),
    var(--cm-mist);
  background-image:
    radial-gradient(ellipse at 10% -8%, rgba(255, 42, 106, 0.16), transparent 42%),
    radial-gradient(ellipse at 92% 4%, rgba(0, 212, 232, 0.16), transparent 40%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 230, 0, 0.14), transparent 48%),
    var(--cm-halftone),
    linear-gradient(var(--cm-mist), var(--cm-mist));
  background-size: auto, auto, auto, 12px 12px, auto;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--cm-pop); }

.skip-link {
  position: absolute; left: var(--cm-2); top: -100px; z-index: 1000;
  padding: 0.55rem 1rem; background: var(--cm-pop); color: #fff;
  font-family: var(--cm-display); font-size: 1.05rem; text-decoration: none; border-radius: var(--cm-pill);
}
.skip-link:focus { top: var(--cm-2); }

.container {
  width: min(960px, calc(100% - 2 * var(--cm-page)));
  margin-inline: auto;
}

/* Hop */
.a95-cm-hop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--cm-2);
  padding: 0.85rem var(--cm-page);
  background: var(--cm-ink);
  color: var(--cm-mist);
}

.a95-cm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.a95-cm-brand-mark {
  width: 1.4rem;
  height: 1.4rem;
  background: var(--cm-flash);
  border: 3px solid #fff;
  box-shadow: 3px 3px 0 var(--cm-pop);
  transform: rotate(-8deg);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.a95-cm-brand-word {
  font-family: var(--cm-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.a95-cm-hops {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.a95-cm-hops a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: var(--cm-pill);
  color: var(--cm-mist);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background var(--cm-fast), color var(--cm-fast), border-color var(--cm-fast);
}

.a95-cm-hops a:hover,
.a95-cm-hops a[aria-current="page"] {
  background: var(--cm-cyan);
  color: var(--cm-ink);
  border-color: var(--cm-cyan);
}

.a95-cm-hops em {
  font-style: normal;
  background: var(--cm-pop);
  color: #fff;
  border-radius: var(--cm-pill);
  padding: 0.05rem 0.4rem;
  font-size: 0.75rem;
}

.a95-cm-stage { padding: var(--cm-4) 0 var(--cm-6); }

.a95-cm-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cm-pop);
}

.a95-cm-section-head {
  text-align: center;
  margin-bottom: var(--cm-3);
}

.a95-cm-section-head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--cm-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.a95-cm-section-head p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--cm-mute);
  font-weight: 600;
}

/* â€”â€” Mission: splash panel â€”â€” */
.a95-cm-splash {
  position: relative;
  margin-bottom: var(--cm-5);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--cm-ink);
  color: var(--cm-mist);
  border: 4px solid var(--cm-ink);
  border-radius: 8px;
  box-shadow: var(--cm-shadow);
  transform: rotate(-0.8deg);
  overflow: hidden;
  animation: cm-slam 520ms var(--cm-ease) both;
}

@keyframes cm-slam {
  from { opacity: 0; transform: rotate(-4deg) scale(0.94) translateY(20px); }
  to { opacity: 1; transform: rotate(-0.8deg) scale(1) translateY(0); }
}

.a95-cm-splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cm-halftone);
  background-size: 10px 10px;
  opacity: 0.35;
  pointer-events: none;
}

.a95-cm-splash::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  height: 5px;
  background: var(--cm-pop);
  transform: scaleX(0);
  transform-origin: left center;
  animation: cm-underline 480ms var(--cm-wipe) 280ms both;
}

@keyframes cm-underline {
  to { transform: scaleX(1); }
}

.a95-cm-splash-inner { position: relative; z-index: 1; }

.a95-cm-splash .a95-cm-kicker { color: var(--cm-flash); }

.a95-cm-splash h1 {
  margin: 0 0 0.65rem;
  font-family: var(--cm-display);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: #fff;
}

.a95-cm-splash-lede {
  margin: 0 0 0.85rem;
  max-width: 38rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(232, 255, 246, 0.85);
}

.a95-cm-splash-mission {
  margin: 0;
  max-width: 40rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--cm-cyan);
}

.a95-cm-burst {
  position: absolute;
  top: -0.5rem;
  right: -0.35rem;
  z-index: 2;
  width: 5.5rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
  background: var(--cm-flash);
  color: var(--cm-ink);
  font-family: var(--cm-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.1;
  border: 3px solid var(--cm-ink);
  clip-path: polygon(50% 0%, 63% 28%, 98% 35%, 72% 58%, 79% 91%, 50% 75%, 21% 91%, 28% 58%, 2% 35%, 37% 28%);
  transform: rotate(12deg);
  box-shadow: 3px 3px 0 var(--cm-pop);
}

/* â€”â€” History: comic strip â€”â€” */
.a95-cm-strip-wrap {
  margin-bottom: var(--cm-5);
}

.a95-cm-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  border: 4px solid var(--cm-ink);
  background: var(--cm-ink);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--cm-shadow);
}

@media (min-width: 720px) {
  .a95-cm-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }
}

.a95-cm-panel {
  background: var(--cm-plate);
  padding: 1.1rem 1rem 1.2rem;
  min-height: 160px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.35rem;
  animation: cm-panel 420ms var(--cm-ease) both;
  transition: transform var(--cm-spring), background var(--cm-fast);
}

.a95-cm-panel:nth-child(1) { animation-delay: 60ms; background: #FFF5F8; }
.a95-cm-panel:nth-child(2) { animation-delay: 120ms; background: #F0FFFD; }
.a95-cm-panel:nth-child(3) { animation-delay: 180ms; background: #FFFCE8; }
.a95-cm-panel:nth-child(4) { animation-delay: 240ms; background: #F5F0FF; }

@keyframes cm-panel {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

.a95-cm-panel:hover {
  transform: translateY(-4px);
  background: #fff !important;
  z-index: 1;
}

.a95-cm-panel-num {
  font-family: var(--cm-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--cm-pop);
}

.a95-cm-panel:nth-child(2) .a95-cm-panel-num { color: var(--cm-cyan-deep); }
.a95-cm-panel:nth-child(3) .a95-cm-panel-num { color: #B88600; }
.a95-cm-panel:nth-child(4) .a95-cm-panel-num { color: var(--cm-pop); }

.a95-cm-panel strong {
  font-family: var(--cm-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.a95-cm-panel p {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cm-mute);
  align-self: end;
}

/* â€”â€” Values: slap stickers â€”â€” */
.a95-cm-stickers-wrap {
  margin-bottom: var(--cm-5);
}

.a95-cm-stickers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
  padding: var(--cm-2) 0;
}

.a95-cm-sticker {
  position: relative;
  max-width: 220px;
  padding: 1.15rem 1.25rem;
  background: var(--cm-plate);
  border: 3px solid var(--cm-ink);
  box-shadow: 4px 4px 0 var(--cm-ink);
  font-weight: 700;
  text-align: center;
  transform: rotate(var(--cm-tilt, -3deg));
  transition: transform var(--cm-spring), box-shadow var(--cm-spring), background var(--cm-fast);
  animation: cm-peel 480ms var(--cm-ease) both;
}

.a95-cm-sticker:nth-child(1) { --cm-tilt: -6deg; animation-delay: 40ms; background: #FFE8F0; }
.a95-cm-sticker:nth-child(2) { --cm-tilt: 4deg; animation-delay: 100ms; background: #E8FFFC; }
.a95-cm-sticker:nth-child(3) { --cm-tilt: -2deg; animation-delay: 160ms; background: #FFF9D6; }
.a95-cm-sticker:nth-child(4) { --cm-tilt: 5deg; animation-delay: 220ms; background: #F0E8FF; }

@keyframes cm-peel {
  from { opacity: 0; transform: rotate(0deg) scale(0.8) translateY(16px); }
  to { opacity: 1; transform: rotate(var(--cm-tilt, -3deg)) scale(1) translateY(0); }
}

.a95-cm-sticker:hover {
  transform: rotate(0deg) scale(1.06) translateY(-4px);
  box-shadow: 6px 6px 0 var(--cm-pop);
  background: #fff !important;
  z-index: 2;
}

.a95-cm-sticker-tag {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--cm-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--cm-pop);
}

.a95-cm-sticker:nth-child(2) .a95-cm-sticker-tag { color: var(--cm-cyan-deep); }
.a95-cm-sticker:nth-child(3) .a95-cm-sticker-tag { color: #A67C00; }

.a95-cm-sticker p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* â€”â€” Aisle chips â€”â€” */
.a95-cm-aisles {
  margin-bottom: var(--cm-5);
}

.a95-cm-aisle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.a95-cm-aisle-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.35rem 0.95rem;
  background: var(--cm-plate);
  border: 3px solid var(--cm-ink);
  border-radius: var(--cm-pill);
  color: var(--cm-ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--cm-cyan);
  transition: transform var(--cm-spring), box-shadow var(--cm-spring), background var(--cm-fast);
}

.a95-cm-aisle-list a:hover {
  background: var(--cm-flash);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--cm-pop);
}

.a95-cm-aisle-num {
  font-family: var(--cm-display);
  font-size: 1rem;
  color: var(--cm-pop);
  letter-spacing: 0.04em;
}

/* â€”â€” Registry: issue credits (not Foundry ledger aesthetic) â€”â€” */
.a95-cm-credits {
  margin-bottom: var(--cm-4);
  padding: var(--cm-4);
  background: var(--cm-plate);
  border: 4px solid var(--cm-ink);
  border-radius: 8px;
  box-shadow: var(--cm-shadow);
}

.a95-cm-credits-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--cm-2);
  margin-bottom: var(--cm-3);
  padding-bottom: var(--cm-2);
  border-bottom: 4px double var(--cm-ink);
}

.a95-cm-credits-head h2 {
  margin: 0;
  font-family: var(--cm-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.a95-cm-credits-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.2rem 0.75rem;
  background: var(--cm-flash);
  border: 2px solid var(--cm-ink);
  font-family: var(--cm-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  box-shadow: 2px 2px 0 var(--cm-pop);
}

.a95-cm-table {
  width: 100%;
  border-collapse: collapse;
  font-weight: 600;
}

.a95-cm-table th,
.a95-cm-table td {
  text-align: left;
  padding: 0.55rem 0.35rem;
  border-bottom: 2px solid var(--cm-border);
  vertical-align: top;
}

.a95-cm-table th {
  width: 36%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cm-mute);
}

.a95-cm-table td { word-break: break-word; }

/* Contact notes + CTAs */
.a95-cm-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: var(--cm-4);
}

@media (min-width: 640px) {
  .a95-cm-contact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.a95-cm-contact-card {
  padding: 1rem;
  background: var(--cm-ink);
  color: var(--cm-mist);
  border: 3px solid var(--cm-ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--cm-cyan);
}

.a95-cm-contact-card:nth-child(2) { box-shadow: 4px 4px 0 var(--cm-pop); }
.a95-cm-contact-card:nth-child(3) { box-shadow: 4px 4px 0 var(--cm-flash); }

.a95-cm-contact-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--cm-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cm-flash);
}

.a95-cm-contact-card p { margin: 0; font-weight: 600; }
.a95-cm-contact-card a { color: var(--cm-cyan); font-weight: 700; text-decoration: none; }
.a95-cm-contact-card a:hover { color: var(--cm-flash); }

.a95-cm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.a95-cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.2rem;
  border: 3px solid var(--cm-ink);
  border-radius: 8px;
  font-family: var(--cm-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--cm-spring), box-shadow var(--cm-spring);
  box-shadow: 4px 4px 0 var(--cm-ink);
}

.a95-cm-btn--pop {
  background: var(--cm-pop);
  color: #fff;
}

.a95-cm-btn--pop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 420ms var(--cm-wipe);
}

.a95-cm-btn--pop:hover::after { transform: translateX(130%); }

.a95-cm-btn--cyan {
  background: var(--cm-cyan);
  color: var(--cm-ink);
}

.a95-cm-btn--ghost {
  background: var(--cm-plate);
  color: var(--cm-ink);
}

.a95-cm-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--cm-ink);
}

/* Footer tint */
body.comic-frame-desk .a95-colophon {
  background: var(--cm-ink);
  color: var(--cm-mist);
  border-top: 4px solid var(--cm-pop);
}

body.comic-frame-desk .a95-colophon-word,
body.comic-frame-desk .a95-colophon-blurb,
body.comic-frame-desk .a95-colophon-col a,
body.comic-frame-desk .a95-colophon-contact,
body.comic-frame-desk .a95-colophon-base {
  color: var(--cm-mist);
}

body.comic-frame-desk .a95-colophon-col h4 { color: var(--cm-flash); background: transparent; }
body.comic-frame-desk .a95-colophon-mark { background: var(--cm-pop); color: #fff; }
body.comic-frame-desk .a95-scroll-top { background: var(--cm-cyan); color: var(--cm-ink); border-color: var(--cm-ink); }

@media (max-width: 560px) {
  .a95-cm-hops { width: 100%; }
  .a95-cm-splash { transform: none; }
  .a95-cm-burst { width: 4.2rem; height: 4.2rem; font-size: 0.78rem; top: -0.25rem; right: -0.15rem; }
  .a95-cm-table th { width: 42%; }
}

/* === UI polish pass 20260928 === */
.skip-link:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.a95-cm-hops a:focus-visible {
  outline: 3px solid #FFD166;
  outline-offset: 2px;
}
.a95-cm-btn:focus-visible,
.a95-cm-cta:focus-visible {
  outline: 3px solid #0F1E2E;
  outline-offset: 3px;
}
.a95-cm-btn--pop:hover {
  filter: brightness(0.92);
  box-shadow: 0 8px 0 rgba(0,0,0,0.35);
}
.a95-cm-btn--cyan:hover {
  filter: brightness(0.92);
  box-shadow: 0 8px 0 rgba(0,0,0,0.35);
}
.a95-cm-btn--ghost:hover {
  background: rgba(0,0,0,0.08);
}
