/* GLOBAL ROOT VARIABLES */
:root {
  --primary: #FF6A00;
  --secondary: #00C2C7;
  --bg: #0d0d0d;
  --bg-alt: #111;
  --card: #1A1A1A;
  --text: #F5F5F5;
  --muted: #CFCFCF;
  --radius: 10px;
  --max-width: 1100px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  font-size: 1.05rem;

  /* Background image */
  background-image: url("../images/background_image.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* DARK OVERLAY */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: -1;
}

/* LINKS */
a {
  color: inherit;
  text-decoration: none;
}

/* HEADINGS */
h1, h2, h3 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

h1 { font-size: 2.25rem; text-align: center; }
h2 { font-size: 1.7rem; text-align: center; }
h3 { font-size: 1.15rem; }

/* PARAGRAPHS */
p {
  margin-bottom: 0.75rem;
}

.muted {
  color: var(--muted);
}

/* CONTAINER */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem;
}

/* FLEX UTILITIES */
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* BADGES */
.identity-badge,
.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: #1A1A1A;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.identity-badge { color: var(--secondary); }
.section-badge { color: var(--secondary); }

/* GRID (used across pages) */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* INLINE LINK (teal underline hover) */
.inline-link {
  display: inline-block;
  position: relative;
  padding-bottom: 2px;
  color: var(--muted);
  transition: color 0.25s ease;
}

.inline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.25s ease;
}

.inline-link:hover {
  color: var(--secondary);
}

.inline-link:hover::after {
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 1.85rem; }

  /* Mobile logo scaling */
  .site-logo { height: 70px; }
  .logo-line1 { font-size: 32px; }
  .logo-line2 { font-size: 20px; }
}