/*
 * Shared styles for the GCG-hosted brand pages under /brands/.
 *
 * Standalone by design, same as /404.html: GitHub Pages serves these files
 * directly, outside the React app, so they cannot rely on the Vite bundle or
 * Tailwind. Palette is copied from the site rather than imported for the
 * same reason.
 */

:root {
  --bg: #0f2a23;
  --panel: #102721;
  --border: #24463d;
  --border-soft: #1d3a32;
  --gold: #c4a070;
  --cream: #d4bc99;
  --text: #d4d4d4;
  --muted: #9ca8a2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background-image:
    radial-gradient(1200px 600px at 50% -200px, rgba(25, 58, 50, 0.7), rgba(15, 42, 35, 1));
  background-attachment: fixed;
}

a {
  color: inherit;
}

header.site {
  border-bottom: 1px solid var(--border-soft);
  background: rgba(15, 42, 35, 0.7);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mark {
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 0.5rem;
  border: 1px solid #2a4d42;
  background: linear-gradient(to bottom right, #1a4038, #123128);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gold);
}

.wordmark {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.back-link {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text);
  border: 1px solid #3a5d52;
  border-radius: 0.75rem;
  padding: 0.4rem 0.85rem;
  transition: background-color 0.2s ease;
}

.back-link:hover, .back-link:focus-visible {
  background: #17362e;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5rem;
}

.brand-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.brand-logo {
  width: 4.5rem;
  height: 4.5rem;
  flex: none;
  border-radius: 1rem;
  border: 1px solid #2a4d42;
  object-fit: cover;
  background: #133127;
}

.brand-logo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.85rem;
  color: var(--cream);
  margin: 0 0 0.35rem;
  letter-spacing: 0.01em;
}

.tagline {
  margin: 0;
  color: var(--gold);
  font-size: 0.9rem;
}

.brand-body p {
  color: var(--text);
  font-size: 0.98rem;
  margin: 0 0 1rem;
}

.status-note {
  margin-top: 1.5rem;
  border: 1px solid var(--border-soft);
  border-radius: 0.85rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(15, 42, 35, 0.4);
}

.actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

a.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: 0.85rem;
  border: 1px solid #3a5d52;
  color: var(--text);
  transition: background-color 0.2s ease, color 0.2s ease;
}

a.btn:hover, a.btn:focus-visible {
  background: #19382f;
  color: #fff;
}

a.btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #0f2721;
  font-weight: 600;
}

a.btn.primary:hover, a.btn.primary:focus-visible {
  background: #b8966a;
  color: #0f2721;
}

.tag {
  margin-top: 2.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
