/* Gingher Studios — hub site styles. Palette drawn from the logo:
   near-black background, brushed steel-blue accents. */

:root {
  --bg: #06070a;
  --bg-card: #0e1118;
  --bg-card-hover: #131826;
  --border: #1e2534;
  --steel: #8fa3d0;
  --steel-bright: #b8c6e8;
  --steel-dim: #5a6a94;
  --text: #d7dce8;
  --text-dim: #8b93a7;
  --live: #6fd08c;
  --soon: #6b7488;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

a { color: var(--steel-bright); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- header / hero ---------- */
header {
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, #10162455 0%, transparent 70%);
}

header img.logo {
  width: min(300px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: screen; /* logo PNG has a solid black square; blend it away */
}

header h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--steel-bright);
  margin-top: 1rem;
}

header p.tag {
  color: var(--text-dim);
  max-width: 46rem;
  margin: 0.9rem auto 0;
  font-size: 1.05rem;
}

.oer-banner {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--steel);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* ---------- nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav .wrap {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav a:hover { color: var(--steel-bright); }

/* ---------- sections ---------- */
section { padding: 3rem 0 1rem; }

section h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--steel-bright);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin-bottom: 1.6rem;
}

section p.section-note {
  color: var(--text-dim);
  margin: -0.8rem 0 1.6rem;
  font-size: 0.95rem;
}

/* ---------- app grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: background 0.15s, border-color 0.15s;
}

.card:hover { background: var(--bg-card-hover); border-color: var(--steel-dim); }

.card .card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.card h3 { font-size: 1.08rem; font-weight: 600; color: var(--steel-bright); }

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.badge.live { color: var(--live); border: 1px solid color-mix(in srgb, var(--live) 45%, transparent); }
.badge.soon { color: var(--soon); border: 1px solid var(--border); }

.card .skill { font-size: 0.8rem; color: var(--steel); letter-spacing: 0.02em; }

.card .blurb { font-size: 0.92rem; color: var(--text-dim); flex: 1; }

.card .actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.35rem; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.42rem 1rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
}

.btn.play { background: var(--steel); color: #0a0c12; }
.btn.play:hover { background: var(--steel-bright); }

.btn.store {
  color: var(--steel);
  border: 1px solid var(--steel-dim);
  background: transparent;
  font-weight: 500;
}
.btn.store:hover { color: var(--steel-bright); border-color: var(--steel); }

.btn.disabled {
  color: var(--soon);
  border: 1px solid var(--border);
  background: transparent;
  cursor: default;
  font-weight: 500;
}

/* ---------- about / prose ---------- */
.prose { max-width: 46rem; color: var(--text-dim); }
.prose p { margin-bottom: 1rem; }
.prose strong { color: var(--text); }

/* ---------- footer ---------- */
footer {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
footer .fine { margin-top: 0.5rem; font-size: 0.78rem; color: var(--steel-dim); }
