/* ============================================
   BMBORYXA Brand Design System - Version A
   West Elm × RH Premium Aesthetic
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */

:root {
  --cream: #F7F4EF;
  --dark: #2E2E2E;
  --green: #667255;
  --green-dark: #4E5A43;
  --bamboo: #C7A36B;
  --white: #FFFFFF;
  --gray-100: #F0EDE8;
  --gray-200: #E0DCD5;
  --gray-400: #A09C96;
  --gray-500: #6B6762;
  --gray-600: #4A4743;
  --overlay: var(--dark-45);
  --dark-06: rgba(46, 46, 46, 0.06);
  --dark-08: rgba(46, 46, 46, 0.08);
  --dark-10: rgba(46, 46, 46, 0.1);
  --dark-12: rgba(46, 46, 46, 0.12);
  --dark-15: rgba(46, 46, 46, 0.15);
  --dark-20: rgba(46, 46, 46, 0.2);
  --dark-30: rgba(46, 46, 46, 0.3);
  --dark-40: rgba(46, 46, 46, 0.4);
  --dark-45: rgba(46, 46, 46, 0.45);
  --dark-50: rgba(46, 46, 46, 0.5);
  --dark-55: rgba(46, 46, 46, 0.55);
  --dark-60: rgba(46, 46, 46, 0.6);
  --dark-70: rgba(46, 46, 46, 0.7);
  --dark-75: rgba(46, 46, 46, 0.75);
  --dark-80: rgba(46, 46, 46, 0.8);
  --green-20: rgba(102, 114, 85, 0.2);
  --green-22: rgba(102, 114, 85, 0.22);
  --green-25: rgba(102, 114, 85, 0.25);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Visibility helper: hides an element but keeps it in the source/markup */
.is-hidden { display: none !important; }

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Canela';
  src: local('Georgia'), local('Times New Roman');
  font-weight: 400;
}
@font-face {
  font-family: 'Canela';
  src: local('Georgia'), local('Times New Roman');
  font-weight: 700;
}

/* 定义自定义字体 */
@font-face {
    font-family: 'AbhayaLibreExtraBold2';
    src: url('../fonts/AbhayaLibre-ExtraBold-2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ArialRegular';
    src: url('../fonts/Arial Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.font-canela { font-family: AbhayaLibreExtraBold2; }
.font-dmsans { font-family: 'DM Sans', system-ui, sans-serif; }

/* ---------- Typography ---------- */
.display-xl { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1.05; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.1; letter-spacing: -0.015em; }
.display-md { font-size: clamp(1.75rem, 3.5vw, 3rem); line-height: 1.15; letter-spacing: -0.01em; }
.display-sm { font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.2; }
.heading-xl { font-size: 1.75rem; line-height: 1.25; }
.heading-lg { font-size: 1.35rem; line-height: 1.3; }
.heading-md { font-size: 1.15rem; line-height: 1.35; }
.body-lg { font-size: 1.1rem; line-height: 1.75; }
.body-sm { font-size: 0.875rem; line-height: 1.65; }
.caption { font-size: 0.75rem; line-height: 1.5; letter-spacing: 0.15em; text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.08em; }
.tracking-widest { letter-spacing: 0.2em; }

/* ---------- Layout ---------- */
.container { max-width: 1800px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); }
.section { padding: clamp(4rem, 8vw, 8rem) 0; }

/* ---------- Colors ---------- */
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-dark { background: var(--dark); }
.text-dark { color: var(--dark); }
.text-cream { color: var(--cream); }
.text-green { color: var(--green); }
.text-bamboo { color: var(--bamboo); }
.text-muted { color: var(--dark-50); }
.text-muted-light { color: rgba(247, 244, 239, 0.55); }

/* ---------- Grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--green);
  color: var(--cream);
  text-align: center;
  padding: 0.55rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1001;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid var(--dark-06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 0;
}
.logo {
  font-family: 'Canela', Georgia, serif;
  letter-spacing: 0.15em;
  font-size: 1.5rem;
  transition: color 0.3s;
}
.logo:hover { color: var(--green); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-75);
  position: relative;
  transition: color 0.3s;
  padding: 0.3rem 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
}
.header-icon {
  color: var(--dark-70);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}
.header-icon:hover { color: var(--green); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-left: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-nav.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-family: 'Canela', Georgia, serif;
  font-size: 1.75rem;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--green); }

@media (max-width: 1024px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .header-actions .header-icon:nth-child(-n+2) { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 768px) {
  .header-actions .header-icon { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--dark-10);
  padding-top: clamp(4rem, 7vw, 6rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2.25rem, 3.5vw, 3.5rem);
  padding-bottom: 3.5rem;
}
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-logo {
  font-size: 2rem;
  letter-spacing: 0.2em;
  color: var(--dark);
  display: inline-block;
  margin-bottom: 1.25rem;
}
.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--dark-55);
  max-width: 300px;
  margin-bottom: 1.75rem;
}
.footer-social { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dark-20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-60);
  transition: all 0.3s;
}
.footer-social a:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--cream);
  transform: translateY(-2px);
}

.footer-column h4 {
  font-family: 'Canela', Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.footer-column a {
  display: block;
  width: fit-content;
  font-size: 0.85rem;
  color: var(--dark-55);
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}
.footer-column a:hover { color: var(--green); }

/* Blog column: titles clamp to max 2 lines */
.footer-blog a {
  display: -webkit-box;
  width: 100%;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.footer-bottom {
  border-top: 1px solid var(--dark-08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom .copyright {
  font-size: 0.75rem;
  color: var(--dark-45);
  margin: 0;
}
.footer-currency {
  font-size: 0.75rem;
  color: var(--dark-55);
  border: 1px solid var(--dark-15);
  padding: 0.4rem 0.9rem;
}
.footer-currency .currency { color: var(--green); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark-20);
}
.btn-outline:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 244, 239, 0.3);
}
.btn-outline-light:hover { background: var(--cream); color: var(--dark); }

.btn-dark { background: var(--dark); color: var(--cream); }
.btn-dark:hover { background: #1a1a1a; }

.btn-lg { padding: 1rem 2.5rem; font-size: 0.85rem; }

/* ---------- Cards ---------- */
.card {
  display: block;
  cursor: pointer;
}
.card-img {
  position: relative;
  overflow: hidden;
  background: var(--gray-200);
  aspect-ratio: 4 / 5;
  margin-bottom: 1.25rem;
}
.card-img .bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover .card-img .bg { transform: scale(1.05); }
.card-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 0.4rem;
}
.card-title {
  font-family: 'Canela', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
  transition: color 0.3s;
}
.card:hover .card-title { color: var(--green); }
.card-subtitle {
  font-size: 0.85rem;
  color: var(--dark-50);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Shared: landscape ratio for `.card.journal-card` on list/detail news pages */
.card.journal-card .card-img { aspect-ratio: 16 / 10; }
.read-more {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-55);
  margin-top: 0.8rem;
  border-bottom: 1px solid var(--dark-20);
  padding-bottom: 2px;
  transition: all 0.3s;
}
.card:hover .read-more { color: var(--green); border-color: var(--green); }

/* ---------- Section Labels & Headings ---------- */
.section-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.section-heading {
  font-family: 'Canela', Georgia, serif;
  margin-bottom: 1.25rem;
}
.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--dark-50);
  max-width: 560px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.max-w-sm { max-width: 400px; }
.max-w-md { max-width: 480px; }
.max-w-lg { max-width: 600px; }
.max-w-xl { max-width: 700px; }
.max-w-2xl { max-width: 800px; }
.w-full { width: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.object-cover { object-fit: cover; }

/* ---------- Hero / Main Slider ---------- */
.main-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 110px);
  min-height: 580px;
  max-height: 900px;
  overflow: hidden;
  background: #2E2E2E;
}
.main-slider .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}
.main-slider .swiper-silde-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s ease-out;
}
.main-slider .swiper-slide-active .swiper-silde-img {
  transform: scale(1.08);
}
.main-slider .image-layer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 2;
}
.main-slider .swiper-slide-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
}
.main-slider__content {
  max-width: 680px;
  color: var(--cream);
}
.main-slider__content h2 {
  color: #fff;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.main-slider__content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.main-slider__content .btn-primary {
  background: var(--green);
  color: white;
}
.main-slider__content .btn-primary:hover {
  background: var(--green-dark);
}

/* Swiper nav + pagination overrides */
.main-slider .main-slider__nav {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 20;
  transform: translateY(-50%);
  pointer-events: none;
}
.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
  position: absolute;
  top: 0;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: auto;
  margin-top: 0;
}
.main-slider:hover .swiper-button-next,
.main-slider:hover .swiper-button-prev {
  opacity: 1;
}
.main-slider .swiper-button-next::after,
.main-slider .swiper-button-prev::after {
  display: none;
}
.main-slider .swiper-button-next .fa,
.main-slider .swiper-button-prev .fa {
  font-size: 24px;
  color: var(--dark);
}
.main-slider .swiper-button-next { right: 24px; left: auto; }
.main-slider .swiper-button-prev { left: 24px; right: auto; }
.main-slider .swiper-button-next:hover,
.main-slider .swiper-button-prev:hover {
  background: #fff;
  transform: scale(1.05);
}

.main-slider .swiper-pagination {
  z-index: 20;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.main-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  margin: 0 !important;
  transition: all 0.4s ease;
}
.main-slider .swiper-pagination-bullet-active {
  background: #fff;
  width: 32px;
}

@media (max-width: 1024px) {
  .main-slider {
    height: calc(100vh - 70px);
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .main-slider {
    height: 500px;
  }
  .main-slider__content h2 {
    font-size: 2.25rem;
  }
  .main-slider__content p {
    font-size: 1rem;
  }
  .main-slider .swiper-button-next,
  .main-slider .swiper-button-prev {
    display: none;
  }
  .main-slider .swiper-pagination {
    bottom: 24px;
  }
}

/* ---------- Philosophy / The Beauty of Bamboo ---------- */
.philosophy-section {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
}
.philosophy-section .section-heading { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }

/* Whole block limited to 65% of the viewport width, centered */
.philosophy-section .container {
  width: 65%;
  max-width: 65%;
}

/* Divider bar between adjacent items */
.philosophy-cols { --phi-gap: clamp(2rem, 4vw, 3.5rem); gap: var(--phi-gap); }
.philosophy-cols > * { position: relative; }
.philosophy-cols > * + *::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--phi-gap) / -2);
  width: 1px;
  background: var(--dark-10);
  transform: translateX(-50%);
}
@media (max-width: 1200px) {
  .philosophy-section .container { width: 100%; max-width: 100%; }
}
.philosophy-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.philosophy-icon svg { width: 34px; height: 34px; }
.philosophy-section h3 { margin-bottom: 0.4rem; }
.philosophy-section p {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .philosophy-section .grid-3 { gap: 2.5rem; }
  .philosophy-cols > * + *::before { display: none; }
}

/* ---------- Shop Collection Section ---------- */
.collection-section { padding-top: clamp(2rem, 3.5vw, 3rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.collection-section .section-heading { margin-bottom: 0; }
.collection-card { display: block; text-align: center; }
.collection-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--gray-200);
}
.collection-img .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.collection-card:hover .collection-img .bg { transform: scale(1.05); }
.collection-title {
  font-family: AbhayaLibreExtraBold2;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.collection-link {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s;
}
.collection-card:hover .collection-link { gap: 0.7rem; }
.collection-link .fa { font-size: 0.7rem; }

/* ---------- Full Width Image Band (Pure Image) ---------- */
.full-image-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.full-image {
  width: 100%;
  height: clamp(240px, 34vw, 480px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Craftsmanship Section ---------- */
.craftsmanship-section {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

/* ---------- Craftsmanship You Can Feel ---------- */
/* Aligned with Shop Our Collection (.grid-4): same 4 columns & gap */
.cf-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
}
.cf-step {
  min-width: 0;
  text-align: center;
}
.cf-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-200);
  margin: 0 0 1.15rem;
}
.cf-img .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cf-step:hover .cf-img .bg { transform: scale(1.05); }
.cf-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #313131 !important;
  margin-bottom: 0.45rem;
  font-family: AbhayaLibreExtraBold2;
}
.cf-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: #909090 !important;
  font-family: ArialRegular;
}
@media (max-width: 1024px) {
  .cf-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cf-flow { grid-template-columns: 1fr; }
}

/* ---------- Why Bamboo Section ---------- */
.why-bamboo-section { padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(4rem, 7vw, 6rem); background: var(--white); }
.why-bamboo-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.why-bamboo-img .bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.why-bamboo-content { padding-left: 2rem; }
.why-bamboo-content .section-heading { margin-bottom: 1rem; }
.why-bamboo-content .section-subtitle { max-width: 480px; margin-bottom: 2rem; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
}
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--green-20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
}
.why-item h4 {
  font-family: 'Canela', Georgia, serif;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.why-item p {
  font-size: 0.8rem;
  color: var(--dark-55);
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .why-bamboo-content { padding-left: 0; padding-top: 2rem; }
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- Split Section (Image + Text 1:1) ---------- */
.split-section {
  display: grid;
    grid-template-columns: 1fr 1fr;
  background: var(--cream);
}
.split-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}
.split-media .bg {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: center;
}
.split-content {
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 3rem);
}
.split-grid {
  width: 120%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}
.split-text .section-heading { margin-bottom: 1rem; }
.split-lead {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--dark-55);
  margin-bottom: 1.75rem;
  color:#909090;
  font-family: ArialRegular;
}
.split-text .btn { margin-top: 0.25rem; }
.split-feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: 0;
  margin: 0;
}
.split-feature-grid li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.split-ic {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--green-25);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-ic svg { width: 18px; height: 18px; }
.split-feature-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #313131;
  font-family: ArialRegular;
}
@media (max-width: 1024px) {
  .split-section { grid-template-columns: 1fr; }
  .split-media { min-height: 0; aspect-ratio: 4 / 3; }
  .split-content { padding: 2rem 1rem; }
}
@media (max-width: 768px) {
  .split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 360px) {
  .split-feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Journal Section ---------- */
.journal-section { padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.journal-section .section-heading { margin-bottom: 0; }
.journal-view-all {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-60);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s, gap 0.3s;
}
.journal-view-all:hover { color: var(--green); gap: 0.75rem; }
.journal-card { display: block; }
.journal-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--gray-200);
}
.journal-img .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.journal-card:hover .journal-img .bg { transform: scale(1.05); }
.journal-meta {
  display: flex;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-40);
  margin-bottom: 0.5rem;
}
.journal-meta .cat { color: var(--green); }
.journal-meta .date { color: var(--dark-30); }
.journal-title {
  font-family: AbhayaLibreExtraBold2;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  transition: color 0.3s;
}
.journal-card:hover .journal-title { color: var(--green); }

/* ---------- Product Detail ---------- */
.product-hero {
  padding-top: 8rem;
  padding-bottom: 3rem;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.product-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-200);
}
.product-tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 0.75rem;
}
.product-name { margin-bottom: 0.5rem; }
.product-sub {
  font-family: 'Canela', Georgia, serif;
  font-size: 1.25rem;
  color: var(--dark-40);
  margin-bottom: 2rem;
}
.product-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dark-60);
  margin-bottom: 2rem;
}
.spec-table { border-top: 1px solid var(--dark-08); }
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--dark-08);
  font-size: 0.9rem;
}
.spec-label { color: var(--dark-45); }
.spec-value { color: var(--dark); font-weight: 500; }

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

/* ---------- Page Header ---------- */
.page-header {
  padding: 8rem 0 3rem;
}
.page-header h1 { margin-bottom: 0.75rem; }
.page-header p { font-size: 1.1rem; color: var(--dark-50); max-width: 600px; line-height: 1.75; }

/* ---------- About Page ---------- */
.about-hero-img {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  margin-top: 2rem;
}
.about-values { padding: 5rem 0; }
.value-card {
  text-align: center;
  padding: 2rem 1rem;
}
.value-card .value-icon {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 1rem;
}
.value-card h3 {
  font-family: 'Canela', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--dark-50);
  line-height: 1.65;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}
.contact-info h3 {
  font-family: 'Canela', Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.contact-info p {
  font-size: 0.9rem;
  color: var(--dark-50);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--dark-10);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--dark);
  outline: none;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--green); }
.contact-form textarea { min-height: 140px; resize: vertical; }

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

/* ---------- Newsletter Section ---------- */
.newsletter-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--cream);
}
.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
}
.newsletter-info .section-heading { margin-bottom: 0.5rem; }
.newsletter-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dark-60);
  max-width: 460px;
}
.newsletter-action .note {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--dark-40);
  margin-top: 0.85rem;
}
.newsletter-action .newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--dark-30);
  background: var(--white);
  box-shadow: 0 8px 28px var(--dark-08);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.newsletter-action .newsletter-form:focus-within {
  border-color: var(--green);
  box-shadow: 0 10px 34px var(--green-22);
}
.newsletter-action .newsletter-form input {
  flex: 1;
  border: none;
  background: var(--gray-100);
  padding: 0.95rem 1.4rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--dark);
  outline: none;
  min-width: 0;
  caret-color: var(--green);
}
.newsletter-action .newsletter-form input::placeholder { color: var(--dark-55); }
.newsletter-action .newsletter-form button {
  background: var(--green);
  color: white;
  border: none;
  padding: 0.95rem 2.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}
.newsletter-action .newsletter-form button:hover { background: var(--green-dark); }

@media (max-width: 900px) {
  .newsletter-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .newsletter-action .newsletter-form { flex-direction: column; border: 1.5px solid var(--dark-30); background: var(--white); }
  .newsletter-action .newsletter-form input {
    background: var(--gray-100);
    padding: 1rem 1.2rem;
    border-bottom: 1.5px solid var(--dark-12);
  }
  .newsletter-action .newsletter-form button { width: 100%; padding: 1rem; }
}

/* ---------- Module Header (shared) ---------- */
.module-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.module-head .section-heading { margin-bottom: 0; }
.module-head .section-subtitle {
  margin-top: 0.75rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Screen Reader Only ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Reveal Animations (JS-gated) ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger card reveals inside grids */
@media (min-width: 769px) {
  .grid-3 > .reveal:nth-child(2),
  .grid-4 > .reveal:nth-child(2) { transition-delay: 0.1s; }
  .grid-3 > .reveal:nth-child(3),
  .grid-4 > .reveal:nth-child(3) { transition-delay: 0.2s; }
  .grid-4 > .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal,
  html.js .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .main-slider .swiper-silde-img,
  .main-slider .swiper-slide-active .swiper-silde-img {
    transform: none;
    transition: none;
  }
}

/* ---------- Misc ---------- */
.divider { border: none; border-top: 1px solid var(--dark-08); }

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  width: 42px;
  height: 42px;
  background: var(--dark-80);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s;
  font-size: 1.1rem;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--dark); }

/* Feature list for product detail */
.feature-list { margin-bottom: 2rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--dark-55);
  margin-bottom: 0.45rem;
}
.feature-list li::before {
  content: '—';
  color: var(--green);
  flex-shrink: 0;
}

/* ---------- Story section for product detail ---------- */
.story-section { background: var(--white); padding: 5rem 0; }

/* ---------- Collection detail ---------- */
.collection-products { padding: 5rem 0; }

.nav-links a.active,
.nav-links a.active:hover {
  color: var(--green);
}
.nav-links a.active::after {
  width: 100%;
}
.mobile-nav a.active,
.mobile-nav a.active:hover {
  color: var(--green);
}


.index-title{
    font-family: AbhayaLibreExtraBold2;
    font-size: 60px;
    color: #313131 !important;
}
.philosophy-item-title{
    font-family: AbhayaLibreExtraBold2;
    font-size: 41px;
    color: #313131 !important;
    
}
.philosophy-item-desc{
    font-family: ArialRegular;
    font-size:25px;
    color: #909090 !important;
}
