/*
Theme Name: Conscious Integrative Wellness
Theme URI: https://consciousintegrativewellness.com
Author: CIW
Author URI: https://consciousintegrativewellness.com
Description: The Conscious Integrative Wellness theme — a premium performance-coaching identity built on Cormorant + Barlow, with gold accents on a warm-black palette.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: ciw
*/

/* ============================================================
   SHARED DESIGN SYSTEM
   These styles are loaded on every page. Page-specific styles
   (hero, section layouts, etc.) live in each page template.
   ============================================================ */

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

:root {
  --black:      #0a0a09;
  --dark:       #111110;
  --surface:    #161614;
  --surface-2:  #1c1c1a;
  --border:     rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.12);
  --gold:       #b8935a;
  --gold-light: #d4aa74;
  --gold-dim:   rgba(184,147,90,0.12);
  --white:      #f5f2ec;
  --w70:        rgba(245,242,236,0.70);
  --w45:        rgba(245,242,236,0.45);
  --w25:        rgba(245,242,236,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--w70);
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(10,10,9,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Barlow Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--white); text-decoration: none;
  display: flex; flex-direction: column;
  line-height: 1.15;
}
.nav-logo .nl-mark {
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.nav-logo .nl-mark em { color: var(--gold); font-style: normal; }
.nav-logo .nl-full {
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--w45);
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links li {
  display: flex; align-items: center;
  padding: 0 1.4rem;
  border-right: 1px solid var(--border);
}
.nav-links li:last-child {
  border-right: none;
  padding-left: 1.6rem;
  padding-right: 0;
}
.nav-links li:first-child { padding-left: 0; }
.nav-links a {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--w45); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--w70); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid rgba(184,147,90,0.4) !important;
  padding: 7px 18px; border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-dim) !important; }

/* ── SHARED TYPE ── */
.s-label {
  font-family: 'Barlow Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.s-title {
  font-family: 'Cormorant', Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.s-title em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.s-body {
  font-size: 16px; font-weight: 300; line-height: 1.7;
  color: var(--w70); max-width: 680px;
}
section { padding: 7rem 4rem; }
.sec-inner { max-width: 1280px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  font-family: 'Barlow Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  font-family: 'Barlow Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--w70);
  background: transparent;
  border: 1px solid var(--border-mid);
  padding: 13px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--gold); border-color: rgba(184,147,90,0.4); }

/* ── FOOTER ── */
footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 4rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 2rem;
}
.footer-logo {
  font-family: 'Barlow Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--w70); text-decoration: none;
}
.footer-logo em { color: var(--gold); font-style: normal; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-family: 'Barlow Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--w45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-meta { font-size: 11px; color: var(--w25); letter-spacing: 0.04em; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 1; transform: none;
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.js-enabled .reveal { opacity: 0; transform: translateY(24px); }
.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }

/* ── HAMBURGER TOGGLE (hidden on desktop) ── */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 102;
  position: relative;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── RESPONSIVE (nav + footer only — page-specific mobile lives in page templates) ── */
@media (max-width: 900px) {
  nav { padding: 0.75rem 1.5rem; }
  .nav-logo .nl-mark { font-size: 13px; letter-spacing: 0.18em; }
  .nav-logo .nl-full { font-size: 8px; letter-spacing: 0.14em; }
  .nav-toggle { display: block !important; }
  .nav-links {
    position: fixed !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important;
    width: min(85%, 380px) !important;
    background: var(--black) !important;
    border-left: 1px solid var(--border-mid);
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding: 6rem 2.5rem 3rem !important;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 101 !important;
    list-style: none;
    margin: 0;
  }
  .nav-links.open { transform: translateX(0) !important; }
  .nav-links li {
    padding: 1.25rem 0 !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    width: 100% !important;
    justify-content: flex-start !important;
    display: block !important;
  }
  .nav-links li:last-child {
    padding-left: 0 !important;
    padding-top: 2rem !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }
  .nav-links a {
    font-size: 13px !important;
    letter-spacing: 0.18em !important;
    width: 100%;
    display: block !important;
  }
  .nav-cta {
    display: inline-block !important;
    padding: 10px 22px !important;
  }
  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 9, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99;
    animation: fadeIn 0.3s ease;
  }
  body.nav-open { overflow: hidden; }
  section { padding: 4rem 1.5rem; }
  footer { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
