/* Homepage-only: the "scroll story" bio page — colour zones that wash into
   each other, instead of the neutral cutting-mat used on the rest of the
   site. Deliberately a different composition from zevkev.de's own homepage
   (single side-by-side photo+text card, then a flat pill nav, then a huge
   standalone Discord zone) rather than the same layout in green: a pinned
   circular photo stacked above its own bio card, proper labelled button
   pills for socials instead of plain icon dots, and Shop/YouTube/Discord
   folded into one staggered tile grid instead of a pill row plus a separate
   zone. Team credits are still full cards (photo, role, link) -- same kind
   of content as zevkev.de's team section, since that's inherently a shared
   piece of both sites, just laid out with this page's own tile-grid stagger
   language instead of a copy of the other page's card treatment. This site
   has no Twitch content at all, so there's only ever these two zones -- no
   third toggleable zone the way zevkev.de's page has. */

body.home { background-color: var(--zone-discord); background-image: none; position: relative; }

.zone {
  width: 100%; padding: 74px 20px 64px; box-sizing: border-box; position: relative; overflow: hidden; z-index: 2;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0, rgba(255,255,255,.05) 1px, transparent 1px, transparent 160px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0, rgba(255,255,255,.05) 1px, transparent 1px, transparent 160px),
    radial-gradient(rgba(255,255,255,.15) 1.4px, transparent 1.5px);
  background-size: auto, auto, 26px 26px;
  background-attachment: fixed, fixed, fixed;
}

.zone--hero {
  background-color: var(--zone-hero);
  padding-top: calc(var(--header-h) + 54px);
}

.zone--discord {
  padding-bottom: 100px;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0, rgba(255,255,255,.05) 1px, transparent 1px, transparent 160px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0, rgba(255,255,255,.05) 1px, transparent 1px, transparent 160px),
    radial-gradient(rgba(255,255,255,.15) 1.4px, transparent 1.5px),
    linear-gradient(to bottom, var(--zone-hero) 0, var(--zone-discord) 140px);
  background-size: auto, auto, 26px 26px, auto;
  background-attachment: fixed, fixed, fixed, scroll;
}

.zone-inner { width: 100%; max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; position: relative; }

body.home .site-footer {
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  position: relative;
  z-index: 2;
}
body.home .scissor-line { border-top-color: rgba(255, 255, 255, 0.3); }
body.home .footer-links a,
body.home .footer-note,
body.home .footer-note a {
  color: #fff !important;
}
body.home .footer-socials a {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}
body.home .footer-socials a:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- Hero: a pinned photo stacked above its own bio card, instead
   of zevkev.de's single side-by-side photo+text card. ---------- */

.hero-portrait {
  width: 172px; height: 172px; border-radius: 50%; background: #fff; padding: 8px;
  box-sizing: border-box; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transform: rotate(-3deg); position: relative; z-index: 2; margin-bottom: -34px;
  overflow: visible;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #e8e4d8; }
.hero-portrait .tape { top: -16px; left: 50%; transform: translateX(-50%) rotate(-4deg); }

/* The photo overlaps the card's top edge (negative margin above, extra
   top-padding here) so it reads as pinned onto the note, not just stacked
   above it. */
.hero-card {
  max-width: 620px; padding: 56px 38px 34px; text-align: center;
}
.hero-card h1 {
  font-size: clamp(2.4rem, 7vw, 3.4rem); margin: 0 0 14px; text-transform: uppercase;
  color: var(--text-dark) !important;
}
.hero-card p {
  color: var(--text-dark) !important; text-align: center;
  font-size: clamp(1rem, 2.4vw, 1.1rem); line-height: 1.65; margin: 10px 0;
}
.hero-link { color: #0f4c81; font-weight: bold; }
:root[data-theme="dark"] .hero-link { color: #7fb2e5; }

.hero-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 30px 0 34px; }
.social-btn { min-width: 132px; justify-content: center; }

.hero-cta { font-size: 1.05rem; padding: 16px 34px; }

.hint-pill {
  display: inline-block; color: #fff !important; background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.5); border-radius: 999px; padding: 8px 18px;
  font-size: 0.9rem; margin: 30px 0 0; text-align: center;
}
.hint-pill a { color: #fff !important; font-weight: bold; }

/* ---------- Tile grid: Shop / YouTube / Discord folded into one staggered
   section instead of a flat pill row plus a separate full-width Discord
   zone. Reuses the .c-grid/.c-card stagger language from the team section
   elsewhere on the site, at a bigger card size. ---------- */

.section-eyebrow {
  color: #fff !important; opacity: 0.85; text-align: center; margin: 0 0 8px;
  font-family: "Bebas Neue", sans-serif; font-size: 1.5rem; letter-spacing: 1.5px; text-transform: uppercase;
}

.tile-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 32px; width: 100%; max-width: 1040px; margin: 34px 0 10px;
}
.tile {
  padding: 30px 26px 28px; display: flex; flex-direction: column; align-items: center; text-align: center;
  text-decoration: none; color: var(--text-dark) !important; position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover::before { box-shadow: var(--shadow-hover); }
.tile-icon {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--paper-accent); color: var(--text-dark); margin-bottom: 14px;
}
.tile-icon svg { width: 24px; height: 24px; }
.tile h3 {
  color: var(--text-dark) !important; margin: 0 0 6px; text-transform: uppercase; letter-spacing: 1px;
  font-family: "Bebas Neue", sans-serif; font-size: 1.35rem;
}
.tile p { color: var(--text-dark) !important; margin: 0 0 16px; line-height: 1.5; font-size: 0.94rem; }
.tile-cta {
  font-weight: bold; color: var(--accent-2) !important; font-size: 0.92rem; margin-top: auto;
}

.tile--discord .tile-icon { background: var(--discord-blurple); color: #fff; }
.tile-btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: auto; }
.tile-btn-row .p-btn { padding: 10px 18px; font-size: 0.88rem; }
.btn-discord::before { background: var(--discord-blurple); }
.btn-discord { color: #fff !important; }
.btn-discord:hover { color: #fff !important; }
.btn-ghost-light { color: var(--text-dark) !important; }
.btn-ghost-light::before { background: transparent !important; border: 2px dashed rgba(0, 0, 0, 0.3); box-shadow: none !important; filter: none !important; }
.btn-ghost-light:hover { color: var(--text-dark) !important; }
.btn-ghost-light:hover::before { background: rgba(0, 0, 0, 0.06) !important; }
.copy-ok { font-size: 0.84rem; color: var(--text-muted) !important; min-height: 1.2em; margin: 10px 0 0; text-align: center; }

.how-accordion {
  position: relative;
  width: 95%; max-width: 620px; box-sizing: border-box; margin-top: 40px;
  color: var(--text-dark); transform: rotate(0.6deg);
}
.how-accordion summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: bold; font-size: 1.02rem;
  display: flex; align-items: center; gap: 12px; user-select: none;
}
.how-accordion summary::-webkit-details-marker { display: none; }
.how-accordion .chev {
  display: inline-flex; width: 28px; height: 28px; flex-shrink: 0; align-items: center; justify-content: center;
  background: var(--discord-blurple); color: #fff; border-radius: 50%; font-size: 0.75rem; transition: transform 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
}
.how-accordion[open] .chev { transform: rotate(90deg); }
.how-accordion ol { margin: 0; padding: 0 22px 22px 50px; line-height: 1.75; font-size: 0.96rem; }
.how-accordion ol li::marker { color: var(--discord-blurple-dark); font-weight: bold; }
:root[data-theme="dark"] .how-accordion ol li::marker { color: var(--discord-blurple); }

/* ---------- Team: full cards (photo, role, link) -- same content as
   zevkev.de's team section, just laid out with this page's own tile-grid
   stagger language (.c-grid/.c-card/.tilt-* are already shared, unscoped
   classes from style.css). ---------- */

.team-lead { color: #fff !important; opacity: 0.9; margin: 46px 0 24px; text-align: center; font-family: "Bebas Neue", sans-serif; font-size: 1.4rem; letter-spacing: 1px; text-transform: uppercase; }

.team-avatar-frame {
  width: 108px; height: 108px; background: #fff; padding: 6px 6px 16px; box-sizing: border-box;
  box-shadow: 0 6px 14px rgba(0,0,0,.3); margin: 0 auto 4px;
}
.team-avatar-frame img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
  .zone { padding: 54px 16px 54px; }
  /* Real bug, not a design nitpick: the rule above's padding shorthand
     resets padding-top on every .zone including .zone--hero, clobbering
     that zone's own calc(var(--header-h) + 54px) further up this file
     (same specificity, later in the cascade wins) -- so on mobile the
     hero content started under the fixed header instead of clearing it.
     Restoring a header-aware padding-top here, scoped to .zone--hero
     specifically, so .zone--discord (which never needed header clearance)
     keeps the plain 54px reduction from the rule above. */
  .zone--hero { padding-top: calc(var(--header-h) + 34px); }
  .hero-portrait { width: 140px; height: 140px; margin-bottom: -28px; }
  .hero-card { padding: 48px 24px 30px; }
  .tile-grid { gap: 28px; }
}
