/* Aleph first-screen showcase — Tree of Knowledge hero + destination tiles.
   Used on Welcome (first run) and Home. Palette matches the start theme:
   deep green, gold #D9A441, paper cream #F6F1E7. */
.showcase { margin: 0 0 1rem; }
.show-hero {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1.5px solid #d9a441; box-shadow: 0 18px 50px rgba(0,0,0,.35);
  min-height: 340px; display: flex; align-items: flex-end;
  background: #16301c;
}
.show-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,36,19,0) 30%, rgba(15,36,19,.55) 62%, rgba(15,36,19,.92) 100%);
}
.show-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(217,164,65,0) 30%, rgba(217,164,65,.28) 48%, rgba(217,164,65,0) 66%);
  background-size: 250% 100%; animation: show-shimmer 5.5s ease-in-out infinite;
}
@keyframes show-shimmer { 0% { background-position: 130% 0; } 55%, 100% { background-position: -130% 0; } }
.show-hero-text { position: relative; z-index: 1; padding: 1.1rem 1.25rem 1.25rem; color: #f6f1e7; animation: show-rise .8s ease-out both; }
@keyframes show-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.show-kicker { margin: 0 0 .3rem; letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; font-weight: 700; color: #e8c97a; }
.show-title { margin: 0; font-size: clamp(1.7rem, 5.5vw, 2.6rem); line-height: 1.08; font-weight: 800; color: #fff8e7; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.show-sub { margin: .5rem 0 .9rem; max-width: 34rem; color: #e9e4cf; font-size: 1.02rem; }
.show-cta { margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.show-btn { background: #d9a441; border-color: #d9a441; color: #122a17; font-weight: 700; }
.show-btn:hover { background: #e8c97a; border-color: #e8c97a; }
.show-btn2 { background: rgba(18,42,23,.55); border-color: rgba(217,164,65,.8); color: #e8c97a; }
.show-stats {
  margin: .7rem 0 0; text-align: center; font-weight: 600; color: #a87b1f;
  letter-spacing: .02em;
}
.show-grid {
  list-style: none; margin: .8rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .6rem;
}
.show-tile {
  display: block; height: 100%; text-decoration: none;
  background: linear-gradient(180deg, #17351e, #122a17);
  border: 1px solid rgba(217,164,65,.55); border-radius: 14px;
  padding: .8rem .95rem; color: #f6f1e7;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.show-tile:hover, .show-tile:focus-visible {
  transform: translateY(-2px); border-color: #d9a441;
  box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 0 0 2px rgba(217,164,65,.35);
}
.show-tile .alef-medal { margin: 0 0 .55rem; inline-size: 3.5rem; block-size: 3.5rem; }
.show-tile-title { display: block; font-weight: 700; color: #e8c97a; font-size: 1.02rem; }
.show-tile-hook { display: block; margin-top: .25rem; color: #d8e2c4; font-size: .92rem; }
/* The hero replaces the welcome card's tree band (no double tree). */
body:has(.showcase) .card.onboarding::before { display: none; }
@media (prefers-reduced-motion: reduce) {
  .show-hero::after { animation: none; }
  .show-hero-text { animation: none; }
  .show-tile { transition: none; }
}

/* Hero secondary button: keep the gold label legible on the photo. */
.show-cta .show-btn2 {
  color: #ffe9a8; background: rgba(10, 26, 14, 0.72);
  border: 1.5px solid #d9a441; font-weight: 700;
}
.show-cta .show-btn2:hover { background: rgba(10, 26, 14, 0.88); color: #ffe9a8; }

/* Site footer — attribution on every page. */
.site-footer {
  text-align: center; padding: 1.4rem 1rem 2.2rem; margin-top: 1rem;
  border-top: 1px solid rgba(217,164,65,.35); color: var(--muted); font-size: .92rem;
}
/* Interactive try panel on the first screen. */
.show-try {
  margin-top: .8rem; padding: 1rem 1.1rem 1.1rem; border-radius: 16px;
  background: linear-gradient(180deg, #17351e, #10240f);
  border: 1.5px solid #d9a441; color: #f6f1e7; text-align: center;
}
.show-try-title { margin: 0 0 .4rem; font-weight: 800; color: #e8c97a; letter-spacing: .04em; }
.show-slots { margin: .2rem 0 .7rem; font-size: 2.6rem; line-height: 1.1; }
.show-slot {
  display: inline-block; min-width: 3rem; margin: 0 .3rem; padding: .1rem .2rem;
  border-bottom: 3px solid rgba(217,164,65,.6); color: #e8c97a;
}
.show-slot.filled { color: #fff8e7; animation: show-pop .35s ease-out; }
@keyframes show-pop { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }
.show-letters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.show-letter-btn {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  min-width: 4.4rem; padding: .5rem .4rem .45rem; border-radius: 12px; cursor: pointer;
  background: rgba(246,241,231,.07); border: 1px solid rgba(217,164,65,.55); color: #f6f1e7;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.show-letter-btn:hover, .show-letter-btn:focus-visible { transform: translateY(-2px); border-color: #d9a441; background: rgba(217,164,65,.16); }
.show-letter-btn:active { transform: scale(.96); }
.show-letter-glyph { font-size: 1.9rem; line-height: 1.1; }
.show-letter-name { font-size: .78rem; color: #d8e2c4; }
.show-try-status { margin: .7rem auto 0; max-width: 32rem; color: #e9e4cf; min-height: 1.4em; }
.show-again { margin-top: .6rem; }
.show-try-more { margin: .8rem 0 0; }
@media (prefers-reduced-motion: reduce) { .show-slot.filled { animation: none; } .show-letter-btn { transition: none; } }

/* 27 Nov 2026 review: one front door, and the two flagships on Home */
.show-start-here { margin: 0 0 .35rem; font-weight: 700; color: #ffe9a8; letter-spacing: .01em; }
.show-start-here[hidden] { display: none; }
.show-flagships { margin: 1.2rem 0 0; }
.show-flagship-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.show-flagship { display: flex; align-items: center; gap: .9rem; min-height: 96px; padding: .9rem 1rem; border-radius: 16px; text-decoration: none;
  border: 1px solid rgba(217,164,65,.8); background: linear-gradient(135deg, rgba(18,42,23,.92), rgba(33,58,36,.92)); color: #f4ecd6; }
.show-flagship:hover, .show-flagship:focus-visible { border-color: #ffe9a8; background: linear-gradient(135deg, rgba(24,54,30,.96), rgba(40,70,44,.96)); }
.show-flagship-copy { display: grid; gap: .2rem; min-width: 0; }
.show-flagship-title { font-weight: 700; font-size: 1.1rem; color: #ffe9a8; }
.show-flagship-hook { font-size: .92rem; color: #dcd3b8; }
@media (max-width: 640px) { .show-flagship-grid { grid-template-columns: 1fr; } }
