/* Easter eggs — isolated styles. Safe to delete with _includes/easter-eggs.html */

@font-face {
  font-family: "EasterGeist";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-SemiBold.woff2")
    format("woff2");
}

@font-face {
  font-family: "EasterNewsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/newsreader/v22/cY9qF8Zt1cdDK0hNZIEDj5Db.woff2")
    format("woff2");
}

:root {
  --ee-brand: #6a8f98;
  --ee-accent: #8b7fb8;
}

/* —— Trash-panda mode (Konami) —— */
body.trash-panda-mode,
body.trash-panda-mode * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%236A8F98'/%3E%3Ccircle cx='11' cy='13' r='2.5' fill='%23222'/%3E%3Ccircle cx='21' cy='13' r='2.5' fill='%23222'/%3E%3Cellipse cx='16' cy='18' rx='4' ry='3' fill='%238B7FB8'/%3E%3Cpath d='M8 10 L4 6 M24 10 L28 6' stroke='%23222' stroke-width='2'/%3E%3C/svg%3E")
      16 16,
    auto !important;
}

.trash-panda-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.trash-panda-confetti__piece {
  position: absolute;
  top: -2rem;
  font-size: 1.25rem;
  animation: trash-panda-fall linear forwards;
}

.trash-panda-confetti__piece--burst {
  top: auto;
  animation: trash-panda-burst 0.9s ease-out forwards;
}

@keyframes trash-panda-fall {
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0.2;
  }
}

@keyframes trash-panda-burst {
  to {
    transform: translate(var(--burst-x), var(--burst-y)) rotate(180deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trash-panda-confetti__piece {
    animation: none;
    display: none;
  }
}

/* —— Custom 404 —— */
.not-found-raccoon {
  font-family: "EasterNewsreader", Georgia, "Times New Roman", serif;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  min-height: 70vh;
  padding: 2rem 1rem;
  color: var(--ee-brand);
}

.not-found-raccoon__title {
  font-family: "EasterGeist", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 12vw, 5rem);
  margin: 0 0 0.5rem;
  color: var(--ee-brand);
}

.not-found-raccoon__phrase {
  font-size: 1.125rem;
  max-width: 28rem;
  margin: 0 0 1.5rem;
  color: inherit;
}

.not-found-raccoon__scene {
  position: relative;
  width: min(280px, 90vw);
  height: 200px;
  margin-bottom: 1.5rem;
}

.not-found-raccoon__can {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 100px;
}

.not-found-raccoon__can-body {
  fill: var(--ee-brand);
}

.not-found-raccoon__can-lid {
  fill: var(--ee-accent);
}

.not-found-raccoon__raccoon {
  position: absolute;
  bottom: 55px;
  left: 50%;
  width: 72px;
  height: 72px;
  margin-left: -36px;
  animation: raccoon-dig 1.2s ease-in-out infinite alternate;
}

.not-found-raccoon__scrap {
  position: absolute;
  font-size: 1rem;
  opacity: 0.85;
  animation: scrap-pop 1.2s ease-in-out infinite alternate;
}

.not-found-raccoon__scrap--a {
  bottom: 90px;
  left: 28%;
  animation-delay: 0.1s;
}

.not-found-raccoon__scrap--b {
  bottom: 110px;
  right: 22%;
  animation-delay: 0.35s;
}

@keyframes raccoon-dig {
  from {
    transform: translateY(0) rotate(-4deg);
  }
  to {
    transform: translateY(14px) rotate(6deg);
  }
}

@keyframes scrap-pop {
  from {
    transform: translateY(0);
    opacity: 0.4;
  }
  to {
    transform: translateY(-10px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .not-found-raccoon__raccoon,
  .not-found-raccoon__scrap {
    animation: none;
  }
}

.not-found-raccoon__home {
  font-family: "EasterGeist", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  color: var(--ee-accent);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.not-found-raccoon__home:hover,
.not-found-raccoon__home:focus-visible {
  color: var(--ee-brand);
  outline: 2px solid var(--ee-accent);
  outline-offset: 3px;
}

/* —— /desk page —— */
.desk-page {
  font-family: "EasterNewsreader", Georgia, "Times New Roman", serif;
  color: var(--ee-brand);
  max-width: 52rem;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.desk-page__eyebrow {
  font-family: "EasterGeist", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ee-accent);
  margin: 0 0 0.25rem;
}

.desk-page__title {
  font-family: "EasterGeist", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  margin: 0 0 0.5rem;
}

.desk-page__lede {
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

.desk-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.desk-card {
  background: color-mix(in srgb, var(--ee-brand) 8%, transparent);
  border: 2px solid var(--ee-brand);
  border-radius: 4px;
  padding: 1rem;
}

.desk-card__badge {
  font-family: "EasterGeist", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ee-accent);
  margin: 0 0 0.75rem;
}

.desk-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: color-mix(in srgb, var(--ee-accent) 18%, transparent);
  margin-bottom: 0.75rem;
}

.desk-card__name {
  font-family: "EasterGeist", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 0.15rem;
}

.desk-card__role {
  font-size: 0.9rem;
  margin: 0 0 0.65rem;
  color: var(--ee-accent);
}

.desk-card__caption {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.45;
}
