@charset "UTF-8";
/* Case Study Pages - 2026 Style */
/* Note: Header styles are in style_base.css */

/* -------------------------------------------------------------------------
   Case Study Page Layout
--------------------------------------------------------------------------- */
.case-study-page {
  padding-top: 80px;
  background-color: #faf8f5;
  min-height: 100vh;
}

/* -------------------------------------------------------------------------
   Case Intro Section
--------------------------------------------------------------------------- */
.case-intro {
  max-width: 1152px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.back-link {
  display: inline-block;
  color: #6B7280;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
  /* Override global a styles */
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  margin-top: 0;
}

.back-link:hover {
  color: #14b8a6;
}

.case-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #3f3f3f;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.case-subtitle {
  font-size: 1.25rem;
  color: #6B7280;
  margin: 0;
  max-width: 600px;
}

/* -------------------------------------------------------------------------
   Case Info Grid (Details + Narrative)
--------------------------------------------------------------------------- */
.case-info-grid {
  max-width: 1152px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .case-info-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.case-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-block h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #3f3f3f;
  margin: 0 0 0.5rem 0;
}

.detail-block p,
.detail-block ul {
  font-size: 1rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.6;
}

.detail-block ul {
  list-style: none;
  padding: 0;
}

.detail-block li {
  margin-bottom: 0.25rem;
}

.case-narrative {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.narrative-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #3f3f3f;
  margin: 0 0 0.75rem 0;
}

.narrative-block p {
  font-size: 1rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.7;
}

/* -------------------------------------------------------------------------
   Case Gallery
--------------------------------------------------------------------------- */
.case-gallery {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.gallery-row.wide {
  display: block;
}

.gallery-row.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gallery-row.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 768px) {
  .gallery-row.two-up,
  .gallery-row.three-up {
    grid-template-columns: 1fr;
  }
}

/* Logo Evolution Labels */
.gallery-item {
  position: relative;
}

.evolution-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(20, 184, 166, 0.9);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  line-height: 1.3;
  letter-spacing: 0.5px;
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* -------------------------------------------------------------------------
   Case CTA Button
--------------------------------------------------------------------------- */
.case-cta {
  max-width: 1152px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background: #14b8a6;
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1.25rem 3rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: background 0.3s ease;
  width: 100%;
  max-width: 600px;
  text-align: center;
  /* Override global a styles */
  margin: 0;
  text-transform: none;
}

.cta-button:hover {
  background: #0d9488;
}

/* -------------------------------------------------------------------------
   Back Link Bottom
--------------------------------------------------------------------------- */
.case-back-bottom {
  max-width: 1152px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
  text-align: center;
}

.case-back-bottom a {
  color: #6B7280;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.case-back-bottom a:hover {
  color: #14b8a6;
}

/* -------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.site-footer {
  background: #3f3f3f;
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0;
}

.footer-content a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.footer-content a:hover {
  text-decoration: underline;
}
