/* ==========================================
   ABOUT PAGE - CLEAN REBUILD
   ========================================== */

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

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

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

.about-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;
}

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

.about-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;
}

.about-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;
}

.about-hero-statement {
  font-family: var(--font-family-serif);
  font-size: clamp(1.75rem, 4.25vw, 3.75rem);
  line-height: 1.2;
  color: #aaa; /* Updated from #cacaca for better readability */
  font-weight: 400;
  text-align: center;
  margin: 2rem 0 0 0;
  max-width: 1100px;
}

.about-hero-tagline {
  font-family: var(--font-family-sans);
  font-size: 2rem; /* Increased for impact - between body and statement */
  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: 0;
  max-width: 900px;
}

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

.about-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);
  }
}

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

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

/* ==========================================
   CONTENT SECTIONS
   ========================================== */

.about-section {
  background-color: #fff;
  padding: 3rem 0; /* Clean, generous padding between sections */
  width: 100%;
}

.about-section-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem; /* Reduced from 4rem for tighter section flow */
}

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

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

.about-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;
}

.about-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;
}

/* Portrait with Pixar Bounce */
.about-portrait {
  flex-shrink: 0;
  margin: 1.25rem 0;
}

.about-portrait-img {
  width: 125px;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

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

.about-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;
}

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

/* Pull Quotes */
.about-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: 550px !important;
}

/* Button Labels (smaller italic text above buttons) */
.about-button-label {
  font-family: var(--font-family-serif) !important;
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
  color: #aaa !important; /* Match mobile stylized gray */
  font-weight: 500 !important; /* Match mobile bolder weight */
  font-style: italic !important;
  text-align: center !important; /* Match mobile center alignment */
  margin: .5rem 0 2rem 0 !important; /* Match mobile bottom spacing */
  width: 100% !important;
}

/* Links - Universal Style */
.about-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;
}

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

/* ==========================================
   BUTTONS
   ========================================== */

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

.about-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='white' 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;
}

.about-button:hover {
  background: var(--color-coral-dark);
  transform: none;
}

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

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

/* ==========================================
   WIDE IMAGES - Edge to Edge
   ========================================== */

.about-wide-images {
  width: 100vw;
  max-width: 100vw;
  margin: 4rem 0;
  padding: 0 2vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.about-wide-images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.about-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0 3rem 0; /* Reduced further - 4rem top (accounts for image shadow), 3rem bottom */
}

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

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

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

.about-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;
}

.about-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;
}

.about-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;
}

.about-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;
}

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

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

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

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

@media screen and (max-width: 768px) {
  /* Page wrapper */
  .about-page {
    padding: 0 1.25rem 2rem 1.25rem;
  }
  
  /* Hero section */
  .about-hero {
    min-height: auto;
    padding: 6rem 1.25rem 3rem 1.25rem;
  }
  
  .about-hero-container {
    gap: 1.5rem; /* Increased from 1rem to give more space between label and title */
  }
  
  /* Hero title - move down slightly from label */
  .about-hero-title {
    margin-top: 0.5rem; /* Add space below "Design Since 2003" */
  }
  
  /* Hero statement - make bigger, bolder, more impactful */
  .about-hero-statement {
    font-size: 2rem; /* Increased from clamp for mobile impact */
    font-weight: 500; /* Slightly bolder */
    line-height: 1.1;
    max-width: 100%; /* Allow full width for impact */
  }
  
  /* Hero tagline - make bigger, heavier for impact */
  .about-hero-tagline {
    font-size: 1.5rem !important; /* Increased from 1.375rem */
    font-weight: 400 !important; /* Keep at 400 */
    max-width: 100% !important; /* Allow full width on mobile to prevent awkward breaks */
    color: rgba(40, 40, 40, 0.8) !important; /* 80% opacity */
    line-height: 1.4 !important; /* Match desktop */
    margin-top: 0.75rem !important; /* Add a little space above */
  }
  
  /* Content sections */
  .about-section {
    padding: 3rem 0 4rem 0; /* Reduced top from 4rem to bring section headers closer to dividers */
  }
  
  .about-section-container {
    gap: 2rem;
    padding: 0 1.25rem; /* Add inner padding layer like blog - total 2.5rem from edge */
  }
  
  /* Body text */
  .about-section-content p {
    font-size: 1.125rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }
  
  /* Pull quotes - impactful on mobile */
  .about-pull-quote {
    font-size: 1.75rem !important; /* Bigger for impact, slightly smaller than hero statement 2rem */
    line-height: 1.2 !important; /* Tighter for impact */
    margin: 3.5rem auto !important;
  }
  
  /* Button labels - override desktop styles */
  .about-button-label {
    font-size: 1.25rem !important;
    margin: .5rem 0 2rem 0 !important; /* Increased bottom margin from 0.5rem to 1rem */
    font-weight: 500 !important; /* Bolder for more presence */
    color: #aaa !important; /* Stylized gray to match hero statement */
    text-align: center !important;
  }
  
  /* Portrait - make significantly larger on mobile */
  .about-portrait-img {
    width: 180px; /* Doubled from 90px */
  }
  
  /* Make buttons full width on mobile like homepage */
  .about-button {
    width: calc(100% - 1rem) !important;
    max-width: calc(100% - 1rem) !important;
    padding: 16px 1rem !important;
    justify-content: center !important;
  }
  
  /* Wide images - single column on mobile, contained within viewport */
  .about-wide-images {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 3rem 0;
    padding: 0; /* No padding needed - .about-page already provides 1.25rem */
    width: 100%; /* Reset width */
    max-width: 100%; /* Ensure it doesn't exceed viewport */
    left: auto; /* Reset desktop positioning */
    right: auto; /* Reset desktop positioning */
    margin-left: 0; /* Reset desktop negative margin */
    margin-right: 0; /* Reset desktop negative margin */
    position: static; /* Reset positioning */
  }
  
  /* CTA section */
  .about-cta {
    padding: 1rem 1.25rem 2rem 1.25rem; /* Reduced further - 3rem top (accounts for image shadow), 2rem bottom */
  }
  
  .about-cta-box {
    padding: 3rem 2rem;
  }
  
  .about-cta-title {
    font-size: 2rem;
  }
  
  .about-cta-description {
    font-size: 1rem;
  }
}

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