/* Elevare 3D — Case Study shared styles (Plus Jakarta Sans only) */

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gradient-bg {
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 50%, #ffffff 100%);
  position: relative;
}

.gradient-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(214, 62, 62, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(15, 15, 15, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.01) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.nav-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-scrolled {
  padding-top: 0.65rem !important;
  padding-bottom: 0.65rem !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

body.cs-page {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 50%, #ffffff 100%);
  color: #171717;
  margin: 0;
  min-height: 100%;
}

.magnetic-btn {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-accent {
  color: #c1bc68;
  font-weight: 300;
  font-style: italic;
}

.cs-wrap {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 128px 24px 0;
}

.cs-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: 1rem;
}

.cs-hero-title {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0a0a0a;
  margin: 0 0 1.25rem;
}

.cs-hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: #737373;
  max-width: 38rem;
  margin: 0 0 2rem;
}

.cs-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 1.75rem;
}

.meta-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
}

.meta-chip span:first-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.meta-chip span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: #171717;
  line-height: 1.35;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a3a3a3;
  margin-bottom: 10px;
}

.cs-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: #0a0a0a;
}

.cs-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #737373;
  margin: 0 0 1.15rem;
}

.cs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 12px;
}

.cs-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9875rem;
  line-height: 1.65;
  color: #525252;
}

.cs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c1bc68;
}

.cs-section {
  margin-bottom: clamp(4.5rem, 8vw, 7rem);
  padding-top: 0.5rem;
}

.cs-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.ba-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}

.ba-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a3a3a3;
  padding: 18px 22px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gallery-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  aspect-ratio: 4 / 3;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  display: block;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.outcome-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 1.75rem;
}

.outcome-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-block {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
}

.quote-block blockquote {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.55;
  color: #404040;
  margin: 0 0 2rem;
}

.cta-band {
  position: relative;
  z-index: 1;
  background: #0a0a0a;
  color: #fff;
  border-radius: 28px;
  padding: clamp(2.75rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  margin: 0 24px 4rem;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
  height: 100%;
}

.related-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.related-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.related-card-media.media-badeloft {
  padding: 0.55rem;
  background: #f7f7f7;
}

.related-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-card-media.media-badeloft img {
  transform: scale(1.14);
}

.related-card:hover .related-card-media img {
  transform: scale(1.05);
}

.related-card:hover .related-card-media.media-badeloft img {
  transform: scale(1.2);
}

.related-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.split-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.split-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: sticky;
  top: 110px;
}

.split-visual .gallery-item {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
}

.split-visual .gallery-item:first-child {
  margin-top: 1.5rem;
}

.split-visual .gallery-item:last-child {
  margin-top: 0;
}

.hub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  height: 100%;
}

.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.1);
}

.hub-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hub-card-media.media-badeloft {
  padding: 0.65rem;
  background: #f7f7f7;
}

.hub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-card-media.media-badeloft img {
  transform: scale(1.14);
}

.hub-card:hover .hub-card-media img {
  transform: scale(1.05);
}

.hub-card:hover .hub-card-media.media-badeloft img {
  transform: scale(1.2);
}

.hub-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-image {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .split-visual {
    position: static;
    gap: 10px;
  }

  .split-visual .gallery-item:first-child {
    margin-top: 0;
  }

  .split-visual .gallery-item {
    aspect-ratio: 4 / 5;
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .cs-wrap {
    padding: 96px 18px 0;
  }

  .cs-eyebrow {
    font-size: 11px;
    margin-bottom: 0.75rem;
  }

  .cs-hero-title {
    font-size: clamp(2.15rem, 9.5vw, 2.85rem);
    line-height: 1.08;
    margin-bottom: 1rem;
  }

  .cs-hero-lead {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .cs-meta {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 1.35rem;
  }

  .meta-chip {
    padding: 14px 16px;
    border-radius: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .meta-chip span:first-child {
    flex-shrink: 0;
  }

  .meta-chip span:last-child {
    text-align: left;
    font-size: 13px;
  }

  .cs-h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    margin-bottom: 1rem;
  }

  .cs-body {
    font-size: 1rem;
    line-height: 1.7;
  }

  .cs-list {
    gap: 10px;
    margin-bottom: 1.25rem;
  }

  .cs-list li {
    font-size: 0.95rem;
    padding-left: 1.35rem;
  }

  .cs-section {
    margin-bottom: 3.25rem;
    padding-top: 0;
  }

  .cs-panel {
    border-radius: 16px;
    padding: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-grid.cols-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-item {
    border-radius: 12px;
    aspect-ratio: 4 / 3;
  }

  .gallery-item:hover,
  .gallery-item:hover img {
    transform: none;
    box-shadow: none;
  }

  .outcome-card {
    padding: 1.35rem;
    border-radius: 16px;
  }

  .outcome-card h3 {
    font-size: 1rem;
  }

  .quote-block {
    border-radius: 18px;
    padding: 1.75rem 1.25rem;
    text-align: left;
  }

  .quote-block blockquote {
    font-size: 1.05rem;
    margin-bottom: 1.35rem;
  }

  .cta-band {
    margin: 0 18px 2.5rem;
    border-radius: 20px;
    padding: 2.25rem 1.35rem;
  }

  .cta-band h2 {
    font-size: clamp(1.4rem, 6.5vw, 1.85rem);
    margin-bottom: 1.25rem;
  }

  .cta-band br {
    display: none;
  }

  .hub-card {
    border-radius: 18px;
  }

  .hub-card:hover {
    transform: none;
    box-shadow: none;
  }

  .hub-card-media {
    aspect-ratio: 16 / 11;
    padding: 1rem;
  }

  .hub-card-media.media-badeloft {
    padding: 0.4rem;
  }

  .hub-card-body {
    padding: 1.15rem 1.2rem 1.35rem;
  }

  .hub-card:hover .hub-card-media img,
  .hub-card:hover .hub-card-media.media-badeloft img {
    transform: none;
  }

  .hub-card-media.media-badeloft img {
    transform: scale(1.1);
  }

  .related-card {
    border-radius: 16px;
  }

  .related-card:hover {
    transform: none;
    box-shadow: none;
  }

  .related-card-media {
    aspect-ratio: 16 / 11;
    padding: 1rem;
  }

  .related-card-media.media-badeloft {
    padding: 0.4rem;
  }

  .related-card-body {
    padding: 1.15rem 1.2rem 1.35rem;
  }

  .related-card:hover .related-card-media img,
  .related-card:hover .related-card-media.media-badeloft img {
    transform: none;
  }

  .related-card-media.media-badeloft img {
    transform: scale(1.1);
  }

  .lightbox-overlay {
    padding: 16px;
  }

  .lightbox-close {
    top: 12px;
    right: 14px;
    font-size: 32px;
  }

  .cs-page .mb-14 {
    margin-bottom: 2.5rem;
  }

  .cs-page .mb-8 {
    margin-bottom: 1.25rem;
  }

  .cs-page .gap-5 {
    gap: 0.85rem;
  }

  .cs-page footer {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .cs-wrap {
    padding: 88px 16px 0;
  }

  .cs-hero-title {
    font-size: 2.05rem;
  }

  .gallery-grid {
    gap: 8px;
  }

  .gallery-item {
    border-radius: 10px;
  }

  .cta-band {
    margin: 0 16px 2rem;
    padding: 2rem 1.15rem;
  }

  .meta-chip {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .meta-chip span:last-child {
    text-align: left;
  }
}
