/* ==========================================
   NAME PAGE - CLEAN REBUILD
   ========================================== */

/* ==========================================
   PAGE WRAPPER
   ========================================== */

.name-page {
  background: #fff;
  min-height: 100vh;
  margin: 0;
  padding: 0 2rem 8rem 2rem;
  position: relative;
  z-index: 100;
}

/* ==========================================
   HERO SECTION - Full Height Impact
   ========================================== */

.name-hero {
  background-color: #fff;
  min-height: 100vh;
  padding: 10rem 4rem 5rem 4rem;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.name-hero-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.name-hero-label {
  font-family: var(--font-family-sans);
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: var(--color-coral);
  letter-spacing: 0.02em;
  margin: 0;
  font-weight: 500;
}

.name-hero-title {
  font-family: var(--font-family-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--color-text-primary);
  font-weight: 600;
  margin: -1.25rem 0 0 0;
}

.name-hero-statement {
  font-family: var(--font-family-sans);
  font-size: 2rem; /* Increased for impact - between body and big gray text */
  line-height: 1.4; /* Slightly more open for readability at this size */
  font-weight: 400; /* Medium weight for presence */
  color: rgba(40, 40, 40, 0.8); /* 80% opacity of var(--color-text-primary) */
  margin: 2rem 0 0 0;
  max-width: 900px;
}

/* Scroll Indicator with Pixar Bounce */
.name-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
}

.name-scroll-indicator img {
  cursor: pointer;
  transform-origin: center;
  transition: filter 0.3s ease;
}

@keyframes pixar-bounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  25% {
    transform: translateY(-20px) scale(1.1, 0.9);
  }
  50% {
    transform: translateY(0) scale(0.95, 1.05);
  }
  75% {
    transform: translateY(-8px) scale(1.05, 0.95);
  }
}

.name-scroll-indicator:hover img {
  animation: pixar-bounce 0.8s cubic-bezier(0.28, 0.84, 0.42, 1);
}

.name-hero-divider {
  width: 100%;
  max-width: 700px;
  height: 1.5px;
  background: #e8e8e8;
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   CONTENT SECTION
   ========================================== */

.name-section {
  background-color: #fff;
  padding: 1rem 0; /* Clean, generous padding */
  width: 100%;
}

.name-section-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* Section Headers */
.name-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
}

.name-section-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.name-section-label {
  font-family: var(--font-family-sans);
  font-size: clamp(0.875rem, 0.8vw, 1rem);
  color: var(--color-coral);
  letter-spacing: 0.02em;
  margin: 0;
  font-weight: 500;
}

.name-section-title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  color: var(--color-text-primary);
  margin: 0;
  font-weight: 600;
  line-height: 1;
}

/* Section Content - Body Text */
.name-section-content {
  font-family: var(--font-family-sans);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
}

.name-section-content p {
  font-size: 1.25rem; /* Match blog post: 20px */
  line-height: 1.65; /* Match blog post: tighter spacing */
  color: var(--color-text-primary); /* Match blog post: darker for readability */
  margin: 0 0 1.75rem 0;
  font-weight: 400; /* Match blog post: medium weight */
  width: 100%;
  text-align: left;
}

.name-section-content p:last-child {
  margin-bottom: 0;
}

/* Pull Quotes */
.name-pull-quote {
  font-family: var(--font-family-serif) !important;
  font-size: clamp(1.25rem, 3vw, 2.5rem) !important; /* Slightly smaller than hero statement */
  line-height: 1.2 !important;
  color: #aaa !important; /* Match hero statement gray */
  font-weight: 400 !important;
  font-style: normal !important;
  display: block !important;
  text-align: center !important;
  margin: 4rem auto !important;
  max-width: 560px !important;
}

/* Links - Universal Style */
.name-link {
  color: var(--color-text-primary); /* Same as body text */
  text-decoration: none;
  font-weight: 500; /* Slightly bolder than body text */
  transition: color 0.3s ease;
}

.name-link:hover {
  color: var(--color-coral); /* Coral on hover */
}

/* ==========================================
   FULL WIDTH IMAGE
   ========================================== */

.name-full-image {
  width: 100%;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0;
}

.name-full-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.name-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0 3rem 0; /* Reduced - 4rem top, 3rem bottom to match About page */
}

.name-cta-box {
  width: 100%;
  max-width: 1100px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  position: relative;
  padding: 4rem 3rem;
  overflow: visible;
}

.name-cta-bullet {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 1rem;
  width: 60px !important;
  height: 60px !important;
  display: block;
}

.name-cta-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.name-cta-title {
  font-family: var(--font-family-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.2;
}

.name-cta-description {
  font-family: var(--font-family-sans);
  color: rgba(40, 40, 40, 0.8); /* Match homepage */
  font-size: 1.25rem;
  font-weight: 400; /* Match homepage */
  line-height: 1.6;
  margin: 0 0 1rem 0;
  max-width: 825px;
}

.name-cta-button {
  border: none;
  color: #888888;
  padding: 12px 64px 12px 70px;
  background: #f5f5f5;
  border-radius: 8px;
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  font-weight: 450;
  transition: all 0.4s ease;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  box-shadow: none;
}

.name-cta-button::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888888' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M13 7l5 5m0 0l-5 5m5-5H6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  display: inline-block;
}

.name-cta-button:hover {
  background: #e0e0e0;
  transform: none;
}

.name-cta-button:hover::after {
  transform: translateX(4px);
}

.name-cta-button:active {
  transform: scale(0.98);
}

/* ==========================================
   RESPONSIVE STYLES - MOBILE
   ========================================== */

@media screen and (max-width: 768px) {
  /* Page wrapper */
  .name-page {
    padding: 0 1.25rem 2rem 1.25rem;
  }
  
  /* Hero section */
  .name-hero {
    min-height: auto;
    padding: 6rem 1.25rem 3rem 1.25rem;
  }
  
  .name-hero-container {
    gap: 1.5rem; /* Increased from 1rem to give more space between label and title */
  }
  
  /* Hero title - move down slightly from label */
  .name-hero-title {
    margin-top: 0.5rem; /* Add space below "What's Wax Era?" */
  }
  
  /* Hero statement - make bigger with better weight for impact */
  .name-hero-statement {
    font-size: 1.5rem !important; /* Increased for mobile impact */
    font-weight: 400 !important; /* Medium weight */
    line-height: 1.4 !important; /* More readable */
    max-width: 100% !important; /* Allow full width for impact */
    color: rgba(40, 40, 40, 0.8) !important; /* 80% opacity */
  }
  
  /* Content section */
  .name-section {
    padding: 3rem 0 4rem 0; /* Reduced top from 4rem to bring section headers closer to dividers */
  }
  
  .name-section-container {
    gap: 2rem;
    padding: 0 1.25rem; /* Add inner padding layer like blog - total 2.5rem from edge */
  }
  
  /* Body text */
  .name-section-content p {
    font-size: 1.125rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }
  
  /* Pull quotes - impactful on mobile */
  .name-pull-quote {
    font-size: 1.5rem !important; /* Bigger for impact, slightly smaller than hero statement 2rem */
    line-height: 1.2 !important; /* Tighter for impact */
    margin: 3.5rem auto !important;
    padding: 0 1rem !important; /* Add some horizontal padding */
  }
  
  /* Full image */
  .name-full-image {
    margin: 3rem 0;
  }
  
  /* CTA section */
  .name-cta {
    padding: 3rem 1.25rem 2rem 1.25rem; /* Reduced - 3rem top, 2rem bottom to match About page */
  }
  
  .name-cta-box {
    padding: 3rem 2rem;
  }
  
  .name-cta-title {
    font-size: 2rem;
  }
  
  .name-cta-description {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .name-hero {
    padding: 3rem 1.25rem 2rem 1.25rem;
  }
  
  .name-hero-container {
    gap: 0.75rem;
  }
}
