:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #475569;
  --primary: #0052cc;
  --primary-hover: #003d99;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.main-nav a:hover {
  color: var(--primary);
}

/* Hero & Center Logo Stage */
.hero-stage-section {
  padding: 56px 0 72px;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.stage-intro h1 {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  color: var(--text);
  margin-bottom: 36px;
}

/* Interactive Stage Container */
.rotator-viewport {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 36px;
  cursor: pointer;
}

.rotator-card {
  display: grid;
  width: 100%;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

/* Both faces occupy the exact same grid cell */
.rotator-face {
  grid-area: 1 / 1;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

/* Default State: Centered Logo Visible */
.rotator-front {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rotator-back {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  background: var(--surface);
}

/* Revealed State (On Hover / Scroll / Tap): Scrolls smoothly into the 3 boxes */
.rotator-viewport.is-revealed .rotator-front {
  opacity: 0;
  transform: translateY(-40px);
  pointer-events: none;
}

.rotator-viewport.is-revealed .rotator-back {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Center Logo Styling */
.logo-emblem-wrap {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stage-logo {
  max-width: 340px;
  width: 100%;
  height: auto;
  display: block;
}

.stage-fallback-mark {
  display: none;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.stage-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 18px;
}

.interaction-hint {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
}

/* 3 Pillar Boxes */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  width: 100%;
  margin-bottom: 24px;
}

.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.pillar-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.pillar-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.flip-reset-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.flip-reset-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* CTA Buttons */
.cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Ventures Section */
.ventures {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-heading p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.venture-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.venture-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.venture-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.venture-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.status-dot {
  color: #059669;
  font-weight: 600;
}

.status-pending {
  color: #d97706;
}

.venture-link {
  color: var(--primary);
  font-weight: 600;
  margin-top: auto;
  padding-top: 8px;
}

.venture-link:hover {
  text-decoration: underline;
}

.venture-link-muted {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: auto;
  padding-top: 8px;
}

/* Footer */
.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-email {
  margin-top: 12px;
}

.footer-email a {
  color: var(--primary);
  font-weight: 500;
}

.footer-nav {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  color: var(--text);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-disclosures {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

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

  .brand-title {
    font-size: 1.5rem;
  }
}