/* ---------------------------------------------
   Sacra Corp — tokens
--------------------------------------------- */
:root {
  --bg: #060606;
  --bg-raised: #0d0d0d;
  --fg: #f3f2ee;
  --muted: #8c8c86;
  --border: #232323;
  --border-hover: #4a4a45;

  --font-display: "Orbitron", sans-serif;
  --font-body: "Inter", sans-serif;

  --max-w: 1120px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

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

/* ---------------------------------------------
   Header
--------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(6, 6, 6, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s ease;
}
.brand:hover { opacity: 0.75; }

.brand-mark {
  height: 30px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--fg); }

@media (max-width: 640px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 0.75rem; }
}

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero-inner {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hero-in 900ms ease-out both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-mark {
  height: 130px;
  width: auto;
  margin-bottom: 28px;
}

.hero-wordmark {
  width: min(560px, 82vw);
  height: auto;
  margin-bottom: 20px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}

.hero-copy {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(243, 242, 238, 0.14);
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1px solid var(--border-hover);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.scroll-cue span {
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted);
  animation: cue-bounce 1.8s ease-in-out infinite;
}

@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* ---------------------------------------------
   Shared section layout
--------------------------------------------- */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 24px;
}

.section-inner.narrow {
  max-width: 680px;
  text-align: center;
}

.section-head {
  max-width: 560px;
  margin-bottom: 56px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.section-head p,
.growth-section p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------------------------------------------
   Group companies
--------------------------------------------- */
.group-section {
  border-top: 1px solid var(--border);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.company-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-raised);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.company-card:hover {
  border-color: var(--border-hover);
  background: #111110;
}

.company-banner {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 28px;
}

.company-banner img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.company-desc {
  color: var(--muted);
  font-size: 0.98rem;
  flex: 1;
  margin: 0 0 28px;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: gap 0.25s ease, color 0.25s ease;
}

.learn-more:hover {
  gap: 12px;
  color: var(--muted);
}

/* ---------------------------------------------
   Growth
--------------------------------------------- */
.growth-section {
  border-top: 1px solid var(--border);
  background: var(--bg-raised);
}

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.copyright {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--fg); }
