/* R7 Software - shared site styles */
:root {
  /* Disc gray from R7 mark (cool steel charcoal) */
  --disc-deep: #14181e;
  --disc-mid: #232930;
  --disc-lift: #2b323a;
  --disc-edge: #3a4450;
  --bg: #0e1218;
  --bg-elevated: #1a1f27;
  --bg-soft: #232930;
  --bg-gradient: radial-gradient(120% 80% at 50% -10%, #2b323a 0%, #1a1f27 42%, #0e1218 78%);
  --border: rgba(180, 200, 220, 0.12);
  --border-strong: rgba(180, 200, 220, 0.2);
  --text: #ececf1;
  --text-muted: #9aa3b0;
  --text-dim: #6e7684;
  --accent: #e8b84a;
  --accent-hover: #f0c96a;
  --accent-ink: #0e1218;
  --radius: 12px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font: 16px/1.55 var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--accent-hover); }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* -- Nav -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(14, 18, 24, 0.88);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }

.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

/* -- Hero -- */
.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.subhead {
  margin: 0 0 1.75rem;
  max-width: 34em;
  font-size: 1.1rem;
  color: var(--text-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  background: var(--bg-soft);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}

.art-slot {
  min-height: 280px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(160deg, rgba(232, 184, 74, 0.04), transparent 55%),
    var(--bg-elevated);
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* -- Studio strip -- */
.studio {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.studio-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.studio-logo {
  width: 96px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.studio h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.studio p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42em;
}

/* -- Page content (inner pages) -- */
.page {
  padding: 3rem 0 4rem;
  min-height: 50vh;
}

.page h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
}

.page p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 38em;
}

.page .lead {
  font-size: 1.1rem;
  color: var(--text);
}

/* -- Footer -- */
.site-footer {
  padding: 2rem 0 2.5rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .wrap { width: min(100% - 1.75rem, var(--max)); }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero { padding: 2.25rem 0 2rem; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .art-slot {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .studio-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
