/*
Theme Name: WoodCode Povestea
Theme URI: https://woodcode.ro
Author: WoodCode
Author URI: https://woodcode.ro
Description: Temă premium WordPress pentru WoodCode — Mobilier din lemn recuperat din casele tradiționale românești. Fiecare piesă poartă o poveste de 200 de ani.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: woodcode-povestea
Tags: one-page, custom-logo, custom-menu, featured-images, full-width-template
*/

/* ═══════════════════════════════════════════════════════════════
   RESET & CUSTOM PROPERTIES
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Warm reclaimed wood palette */
  --charcoal:       #1a1410;
  --bark:           #2a2018;
  --walnut:         #3d2e1e;
  --oak:            #5c4033;
  --honey:          #c49a6c;
  --amber:          #d4a574;
  --wheat:          #e8d5b8;
  --linen:          #f5ece0;
  --cream:          #faf6f0;
  --ivory:          #fefcf8;

  /* Accents */
  --rust:           #8b4513;
  --sage:           #7a8b6f;
  --stone:          #9b9286;

  /* Functional */
  --text-hero:      rgba(255,252,248, 0.95);
  --text-hero-sub:  rgba(255,252,248, 0.7);
  --text-dark:      #1a1410;
  --text-body:      #4a3f35;
  --text-muted:     #8b8078;
  --divider:        rgba(196,154,108, 0.2);

  /* Fonts */
  --font-serif:     'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:   'Space Grotesk', 'Inter', sans-serif;

  /* Spacing */
  --section-pad:    clamp(80px, 12vh, 160px);
  --content-width:  1200px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--honey);
  color: var(--charcoal);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Utility */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ═══════════════════════════════════════════════════════════════
   PRELOADER
═══════════════════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__logo {
  width: 180px;
  height: auto;
  animation: preloaderFadeIn 1s ease-out forwards, preloaderPulse 2s ease-in-out 1s infinite;
  opacity: 0;
}

.preloader__bar {
  width: 80px;
  height: 2px;
  background: rgba(196,154,108,0.15);
  border-radius: 2px;
  margin-top: 2rem;
  overflow: hidden;
  opacity: 0;
  animation: preloaderFadeIn 0.6s ease-out 0.4s forwards;
}

.preloader__bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--honey), var(--amber));
  border-radius: 2px;
  animation: preloaderBarFill 1.2s ease-in-out 0.5s forwards;
}

.preloader__text {
  margin-top: 1.2rem;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--honey);
  opacity: 0;
  animation: preloaderFadeIn 0.6s ease-out 0.6s forwards;
}

@keyframes preloaderFadeIn {
  to { opacity: 1; }
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(0.97); }
}
@keyframes preloaderBarFill {
  to { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease;
}

.nav--scrolled {
  background: rgba(26,20,16,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 64px;
  box-shadow: 0 1px 0 rgba(196,154,108,0.1);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__logo {
  height: 42px;
  width: auto;
  transition: opacity 0.3s ease;
}

.nav__logo:hover {
  opacity: 0.85;
}

.nav__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-hero);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  color: var(--text-hero-sub);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--honey);
  transition: width 0.4s ease;
}

.nav__links a:hover { color: var(--text-hero); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  padding: 10px 24px;
  border: 1px solid rgba(196,154,108,0.4);
  border-radius: 2px;
  color: var(--honey) !important;
  font-size: 0.75rem !important;
  letter-spacing: 2px !important;
  transition: all 0.3s !important;
}

.nav__cta:hover {
  background: var(--honey) !important;
  color: var(--charcoal) !important;
  border-color: var(--honey) !important;
}

.nav__cta:hover::after { width: 0 !important; }

/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-hero);
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero__bg-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.1s linear;
  display: block;
}

/* Cinematic overlays */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(26,20,16, 0.55) 0%,
      rgba(26,20,16, 0.35) 35%,
      rgba(26,20,16, 0.40) 60%,
      rgba(26,20,16, 0.75) 100%
    );
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    transparent 0%,
    rgba(26,20,16, 0.4) 100%
  );
}

/* Film grain */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Letterbox bars for cinematic feel */
.hero__letterbox-top,
.hero__letterbox-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  background: var(--charcoal);
  z-index: 5;
  transition: height 1.2s ease;
}

.hero__letterbox-top { top: 0; }
.hero__letterbox-bottom { bottom: 0; }

.hero.cinematic .hero__letterbox-top,
.hero.cinematic .hero__letterbox-bottom {
  height: 6vh;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s ease 0.5s forwards;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--honey);
  opacity: 0.5;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-hero);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 1.2s ease 0.7s forwards;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6), 0 4px 32px rgba(0,0,0,0.3);
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--honey);
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-hero-sub);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s ease 1s forwards;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s ease 1.3s forwards;
}

.hero__btn {
  padding: 16px 40px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}

.hero__btn--primary {
  background: var(--honey);
  color: var(--charcoal);
}

.hero__btn--primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(196,154,108,0.3);
}

.hero__btn--secondary {
  background: transparent;
  color: var(--text-hero);
  border: 1px solid rgba(255,252,248,0.25);
}

.hero__btn--secondary:hover {
  border-color: var(--honey);
  color: var(--honey);
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeUp 1s ease 1.8s forwards;
}

.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-hero-sub);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--honey), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50%      { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION: INTRO / PHILOSOPHY
═══════════════════════════════════════════════════════════════ */
.philosophy {
  padding: var(--section-pad) 0;
  background: var(--cream);
  position: relative;
}

.philosophy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.philosophy__text {
  max-width: 500px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 1.5rem;
}

.section-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--honey);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--oak);
}

.section-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.section-text--large {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--oak);
}

.philosophy__image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
}

.philosophy__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.philosophy__image:hover img {
  transform: scale(1.03);
}

.philosophy__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196,154,108,0.15);
  pointer-events: none;
}

/* Floating accent element */
.philosophy__accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  border: 1px solid var(--honey);
  opacity: 0.3;
  z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION: THE PROCESS (Timeline)
═══════════════════════════════════════════════════════════════ */
.process {
  padding: var(--section-pad) 0;
  background: var(--charcoal);
  color: var(--text-hero);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(92,64,51,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(196,154,108,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.process__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vh, 5rem);
  position: relative;
}

.process .section-eyebrow { color: var(--amber); }
.process .section-eyebrow::before { background: var(--amber); }

.process .section-title {
  color: var(--text-hero);
}

.process .section-title em {
  color: var(--honey);
}

.process__subtitle {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-hero-sub);
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--honey), var(--honey), transparent);
  opacity: 0.3;
  transform: translateX(-50%);
}

.timeline__item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

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

.timeline__item:nth-child(odd) .timeline__content {
  grid-column: 1;
  text-align: right;
  padding-right: 2rem;
}

.timeline__item:nth-child(odd) .timeline__visual {
  grid-column: 3;
}

.timeline__item:nth-child(even) .timeline__content {
  grid-column: 3;
  text-align: left;
  padding-left: 2rem;
}

.timeline__item:nth-child(even) .timeline__visual {
  grid-column: 1;
  grid-row: 1;
}

.timeline__dot {
  grid-column: 2;
  grid-row: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--walnut);
  border: 2px solid var(--honey);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.timeline__dot-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--honey);
}

.timeline__step-label {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.timeline__step-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-hero);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.timeline__step-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-hero-sub);
}

.timeline__visual {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.timeline__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) contrast(1.05);
  transition: transform 0.6s ease;
  background: var(--charcoal);
  border-radius: 4px;
}

.timeline__visual img[src$=".svg"] {
  object-fit: contain;
  filter: none;
}

.timeline__visual:hover img {
  transform: scale(1.05);
}

.timeline__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196,154,108,0.15);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION: BIG QUOTE / MANIFESTO
═══════════════════════════════════════════════════════════════ */
.manifesto {
  padding: var(--section-pad) 0;
  background: var(--linen);
  position: relative;
  overflow: hidden;
}

.manifesto__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.manifesto__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--walnut);
  margin-bottom: 2rem;
  position: relative;
}

.manifesto__quote::before {
  content: '\201C';
  position: absolute;
  top: -0.5em;
  left: -0.15em;
  font-size: 6em;
  font-style: normal;
  color: var(--honey);
  opacity: 0.15;
  line-height: 1;
  font-family: var(--font-serif);
}

.manifesto__author {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.manifesto__line {
  width: 60px;
  height: 1px;
  background: var(--honey);
  margin: 1.5rem auto 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION: PRODUCTS
═══════════════════════════════════════════════════════════════ */
.products {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.products__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.product-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: saturate(0.9);
}

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

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(26,20,16, 0.8) 0%,
    rgba(26,20,16, 0) 50%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.4s;
}

.product-card:hover .product-card__overlay {
  background: linear-gradient(
    0deg,
    rgba(26,20,16, 0.9) 0%,
    rgba(26,20,16, 0.1) 60%
  );
}

.product-card__category {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  margin-bottom: 0.25rem;
}

.product-card__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s;
  opacity: 0;
}

.product-card:hover .product-card__desc {
  max-height: 60px;
  opacity: 1;
}

.product-card__price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--honey);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION: VALUES / WHY US
═══════════════════════════════════════════════════════════════ */
.values {
  padding: var(--section-pad) 0;
  background: var(--ivory);
}

.values__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vh, 5rem);
}

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

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 4px;
  transition: all 0.4s ease;
  position: relative;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  height: 2px;
  background: var(--honey);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.value-card:hover::before { opacity: 1; }

.value-card:hover {
  background: white;
  box-shadow: 0 8px 40px rgba(44,26,14,0.06);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--linen);
  border-radius: 50%;
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--honey);
}

.value-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.value-card__text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION: CTA / CONTACT
═══════════════════════════════════════════════════════════════ */
.cta {
  padding: var(--section-pad) 0;
  background: var(--walnut);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(196,154,108,0.08) 0%, transparent 50%);
  pointer-events: none;
}

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

.cta .section-title { color: var(--text-hero); }
.cta .section-title em { color: var(--honey); }

.cta .section-text { color: var(--text-hero-sub); }

.cta__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cta__info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta__info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(196,154,108,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta__info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--honey);
}

.cta__info-text {
  font-size: 0.9rem;
  color: var(--text-hero-sub);
}

.cta__info-text strong {
  color: var(--text-hero);
  font-weight: 500;
}

/* Contact form */
.cta__form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(196,154,108,0.15);
  border-radius: 6px;
  padding: 2.5rem;
}

.cta__form-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-hero);
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-hero-sub);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,154,108,0.2);
  border-radius: 4px;
  color: var(--text-hero);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,252,248, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--honey);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.cta__submit {
  width: 100%;
  padding: 14px;
  background: var(--honey);
  color: var(--charcoal);
  border: none;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.cta__submit:hover {
  background: var(--amber);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196,154,108,0.25);
}

/* ═══════════════════════════════════════════════════════════════
   NUMBERS / STATS BAR
═══════════════════════════════════════════════════════════════ */
.stats {
  padding: 4rem 0;
  background: var(--charcoal);
  border-top: 1px solid rgba(196,154,108,0.1);
  border-bottom: 1px solid rgba(196,154,108,0.1);
}

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

.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--honey);
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-hero-sub);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(196,154,108,0.08);
}

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

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-hero);
  margin-bottom: 1rem;
}

.footer__brand-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--stone);
  max-width: 320px;
}

.footer__heading {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--honey);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__list a {
  font-size: 0.85rem;
  color: var(--stone);
  transition: color 0.3s;
}

.footer__list a:hover { color: var(--text-hero); }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(196,154,108,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--stone);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(196,154,108,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer__social a:hover {
  border-color: var(--honey);
  background: rgba(196,154,108,0.1);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  color: var(--stone);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL-DRIVEN VIDEO STORYTELLING
═══════════════════════════════════════════════════════════════ */
.scroll-story {
  position: relative;
  background: var(--charcoal);
}

.scroll-story__video-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  will-change: transform;
}

.scroll-story__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--charcoal);
  display: block;
  min-height: 100vh;
  /* iOS fix: hardware-accelerate to prevent disappearing */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Ensure video is visible */
.scroll-story__video-wrap {
  background: var(--charcoal);
}

.scroll-story__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(26,20,16,0.35) 0%,
      rgba(26,20,16,0.1) 30%,
      rgba(26,20,16,0.1) 70%,
      rgba(26,20,16,0.5) 100%
    );
  pointer-events: none;
}

.scroll-story__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    transparent 0%,
    rgba(26,20,16,0.35) 100%
  );
  pointer-events: none;
}

.scroll-story__grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.scroll-story__hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: opacity 0.6s ease;
}

.scroll-story__hint-text {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-hero-sub);
}

.scroll-story__hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--honey), transparent);
  animation: scrollPulse 2s ease infinite;
}

.scroll-story__content {
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.scroll-story__panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 clamp(2rem, 8vw, 8rem);
}

.scroll-story__panel-inner {
  pointer-events: auto;
  max-width: 520px;
  padding: 2.5rem 3rem;
  background: rgba(26,20,16,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(196,154,108,0.12);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-story__panel.is-active .scroll-story__panel-inner {
  opacity: 1;
  transform: translateY(0);
}

.scroll-story__panel--right {
  justify-content: flex-end;
}

.scroll-story__panel--center {
  justify-content: center;
  text-align: center;
}

.scroll-story__chapter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 1.25rem;
}

.scroll-story__chapter::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--honey);
}

.scroll-story__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-hero);
  margin-bottom: 1rem;
}

.scroll-story__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--honey);
}

.scroll-story__text {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-hero-sub);
}

/* Progress dots */
.scroll-story__progress {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.scroll-story__progress.visible {
  opacity: 1;
}

.scroll-story__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(196,154,108,0.2);
  border: 1px solid rgba(196,154,108,0.3);
  transition: all 0.4s ease;
}

.scroll-story__dot.active {
  background: var(--honey);
  border-color: var(--honey);
  transform: scale(1.6);
  box-shadow: 0 0 12px rgba(196,154,108,0.4);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .philosophy__inner { grid-template-columns: 1fr; gap: 3rem; }
  .philosophy__text { max-width: 100%; }
  .philosophy__image { max-width: 500px; }

  .timeline__item {
    grid-template-columns: 48px 1fr;
    gap: 0;
  }

  .timeline::before { left: 24px; }

  .timeline__dot {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline__item:nth-child(odd) .timeline__content,
  .timeline__item:nth-child(even) .timeline__content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 0;
  }

  .timeline__visual { display: none; }

  .cta__inner { grid-template-columns: 1fr; gap: 3rem; }

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

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

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

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .scroll-story__panel-inner { max-width: 420px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero mobile fixes */
  .hero { min-height: 100vh; min-height: 100dvh; }
  .hero__bg-wrap { inset: -1px; }
  .hero__bg { width: calc(100% + 2px); height: calc(100% + 2px); margin: -1px; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero__actions { flex-direction: column; gap: 1rem; }
  .hero__btn { width: 100%; text-align: center; }
  .hero__content { padding: 0 1.25rem; }

  /* Stronger overlay on mobile for text readability */
  .hero__overlay {
    background:
      linear-gradient(180deg,
        rgba(26,20,16, 0.6) 0%,
        rgba(26,20,16, 0.45) 35%,
        rgba(26,20,16, 0.50) 60%,
        rgba(26,20,16, 0.8) 100%
      );
  }

  .hero.cinematic .hero__letterbox-top,
  .hero.cinematic .hero__letterbox-bottom { height: 3vh; }

  /* Video section: force video display on mobile */
  .scroll-story__video-wrap {
    height: 100vh;
    height: 100dvh;
    -webkit-overflow-scrolling: touch;
  }
  .scroll-story__video {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    min-height: 100vh;
    min-height: 100dvh;
  }

  .products__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .scroll-story__panel { padding: 0 1.5rem; min-height: 70vh; }
  .scroll-story__panel-inner { max-width: 100%; padding: 2rem 1.5rem; }
  .scroll-story__panel--right { justify-content: flex-start; }
  .scroll-story__panel--center { justify-content: flex-start; text-align: left; }
  /* Reduce spacer panels on mobile so content appears faster */
  .scroll-story__panel[data-story-panel="0"] { min-height: 25vh; }
  .scroll-story__panel[data-story-panel="6"] { min-height: 25vh; }
  .scroll-story__progress { right: 0.75rem; }
  .scroll-story__dot { width: 6px; height: 6px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU OVERLAY
═══════════════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(26,20,16,0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-hero);
  font-weight: 300;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--honey); }

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu__close svg {
  width: 28px;
  height: 28px;
  color: var(--text-hero);
}

/* ═══════════════════════════════════════════════════════════════
   COUNTER ANIMATION
═══════════════════════════════════════════════════════════════ */
.counter {
  display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════
   AMBIENT SOUND TOGGLE
═══════════════════════════════════════════════════════════════ */
.sound-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(196,154,108,0.3);
  background: rgba(26,20,16,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.sound-toggle:hover {
  border-color: var(--honey);
  background: rgba(26,20,16,0.95);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(196,154,108,0.2);
}

.sound-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--honey);
  transition: all 0.3s;
}

.sound-toggle__label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--honey);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s ease;
  pointer-events: none;
  background: rgba(26,20,16,0.9);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(196,154,108,0.15);
}

.sound-toggle:hover .sound-toggle__label {
  opacity: 1;
  transform: translateX(0);
}

/* Sound wave animation bars */
.sound-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
}

.sound-bars__bar {
  width: 3px;
  border-radius: 2px;
  background: var(--honey);
  transition: height 0.2s;
}

.sound-bars__bar:nth-child(1) { height: 6px; animation: soundBar 0.8s ease infinite 0s; }
.sound-bars__bar:nth-child(2) { height: 12px; animation: soundBar 0.8s ease infinite 0.15s; }
.sound-bars__bar:nth-child(3) { height: 18px; animation: soundBar 0.8s ease infinite 0.3s; }
.sound-bars__bar:nth-child(4) { height: 10px; animation: soundBar 0.8s ease infinite 0.45s; }
.sound-bars__bar:nth-child(5) { height: 4px; animation: soundBar 0.8s ease infinite 0.6s; }

.sound-toggle.muted .sound-bars__bar {
  animation: none !important;
  height: 3px !important;
}

@keyframes soundBar {
  0%, 100% { transform: scaleY(0.3); }
  50%      { transform: scaleY(1); }
}

/* Prompt banner on first visit */
.sound-prompt {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 9001;
  background: rgba(26,20,16,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(196,154,108,0.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  max-width: 280px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: all 0.5s ease;
  pointer-events: none;
}

.sound-prompt.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.sound-prompt__icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.sound-prompt__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-hero);
  margin-bottom: 0.35rem;
}

.sound-prompt__text {
  font-size: 0.78rem;
  color: var(--text-hero-sub);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.sound-prompt__btns {
  display: flex;
  gap: 0.75rem;
}

.sound-prompt__btn {
  flex: 1;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.sound-prompt__btn--yes {
  background: var(--honey);
  color: var(--charcoal);
}

.sound-prompt__btn--yes:hover {
  background: var(--amber);
}

.sound-prompt__btn--no {
  background: rgba(255,255,255,0.06);
  color: var(--text-hero-sub);
  border: 1px solid rgba(255,255,255,0.1);
}

.sound-prompt__btn--no:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-hero);
}
