/* Mars Studios LLC — shared styles */

:root {
  --bg: #000;
  --panel: #0b0d12;
  --ink: #eef1f6;
  --muted: #9aa3b2;
  --accent: #e30013;         /* sampled from the logo */
  --accent-soft: rgba(227, 0, 19, 0.14);
  --line: rgba(255, 255, 255, 0.10);
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

a { color: inherit; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

main { flex: 1; }

section { padding: 84px 0; }
section + section { border-top: 1px solid var(--line); }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin: 0 0 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 8px;
}

p { margin: 0 0 16px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand .red {
  color: var(--accent);
  font-weight: 900;
  -webkit-text-stroke: 0.5px var(--accent);
  text-stroke: 0.5px var(--accent);
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 0 88px;
}
.hero .logo {
  display: block;
  width: min(420px, 82vw);
  height: auto;
  margin: 0 auto;
  /* Solid black page + screen blend = the JPEG's black background disappears cleanly. */
  mix-blend-mode: screen;
}
.hero .tagline {
  margin: 30px auto 0;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 500;
}
.hero .blurb {
  margin: 16px auto 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero .location {
  margin-top: 30px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff1a2c; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}
.card .ic {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

/* ---------- Prose (about, privacy) ---------- */
.prose { max-width: 68ch; }
.prose h3 {
  margin: 34px 0 10px;
  font-size: 1.15rem;
}
.prose ul { color: var(--muted); padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.contact-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.contact-item .label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.contact-item a { color: var(--accent); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* ---------- Accessibility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.86rem; }
}
