/* ========== Generative Art Subpage — Homepage Style ========== */

.ga-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--pad);
}

/* ===== Top Nav ===== */
.ga-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--pad);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}

.ga-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.ga-back:hover {
  transform: translateX(-3px);
  background: var(--accent-yellow);
  color: var(--text-black);
}

.ga-back svg {
  width: 14px;
  height: 14px;
}

.ga-top-meta {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ga-top-current {
  color: var(--text-black);
  font-weight: 700;
}

/* ===== Hero Block ===== */
.ga-hero {
  background: var(--accent-yellow);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 72px);
  margin-bottom: var(--pad);
  color: var(--text-black);
}

.ga-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: var(--bg-black);
  color: var(--text-white);
  border-radius: var(--radius-pill);
}

.ga-hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.0;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}

.ga-hero-desc {
  max-width: 640px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  margin: 0 0 36px;
  opacity: 0.85;
}

.ga-hero-stats {
  display: flex;
  gap: clamp(36px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.15);
}

.ga-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ga-stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
}

.ga-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ===== Project Cards ===== */
.ga-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.ga-card {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.ga-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.18);
}

.ga-card-link {
  display: block;
}

.ga-cover {
  position: relative;
  overflow: hidden;
  background: var(--bg-cream);
}

.ga-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

.ga-card:hover .ga-cover img {
  transform: scale(1.04);
}

.ga-meta {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
}

.ga-index {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ga-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-black);
  margin: 0 0 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ga-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.ga-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.ga-tag {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-cream);
  color: var(--text-black);
  font-weight: 600;
}

.ga-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-black);
  letter-spacing: 0.02em;
  margin-top: auto;
  transition: transform 0.35s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ga-cta::after {
  content: '→';
  transition: transform 0.35s var(--ease);
}

.ga-card:hover .ga-cta::after {
  transform: translateX(5px);
}

/* Featured card: side by side */
.ga-card-featured .ga-card-link {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 460px;
}

.ga-card-featured .ga-cover {
  height: 100%;
  min-height: 280px;
}

.ga-card-featured .ga-meta {
  justify-content: center;
}

.ga-card-featured .ga-title {
  font-size: clamp(32px, 4vw, 48px);
}

/* Grid layout */
.ga-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.ga-card-wide {
  grid-column: span 2;
}

.ga-card-wide .ga-card-link {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 340px;
}

.ga-card-wide .ga-cover {
  height: 100%;
  min-height: 260px;
}

.ga-card-wide .ga-meta {
  justify-content: center;
}

.ga-card-wide .ga-title {
  font-size: clamp(26px, 3vw, 34px);
}

/* Footer */
.ga-foot {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ga-back-foot {
  background: transparent;
  color: var(--text-black);
  border: 1px solid rgba(0,0,0,0.15);
}

.ga-back-foot:hover {
  background: var(--bg-black);
  color: var(--text-white);
}

.ga-foot-meta {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .ga-shell { padding: 20px; }
  .ga-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ga-hero { padding: 36px; }
  .ga-hero-stats { gap: 28px; }

  .ga-card-featured .ga-card-link,
  .ga-card-wide .ga-card-link {
    grid-template-columns: 1fr;
  }

  .ga-card-featured .ga-cover,
  .ga-card-wide .ga-cover {
    min-height: 260px;
  }

  .ga-card-featured .ga-meta,
  .ga-card-wide .ga-meta {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .ga-grid {
    grid-template-columns: 1fr;
  }

  .ga-card-wide {
    grid-column: span 1;
  }

  .ga-foot {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
