/* ===== The Vegan Cosmetics - Global Styles ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f6f4ef;
  --bg-alt: #ecebe4;
  --ink: #1f2a24;
  --ink-soft: #4a5751;
  --accent: #4a6a4a;
  --accent-dark: #2f4a2f;
  --line: #d8d5cc;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== Language Switcher ===== */
.lang-switcher {
  position: fixed; top: 24px; right: 32px; z-index: 200;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em;
  color: var(--ink); background: rgba(255,255,255,0.75);
  padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.lang-btn { padding: 2px 6px; font-weight: 500; opacity: 0.5; transition: opacity 0.25s ease, color 0.25s ease; }
.lang-btn.active { opacity: 1; color: var(--accent-dark); font-weight: 700; }
.lang-btn:hover { opacity: 0.9; }

/* ===== Side Nav ===== */
.menu-toggle {
  position: fixed; top: 24px; left: 32px; z-index: 200;
  width: 44px; height: 44px; background: rgba(255,255,255,0.75);
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: background 0.25s ease;
}
.menu-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease; }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.side-nav {
  position: fixed; top: 0; left: 0; width: 320px; height: 100vh;
  background: var(--bg); z-index: 150;
  padding: 100px 40px 40px; transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
}
.side-nav.open { transform: translateX(0); }

.nav-logo { margin-bottom: 60px; }
.logo-mark { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--accent-dark); display: block; letter-spacing: 0.05em; }
.logo-sub { font-size: 11px; text-transform: uppercase; letter-spacing: 0.25em; color: var(--ink-soft); }

/* ===== Brand Wordmark Logo ===== */
.brand-logo {
  display: inline-flex; flex-direction: column; align-items: center;
  line-height: 1; text-align: center; color: var(--accent-dark);
  transition: transform 0.35s ease, color 0.35s ease;
}
.brand-logo .brand-top,
.brand-logo .brand-bot {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.55em;
  color: currentColor; opacity: 0.85;
}
.brand-logo .brand-top { margin-bottom: 6px; padding-left: 0.55em; }
.brand-logo .brand-main {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 42px; letter-spacing: 0.02em;
  padding: 4px 0; margin: 2px 0;
  border-top: 1px solid currentColor; border-bottom: 1px solid currentColor;
  line-height: 1;
}
.brand-logo .brand-bot { margin-top: 8px; padding-left: 0.55em; }
.brand-logo:hover { transform: translateY(-1px); }

/* Floating hero logo (top center) */
.brand-logo-floating {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  z-index: 190; color: var(--white);
  mix-blend-mode: normal;
}
.brand-logo-floating .brand-main { font-size: 26px; }
.brand-logo-floating .brand-top,
.brand-logo-floating .brand-bot { font-size: 8px; letter-spacing: 0.5em; }
.brand-logo-floating.scrolled { color: var(--accent-dark); }
.brand-logo-floating:hover { transform: translateX(-50%) translateY(-1px); }

/* Light variant (dark backgrounds) */
.brand-logo-light { color: var(--bg); }

/* Nav-logo (inside side menu) larger */
.nav-logo .brand-logo .brand-main { font-size: 36px; }
.nav-logo .brand-logo .brand-top,
.nav-logo .brand-logo .brand-bot { font-size: 10px; }

.nav-list { list-style: none; flex: 1; }
.nav-list li { margin-bottom: 8px; }
.nav-list a {
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  color: var(--ink); display: inline-block; padding: 6px 0;
  position: relative; transition: color 0.25s ease, padding 0.3s ease;
  text-transform: lowercase;
}
.nav-list a::after {
  content: ''; position: absolute; left: 0; bottom: 4px;
  height: 1px; width: 0; background: var(--accent);
  transition: width 0.3s ease;
}
.nav-list a:hover { color: var(--accent-dark); padding-left: 8px; }
.nav-list a:hover::after { width: 60%; }

.nav-footer { font-size: 12px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 20px; }
.nav-footer p { margin: 4px 0; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { transform: scale(1.05); animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.15) translate(-2%, -1%); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,42,36,0.25) 0%, rgba(31,42,36,0.55) 100%); }

.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 0 24px; max-width: 900px; }
.hero-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 32px; opacity: 0.9; }
.hero-title { font-family: var(--serif); font-size: clamp(40px, 6vw, 84px); font-weight: 400; line-height: 1.05; margin-bottom: 24px; letter-spacing: -0.01em; }
.hero-sub { font-size: 16px; letter-spacing: 0.05em; margin-bottom: 40px; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn-primary {
  display: inline-block; padding: 14px 40px; background: transparent;
  border: 1px solid var(--white); color: var(--white);
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.btn-primary:hover { background: var(--white); color: var(--accent-dark); border-color: var(--white); }

.contact .btn-primary, .contact-form .btn-primary { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.contact-form .btn-primary:hover { background: var(--ink); border-color: var(--ink); }

.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  color: var(--white); font-size: 10px; letter-spacing: 0.35em; text-align: center;
}
.scroll-line { width: 1px; height: 40px; background: var(--white); margin: 12px auto 0; animation: scrollPulse 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(0.3); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ===== Founders / About ===== */
.founders { padding: 120px 40px; background: var(--bg); }
.founders-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.founders-image { position: relative; }
.founders-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.founders-caption { position: absolute; bottom: 24px; left: 24px; background: rgba(246,244,239,0.95); padding: 16px 20px; }
.founders-caption h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 2px; }
.founders-caption h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 400; }

.section-tag { display: inline-block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.founders-text h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); font-weight: 400; line-height: 1.15; margin-bottom: 32px; letter-spacing: -0.01em; }
.founders-text p { color: var(--ink-soft); font-size: 15px; line-height: 1.8; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat h3 { font-family: var(--serif); font-size: 36px; font-weight: 500; color: var(--accent-dark); margin-bottom: 4px; }
.stat p { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-soft); }

/* ===== Services ===== */
.services { padding: 80px 40px 120px; background: var(--bg-alt); }
.section-title { font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); font-weight: 400; text-align: center; margin-bottom: 80px; letter-spacing: -0.01em; }

.service-block { max-width: 1200px; margin: 0 auto 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-content { position: relative; padding-right: 20px; }
.service-content h3 { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; margin-bottom: 24px; line-height: 1.15; }
.service-content p { color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.service-num { position: absolute; top: -40px; right: 0; font-family: var(--serif); font-size: 140px; font-weight: 300; color: var(--accent); opacity: 0.12; line-height: 1; pointer-events: none; }

.service-images { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 500px; }
.service-images img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-images img:hover { transform: scale(1.03); }
.service-images img:nth-child(1) { grid-row: 1 / 3; }
.service-images img:nth-child(2) { grid-row: 1; grid-column: 2; }
.service-images img:nth-child(3) { grid-row: 2; grid-column: 2; }

/* ===== Creators / Marquee ===== */
.creators { padding: 120px 0; background: var(--bg); overflow: hidden; }
.marquee { overflow: hidden; margin-bottom: 100px; }
.marquee-track { display: flex; gap: 20px; animation: marquee 40s linear infinite; width: max-content; }
.marquee-track img { width: 240px; height: 340px; object-fit: cover; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

.offer-grid { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.offer-card { background: var(--white); overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.offer-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.offer-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.offer-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; padding: 20px 20px 8px; }
.offer-card p { padding: 0 20px 24px; font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

/* ===== Certifications ===== */
.certifications { padding: 120px 0; background: var(--bg-alt); overflow: hidden; }
.cert-marquee { overflow: hidden; }
.cert-track { display: flex; gap: 40px; animation: marquee 50s linear infinite; width: max-content; padding: 0 20px; }
.cert { flex-shrink: 0; text-align: center; width: 180px; }
.cert-circle {
  width: 130px; height: 130px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--accent-dark);
  margin: 0 auto 16px; transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.cert:hover .cert-circle { background: var(--accent-dark); color: var(--white); transform: scale(1.05); }
.cert h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.cert p { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.05em; }

/* ===== Sustainability ===== */
.sustainability { padding: 120px 40px; background: var(--bg); }
.sus-eyebrow { font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); font-weight: 400; text-align: center; margin-bottom: 60px; color: var(--accent-dark); font-style: italic; }
.sus-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.sus-card { background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.sus-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.sus-content { padding: 32px; }
.sus-content h4 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.02em; color: var(--accent-dark); }
.sus-content p { color: var(--ink-soft); font-size: 14px; line-height: 1.8; }

/* ===== Contact ===== */
.contact { padding: 120px 40px; background: var(--bg-alt); }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 400; line-height: 1.15; margin-bottom: 24px; }
.contact-info > p { color: var(--ink-soft); font-size: 15px; line-height: 1.8; margin-bottom: 40px; }
.contact-list { list-style: none; }
.contact-list li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 100px 1fr; gap: 20px; align-items: baseline; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list a, .contact-list p { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.contact-list a:hover { color: var(--accent-dark); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line);
  background: var(--white); font-family: var(--sans); font-size: 14px;
  color: var(--ink); border-radius: 2px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74,106,74,0.1);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-primary { align-self: flex-start; margin-top: 8px; }
.form-status { font-size: 13px; color: var(--accent-dark); min-height: 20px; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: var(--bg); padding: 60px 40px 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px; align-items: center; }
.footer .logo-mark { color: var(--bg); font-size: 26px; }
.footer p { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
.footer-links { display: flex; gap: 32px; justify-content: center; }
.footer-links a { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.85; transition: opacity 0.25s ease; }
.footer-links a:hover { opacity: 1; }
.copyright { text-align: right; font-size: 11px !important; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .founders { padding: 80px 24px; }
  .founders-inner, .contact-inner, .service-block, .service-block.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .services { padding: 60px 24px 80px; }
  .service-block { margin-bottom: 80px; }
  .service-images { height: 400px; }
  .service-num { font-size: 100px; top: -30px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); padding: 0 24px; }
  .sus-grid { grid-template-columns: 1fr; }
  .sustainability, .contact, .certifications, .creators { padding-left: 24px; padding-right: 24px; }
  .creators, .certifications { padding-left: 0; padding-right: 0; }
  .contact { padding: 80px 24px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .copyright { text-align: center; }
  .footer-links { flex-wrap: wrap; }
  .side-nav { width: 280px; padding: 90px 30px 30px; }
  .lang-switcher { top: 20px; right: 20px; }
  .menu-toggle { top: 20px; left: 20px; }
  .marquee-track img { width: 180px; height: 260px; }
  .cert { width: 140px; }
  .cert-circle { width: 100px; height: 100px; font-size: 18px; }
  .contact-list li { grid-template-columns: 90px 1fr; }
  .contact-list a, .contact-list p { font-size: 16px; }
  .brand-logo-floating .brand-main { font-size: 20px; }
  .brand-logo-floating .brand-top,
  .brand-logo-floating .brand-bot { font-size: 7px; letter-spacing: 0.4em; }
}

@media (max-width: 560px) {
  .brand-logo-floating { display: none; }
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 20px; }
  .stats-row { padding: 20px 0; }
  .stat h3 { font-size: 28px; }
}

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
