/* Asgard front page for Forgejo (custom/templates/home.tmpl) — grimm.tech CI.
   Self-contained: loaded by home.tmpl itself, so the page renders correctly
   whichever theme a visitor uses. Copied to custom/public/assets/css/ by build.py.
   The dotted tree is never captioned. */
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@900&family=Archivo:wght@400;600&family=Space+Mono:wght@400;700&display=swap');

.g-home {
  --g-deep: #121D23; --g-paper: #F1EADB; --g-orange: #FF6C2F; --g-aqua: #5FD3E0;
  --g-display: 'Big Shoulders Display', Impact, sans-serif;
  --g-mono: 'Space Mono', ui-monospace, monospace;
  background: var(--g-deep); color: var(--g-paper); font-family: 'Archivo', system-ui, sans-serif;
  padding: 3rem 2rem 4rem; flex: 1 0 auto;
}
.g-home *, .g-home *::before { box-sizing: border-box; border-radius: 0; }
.g-home__frame { max-width: 1248px; margin: 0 auto; border: 2px solid var(--g-paper);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.g-home__copy { padding: 3.5rem 2.5rem; display: flex; flex-direction: column; gap: 1.75rem; justify-content: center;
  border-right: 2px solid var(--g-paper); }
.g-home__label { font-family: var(--g-mono); font-size: .8rem; color: var(--g-orange); }
.g-home__title { position: relative; isolation: isolate; margin: 0; font-family: var(--g-display); font-weight: 900;
  font-size: clamp(64px, 10vw, 168px); line-height: .82; text-transform: uppercase; color: var(--g-paper); letter-spacing: 0; }
.g-home__title span { color: var(--g-orange); }
.g-home__title::before { content: attr(data-text); position: absolute; inset: 0; z-index: -1; color: var(--g-aqua);
  transform: translate(5px, 4px); white-space: pre-wrap; pointer-events: none; }
.g-home__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.g-home__btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; text-decoration: none !important;
  background: var(--g-orange); border: 2px solid var(--g-orange); color: var(--g-deep) !important;
  font-family: var(--g-display); font-weight: 900; font-size: 1.35rem; text-transform: uppercase; line-height: 1; }
.g-home__btn:hover { background: var(--g-paper); border-color: var(--g-paper); }
.g-home__btn--ghost { background: transparent; border-color: var(--g-paper); color: var(--g-paper) !important; }
.g-home__btn--ghost:hover { color: var(--g-deep) !important; }
.g-home__art { margin: 0; min-height: 520px; display: flex; align-items: center; justify-content: center;
  background-image: radial-gradient(circle, var(--g-orange) 1.4px, transparent 1.9px); background-size: 8px 8px; }
.g-home__art img { width: 78%; max-width: 420px; height: auto; }
@media (max-width: 860px) {
  .g-home { padding: 1.25rem 1rem 2rem; }
  .g-home__frame { grid-template-columns: minmax(0, 1fr); }
  .g-home__copy { border-right: 0; border-bottom: 2px solid var(--g-paper); padding: 2rem 1.25rem; }
  .g-home__art { min-height: 340px; }
}
