/* Specific adjustments for Case Study */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10rem 2.5rem 5rem;
}

section {
  padding: 5rem 0;
  border-bottom: 0.5px solid var(--border);
}
section:last-of-type { border-bottom: none; }

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 3rem;
}

.meta-item {
  background: var(--bg2);
  padding: 1.25rem 1.5rem;
}

.meta-item .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted2);
  margin-bottom: 6px;
}

.meta-item .value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.hero-img,
.brand-img,
.website-img,
.scroll-frame {
  width: 100%;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  display: block;
  box-shadow: 0 24px 70px rgba(0,0,0,0.4);
  transition: transform 0.4s cubic-bezier(.23,1,.32,1), border-color 0.25s, box-shadow 0.25s;
  background: #000;
  overflow: hidden;
}

.hero-img {
  margin-top: 3rem;
}

.hero-img:hover,
.brand-img:hover,
.website-img:hover,
.website-scroll:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.thinking-list { margin-top: 2rem; }

.thinking-item {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  padding: 2.5rem 0;
  border-bottom: 0.5px solid var(--border);
}
.thinking-item:last-child { border-bottom: none; }

.thinking-item .svc-num { 
  margin: 0; 
  padding-top: 5px;
  min-width: 32px;
}
.thinking-item .sb { 
  margin: 0; 
  max-width: 680px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 2.5rem;
}

.scroll-frame {
  margin-top: 2rem;
  height: 600px;
  overflow-y: auto;
  position: relative;
  cursor: auto;
}
.scroll-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar for Proximity */
.scroll-frame::-webkit-scrollbar { width: 4px; }
.scroll-frame::-webkit-scrollbar-track { background: transparent; }
.scroll-frame::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 10px; }
.scroll-frame::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.outcome-list { margin-top: 1.5rem; }

.outcome-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 0.85rem 0;
}

.outcome-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 10px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .container { padding-top: 7rem; }
  section { padding: 4rem 0; }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: 1fr; }
  .thinking-item { gap: 1.25rem; }
}
