/* ===================================
   EmpowHER Brand Design System — Luxury Edition
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Lato:wght@300;400;700;900&display=swap');

/* --- CSS Variables --- */
:root {
  --cream:       #f4ede5;
  --blush-light: #f7d7cf;
  --blush:       #dcbeb0;
  --mauve:       #d9afa0;
  --rose-taupe:  #c7a6a3;
  --sienna:      #6a3f2a;
  --espresso:    #4a2e1f;
  --white:       #ffffff;

  --font-header: 'Playfair Display', Georgia, serif;
  --font-body:   'Lato', sans-serif;

  --max-width:    1080px;
  --section-v:    100px;
  --section-v-sm: 64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  line-height: 1.15;
  color: var(--espresso);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem);     font-weight: 600; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.02em; }
p  { margin-bottom: 1.2em; }
em { font-style: italic; }
strong { font-weight: 700; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
section { padding: var(--section-v) 32px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }

/* --- Eyebrow --- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna);
  display: block;
  margin-bottom: 16px;
}

/* --- Elegant Divider --- */
.divider {
  width: 64px;
  height: 1px;
  background: var(--mauve);
  margin: 22px 0 32px;
}
.divider-center { margin: 22px auto 32px; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--sienna);
  color: var(--white);
  border-color: var(--sienna);
}
.btn-primary:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--sienna);
  border-color: var(--sienna);
}
.btn-outline:hover {
  background: var(--sienna);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-light {
  background: var(--white);
  color: var(--espresso);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--blush-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* --- Navigation --- */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--blush);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; flex-direction: column; gap: 1px; }
.nav-logo {
  font-family: var(--font-header);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: 0.01em;
  line-height: 1;
}
.nav-logo span { color: var(--sienna); }
.nav-bestie {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sienna); }
.nav-links .nav-cta a {
  background: var(--sienna);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 2px;
  border: 1.5px solid var(--sienna);
  transition: all 0.2s;
}
.nav-links .nav-cta a:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--white);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--espresso);
}

/* --- Photo Frame --- */
.photo-frame {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: var(--blush);
  flex-shrink: 0;
  border: 3px solid var(--blush);
  box-shadow: 0 8px 32px rgba(74,46,31,0.15);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, var(--mauve), var(--sienna));
}
.photo-frame--lg  { width: 220px; height: 220px; }
.photo-frame--md  { width: 140px; height: 140px; }
.photo-frame--sm  { width: 88px;  height: 88px;  }
.photo-frame--lg  .photo-fallback { font-size: 4rem; }
.photo-frame--md  .photo-fallback { font-size: 2.5rem; }
.photo-frame--sm  .photo-fallback { font-size: 1.8rem; }

/* --- Readability fixes (Frannie pass) --- */
/* 1. Lock all body text to full espresso — no fading */
p, li { color: var(--espresso); }

/* 2. Improve contrast for secondary labels — rose-taupe was too light */
.offer-meta, .register-details, .footer-copy { color: var(--mauve); }

/* 3. Light-section text on espresso backgrounds — ensure legibility */
.bg-espresso p, section.urshala-teaser p,
section.about-hero p, section.workshop-hero p,
section.about-cta p { color: #f0d8ce; }

/* 4. Price tag note text — was too faint */
.price-tag span { color: var(--rose-taupe); font-size: 0.88rem; }

/* 5. Session button time line — was 70% opacity, hard to read */
.session-btn .session-time { opacity: 0.9; font-size: 0.78rem; }

/* --- Social Links --- */
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--blush);
  color: var(--espresso);
  transition: all 0.2s;
  background: transparent;
}
.social-link:hover {
  background: var(--sienna);
  border-color: var(--sienna);
  color: var(--white);
  transform: translateY(-2px);
}
.social-link svg { width: 16px; height: 16px; fill: currentColor; }
.social-links--light .social-link {
  border-color: rgba(255,255,255,0.25);
  color: var(--blush-light);
}
.social-links--light .social-link:hover {
  background: var(--white);
  color: var(--espresso);
  border-color: var(--white);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--blush);
  border-radius: 2px;
  padding: 40px 36px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 24px rgba(74,46,31,0.08); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* --- Testimonial --- */
.testimonial-block {
  background: var(--white);
  border-left: 3px solid var(--mauve);
  padding: 36px 40px;
  border-radius: 0 2px 2px 0;
}
.testimonial-text {
  font-family: var(--font-header);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--espresso);
  margin-bottom: 24px;
}
.testimonial-attr {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sienna);
}

/* --- Price Tag --- */
.price-tag {
  font-family: var(--font-header);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sienna);
}
.price-tag span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--rose-taupe);
}

/* --- Pull Quote --- */
.pull-quote {
  background: var(--cream);
  border-left: 3px solid var(--sienna);
  padding: 24px 32px;
  margin: 36px 0;
  border-radius: 0 2px 2px 0;
}
.pull-quote p {
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--espresso);
  margin: 0;
}

/* --- Footer --- */
footer {
  background: var(--espresso);
  color: var(--blush-light);
  padding: 64px 32px 48px;
  text-align: center;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-logo {
  font-family: var(--font-header);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}
.footer-bestie {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 20px;
  display: block;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--mauve);
  margin-bottom: 28px;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-links a {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blush);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.75rem;
  color: var(--rose-taupe);
  margin: 0;
}

/* --- Utility --- */
.text-center   { text-align: center; }
.text-sienna   { color: var(--sienna); }
.bg-cream      { background: var(--cream); }
.bg-blush      { background: var(--blush-light); }
.bg-espresso   { background: var(--espresso); color: var(--white); }
.italic        { font-style: italic; }
.mb-0          { margin-bottom: 0; }

/* --- Responsive --- */
@media (max-width: 768px) {
  :root { --section-v: 64px; }
  section { padding: var(--section-v) 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--blush);
    padding: 24px 20px;
    gap: 20px;
  }
  .card-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 20px; }
  .footer-social { gap: 10px; }
}
