/* ==========================================================================
   SocialFox Premium Agency Design System
   Brand Colors: Crimson Red (#C8102E), Grid Cream (#F7F5EF), Obsidian (#111111), White (#FFFFFF)
   Typography Specification (Canva Brand Profile):
   - Bernoru: Brand Logo lockups & wordmarks
   - Cormorant Garamond: Editorial accents, featured words, premium highlights
   - DM Sans: Everything else (UI, headings, body, buttons, navigation, footers)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,400..900;1,9..40,400..900&family=Outfit:wght@800;900&display=swap');

:root {
  /* Brand Profile Colors */
  --brand-red: #C8102E;
  --brand-red-dark: #A00B22;
  --brand-red-light: #E61E38;
  --brand-red-soft: rgba(200, 16, 46, 0.08);
  --brand-red-glow: rgba(200, 16, 46, 0.25);
  
  --bg-cream: #F7F5EF;
  --bg-cream-card: #FFFFFF;
  --bg-obsidian: #111111;
  --bg-obsidian-card: #1C1C1C;
  --bg-white: #FFFFFF;

  --text-dark: #111111;
  --text-muted: #555555;
  --text-serif: #222222;
  --text-white: #FFFFFF;
  --text-red: #C8102E;
  
  --border-grid: #EBE7DF;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-red: rgba(200, 16, 46, 0.3);

  /* Canva Brand Typography System */
  --font-logo: 'Bernoru', 'Outfit', sans-serif;
  --font-editorial: 'Cormorant Garamond', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-pop: 0 25px 60px rgba(200, 16, 46, 0.2);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Architectural Fine Grid Overlay Background */
body {
  position: relative;
  background-image: 
    linear-gradient(to right, rgba(235, 231, 223, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(235, 231, 223, 0.4) 1px, transparent 1px);
  background-size: 60px 60px;
  min-height: 100vh;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Common Typography & Accents */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-muted);
}

/* Cormorant Garamond Editorial Accent Highlights */
.editorial-highlight, .highlight, .serif-quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 600;
}

.brand-wordmark, .footer-wordmark {
  font-family: var(--font-logo);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-red {
  background-color: var(--brand-red);
  color: var(--text-white);
  box-shadow: 0 10px 24px rgba(200, 16, 46, 0.3);
}

.btn-red:hover {
  background-color: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(200, 16, 46, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: var(--text-white);
}

.section-padding {
  padding: 110px 0;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--brand-red);
  border-radius: 50%;
}

.section-heading {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 840px;
}

.section-subtext {
  font-family: var(--font-body);
  font-size: 1.15rem;
  max-width: 680px;
  margin-bottom: 48px;
  color: var(--text-muted);
}

@media (max-width: 576px) {
  .btn {
    white-space: normal;
    word-break: break-word;
  }
}
