﻿/* ==========================================================================
   Natures Wealth - Luxury Brand Styling System
   Pure By Nature | Agarwood Management & Artisanal Pure Oud Oil
   ========================================================================== */

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

:root {
  /* Brand Color Palette (Extracted from Natures Wealth Logo) */
  --primary-green: #3F523E;
  --primary-green-dark: #273827;
  --primary-green-light: #5B725A;
  --earth-brown: #6E4935;
  --earth-brown-light: #8E654C;
  --earth-brown-dark: #4A3022;
  --accent-gold: #C99648;
  --accent-gold-light: #E0BA7A;
  --cream-bg: #FAF5EE;
  --cream-card: #F2EADF;
  --cream-card-hover: #E8DEC5;
  --cream-surface: #FFFFFF;
  --text-main: #222922;
  --text-muted: #647065;
  --text-light: #F4EFE6;

  /* Utilities & Shadows */
  --shadow-sm: 0 4px 12px rgba(63, 82, 62, 0.05);
  --shadow-md: 0 8px 30px rgba(63, 82, 62, 0.08);
  --shadow-lg: 0 16px 40px rgba(39, 56, 39, 0.12);
  --shadow-gold: 0 10px 25px rgba(201, 150, 72, 0.2);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
.font-heading {
  font-family: var(--font-heading);
  color: var(--primary-green-dark);
  font-weight: 600;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Fluid typography using clamp() — preserves desktop max sizes */
.hero-title {
  font-size: clamp(2.2rem, 8vw, 3.8rem);
}

.section-title {
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
}

.section-subtitle {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
}

.hero-description {
  font-size: clamp(0.95rem, 3.5vw, 1.2rem);
}

.about-hero-copy h1 {
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
}

.about-content h2 {
  font-size: clamp(1.4rem, 4.5vw, 2.6rem);
}

.about-cta h2 {
  font-size: clamp(1.25rem, 4vw, 2.2rem);
}

.main-result-val {
  font-size: clamp(1.8rem, 6vw, 3rem);
}

.product-title {
  font-size: clamp(1rem, 3.5vw, 1.35rem);
}

.footer-title {
  font-size: clamp(1rem, 3vw, 1.15rem);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--earth-brown);
  background-color: rgba(110, 73, 53, 0.08);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag svg {
  width: 14px;
  height: 14px;
  fill: var(--earth-brown);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: var(--primary-green-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--text-light);
  box-shadow: 0 6px 20px rgba(63, 82, 62, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(39, 56, 39, 0.35);
}

.btn-secondary {
  background-color: var(--earth-brown);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--earth-brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(110, 73, 53, 0.3);
}

.btn-outline {
  border-color: var(--primary-green);
  color: var(--primary-green);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: var(--text-light);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #B37F35);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: var(--transition);
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(110, 73, 53, 0.1);
}

.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(250, 245, 238, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: clamp(64px, 4vw, 88px);
  max-height: 88px;
  width: auto;
  object-fit: contain;
  display: block;
}

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

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--earth-brown);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-green-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F4EFE6 0%, #FAF5EE 100%);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
  opacity: 0.85;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(63, 82, 62, 0.08);
  border: 1px solid rgba(63, 82, 62, 0.15);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-green-dark);
  margin-bottom: 1.5rem;
}

.hero-badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  color: var(--primary-green-dark);
}

.hero-title span {
  font-style: italic;
  color: var(--earth-brown);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(110, 73, 53, 0.15);
}

.hero-stats .stat-item {
  padding: 1rem 0;
  background: transparent;
  border-radius: 0;
}

.hero-stats .stat-item h3 {
  font-size: 2.2rem;
  color: var(--earth-brown);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.hero-stats .stat-item p {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-stats .stat-value {
  display: inline-block;
}

.hero-stats .stat-suffix {
  color: var(--earth-brown);
  margin-left: 0.2rem;
}

.hero-card-preview {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--cream-surface);
}

.hero-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.04);
}

.hero-floating-glass {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 310px;
}

.glass-icon {
  width: 50px;
  height: 50px;
  background: rgba(63, 82, 62, 0.1);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.glass-text h4 {
  font-size: 1.05rem;
  color: var(--primary-green-dark);
}

.glass-text p {
  font-size: 0.82rem;
  margin: 0;
}

/* Highlights Bar */
.highlights-bar {
  background: var(--primary-green-dark);
  color: var(--text-light);
  padding: 3rem 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.highlights-grid .highlight-box:nth-child(1),
.highlights-grid .highlight-box:nth-child(4) {
  transform: translateX(-28px) translateY(18px);
}

.highlights-grid .highlight-box:nth-child(2),
.highlights-grid .highlight-box:nth-child(3) {
  transform: translateX(28px) translateY(18px);
}

.highlight-box.animate-in {
  opacity: 1;
  transform: none;
}

.highlight-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 150, 72, 0.18);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-light);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.highlight-content h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.highlight-content p {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.88rem;
}

/* Section Styling */
.section {
  padding: 6rem 0;
}

.bg-cream-card {
  background-color: var(--cream-card);
}

/* About Page */
.about-hero {
  padding: 8.5rem 0 5rem;
  background: linear-gradient(135deg, #f5efe7 0%, #fcf8f2 100%);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.about-hero-copy h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  color: var(--primary-green-dark);
}

.about-hero-copy p {
  font-size: 1.08rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.about-hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--cream-surface);
}

.about-hero-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-hero-copy,
.about-hero-card,
.hero-content,
.hero-image-wrapper,
.story-card,
.message-card,
.vision-card,
.about-cta,
.hero-stats .stat-item,
.highlight-box {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

  .hero .hero-content {
    opacity: 0;
    transform: translateX(-26px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }

  .hero .hero-image-wrapper {
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }

  .about-hero-copy.animate-in,
  .about-hero-card.animate-in,
  .hero-content.animate-in,
  .hero-image-wrapper.animate-in,
  .story-card.animate-in,
  .message-card.animate-in,
  .vision-card.animate-in,
  .about-cta.animate-in,
  .hero-stats .stat-item.animate-in {
    opacity: 1;
    transform: translateY(0);
  }

  .highlight-box.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: highlight-pop 0.8s ease both;
  }

  .hero .hero-content.animate-in,
  .hero .hero-image-wrapper.animate-in {
    opacity: 1;
    transform: none;
  }

  .hero .hero-image-wrapper.animate-in {
    animation: none;
}

.hero-stats .stat-item.animate-in {
  animation: popIn 0.7s ease forwards;
}

@keyframes highlight-pop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.story-card.animate-in,
.message-card.animate-in,
.vision-card.animate-in {
  box-shadow: 0 20px 45px rgba(63, 82, 62, 0.08);
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-copy,
  .about-hero-card,
  .story-card,
  .message-card,
  .vision-card,
  .about-cta,
  .hero-stats .stat-item {
    transition: none;
    animation: none;
  }
}

.story-grid,
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.story-card,
.vision-card {
  background: var(--cream-surface);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(110, 73, 53, 0.08);
}

.story-card h3,
.vision-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.about-message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.message-card {
  background: var(--cream-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.message-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.message-content {
  padding: 2rem;
}

.message-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  color: var(--primary-green-dark);
}

.message-quote {
  font-size: 1rem;
  font-weight: 600;
  color: var(--earth-brown);
  margin-bottom: 1rem;
  font-style: italic;
}

.message-content p {
  margin-bottom: 1rem;
}

.about-cta {
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, #1c2d1c 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.about-cta h2 {
  color: var(--text-light);
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.about-cta p {
  color: rgba(244, 239, 230, 0.82);
  max-width: 700px;
}

@media (max-width: 1024px) {
  .about-hero-grid,
  .about-message-grid {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding-top: 7rem;
  }

  .about-hero-copy h1 {
    font-size: 2.4rem;
  }

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.2rem;
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--cream-surface);
}

.about-img-main img {
  height: 460px;
  width: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--cream-surface);
}

.about-img-secondary img {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.philosophy-list {
  list-style: none;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}

.philosophy-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: var(--primary-green-dark);
}

.philosophy-item i {
  color: var(--earth-brown);
  font-size: 1.2rem;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.process-card {
  background: var(--cream-surface);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(110, 73, 53, 0.08);
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--earth-brown-light);
}

.process-step {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(110, 73, 53, 0.15);
}

.process-icon {
  width: 56px;
  height: 56px;
  background: rgba(63, 82, 62, 0.08);
  color: var(--primary-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.process-card p {
  font-size: 0.92rem;
}

/* Tech Container */
.tech-container {
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, #1A281A 100%);
  border-radius: var(--radius-lg);
  padding: 4rem;
  color: var(--text-light);
  overflow: hidden;
  position: relative;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-content .section-tag {
  background: rgba(212, 163, 89, 0.15);
  color: var(--accent-gold-light);
}

.tech-content h2 {
  color: var(--text-light);
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
}

.tech-content p {
  color: rgba(244, 239, 230, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.tech-features {
  display: grid;
  gap: 1.5rem;
}

.tech-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.tech-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--earth-brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  flex-shrink: 0;
}

.tech-feature-info h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.tech-feature-info p {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.88rem;
  margin: 0;
}

.tech-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tech-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.tech-badge-overlay {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(201, 150, 72, 0.95);
  color: #FFFFFF;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  box-shadow: var(--shadow-gold);
}

/* Calculator */
.calculator-box {
  background: var(--cream-surface);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(110, 73, 53, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.calc-inputs h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.slider-group {
  margin-bottom: 2.2rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.slider-label {
  font-weight: 600;
  color: var(--primary-green-dark);
}

.slider-value {
  font-weight: 700;
  color: var(--earth-brown);
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--cream-card);
  outline: none;
  accent-color: var(--primary-green);
  cursor: pointer;
}

.calc-results {
  background: var(--cream-card);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(110, 73, 53, 0.15);
}

.results-header h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.results-header p {
  font-size: 0.9rem;
}

.main-result {
  margin: 2rem 0;
  text-align: center;
  background: var(--cream-surface);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.main-result-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
}

.main-result-val {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--earth-brown);
  line-height: 1.1;
  margin-top: 0.25rem;
}

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

.metric-card {
  background: rgba(255, 255, 255, 0.7);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.metric-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.metric-card strong {
  font-size: 1.15rem;
  color: var(--primary-green-dark);
}

/* Shop */
.shop-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(110, 73, 53, 0.2);
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-green);
  color: var(--text-light);
  border-color: var(--primary-green);
}

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

.product-card {
  background: var(--cream-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(110, 73, 53, 0.08);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-thumb {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #F0ECE3;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-thumb img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--earth-brown);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.product-details {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--earth-brown);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(110, 73, 53, 0.1);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-green-dark);
}

.product-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-box {
  background: var(--primary-green-dark);
  color: var(--text-light);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-box h3 {
  color: var(--text-light);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-info-box p {
  color: rgba(244, 239, 230, 0.8);
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(201, 150, 72, 0.2);
  color: var(--accent-gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h5 {
  color: var(--accent-gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
}

.contact-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 1rem;
}

.contact-form-container {
  background: var(--cream-surface);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(110, 73, 53, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-green-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(110, 73, 53, 0.2);
  border-radius: var(--radius-sm);
  background: var(--cream-bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(63, 82, 62, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Modal Popup */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 51, 36, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1.5rem;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--cream-bg);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary-green-dark);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
}

.toast {
  background: var(--primary-green-dark);
  color: var(--text-light);
  padding: 1rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid var(--accent-gold);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  background: var(--primary-green-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand p {
  color: rgba(244, 239, 230, 0.7);
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.footer-title {
  color: var(--accent-gold-light);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(244, 239, 230, 0.75);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(244, 239, 230, 0.6);
  font-size: 0.88rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {

  .hero-grid,
  .about-grid,
  .tech-grid,
  .calculator-box,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-bg-overlay {
    width: 100%;
    opacity: 0.3;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--cream-bg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(110, 73, 53, 0.15);
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-floating-glass {
    left: 10px;
    bottom: -15px;
    max-width: 280px;
  }
}

/* ==========================================================================
   JOURNEY OF AGARWOOD - SERPENTINE ROAD ROADMAP
   ========================================================================== */
.journey-section {
  position: relative;
  width: 100%;
  padding: 7rem 0 8rem;
  background: linear-gradient(180deg, #182C21 0%, #111E17 55%, #1E3A2A 100%);
  color: var(--text-light);
  overflow: hidden;
}

.journey-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(200, 164, 90, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.journey-header {
  text-align: center;
  position: relative;
  z-index: 5;
  margin-bottom: 5rem;
}

/* Additional small-screen responsive tweaks (mobile only) */
@media (max-width: 540px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar {
    padding: 0.6rem 0;
  }

  .brand-logo img {
    height: clamp(64px, 8vw, 80px);
    max-height: 80px;
  }

  .hero {
    padding-top: 90px;
    padding-bottom: 50px;
    min-height: auto;
  }

  .hero-card-preview {
    width: 100%;
    min-width: 0;
  }

  .hero-card-preview .hero-image-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .hero-content,
  .hero-card-preview,
  .highlight-box,
  .highlight-content {
    min-width: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero .hero-content,
  .hero .hero-image-wrapper,
  .highlight-box,
  .highlights-grid .highlight-box:nth-child(1),
  .highlights-grid .highlight-box:nth-child(2),
  .highlights-grid .highlight-box:nth-child(3),
  .highlights-grid .highlight-box:nth-child(4) {
    transform: translateY(18px) !important;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    line-height: 1.2;
  }

  .hero-description {
    font-size: clamp(0.95rem, 3.8vw, 1rem);
    max-width: 100%;
  }

  .hero-image-wrapper img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }

  .hero-floating-glass {
    position: static;
    display: block;
    margin-top: 1rem;
    bottom: auto;
    left: auto;
    max-width: 100%;
    box-shadow: var(--shadow-md);
  }

  .btn {
    padding: 0.6rem 1rem;
    min-height: 44px;
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .hero-stats .stat-item {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 155px;
    text-align: center;
  }

  .hero-stats .stat-item h3 {
    font-size: 1.8rem;
    margin-left: 0;
  }

  .hero-stats .stat-item p {
    font-size: 0.82rem;
    letter-spacing: 0.8px;
  }

  .highlights-bar {
    padding: 2rem 0;
  }

  .highlights-grid {
    gap: 1rem;
  }

  .highlight-box {
    padding: 1rem;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
  }

  .highlight-content h4 {
    font-size: 1rem;
  }

  .highlight-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .hero .hero-content,
  .hero .hero-content.animate-in,
  .hero .hero-image-wrapper,
  .hero .hero-image-wrapper.animate-in,
  .highlight-box,
  .highlight-box.animate-in {
    transform: none !important;
  }

  .hero-content,
  .hero-card-preview,
  .highlight-box {
    width: 100%;
    margin: 0 auto;
  }

  .hero-grid {
    justify-items: center;
  }

  .highlight-box {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-description {
    max-width: 100% !important;
    width: 100%;
  }

  .tech-container {
    padding: 2rem 1rem !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .tech-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 1.5rem !important;
  }

  .tech-content,
  .tech-image-wrapper,
  .tech-feature-item,
  .tech-feature-info,
  .section-tag,
  .tech-content h2,
  .tech-content p {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tech-content h2 {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  .tech-content p {
    font-size: clamp(0.85rem, 3.5vw, 0.98rem) !important;
    line-height: 1.7 !important;
  }

  .tech-image-wrapper img {
    height: auto !important;
    min-height: 220px !important;
  }

  .tech-badge-overlay {
    right: auto !important;
    left: 1rem !important;
  }

  .highlight-box .highlight-icon {
    margin-bottom: 0.75rem;
  }

  .hero-content,
  .hero-image-wrapper,
  .highlight-box,
  .hero-floating-glass {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .highlight-box {
    transform: none !important;
  }

  .hero-floating-glass {
    left: 0;
    right: 0;
    transform: none !important;
    margin-top: 1rem;
    max-width: calc(100% - 1rem);
  }

  .about-img-secondary {
    position: static;
    bottom: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem auto 0;
    transform: none !important;
  }

  .final-glow-ring {
    width: min(320px, 84vw);
    height: min(260px, 65vw);
    top: 3%;
    left: 50%;
    transform: translateX(-50%) !important;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-thumb {
    height: 220px;
  }

  .about-hero-card img,
  .hero-image-wrapper img,
  .tech-image-wrapper img,
  .product-thumb img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
  }

  /* Responsive SVG stroke: smaller on phones, medium on tablets, desktop unchanged */
  .roadmap-svg-path path {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--accent-gold);
    stroke-opacity: 0.95;
  }

  /* Very small phones */
  @media (max-width: 420px) {
    .roadmap-svg-path path {
      stroke-width: clamp(0.6px, 3.5vw, 0.95px) !important;
    }
  }

  /* Small phones */
  @media (min-width: 421px) and (max-width: 540px) {
    .roadmap-svg-path path {
      stroke-width: clamp(0.8px, 2.2vw, 1.2px) !important;
    }
  }

  /* Tablets */
  @media (min-width: 541px) and (max-width: 1024px) {
    .roadmap-svg-path path {
      stroke-width: clamp(1px, 1.1vw, 1.6px) !important;
    }
  }

  /* Calculator mobile fixes: reduce paddings and ensure children fit */
  .calculator-box {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .calc-inputs {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .calc-results {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .main-result {
    padding: 1rem;
  }

  .main-result-val {
    word-break: break-word;
    font-size: clamp(1.6rem, 6vw, 2.6rem);
  }

  /* Ensure product/shop prices wrap and scale on small screens */
  .product-price {
    white-space: normal;
    font-size: clamp(1rem, 4vw, 1.35rem);
    line-height: 1.05;
    word-break: break-word;
  }

  .modal-card {
    max-width: 100%;
    padding: 1.5rem;
    margin: 0 0.5rem;
  }

  .footer {
    padding: 3rem 0 1.5rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
    line-height: 1.2;
    word-break: break-word;
  }

  .hero-description {
    font-size: 0.92rem;
  }

  .hero-image-wrapper img {
    height: 260px;
  }

  .highlight-content h4 {
    font-size: 0.98rem;
  }

  .highlight-content p {
    font-size: 0.82rem;
  }

  .highlight-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    padding-left: 0.6rem;
    padding-right: 0.8rem;
    font-size: 0.9rem;
  }

  .brand-logo img {
    height: clamp(60px, 10vw, 72px);
    max-height: 72px;
  }

  .nav-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn {
    padding-left: 0.6rem;
    padding-right: 0.8rem;
    font-size: 0.9rem;
  }

  .final-glow-ring {
    width: min(280px, 78vw) !important;
    height: min(220px, 58vw) !important;
    top: 3% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    animation: none !important;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 360px) {
  html { font-size: 15px; }

  .hero-image-wrapper img {
    height: 220px;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .container { padding-left: 0.75rem; padding-right: 0.75rem; }
}

/* Ensure any table becomes horizontally scrollable on very small screens */
.table-responsive table { width: 100%; border-collapse: collapse; }


/* ==========================================================================
   JOURNEY OF AGARWOOD - EDITORIAL ROADMAP DESIGN SYSTEM
   ========================================================================== */

.editorial-journey-section {
  position: relative;
  background-color: #F7F5EF;
  color: #3B2F2A;
  padding: 9rem 0 10rem;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Prevent collapsed margins or inline SVG gaps that can show a thin white line */
.editorial-journey-section {
  overflow: auto;
}

.roadmap-svg-path {
  display: block;
}

.editorial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.editorial-header {
  text-align: center;
  margin-bottom: 7rem;
  position: relative;
  z-index: 5;
}

.editorial-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #B68D40;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.editorial-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.6rem;
  color: #3B2F2A;
  margin-bottom: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
}

.editorial-intro {
  font-size: 1.1rem;
  color: #64534B;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.75;
}

/* --- SVG WINDING ROAD PATH --- */
.editorial-roadmap-wrapper {
  position: relative;
  width: 100%;
}

.roadmap-svg-path {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

#roadmapSvgLine {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  transition: stroke-dashoffset 0.08s linear;
}

/* --- STAGES --- */
.editorial-stage {
  display: flex;
  align-items: center;
  gap: 5rem;
  margin-bottom: 9rem;
  position: relative;
  z-index: 3;
}

.editorial-stage.stage-left {
  flex-direction: row;
}

.editorial-stage.stage-right {
  flex-direction: row-reverse;
}

.editorial-image-box {
  flex: 1.1;
  position: relative;
}

.editorial-content-box {
  flex: 0.9;
  max-width: 460px;
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.editorial-stage.reveal .editorial-content-box {
  opacity: 1;
  transform: translateY(0);
}

.stage-num-tag {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #B68D40;
  display: inline-block;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}

.stage-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  color: #3B2F2A;
  margin-bottom: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.stage-desc {
  font-size: 1rem;
  color: #5A4A42;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.editorial-learn-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #B68D40;
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.editorial-learn-link:hover {
  color: #3B2F2A;
  transform: translateX(6px);
}

/* --- FEATHERED IMAGE MASK --- */
.feathered-image-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: 24px;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 52%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 52%, rgba(0,0,0,0) 100%);
  opacity: 0;
  transform: scale(0.94) translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.editorial-stage.reveal .feathered-image-wrap {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.feathered-image-wrap img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.feathered-image-wrap:hover img {
  transform: scale(1.05);
}

/* --- FINAL DESTINATION --- */
.editorial-final-destination {
  text-align: center;
  margin-top: 7rem;
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.editorial-final-destination.reveal {
  opacity: 1;
  transform: translateY(0);
}

.final-product-image {
  max-width: 680px;
  margin: 0 auto 3rem;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
}

.final-product-image img {
  height: 420px;
}

.final-glow-ring {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(182, 141, 64, 0.28) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0%   { opacity: 0.45; transform: translateX(-50%) scale(0.92); }
  100% { opacity: 1;    transform: translateX(-50%) scale(1.1);  }
}

.final-destination-content {
  max-width: 620px;
  margin: 0 auto;
}

.final-tag-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #B68D40;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.85rem;
}

.final-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  color: #3B2F2A;
  margin-bottom: 1.1rem;
  font-weight: 700;
}

.final-desc {
  font-size: 1.08rem;
  color: #5A4A42;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .editorial-stage {
    gap: 3rem;
  }

  .editorial-title {
    font-size: 3rem;
  }

  .stage-heading {
    font-size: 2rem;
  }

  .feathered-image-wrap img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .editorial-journey-section {
    padding: 6rem 0;
  }

  .editorial-stage,
  .editorial-stage.stage-right {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    margin-bottom: 6rem;
  }

  .editorial-content-box {
    max-width: 100%;
  }

  .feathered-image-wrap {
    max-width: 100%;
  }

  .feathered-image-wrap img {
    height: 240px;
  }

  .roadmap-svg-path {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    transform-origin: center top;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
  }

  /* Prevent horizontal page overflow caused by absolute SVG or wide content */
  .editorial-journey-section,
  .editorial-roadmap-wrapper {
    overflow-x: hidden;
  }

  /* Extra safety: limit page horizontal overflow on narrow screens */
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Make stroke responsive across small phones -> tablets using clamp */
  .roadmap-svg-path path {
    stroke: var(--accent-gold);
    stroke-opacity: 0.95;
    stroke-width: clamp(0.6px, 1.3vw, 1.6px) !important;
  }

  .editorial-title {
    font-size: 2.4rem;
  }

  .final-heading {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   SITE-WIDE MOTION SYSTEM (Appended)
   Lightweight, premium reveals. Uses opacity + transform + will-change.
   JS will add `motion-*` and `motion-hidden` classes; it will add `animate-in` when visible.
   ========================================================================== */

.motion-hidden { opacity: 0; will-change: opacity, transform; }

.motion-fade-up.motion-hidden { transform: translateY(18px); }
.motion-slide-left.motion-hidden { transform: translateX(-22px); }
.motion-slide-right.motion-hidden { transform: translateX(22px); }
.motion-scale.motion-hidden { transform: scale(0.96); }
.motion-pop.motion-hidden { transform: scale(0.96); opacity: 0; }

.motion-fade-up,
.motion-slide-left,
.motion-slide-right,
.motion-scale,
.motion-pop {
  transition-property: opacity, transform;
  transition-duration: 680ms;
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 1;
}

.animate-in { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .motion-fade-up,
  .motion-slide-left,
  .motion-slide-right,
  .motion-scale,
  .motion-pop { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* End of motion system */
