/* ============================================
   ZenWeddings — Custom Styles
   Luxury Editorial Minimalism
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-linen: #F5F5F0;
  --color-sage: #4A5D4E;
  --color-charcoal: #2C2C2C;
  --color-soft-sage: #8FA898;
  --color-blush: #E8DDD3;
  --color-white: #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

/* --- Base Reset & Defaults --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-charcoal);
  background-color: var(--color-linen);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-sage);
  text-decoration: none;
  transition: color var(--transition-base);
}
a:hover { color: var(--color-charcoal); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-charcoal);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

p { max-width: 65ch; }

.text-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-soft-sage);
}

.text-large {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.6;
  font-weight: 300;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--color-sage);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(245, 245, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-charcoal);
  letter-spacing: -0.02em;
}
.nav-logo:hover { color: var(--color-sage); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-charcoal);
  letter-spacing: 0.02em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-sage);
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--color-charcoal);
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--color-linen);
    transition: right var(--transition-base);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
  }

  .nav-links.open { right: 0; }

  .nav-links a { font-size: 1.125rem; }
}

/* --- Page Transition Overlay --- */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-linen);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-short {
  min-height: 60vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(245, 245, 240, 0.92) 0%,
    rgba(245, 245, 240, 0.75) 50%,
    rgba(245, 245, 240, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  width: 100%;
}

.hero-content h1 {
  max-width: 55%;
  margin-bottom: 1.5rem;
}

.hero-content .text-large {
  max-width: 45%;
  margin-bottom: 2.5rem;
  color: rgba(44, 44, 44, 0.8);
}

@media (max-width: 768px) {
  .hero-content h1,
  .hero-content .text-large {
    max-width: 90%;
  }
}

/* Breathe Animation */
.breathe-circle {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid var(--color-soft-sage);
  opacity: 0.4;
  animation: breathe 8s ease-in-out infinite;
}

.breathe-circle::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid var(--color-soft-sage);
  opacity: 0.6;
  animation: breathe 8s ease-in-out infinite 0.5s;
}

@keyframes breathe {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.2; }
  30% { transform: translateY(-50%) scale(1.15); opacity: 0.5; }
  60% { transform: translateY(-50%) scale(1.05); opacity: 0.3; }
}

@media (max-width: 768px) {
  .breathe-circle {
    width: 120px;
    height: 120px;
    right: 5%;
    opacity: 0.2;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.875rem 2rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--color-sage);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-sage);
  border: 1px solid var(--color-sage);
}
.btn-outline:hover {
  background: var(--color-sage);
  color: var(--color-white);
}

.btn-affiliate {
  background: var(--color-sage);
  color: var(--color-white);
  font-size: 0.8125rem;
  padding: 0.625rem 1.5rem;
  letter-spacing: 0.04em;
}
.btn-affiliate:hover {
  background: #3d4e41;
  color: var(--color-white);
}
.btn-affiliate::after {
  content: ' \2192';
}

/* --- Editorial Spacing --- */
.section-breathe { padding: 6rem 0; }
.section-expansive { padding: 8rem 0; }
.section-compact { padding: 4rem 0; }

@media (min-width: 769px) {
  .section-breathe { padding: 8rem 0; }
  .section-expansive { padding: 12rem 0; }
  .section-compact { padding: 5rem 0; }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Asymmetric layouts */
.editorial-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.editorial-grid-left {
  grid-template-columns: 45% 1fr;
}

.editorial-grid-right {
  grid-template-columns: 1fr 45%;
}

@media (max-width: 768px) {
  .editorial-grid-left,
  .editorial-grid-right {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Stress-O-Meter --- */
.stress-section {
  background: var(--color-sage);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.stress-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.quiz-progress {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.15);
  margin-bottom: 3rem;
  border-radius: 2px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--color-white);
  transition: width 0.5s var(--ease-out-expo);
  border-radius: 2px;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  color: var(--color-white);
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

.mood-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mood-tile {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1.5rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.mood-tile:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.mood-tile.selected {
  background: rgba(255,255,255,0.2);
  border-color: var(--color-white);
}

.mood-tile-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  display: block;
}

.mood-tile-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-white);
  display: block;
  margin-bottom: 0.25rem;
}

.mood-tile-desc {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  display: block;
  font-weight: 300;
}

/* Quiz Results */
.quiz-results {
  text-align: center;
}

.score-display {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.score-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.tier-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.tier-message {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto 1rem;
  font-weight: 300;
}

.tier-advice {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  font-style: italic;
}

.product-recs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.product-rec {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.product-rec-info h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.product-rec-info p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

.product-rec .btn-affiliate {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .product-rec {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }
}

.quiz-restart {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  transition: color var(--transition-base);
}
.quiz-restart:hover { color: var(--color-white); }

/* --- Triptych Cards --- */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.triptych-card {
  background: var(--color-white);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.triptych-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.triptych-card:nth-child(2) {
  margin-top: 3rem;
}

.triptych-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.triptych-card-body {
  padding: 1.75rem;
}

.triptych-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.triptych-card-body p {
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.card-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-sage);
}
.card-link::after { content: ' \2192'; }

@media (max-width: 768px) {
  .triptych {
    grid-template-columns: 1fr;
  }
  .triptych-card:nth-child(2) {
    margin-top: 0;
  }
}

/* --- Product Categories (Essentials) --- */
.product-card {
  background: var(--color-white);
  padding: 1.75rem;
  border: 1px solid rgba(74, 93, 78, 0.08);
  transition: box-shadow var(--transition-base);
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.product-card h4 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.65);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Benefits Grid (About) --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.benefit-card {
  padding: 2rem 0;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-sage);
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.9375rem;
  color: rgba(44, 44, 44, 0.7);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- Pull Quote --- */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.3;
  color: var(--color-sage);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  font-size: 6rem;
  color: var(--color-soft-sage);
  opacity: 0.3;
  position: absolute;
  top: -2.5rem;
  left: -1rem;
  line-height: 1;
}

/* --- AdSense Zone --- */
.adsense-zone {
  background: var(--color-blush);
  padding: 2rem;
  text-align: center;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adsense-zone .adsense-label {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(44, 44, 44, 0.35);
  font-weight: 400;
}

/* --- Inline Disclosure --- */
.inline-disclosure {
  font-size: 0.8125rem;
  color: rgba(44, 44, 44, 0.5);
  font-style: italic;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(74, 93, 78, 0.1);
  margin-top: 2rem;
}

/* --- Footer --- */
.footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  display: block;
}

.footer p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 35ch;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.footer-links a:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-pexels {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-pexels a {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}
.footer-pexels a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: rgba(44, 44, 44, 0.75);
  font-size: 0.9375rem;
}

.legal-content ul {
  margin: 0 0 1rem 1.5rem;
  color: rgba(44, 44, 44, 0.75);
  font-size: 0.9375rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* --- Section Backgrounds --- */
.bg-linen { background: var(--color-linen); }
.bg-white { background: var(--color-white); }
.bg-blush { background: var(--color-blush); }
.bg-sage { background: var(--color-sage); color: var(--color-white); }

/* --- Quiz Results (Rich Content) --- */
.result-strategies {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2rem;
}

.result-strategy {
  background: rgba(255,255,255,0.06);
  border-left: 2px solid rgba(255,255,255,0.25);
  padding: 1rem 1.25rem;
}

.result-strategy h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-white);
  margin-bottom: 0.375rem;
}

.result-strategy p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  font-weight: 300;
}

.result-exercise {
  background: rgba(255,255,255,0.06);
  padding: 1.75rem;
  text-align: left;
  margin-bottom: 2rem;
}

.result-exercise h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.result-exercise ol {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.result-exercise li {
  counter-increment: steps;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  padding-left: 1.75rem;
  position: relative;
  font-weight: 300;
}

.result-exercise li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

.result-conversations {
  text-align: left;
  margin-bottom: 2rem;
}

.result-conversations h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.conversation-prompt {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.conversation-prompt:last-child { border-bottom: none; }

.result-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.result-next-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.625rem 1.25rem;
  transition: all var(--transition-base);
  letter-spacing: 0.03em;
}

.result-next-link:hover {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}

.result-tools-divider {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 2.5rem auto;
}

.result-tools-section {
  text-align: left;
}

.result-tools-section .tools-intro {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
  margin-bottom: 1rem;
  font-style: italic;
}

.result-tool-item {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  padding: 0.5rem 0;
  font-weight: 300;
}

.result-tool-item a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
  text-underline-offset: 2px;
}
.result-tool-item a:hover { color: var(--color-white); }

/* --- Breathing Exercise Widget --- */
.breathing-widget {
  background: var(--color-sage);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.breathing-circle-interactive {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 4s ease-in-out, border-color 0.5s ease;
  position: relative;
}

.breathing-circle-interactive.inhale {
  transform: scale(1.3);
  border-color: rgba(255,255,255,0.6);
  transition-duration: 4s;
}

.breathing-circle-interactive.hold {
  transform: scale(1.3);
  border-color: rgba(255,255,255,0.4);
  transition-duration: 7s;
}

.breathing-circle-interactive.exhale {
  transform: scale(1);
  border-color: rgba(255,255,255,0.2);
  transition-duration: 8s;
}

.breathing-prompt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-white);
}

.breathing-cycle {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 1.5rem;
}

.breathing-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.breathing-btn {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.625rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-base);
}

.breathing-btn:hover {
  background: rgba(255,255,255,0.1);
}

.breathing-btn.active {
  background: var(--color-white);
  color: var(--color-sage);
}

/* --- Visualization Scripts --- */
.visualization-script {
  background: var(--color-blush);
  padding: 3rem 2rem;
  margin: 2rem 0;
}

.visualization-script-inner {
  max-width: 680px;
  margin: 0 auto;
}

.visualization-script p {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 2.2;
  color: var(--color-charcoal);
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.visualization-stage-direction {
  font-family: var(--font-body) !important;
  font-style: italic !important;
  font-size: 0.875rem !important;
  color: var(--color-soft-sage) !important;
  line-height: 1.8 !important;
  display: block;
  margin-bottom: 1rem;
}

/* --- Micro-Practice Cards --- */
.micro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.micro-practice-card {
  background: var(--color-white);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(74, 93, 78, 0.08);
  text-align: center;
  transition: box-shadow var(--transition-base);
}

.micro-practice-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.micro-practice-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.micro-practice-card h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.micro-practice-card .time-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-soft-sage);
  margin-bottom: 0.75rem;
  display: block;
}

.micro-practice-card p {
  font-size: 0.8125rem;
  color: rgba(44, 44, 44, 0.65);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .micro-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Masonry Gallery (Inspiration) --- */
.masonry-grid {
  columns: 3;
  column-gap: 1.5rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.masonry-item:hover img {
  transform: scale(1.03);
}

.masonry-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 300;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.masonry-item:hover .masonry-caption {
  opacity: 1;
}

@media (max-width: 1024px) {
  .masonry-grid { columns: 2; }
}

@media (max-width: 640px) {
  .masonry-grid { columns: 1; }
}

/* --- Idea Cards (Inspiration) --- */
.idea-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.idea-card {
  background: var(--color-white);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(74, 93, 78, 0.06);
  transition: box-shadow var(--transition-base);
}

.idea-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.idea-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
  display: block;
}

.idea-card p {
  font-size: 0.8125rem;
  color: rgba(44, 44, 44, 0.7);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .idea-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .idea-grid { grid-template-columns: 1fr; }
}

/* --- Quote Block (Inspiration) --- */
.quote-block {
  padding: 4rem 2rem;
  text-align: center;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.4;
  color: var(--color-sage);
  max-width: 700px;
  margin: 0 auto 1rem;
}

.quote-block cite {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--color-soft-sage);
  letter-spacing: 0.05em;
}

/* --- Article Cards --- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.article-card {
  background: var(--color-white);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-card-body {
  padding: 1.5rem;
}

.article-card-body .read-time {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-soft-sage);
  margin-bottom: 0.5rem;
  display: block;
}

.article-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
}

.article-card-body p {
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.65);
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .article-grid { grid-template-columns: 1fr; }
}

/* --- Our Pick Callout (inline affiliate) --- */
.our-pick {
  background: var(--color-blush);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-left: 3px solid var(--color-soft-sage);
}

.our-pick-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-soft-sage);
  margin-bottom: 0.375rem;
  display: block;
}

.our-pick p {
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.7);
  line-height: 1.6;
}

.our-pick a,
.affiliate-link {
  color: var(--color-sage);
  text-decoration: underline;
  text-decoration-color: var(--color-soft-sage);
  text-underline-offset: 2px;
}

/* --- Conversation Starter Box --- */
.conversation-box {
  background: var(--color-blush);
  padding: 2rem;
  margin: 2rem 0;
}

.conversation-box h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.conversation-box ol {
  list-style: none;
  counter-reset: convo;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.conversation-box li {
  counter-increment: convo;
  padding-left: 2rem;
  position: relative;
  font-size: 0.9375rem;
  color: rgba(44, 44, 44, 0.75);
  line-height: 1.6;
}

.conversation-box li::before {
  content: counter(convo);
  position: absolute;
  left: 0;
  font-weight: 500;
  color: var(--color-sage);
  font-size: 0.875rem;
}

/* --- Article Long-form Content --- */
.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 3rem 0 1.25rem;
}

.article-content h3 {
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.25rem;
  color: rgba(44, 44, 44, 0.8);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.25rem 1.5rem;
  color: rgba(44, 44, 44, 0.8);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  border-left: 3px solid var(--color-soft-sage);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-sage);
  line-height: 1.5;
}

/* --- Guide Timeline Stage --- */
.guide-stage {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(74, 93, 78, 0.08);
}

.guide-stage:last-child {
  border-bottom: none;
}

.guide-stage-number {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-soft-sage);
  margin-bottom: 0.75rem;
  display: block;
}

/* --- Coming Soon Badge --- */
.coming-soon {
  background: var(--color-blush);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.coming-soon h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.coming-soon p {
  font-size: 0.875rem;
  color: rgba(44, 44, 44, 0.6);
  max-width: 500px;
  margin: 0 auto;
}

/* --- Print Styles (Guide page) --- */
@media print {
  .nav, .footer, .scroll-progress, .page-transition,
  .breathe-circle, .adsense-zone { display: none !important; }

  body {
    background: white;
    color: black;
    font-size: 11pt;
  }

  .hero { min-height: auto; padding: 2rem 0; }
  .hero-bg, .hero-overlay { display: none; }

  .section-breathe, .section-expansive, .section-compact {
    padding: 1.5rem 0;
  }

  .reveal { opacity: 1; transform: none; }

  h1 { font-size: 24pt; }
  h2 { font-size: 18pt; }
  h3 { font-size: 14pt; }

  a { color: black; text-decoration: none; }
  a[href]::after { content: none; }
}

/* --- Photo Credits (Pexels Attribution Badge) --- */
.photo-credit {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: color var(--transition-base);
}
.photo-credit:hover { color: #fff; }
.photo-credit strong { font-weight: 500; }
.photo-credit .credit-icon { width: 0.625rem; height: 0.625rem; flex-shrink: 0; }

/* Triptych & article cards: position over image area */
.triptych-card .photo-credit,
.article-card .photo-credit {
  bottom: auto;
  top: 0.5rem;
  right: 0.5rem;
}

/* Masonry items: show on hover */
.masonry-item .photo-credit {
  opacity: 0;
  transition: opacity var(--transition-base), color var(--transition-base);
}
.masonry-item:hover .photo-credit { opacity: 1; }

@media print {
  .photo-credit { display: none; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .breathe-circle {
    animation: none;
    opacity: 0.2;
  }

  html { scroll-behavior: auto; }
}
