/* ==============================================
   RESET
   Remove default browser spacing and sizing quirks
============================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==============================================
   DESIGN TOKENS
   Site-wide color and font variables.
   Change these to retheme the whole site.
============================================== */
:root {
  --bg: #0a0a0a;          /* Near-black background */
  --accent: #f5820d;      /* Amber orange — matches Grain & Thunder brand */
  --text: #f0ece4;        /* Warm off-white for headings */
  --text-dim: #888;       /* Muted grey for nav links at rest */
}

/* ==============================================
   BASE
   Full-viewport dark canvas. Cursor hidden
   because the fly emoji takes over as the pointer.
============================================== */
html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Georgia', serif;
  cursor: none; /* fly cursor in frog.css replaces this */
  overflow: hidden;
}

/* ==============================================
   NAVIGATION
   Fixed to top-right corner, always visible.
============================================== */
#main-nav {
  position: fixed;
  top: 2rem;
  right: 2.5rem;
  z-index: 100;
  display: flex;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.5rem;
}

#main-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  transition: color 0.2s;
}

#main-nav a:hover {
  color: var(--accent);
}

#main-nav a.nav-active {
  color: var(--accent);
}

/* Tablet */
@media (max-width: 768px) {
  #main-nav {
    top: 1.25rem;
    right: 1.25rem;
    gap: 1.5rem;
  }
}

/* Mobile — full-width bar */
@media (max-width: 480px) {
  #main-nav {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    justify-content: center;
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    gap: 1.5rem;
    font-size: 0.65rem;
  }

  #identity {
    bottom: 2rem;
    left: 1.5rem;
  }
}

/* ==============================================
   HERO
   Full-viewport container for the frog and
   identity text.
============================================== */
#hero {
  width: 100%;
  height: 100%;
  position: relative;
}

/* ==============================================
   IDENTITY TEXT
   Name and title, anchored to bottom-left.
============================================== */
#identity {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  z-index: 10; /* above frog layers */
}

#identity h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* scales fluidly with viewport */
  font-weight: normal;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text);
}

#identity p {
  margin-top: 0.6rem;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

#cta {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text-dim);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}

#cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}
