/* ============================================
   MAISON SOLEIL — Home Page Styles
   ============================================ */

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  overflow: hidden;
  background: var(--bg);
}

.hero-sun-wrap {
  width: min(560px, 80vw);
  height: min(560px, 80vw);
  position: relative;
  margin-bottom: -40px;
}

#sun-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-content .eyebrow { justify-content: center; }
.hero-content .eyebrow::before { display: none; }

.hero-title {
  font-size: clamp(42px, 8vw, 92px);
  letter-spacing: -0.02em;
}

.hero-sub {
  max-width: 540px;
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--ink);
  animation: scrollDrip 2.2s var(--ease-soft) infinite;
}
@keyframes scrollDrip {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

@media (max-width: 600px) {
  .hero { padding-top: 120px; }
  .hero-sun-wrap { margin-bottom: -20px; }
}

/* ===== Intro / Heritage ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.intro-title {
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 18px;
  max-width: 360px;
}

.intro-text-col { display: flex; flex-direction: column; gap: 26px; padding-top: 8px; }
.intro-text-col p { max-width: 480px; }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-title { max-width: none; }
}

/* ===== Pillars ===== */
.pillars-section { background: var(--bg-warm); }

.section-head { max-width: 640px; margin-bottom: 70px; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 18px; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.pillar {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  transform-style: preserve-3d;
  transition: transform var(--dur-fast) var(--ease-soft);
  will-change: transform;
}
.pillar:hover {
  transform: perspective(800px) rotateX(3deg) rotateY(-3deg) translateY(-4px);
}
.pillar-num {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--silver);
  display: block;
  margin-bottom: 18px;
  transition: transform var(--dur-fast) var(--ease-soft);
}
.pillar:hover .pillar-num { transform: translateZ(18px); }
.pillar h3 { font-size: 21px; margin-bottom: 14px; }

@media (max-width: 860px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ===== Fabric ===== */
.fabric-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.fabric-visual { order: 0; }
.fabric-swatch {
  aspect-ratio: 4/5;
  border-radius: 0;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.05) 0, rgba(0,0,0,0.05) 2px, transparent 2px, transparent 9px),
    linear-gradient(135deg, var(--bg-deep), var(--silver-lt) 60%, var(--bg-warm));
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform var(--dur-med) var(--ease-soft);
  will-change: transform;
}
.fabric-swatch:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-4deg) scale(1.015);
}

.fabric-section h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 18px; }

@media (max-width: 860px) {
  .fabric-grid { grid-template-columns: 1fr; gap: 36px; }
  .fabric-visual { order: -1; }
  .fabric-swatch { aspect-ratio: 16/10; }
}

/* ===== CTA ===== */
.cta-section { padding-bottom: clamp(120px, 14vw, 200px); }
.cta-section h2 {
  font-size: clamp(34px, 5.5vw, 60px);
  margin-bottom: 44px;
}
