/* Grid Tile Section - Get to Know Wallie */
.grid-tile-section {
  padding: 6rem 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.section-title-centered {
  text-align: center;
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--dark-brown);
  margin-bottom: 3rem;
  position: relative;
  letter-spacing: -0.01em;
}

.section-title-centered::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--forest-green);
  margin: 1.25rem auto 0;
  border-radius: 2px;
  opacity: 0.6;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Tile Base Styles */
.tile {
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.tile > * {
  position: relative;
  z-index: 2;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Tile Sizes */
.tile-large {
  grid-column: span 2;
  grid-row: span 2;
}

.tile-medium {
  grid-column: span 2;
  grid-row: span 1;
}

.tile-small {
  grid-column: span 1;
  grid-row: span 1;
}

/* Background Images for All Tiles */
.tile-1 {
  background-image: url('../images/wallie-gallery.png');
  background-size: cover;
  background-position: center;
}

.tile-2 {
  background-image: url('../images/e-ink-display-web.png');
  background-size: cover;
  background-position: center;
}

.tile-3 {
  background-image: url('../images/wallie-single-web.png');
  background-size: cover;
  background-position: center;
}

.tile-4 {
  background-image: url('../images/hero-white-oak.png');
  background-size: cover;
  background-position: center;
}

.tile-5 {
  background-image: url('../images/hero-cherry.png');
  background-size: cover;
  background-position: center;
}

.tile-6 {
  background-image: url('../images/wallie-gallery-2-web.png');
  background-size: cover;
  background-position: center;
}

.tile-7 {
  background-image: url('../images/e-ink-display-web.png');
  background-size: cover;
  background-position: center;
}

.tile-8 {
  background-image: url('../images/wallie-single-web.png');
  background-size: cover;
  background-position: center;
}

.tile-9 {
  background-image: url('../images/hero-maple.png');
  background-size: cover;
  background-position: center;
}

.tile-10 {
  background-image: url('../images/e-ink-display-web.png');
  background-size: cover;
  background-position: center;
}

/* Tile Content */
.tile-icon {
  margin-bottom: 1rem;
  display: block;
}

.tile-icon svg {
  color: var(--forest-green);
  stroke-width: 1.5;
}

.tile[data-color="forest"] .tile-icon svg,
.tile[data-color="medium-green"] .tile-icon svg {
  color: white;
}

.tile-icon-small {
  margin-bottom: 0.5rem;
  display: block;
}

.tile-icon-small svg {
  color: white;
  fill: white;
  stroke-width: 1.5;
}

.tile h3 {
  font-family: var(--font-main);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: white;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.tile-large h3 {
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.tile p {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  font-weight: 400;
}

.tile-small p {
  font-size: 0.8rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.tile-small p strong {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Badge Styling */
.tile-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.comparison-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
}

.comparison-note {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
  position: relative;
  padding-left: 1.5rem;
}

.comparison-note::before {
  content: '○';
  position: absolute;
  left: 0;
  color: #6b7280;
  font-weight: 700;
}

.comparison-good {
  font-size: 0.9rem;
  color: var(--forest-green);
  font-weight: 600;
  position: relative;
  padding-left: 1.5rem;
}

.comparison-good::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--forest-green);
  font-weight: 700;
}

.comparison-subtext {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-green);
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
  opacity: 1;
}

.feature-highlight {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--forest-green);
  margin-top: 1rem;
  line-height: 1.8;
  opacity: 1;
}

.small-text {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* Stat Tiles */
.tile-stat {
  font-size: 3rem;
  font-weight: 400;
  color: white;
  margin-bottom: 0.25rem;
  line-height: 1;
  font-family: var(--font-main);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Number Tiles */
.tile-number {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.35rem;
  font-family: var(--font-main);
  color: white;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* Specific Tile Layouts */
.tile-1,
.tile-6,
.tile-10 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.tile-4,
.tile-5,
.tile-9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Remove over-the-top animations */

/* Responsive Design */
@media (max-width: 1024px) {
  .tiles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .tile-large {
    grid-column: span 3;
    grid-row: span 1;
  }
  
  .tile-medium {
    grid-column: span 2;
  }
  
  .tile-small {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .grid-tile-section {
    padding: 3rem 0;
  }
  
  .section-title-centered {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
  
  .tiles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .tile {
    padding: 1.5rem;
    min-height: 200px;
  }
  
  .tile-large,
  .tile-medium,
  .tile-small {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .tile h3 {
    font-size: 1.2rem;
  }
  
  .tile-large h3 {
    font-size: 1.3rem;
  }
  
  .tile p {
    font-size: 0.875rem;
  }
  
  .tile-stat {
    font-size: 2.5rem;
  }
  
  .tile-number {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .grid-tile-section {
    padding: 2.5rem 0;
  }
  
  .section-title-centered {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }
  
  .tiles-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  
  .tile-large,
  .tile-medium,
  .tile-small {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .tile {
    padding: 1.25rem;
    min-height: 180px;
  }
  
  .tile-icon {
    font-size: 2rem;
  }
  
  .tile h3 {
    font-size: 1.1rem;
  }
  
  .tile-large h3 {
    font-size: 1.2rem;
  }
  
  .tile p {
    font-size: 0.85rem;
  }
  
  .tile-stat {
    font-size: 2rem;
  }
  
  .tile-number {
    font-size: 2.5rem;
  }
}

/* Simple fade-in on scroll instead of staggered animations */
.tile {
  opacity: 1;
}

