/* ============================================================
   Bennu additions on top of the live bundle. Reviewed 2026-08-09.
   1. splash wordmark + scroll cue
   2. hero phoenix slot (desktop only)
   3. Variant B button hover (label shifts, arrow slides in)
   4. About: photo pills + ASCII portrait
   No live rule is edited; everything here is additive.
============================================================ */

:root { --mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace; }

/* ---- splash: wordmark above the bird ---- */
#intro-splash { flex-direction: column; gap: clamp(12px, 2.5vh, 32px); }
#splash-wordmark {
  position: relative; z-index: 2;
  color: var(--color-text-primary);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; white-space: nowrap; margin: 0;
  opacity: 0; transform: translateY(12px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
#splash-wordmark.on { opacity: 1; transform: translateY(0); }
#intro-scroll-cue {
  position: relative; z-index: 2; margin: clamp(10px, 2vh, 28px) 0 0;
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-text-body);
  opacity: 0; transition: opacity 600ms ease-out;
}
#intro-scroll-cue .cue-arrow {
  color: var(--color-accent); font-size: 18px;
  animation: cue-bob 1.6s ease-in-out infinite;
}
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
#intro-scroll-cue.on { opacity: 1; animation: cue-pulse 2.4s ease-in-out infinite; }
@keyframes cue-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* ---- hero: phoenix beside the headline, desktop only ---- */
@media (min-width: 900px) {
  .hero-stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; align-items: center; }
  .hero-phoenix-slot { display: flex; justify-content: center; }
  #hero-phoenix-slot-inner { position: relative; }
}
@media (max-width: 899px) {
  .hero-phoenix-slot { display: none; }
}

/* ---- buttons: Variant B hover ---- */
.btn, .hero-scroll-link, .cta-email-btn {
  position: relative;
}
.btn .btn-label, .hero-scroll-link .btn-label, .cta-email-btn .btn-label {
  display: inline-block;
  transition: transform 120ms ease-in-out;
}
.btn .btn-arrow, .hero-scroll-link .btn-arrow, .cta-email-btn .btn-arrow {
  display: inline-block; margin-left: 8px;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 120ms ease-in-out, transform 120ms ease-in-out;
}
.btn:hover .btn-label, .hero-scroll-link:hover .btn-label, .cta-email-btn:hover .btn-label { transform: translateX(-6px); }
.btn:hover .btn-arrow, .cta-email-btn:hover .btn-arrow { opacity: 1; transform: translateX(0); }
.hero-scroll-link .btn-arrow { transform: translateY(-4px); }
.hero-scroll-link:hover .btn-arrow { opacity: 1; transform: translateY(0); }

/* ---- About: photo pills + portrait ---- */
@media (min-width: 900px) {
  .team-grid { display: block; position: relative; min-height: 860px; max-width: none; }
  .about-ascii {
    position: absolute; left: -4%; top: -30px;
    opacity: 0.28; transform: scale(1.5); transform-origin: top left;
    justify-content: flex-start; pointer-events: none;
  }
  .team-member { display: block; }
  .team-photo-wrap { position: absolute; left: 50%; top: 50px; transform: translateX(-50%); width: 420px; z-index: 2; }
  .team-member > div:last-child { position: absolute; right: 0; top: 150px; max-width: 360px; text-align: right; z-index: 2; }
  .team-member .team-name { font-size: 44px; }
}
.team-photo-wrap { position: relative; display: block; width: 100%; max-width: 420px; }
.team-photo {
  width: 100%; max-width: 420px; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; border-radius: 12px; border: none;
}
.team-title { text-transform: none; letter-spacing: normal; }
.photo-pills {
  position: absolute; left: 16px; bottom: 16px; width: calc(100% - 32px);
  display: flex; justify-content: space-between; gap: 8px; white-space: nowrap;
}
#enki { min-height: calc(100svh - 140px); display: flex; align-items: center; }
#enki .container { width: 100%; }
html { scroll-padding-top: 150px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(17, 17, 17, 0.92); color: var(--color-text-body);
  border: 1px solid var(--color-border);
  border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 500;
  text-decoration: none;
  transition: background-color 120ms ease-in-out, color 120ms ease-in-out;
}
.pill:hover { background: var(--color-accent); color: #000000; text-decoration: none; }
.pill .pill-arrow { transition: transform 120ms ease-in-out; }
.pill:hover .pill-arrow { transform: translate(2px, -2px); }
.about-ascii { display: flex; justify-content: center; overflow: hidden; }
#merl-ascii {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: clamp(4px, 0.6vw, 8px); line-height: 1.15;
  white-space: pre; color: #A82800; margin: 0;
}
#merl-ascii .g { color: var(--color-accent-warm); }
#merl-ascii .o { color: var(--color-accent); }
#merl-ascii .e { color: #A82800; }
#merl-ascii .w { color: #FFF4D6; }

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  #intro-scroll-cue.on { animation: none; }
  #splash-wordmark { transition: none; opacity: 1; transform: none; }
}
