/* ============================================================
   Cain & Co — Editorial Theme
   Premium advisory: deep forest, warm ivory, Cormorant Garamond
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest:        #1a3329;
  --forest-deep:   #0f1f18;
  --forest-mid:    #243d2e;
  --forest-light:  #2d4d3a;
  --cream:         #faf7f0;
  --cream-warm:    #f5f0e6;
  --ivory:         #ede8de;
  --sage:          #8a9e8e;
  --sage-light:    #a8b8a8;
  --sage-pale:     #c8d4c8;
  --text:          #2a3830;
  --text-mid:      #4a5e53;
  --text-muted:    #6e8076;
  --border:        #d9d3c8;
  --border-light:  #e8e2d8;
  --gold:          #8c7040;
  --gold-light:    #b0975e;
  --white:         #ffffff;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--forest); color: var(--cream); }
a { color: inherit; }

/* === TYPOGRAPHY SYSTEM === */
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-headline.centered { text-align: center; }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 60px;
}

.section-intro.centered { text-align: center; }

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

/* === SHARED BUTTONS === */
.btn-primary {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cream);
  background: var(--forest);
  padding: 14px 32px;
  text-decoration: none;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--forest-mid); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--forest); border-color: var(--forest); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(250, 247, 240, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled {
  box-shadow: 0 2px 24px rgba(26, 51, 41, 0.07);
}

.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--forest); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--cream) !important;
  background: var(--forest);
  padding: 8px 20px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--forest-mid) !important; }
.nav-cta::after { display: none !important; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--forest);
  padding: 4px;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--forest-deep);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-nav.open { display: flex; }

.mobile-nav-close {
  position: absolute;
  top: 28px; right: 28px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-links { list-style: none; }
.mobile-nav-links li { text-align: center; }
.mobile-nav-links a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--cream);
  text-decoration: none;
  display: block;
  padding: 12px 0;
  transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--gold-light); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 100px;
  background: var(--cream);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(138, 158, 142, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { max-width: 760px; position: relative; z-index: 1; }

.hero-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--forest);
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 48px;
}

.hero-actions {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--cream-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 48px 48px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0 48px;
}

.stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   EDITORIAL STATEMENT
   ============================================================ */
.editorial-statement {
  padding: 120px 48px;
  background: var(--cream);
}

.editorial-inner {
  max-width: 860px;
  margin: 0 auto;
}

.editorial-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 32px;
}

.editorial-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.9;
  font-weight: 300;
  max-width: 640px;
}

/* ============================================================
   DARK SECTION
   ============================================================ */
.dark-section {
  background: var(--forest-deep);
  padding: 120px 48px;
}

.dark-inner {
  max-width: 760px;
  margin: 0 auto;
}

.dark-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.dark-body {
  font-size: 1rem;
  color: rgba(250, 247, 240, 0.65);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 20px;
}
.dark-body:last-child { margin-bottom: 0; }

/* ============================================================
   WHO WE WORK WITH
   ============================================================ */
.who-we-work-with {
  padding: 120px 48px;
  background: var(--cream-warm);
  border-top: 1px solid var(--border-light);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 0;
}

.audience-card {
  padding: 48px 40px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  transition: border-color 0.3s;
}
.audience-card:hover { border-color: var(--sage-pale); }

.audience-tag {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.audience-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 16px;
}

.audience-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}

/* ============================================================
   WHO WE ARE
   ============================================================ */
.who-we-are {
  padding: 120px 48px;
  background: var(--cream);
  border-top: 1px solid var(--border-light);
}

.who-we-are-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  max-width: 700px;
  margin-bottom: 52px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-item {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.logo-sep {
  color: var(--border);
  font-size: 1.2rem;
}

/* ============================================================
   CONSUMER INNOVATION
   ============================================================ */
.consumer-innovation {
  padding: 120px 48px;
  background: var(--cream-warm);
  border-top: 1px solid var(--border-light);
}

.consumer-body-col {
  max-width: 680px;
  margin-bottom: 56px;
}

.consumer-body {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 16px;
}
.consumer-body:last-child { margin-bottom: 0; }

.consumer-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.consumer-card {
  padding: 44px 40px;
  background: var(--cream);
  border: 1px solid var(--border-light);
}

.consumer-card-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--forest);
  line-height: 1.5;
  font-weight: 400;
}

.consumer-card-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  margin-top: 14px;
}

/* ============================================================
   PULL QUOTE (The Room)
   ============================================================ */
.pull-quote-section {
  padding: 140px 48px;
  background: var(--cream);
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.pull-quote-inner {
  max-width: 800px;
  margin: 0 auto;
}

.pull-quote-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
  line-height: 1.35;
  position: relative;
  display: inline-block;
}

/* ============================================================
   CLOSE SECTION
   ============================================================ */
.close-section {
  padding: 120px 48px;
  background: var(--cream-warm);
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.close-inner {
  max-width: 600px;
  margin: 0 auto;
}

.close-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 24px;
}

.close-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
}

.close-footnote {
  margin-top: 28px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.close-link {
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}
.close-link:hover { border-color: var(--forest); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--forest-deep);
  padding: 52px 48px;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-brand { text-align: center; }

.footer-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.72rem;
  color: rgba(250, 247, 240, 0.4);
  letter-spacing: 0.1em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .audience-grid { grid-template-columns: 1fr; }
  .consumer-cards { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; gap: 32px; }
  .stat-item { padding: 0 24px; }
  .stat-divider { display: none; }
}

@media (max-width: 768px) {
  .site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }

  .hero { padding: 100px 24px 80px; }
  .hero-headline { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-actions { flex-direction: column; gap: 20px; }

  .stats-strip { padding: 40px 24px; }
  .stat-item { padding: 0 16px; }

  .editorial-statement,
  .dark-section,
  .who-we-work-with,
  .who-we-are,
  .consumer-innovation,
  .pull-quote-section,
  .close-section { padding: 80px 24px; }

  .section-container { padding: 0 24px; }

  .site-footer { padding: 40px 24px; }

  .logo-row { gap: 12px; }
  .logo-item { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .stat-item { flex: 1 0 40%; padding: 8px; }
  .stat-value { font-size: 1.6rem; }
}