/* ================= ROOT VARIABLES ================= */
:root {
  --charcoal: #1F2937;
  --copper: #B65A2E;
  --bg-soft: #F7F2EE;
  --text-muted: #374151;
}

/* ================= RESET ================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--charcoal);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= NAVBAR ================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eef0f3;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.topbar .logo {
  height: 70px;
}

.nav a {
  margin-left: 28px;
  font-weight: 600;
  text-decoration: none;
  color: var(--charcoal);
}

.nav a:hover {
  color: var(--copper);
}

/* ================= HERO ================= */
.hero-cover {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}

/* ===== HEADLINE + ANIMATION ===== */
.hero-title {
  display: flex;
  gap: 56px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.15;
}

.hero-title span {
  color: var(--charcoal);
  opacity: 0;
  transform: translateY(18px);
  animation: wordReveal 0.8s ease forwards;
}

.hero-title span::after {
  content: ".";
  margin-left: 4px;
  color: var(--copper);
}

.hero-title span:nth-child(1) { animation-delay: 0.1s; }
.hero-title span:nth-child(2) { animation-delay: 0.35s; }
.hero-title span:nth-child(3) { animation-delay: 0.6s; }

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

/* ===== SUBTITLE ===== */
.hero-subtitle {
  font-size: 21px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 28px 0;
}

/* ===== HERO LINKS ===== */
.hero-links {
  display: flex;
  gap: 24px;
}

.hero-links a {
  font-size: 15px;
  color: var(--copper);
  text-decoration: none;
  position: relative;
}

.hero-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

/* ================= COPPER SVG ================= */
.hero-copper-line {
  position: absolute;
  right: -120px;
  bottom: 80px;
  width: 520px;
  opacity: 0;
  animation: copperFade 1.2s ease forwards;
  animation-delay: 1.1s;
}

.copper-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawCopper 2.4s ease forwards;
  animation-delay: 1.1s;
}

@keyframes drawCopper {
  to { stroke-dashoffset: 0; }
}

@keyframes copperFade {
  to { opacity: 0.18; }
}

/* ================= PRODUCT RAIL ================= */
.product-rail {
  padding: 60px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.product-rail-track {
  display: flex;
  gap: 28px;
  padding: 0 24px;
}

/* ================= PRODUCT CARD REFINEMENT ================= */

.product-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 44px 36px 42px;
  min-width: 420px;
  position: relative;
  transition: 
    transform 0.45s ease,
    box-shadow 0.45s ease,
    background 0.45s ease;
}

/* Active / Hover card */
.product-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.10),
    0 8px 18px rgba(0,0,0,0.06);
  background: #fffdfa;
}


.product-img {
    position: absolute;
    top: 29px;
    right: 70px;
    width: 115px;
    height: 86px;
    border-radius: 16px;
  display: grid;
  place-items: center;

}

.product-img img {
  width: 110%;
  height: auto;
  transform: rotate(0deg);
}


.product-card h3 {
  font-size: 26px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 14px;
  line-height: 1.25;
}

.product-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
  max-width: 85%;
}


.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 14px;
  color: #111827;
  text-decoration: none;
}

.cta-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #c75d2a, #e07b39);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease;
}

.product-card:hover .cta-icon {
  transform: translateX(6px);
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-copper-line {
    display: none;
  }

  .product-card {
    min-width: 300px;
    padding: 36px 28px;
  }
}

/* ================= ACCESSIBILITY ================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transform: none !important;
  }
}
/* ===== HERO TO ABOUT TRANSITION ===== */
.hero-to-about {
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(247,242,238,1) 0%,
    rgba(247,242,238,0.6) 40%,
    rgba(255,255,255,1) 100%
  );
}
/* ===== ABOUT REVEAL ===== */
.reveal-about {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

