/* ============================================================
   Bear Capital — Holding Page Styles
   Palette: deep navy #0a1628 · warm gold #c9a84c · off-white #f5f0e8
   ============================================================ */

/* ── Reset & base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0a1628;
  --navy-mid: #0f2040;
  --navy-light: #1a3055;
  --gold: #c9a84c;
  --gold-light: #e0c070;
  --gold-muted: #8a6f30;
  --cream: #f5f0e8;
  --cream-dim: #cec8bb;
  --white: #ffffff;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --max-width: 1100px;
  --transition: 0.35s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--navy);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ── Background canvas ───────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ── Page wrapper ────────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  padding: 2rem clamp(1.5rem, 5vw, 3rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gold);
}

.logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.35));
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
}

/* ── Main / Hero ─────────────────────────────────────────── */
.site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3rem);
  gap: clamp(4rem, 8vw, 6rem);
}

.hero {
  width: 100%;
  max-width: var(--max-width);
  display: grid;
  place-items: start;
}

.hero-content {
  max-width: 680px;
}

/* Domain tag */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.75rem;
  background: rgba(201, 168, 76, 0.06);
}

/* Heading */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  color: var(--gold);
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: var(--cream-dim);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* CTA group */
.cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition), color var(--transition),
    box-shadow var(--transition), transform 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.3);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--cream-dim);
  letter-spacing: 0.03em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf80;
  box-shadow: 0 0 0 0 rgba(76, 175, 128, 0.6);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 128, 0.6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(76, 175, 128, 0);
  }
}

/* ── Pillar cards ─────────────────────────────────────────── */
.pillars {
  width: 100%;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pillar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 0.5rem;
  padding: 2rem 1.75rem;
  transition: border-color var(--transition), background var(--transition),
    transform 0.2s ease;
}

.pillar:hover {
  background: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.65rem;
  letter-spacing: 0.01em;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.75;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding: 1.75rem clamp(1.5rem, 5vw, 3rem);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(206, 200, 187, 0.5);
  font-style: normal;
}

.footer-contact a {
  font-size: 0.85rem;
  color: var(--gold-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--gold);
}

/* ── Animations ──────────────────────────────────────────── */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.75s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.55s;
}
.delay-4 {
  animation-delay: 0.7s;
}
.delay-5 {
  animation-delay: 0.85s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Divider line accent ─────────────────────────────────── */
.hero::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 3rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

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

  .pillars {
    grid-template-columns: 1fr;
  }

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

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

  .status-dot {
    animation: none;
  }
}
