/*
Theme Name: Sandbox Women Up
Theme URI: https://master.ccgstaging.com
Description: Women Up child theme of Sandbox. Replaces single-post template with a brand-aligned editorial layout (one H1, "Back to Journal" link, Women Up nav + footer chrome, Cormorant/DM Sans/Open Sans typography). Moves the previously-bolted-on Customizer Additional CSS into a real stylesheet.
Author: Scott Harness (Campground Consulting Group)
Template: sandbox
Version: 1.0.0
Tags: child-theme, woman-up, editorial
*/

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=DM+Sans:wght@400;500;700;800;900&family=Open+Sans:wght@300;400;500;600&display=swap");

/* =====================================================================
   WOMEN UP BRAND TOKENS — scoped to wu-page wrapper so it does not bleed
   into Elementor pages that bring their own .wu tokens.
   ===================================================================== */
.wu-page {
  --bone:       #F5F1EC;
  --bone-d:     #EDE7DC;
  --obsidian:   #0A0A0A;
  --ink:        #1A1A1A;
  --muted:      #6B6760;
  --gold:       #C9A024;
  --gold-h:     #B5901F;
  --gold-l:     #E8C966;
  --sky:        #4AA9C2;
  --teal:       #1F6F5D;
  --indigo:     #2C2E4A;
  --amethyst:   #6A4C9F;
  --amethyst-d: #3B2A5F;
  --amethyst-l: #9176C2;
  --ember:      #A2333B;
  --burgundy:   #841C2D;
  --whisper:    rgba(245,241,236,0.7);
  --whisper-d:  rgba(245,241,236,0.45);

  --serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;
  --body:  'Open Sans', system-ui, sans-serif;

  font-family: var(--body);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wu-page *, .wu-page *::before, .wu-page *::after { box-sizing: border-box; }
.wu-page img { display: block; max-width: 100%; }
.wu-page a { text-decoration: none; color: inherit; }

/* Body reset for single-post pages — fight Sandbox theme containers */
body.single-post {
  margin: 0;
  background: var(--bone, #F5F1EC);
}
body.single-post .site-header,
body.single-post .site-footer,
body.single-post #page-banner,
body.single-post .sidebar,
body.single-post #sidebar,
body.single-post .widget-area,
body.single-post .breadcrumbs,
body.single-post .post-banner,
body.single-post .page-header { display: none !important; }

/* =====================================================================
   WU-NAV — floating top nav, fades to obsidian on scroll
   ===================================================================== */
.wu-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}
.wu-nav.scrolled,
.wu-nav.wu-nav-scrolled,
.wu-nav.always-solid {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 14px;
  padding-bottom: 14px;
}
.wu-nav .brand { display: inline-flex; align-items: center; gap: 8px; }
.wu-nav .brand .lotus {
  width: 48px;
  height: auto;
  color: #C9A024;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}
.wu-nav .brand:hover .lotus { transform: rotate(15deg); }
.wu-nav .brand .wordmark {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #F5F1EC;
}
.wu-nav .links { display: flex; gap: clamp(20px, 3vw, 40px); align-items: center; }
@media (max-width: 900px) {
  .wu-nav .links .ln { display: none; }
}
.wu-nav .links .ln {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F5F1EC;
  transition: color 0.2s ease;
}
.wu-nav .links .ln:hover { color: #C9A024; }
.wu-nav .reserve {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: #C9A024;
  color: #0A0A0A;
  transition: background 0.2s ease, transform 0.2s ease;
}
.wu-nav .reserve:hover { background: #E8C966; transform: translateY(-1px); }

/* Mobile burger + overlay */
.wu-burger { display: none; background: none; border: none; padding: 10px 6px; cursor: pointer; position: relative; z-index: 110; }
.wu-burger span {
  display: block; width: 26px; height: 2px;
  background: #F5F1EC; margin: 6px 0;
  transition: transform 0.35s ease, opacity 0.25s ease, background 0.3s ease;
  transform-origin: center;
}
.wu-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.wu-burger.open span:nth-child(2) { opacity: 0; }
.wu-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 900px) {
  .wu-nav .links { display: none; }
  .wu-nav .reserve { display: none; }
  .wu-burger { display: inline-block; }
}

.wu-nav-overlay {
  position: fixed; inset: 0; z-index: 105;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(200, 180, 224, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(94, 18, 26, 0.6) 0%, transparent 60%),
    linear-gradient(160deg, #3B2A5F 0%, #2A1240 50%, #5A0F1C 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 28px; padding: 80px clamp(24px, 6vw, 60px) 60px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s ease, visibility 0s 0.4s;
}
.wu-nav-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.4s ease, visibility 0s; }
.wu-nav-close { position: absolute; top: 22px; right: 22px; background: none; border: none; color: #F5F1EC; cursor: pointer; padding: 10px; z-index: 2; }
.wu-nav-overlay-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.wu-nav-overlay-inner a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1; letter-spacing: -0.01em;
  color: #F5F1EC; transition: color 0.2s ease;
}
.wu-nav-overlay-inner a:hover { color: #C9A024; }
.wu-nav-overlay-inner a.reserve {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 36px; background: #C9A024; color: #0A0A0A;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
}
.wu-nav-overlay-inner a.reserve:hover { background: #E8C966; color: #0A0A0A; }
.wu-nav-overlay-tag {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-size: 15px; color: rgba(245,241,236,0.7); text-align: center;
}

/* =====================================================================
   WU-SINGLE — single-post article shell
   ===================================================================== */
.wu-single {
  min-height: 60vh;
  background: #F5F1EC;
  padding: 140px clamp(20px, 5vw, 56px) 100px;
}
.wu-single-inner {
  max-width: 720px;
  margin: 0 auto;
}
.wu-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #C9A024;
  margin-bottom: 36px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.wu-back:hover { color: #B5901F; transform: translateX(-3px); }
.wu-back .arrow { display: inline-block; font-size: 14px; line-height: 1; }

.wu-single h1.wu-title {
  font-family: 'Cormorant Garamond', Garamond, Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #0A0A0A;
  margin: 0 0 22px;
}
.wu-meta {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6B6760;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(10,10,10,0.1);
}
.wu-meta a { color: #C9A024; transition: color 0.2s ease; }
.wu-meta a:hover { color: #B5901F; }
.wu-meta .wu-meta-sep {
  display: inline-block;
  margin: 0 12px;
  color: #C9A024;
  font-weight: 600;
}

/* =====================================================================
   WU-SINGLE-HERO — featured image between meta and article body
   ===================================================================== */
.wu-single-hero {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto 2.5rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (max-width: 768px) {
  .wu-single-hero {
    aspect-ratio: 4 / 3;
    margin-bottom: 1.5rem;
  }
}

/* =====================================================================
   WU article body typography — Open Sans 17/1.78, gold accents
   ===================================================================== */
.wu-content {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: #1A1A1A;
}
.wu-content > * + * { margin-top: 1.3em; }
.wu-content p { font-size: 17px; line-height: 1.78; }
.wu-content p:first-of-type::first-letter,
.wu-content > p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 3.4em;
  line-height: 0.9;
  float: left;
  padding: 8px 14px 0 0;
  color: #C9A024;
}

.wu-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.15;
  color: #0A0A0A;
  margin-top: 2em;
  margin-bottom: 0.5em;
  letter-spacing: -0.01em;
}
.wu-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  color: #0A0A0A;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}
.wu-content h4, .wu-content h5, .wu-content h6 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6B6760;
  margin-top: 2em;
  margin-bottom: 0.4em;
}

.wu-content a { color: #C9A024; border-bottom: 1px solid rgba(201,160,36,0.35); transition: color 0.2s ease, border-color 0.2s ease; }
.wu-content a:hover { color: #B5901F; border-bottom-color: #B5901F; }

.wu-content blockquote {
  margin: 1.8em 0;
  padding: 6px 0 6px 28px;
  border-left: 3px solid #C9A024;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.35;
  color: #0A0A0A;
}
.wu-content blockquote p { font-size: inherit; line-height: inherit; }
.wu-content blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6B6760;
}

.wu-content ul, .wu-content ol { padding-left: 1.5em; margin-left: 0.2em; }
.wu-content ul li { list-style: disc; margin-bottom: 0.5em; }
.wu-content ol li { list-style: decimal; margin-bottom: 0.5em; }
.wu-content li::marker { color: #C9A024; }

.wu-content img,
.wu-content figure {
  margin: 2em auto;
  max-width: 100%;
  height: auto;
}
.wu-content figcaption {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B6760;
  margin-top: 10px;
  text-align: center;
}

.wu-content hr {
  border: none;
  height: 1px;
  background: rgba(10,10,10,0.12);
  margin: 2.4em 0;
}
.wu-content hr.wu-divider-gold {
  background: none;
  text-align: center;
  margin: 2.4em 0;
}
.wu-content hr.wu-divider-gold::before {
  content: '✷';
  color: #C9A024;
  font-size: 22px;
}

.wu-content pre, .wu-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #EDE7DC;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
}
.wu-content pre { padding: 16px; overflow-x: auto; }
.wu-content pre code { background: none; padding: 0; }

.wu-content strong { font-weight: 600; color: #0A0A0A; }
.wu-content em { font-style: italic; }

/* Bottom divider before back-to-journal */
.wu-single-footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(10,10,10,0.1);
  text-align: center;
}
.wu-single-footer .wu-back { margin-bottom: 0; }

/* =====================================================================
   WU-FOOTER — obsidian site footer with marquee + brand block + nav rows
   ===================================================================== */
.wu-footer {
  position: relative;
  background: #0A0A0A;
  color: #F5F1EC;
  padding: 0 0 56px;
  overflow: hidden;
}
.wu-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 56px) 0;
  text-align: center;
}
.wu-footer-marquee {
  background: #3B2A5F;
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.wu-footer-marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: wu-footer-marquee 45s linear infinite;
}
.wu-footer-marquee:hover .wu-footer-marquee-track,
.wu-footer-marquee:focus-within .wu-footer-marquee-track { animation-play-state: paused; }
.wu-footer-marquee-track .word {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #C9A024;
  padding: 0 24px;
}
.wu-footer-marquee-track .sep {
  color: #C9A024;
  font-size: 24px;
  padding: 0 4px;
}
@keyframes wu-footer-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .wu-footer-marquee { padding: 14px 0; }
  .wu-footer-marquee-track { animation-duration: 30s; }
  .wu-footer-marquee-track .dup { display: none; }
}
.wu-footer-brand { margin-bottom: 22px; }
.wu-footer-lotus { display: flex; justify-content: center; margin-bottom: 14px; color: #C9A024; }
.wu-footer-lotus svg { width: 56px; height: auto; }
@media (max-width: 600px) {
  .wu-footer-lotus svg { width: 44px; }
}
.wu-footer-wordmark {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #F5F1EC;
  margin: 0 0 8px;
}
.wu-footer .wu-footer-brand .wu-footer-tag {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(245,241,236,0.7);
  margin: 0;
}
@media (max-width: 600px) {
  .wu-footer .wu-footer-brand .wu-footer-tag { font-size: 15px; }
}
.wu-footer-social-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 28px;
}
.wu-footer-quicknav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px 0; margin-bottom: 14px;
}
.wu-footer-quicknav a {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,241,236,0.85);
  padding: 4px 14px;
  position: relative;
  transition: color 0.2s ease;
}
@media (max-width: 600px) {
  .wu-footer-quicknav a { font-size: 12px; padding: 4px 8px; }
}
.wu-footer-quicknav a::after {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 1px; background: #C9A024;
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.25s ease;
}
.wu-footer-quicknav a:hover,
.wu-footer-quicknav a:focus-visible { color: #C9A024; }
.wu-footer-quicknav a:hover::after,
.wu-footer-quicknav a:focus-visible::after { transform: scaleX(1); }
.wu-footer-quicknav .sep { color: #C9A024; font-size: 14px; padding: 0 2px; opacity: 0.7; }
@media (prefers-reduced-motion: reduce) {
  .wu-footer-quicknav a::after { transition: none; }
}
.wu-footer-legal-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0; margin-bottom: 22px;
}
.wu-footer-legal-row a {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,241,236,0.6);
  padding: 4px 12px;
  transition: color 0.2s ease;
}
.wu-footer-legal-row a:hover,
.wu-footer-legal-row a:focus-visible { color: #C9A024; }
.wu-footer-legal-row .sep { color: #C9A024; font-size: 12px; opacity: 0.55; }
.wu-footer-copy {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,241,236,0.5);
  margin: 0;
}
.wu-footer-social a {
  display: inline-flex;
  width: 38px; height: 38px;
  border: 1px solid rgba(245,241,236,0.25);
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: rgba(245,241,236,0.85);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.wu-footer-social a:hover,
.wu-footer-social a:focus-visible { color: #C9A024; border-color: #C9A024; transform: translateY(-2px); }
.wu-footer-social svg { width: 18px; height: 18px; }
