← back to Model Arena

data/artifacts/1cc50031c12f/kimi.html

621 lines

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Designer Wallcoverings | Grandmillennial Lookbook</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
  /* Luxury Palette - Warm Ivory Ground */
  --bg: #f8f6f1;
  --surface: #ffffff;
  --ink: #1c1a17;
  --muted: #8a8578;
  --accent: #c9a961;
  --line: rgba(28, 26, 23, 0.12);
  --shadow: rgba(28, 26, 23, 0.08);
  
  /* Typography Scale - Ratio 1.333 */
  --text-caption: 12px;
  --text-body: 16px;
  --text-lead: 21px;
  --text-h3: 28px;
  --text-h2: 38px;
  --text-h1: 50px;
  --text-display: 67px;
  
  /* Motion */
  --ease-swift: cubic-bezier(.22,.9,.24,1);
  --ease-power: cubic-bezier(.77,0,.18,1);
  --ease-quint: cubic-bezier(.22,1,.36,1);
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--text-body);
  line-height: 1.6;
  overflow: hidden;
}

/* Fixed Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: var(--space-sm) var(--space-md);
}

.wordmark {
  font-family: 'Playfair Display', 'Didot', 'Bodoni MT', Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
}

/* Carousel Container */
.carousel-container {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 60px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 600ms var(--ease-power);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-md);
  position: relative;
}

/* Slide Content Styling */
.slide-content {
  max-width: 420px;
  width: 100%;
  text-align: center;
}

/* Cover Slide */
.cover-slide .style-label {
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

.cover-slide h1 {
  font-family: 'Playfair Display', 'Didot', 'Bodoni MT', Georgia, serif;
  font-size: var(--text-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--ink);
}

.cover-slide .subtitle {
  font-size: var(--text-lead);
  color: var(--muted);
  font-weight: 300;
  margin-bottom: var(--space-xl);
}

/* Pattern Slides */
.pattern-slide .slide-number {
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.pattern-slide h2 {
  font-family: 'Playfair Display', 'Didot', 'Bodoni MT', Georgia, serif;
  font-size: var(--text-h2);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  color: var(--ink);
}

.pattern-composition {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.pattern-swatch {
  width: 100%;
  height: 200px;
  border-radius: 2px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px var(--shadow);
  position: relative;
  overflow: hidden;
}

/* Grandmillennial Pattern 1: Chinoiserie Toile */
.pattern-chinoiserie {
  background-color: #f5f3ef;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M30 60 Q40 40 50 55 T70 50 Q80 45 85 55 Q90 65 80 70 Q70 75 60 70 Q50 75 40 70 Q30 65 30 60' fill='none' stroke='%23c9a961' stroke-width='0.8' opacity='0.6'/%3E%3Cpath d='M20 30 Q25 20 35 25 Q45 30 40 40 Q35 50 25 45 Q15 40 20 30' fill='none' stroke='%231c1a17' stroke-width='0.5' opacity='0.4'/%3E%3Ccircle cx='90' cy='30' r='8' fill='none' stroke='%23c9a961' stroke-width='0.6' opacity='0.5'/%3E%3Cpath d='M80 90 Q85 80 95 85 Q105 90 100 100 Q95 110 85 105 Q75 100 80 90' fill='none' stroke='%231c1a17' stroke-width='0.5' opacity='0.4'/%3E%3Cpath d='M10 100 Q15 90 20 95 Q25 100 20 105 Q15 110 10 105 Q5 100 10 100' fill='%23c9a961' opacity='0.2'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

/* Grandmillennial Pattern 2: Floral Chintz */
.pattern-chintz {
  background-color: #faf9f6;
  background-image: 
    radial-gradient(circle at 30% 30%, rgba(201, 169, 97, 0.3) 0%, transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(28, 26, 23, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 50% 80%, rgba(201, 169, 97, 0.25) 0%, transparent 18%),
    radial-gradient(circle at 20% 70%, rgba(28, 26, 23, 0.1) 0%, transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(201, 169, 97, 0.2) 0%, transparent 15%);
  background-size: 80px 80px;
  position: relative;
}

.pattern-chintz::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 25 Q32 20 35 22 Q38 24 36 28 Q34 32 30 30 Q26 32 24 28 Q22 24 25 22 Q28 20 30 25' fill='%23c9a961' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  opacity: 0.6;
}

/* Grandmillennial Pattern 3: Gingham */
.pattern-gingham {
  background-color: #f8f6f1;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(201, 169, 97, 0.15) 19px, rgba(201, 169, 97, 0.15) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(201, 169, 97, 0.15) 19px, rgba(201, 169, 97, 0.15) 20px),
    repeating-linear-gradient(0deg, transparent, transparent 9px, rgba(28, 26, 23, 0.06) 9px, rgba(28, 26, 23, 0.06) 10px),
    repeating-linear-gradient(90deg, transparent, transparent 9px, rgba(28, 26, 23, 0.06) 9px, rgba(28, 26, 23, 0.06) 10px);
}

/* Room Vignette - CSS Composition */
.room-vignette {
  width: 100%;
  height: 140px;
  background: linear-gradient(180deg, #e8e4dc 0%, #f0ede6 100%);
  border-radius: 2px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.04);
}

/* Chinoiserie Room */
.room-chinoiserie::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(201, 169, 97, 0.1) 20%, rgba(201, 169, 97, 0.1) 80%, transparent 100%),
    repeating-linear-gradient(90deg, #d4cfc4 0px, #d4cfc4 2px, transparent 2px, transparent 40px);
  opacity: 0.5;
}

.room-chinoiserie::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 80px;
  background: #8a8578;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px 2px 0 0;
  box-shadow: 
    -40px 10px 0 -10px #a09888,
    40px 10px 0 -10px #a09888,
    0 20px 0 -15px #c9a961;
}

/* Chintz Room */
.room-chintz::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 100%, rgba(201, 169, 97, 0.2) 0%, transparent 60%);
}

.room-chintz::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 60px;
  background: linear-gradient(135deg, #c9a961 0%, #a08b5a 100%);
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  box-shadow: 
    -60px 20px 0 -15px #d4c4b0,
    60px 20px 0 -15px #d4c4b0;
}

/* Gingham Room */
.room-gingham::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: 
    linear-gradient(0deg, rgba(201, 169, 97, 0.1) 0%, transparent 100%);
}

.room-gingham::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 40px;
  background: repeating-linear-gradient(
    90deg,
    #f5f3ef,
    #f5f3ef 8px,
    #c9a961 8px,
    #c9a961 16px
  );
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.styling-note {
  font-family: 'Playfair Display', 'Didot', 'Bodoni MT', Georgia, serif;
  font-size: var(--text-lead);
  font-style: italic;
  color: var(--muted);
  margin-top: var(--space-sm);
  line-height: 1.4;
}

/* CTA Slide */
.cta-slide h2 {
  font-family: 'Playfair Display', 'Didot', 'Bodoni MT', Georgia, serif;
  font-size: var(--text-h1);
  font-weight: 500;
  margin-bottom: var(--space-md);
  color: var(--ink);
}

.cta-slide p {
  font-size: var(--text-body);
  color: var(--muted);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 2px;
  transition: all 300ms var(--ease-swift);
  border: 1px solid var(--ink);
}

.cta-button:hover {
  background: transparent;
  color: var(--ink);
}

/* Dots Navigation */
.dots-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: var(--bg);
  border-top: 1px solid var(--line);
  z-index: 100;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: 1px solid var(--muted);
  cursor: pointer;
  transition: all 300ms var(--ease-swift);
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

/* Swipe Indicators */
.swipe-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 480px) {
  .wordmark {
    font-size: 32px;
    letter-spacing: 0.12em;
  }
  
  :root {
    --text-display: 48px;
    --text-h1: 38px;
    --text-h2: 28px;
  }
  
  .pattern-swatch {
    height: 160px;
  }
  
  .room-vignette {
    height: 100px;
  }
}

/* Touch handling */
.carousel-container {
  touch-action: pan-y pinch-zoom;
}
</style>
</head>
<body>

<header>
  <div class="wordmark">Designer Wallcoverings</div>
</header>

<div class="carousel-container" id="carousel">
  <div class="carousel-track" id="track">
    
    <!-- Slide 1: Cover -->
    <div class="slide cover-slide">
      <div class="slide-content">
        <div class="style-label">Style Guide</div>
        <h1>Grandmillennial</h1>
        <p class="subtitle">Collected charm meets modern sensibility. Traditional patterns, warm palettes, and heirloom quality for the new generation of classicists.</p>
      </div>
      <div class="swipe-hint">Swipe to explore</div>
    </div>
    
    <!-- Slide 2: Chinoiserie -->
    <div class="slide pattern-slide">
      <div class="slide-content">
        <div class="slide-number">Pattern 01</div>
        <h2>Chinoiserie</h2>
        <div class="pattern-composition">
          <div class="pattern-swatch pattern-chinoiserie"></div>
          <div class="room-vignette room-chinoiserie"></div>
        </div>
        <p class="styling-note">"Layer with porcelain lamps and bamboo accents for timeless Eastern-inspired elegance."</p>
      </div>
    </div>
    
    <!-- Slide 3: Floral Chintz -->
    <div class="slide pattern-slide">
      <div class="slide-content">
        <div class="slide-number">Pattern 02</div>
        <h2>English Chintz</h2>
        <div class="pattern-composition">
          <div class="pattern-swatch pattern-chintz"></div>
          <div class="room-vignette room-chintz"></div>
        </div>
        <p class="styling-note">"Pair with brass hardware and needlepoint pillows for a country house warmth."</p>
      </div>
    </div>
    
    <!-- Slide 4: Gingham -->
    <div class="slide pattern-slide">
      <div class="slide-content">
        <div class="slide-number">Pattern 03</div>
        <h2>Classic Gingham</h2>
        <div class="pattern-composition">
          <div class="pattern-swatch pattern-gingham"></div>
          <div class="room-vignette room-gingham"></div>
        </div>
        <p class="styling-note">"Balance the grid with curved silhouettes—balloon shades and scalloped edges."</p>
      </div>
    </div>
    
    <!-- Slide 5: CTA -->
    <div class="slide cta-slide">
      <div class="slide-content">
        <h2>Curate Your Space</h2>
        <p>Grandmillennial style celebrates the art of collecting.<br>Start with one signature wallcovering.</p>
        <a href="#" class="cta-button">Request Samples</a>
      </div>
    </div>
    
  </div>
</div>

<div class="dots-container" id="dots"></div>

<script>
const track = document.getElementById('track');
const carousel = document.getElementById('carousel');
const dotsContainer = document.getElementById('dots');
const slides = document.querySelectorAll('.slide');
let currentSlide = 0;
const totalSlides = slides.length;

// Create dots
slides.forEach((_, index) => {
  const dot = document.createElement('button');
  dot.className = 'dot';
  dot.setAttribute('aria-label', `Go to slide ${index + 1}`);
  if (index === 0) dot.classList.add('active');
  dot.addEventListener('click', () => goToSlide(index));
  dotsContainer.appendChild(dot);
});

const dots = document.querySelectorAll('.dot');

function goToSlide(index) {
  if (index < 0) index = 0;
  if (index >= totalSlides) index = totalSlides - 1;
  currentSlide = index;
  track.style.transform = `translateX(-${currentSlide * 100}%)`;
  
  dots.forEach((dot, i) => {
    dot.classList.toggle('active', i === currentSlide);
  });
}

// Touch/Swipe handling
let startX = 0;
let currentX = 0;
let isDragging = false;
let startTime = 0;

carousel.addEventListener('touchstart', (e) => {
  startX = e.touches[0].clientX;
  currentX = startX;
  isDragging = true;
  startTime = Date.now();
  track.style.transition = 'none';
}, { passive: true });

carousel.addEventListener('touchmove', (e) => {
  if (!isDragging) return;
  currentX = e.touches[0].clientX;
  const diff = currentX - startX;
  const offset = -currentSlide * 100 + (diff / carousel.offsetWidth * 100);
  track.style.transform = `translateX(${offset}%)`;
}, { passive: true });

carousel.addEventListener('touchend', () => {
  if (!isDragging) return;
  isDragging = false;
  track.style.transition = 'transform 600ms cubic-bezier(.77,0,.18,1)';
  
  const diff = currentX - startX;
  const duration = Date.now() - startTime;
  const velocity = Math.abs(diff) / duration;
  
  if (Math.abs(diff) > 80 || velocity > 0.5) {
    if (diff > 0 && currentSlide > 0) {
      goToSlide(currentSlide - 1);
    } else if (diff < 0 && currentSlide < totalSlides - 1) {
      goToSlide(currentSlide + 1);
    } else {
      goToSlide(currentSlide);
    }
  } else {
    goToSlide(currentSlide);
  }
});

// Mouse drag support
carousel.addEventListener('mousedown', (e) => {
  startX = e.clientX;
  currentX = startX;
  isDragging = true;
  startTime = Date.now();
  track.style.transition = 'none';
  e.preventDefault();
});

document.addEventListener('mousemove', (e) => {
  if (!isDragging) return;
  currentX = e.clientX;
  const diff = currentX - startX;
  const offset = -currentSlide * 100 + (diff / carousel.offsetWidth * 100);
  track.style.transform = `translateX(${offset}%)`;
});

document.addEventListener('mouseup', () => {
  if (!isDragging) return;
  isDragging = false;
  track.style.transition = 'transform 600ms cubic-bezier(.77,0,.18,1)';
  
  const diff = currentX - startX;
  if (Math.abs(diff) > 80) {
    if (diff > 0 && currentSlide > 0) {
      goToSlide(currentSlide - 1);
    } else if (diff < 0 && currentSlide < totalSlides - 1) {
      goToSlide(currentSlide + 1);
    } else {
      goToSlide(currentSlide);
    }
  } else {
    goToSlide(currentSlide);
  }
});

// Keyboard navigation
document.addEventListener('keydown', (e) => {
  if (e.key === 'ArrowLeft') goToSlide(currentSlide - 1);
  if (e.key === 'ArrowRight') goToSlide(currentSlide + 1);
});
</script>

</body>
</html>