/* =========================================================
   Case Study page — /work/shinepro.html
   Loaded ON TOP of /style.css. Only adds page-specific bits.
   ========================================================= */

.cs-breadcrumb {
  background: var(--bg-2);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.cs-breadcrumb a {
  color: var(--muted);
  font-weight: 600;
  transition: color .2s;
}
.cs-breadcrumb a:hover { color: var(--gold); }

/* ---------- HERO ---------- */
.cs-hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(234,179,8,.08), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(10,23,56,.05), transparent 50%);
}
html[data-theme="dark"] .cs-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(234,179,8,.12), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(10,23,56,.3), transparent 50%);
}
.cs-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.cs-hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 18px 0 22px;
}
.cs-hero-sub {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.6;
}
.cs-hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-meta-item {
  display: flex;
  flex-direction: column;
}
.cs-meta-item strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
html[data-theme="dark"] .cs-meta-item strong { color: var(--gold); }
.cs-meta-item span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.cs-hero-visual { position: relative; }

/* ---------- SECTIONS ---------- */
.cs-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.cs-section-muted { background: var(--bg-2); }
.cs-section-dark {
  background: var(--navy-deep);
  color: #F3F4F6;
  border-top: none;
}
.cs-section-dark h2,
.cs-section-dark h3,
.cs-section-dark h4 { color: #FFF; }
.cs-section-dark p { color: rgba(255,255,255,.78); }
.cs-section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 14px 0 24px;
}
.cs-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--ink);
}
.cs-section-dark p { color: rgba(255,255,255,.85); }

.cs-list {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
}
.cs-list li {
  padding: 10px 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.cs-list li:last-child { border: 0; }

.cs-callout {
  background: rgba(234,179,8,.08);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0 8px;
  font-size: 1.05rem;
  color: var(--ink) !important;
}
html[data-theme="dark"] .cs-callout {
  background: rgba(234,179,8,.14);
  color: var(--ink) !important;
}

/* ---------- WHAT I BUILT FEATURE GRID ---------- */
.cs-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.cs-feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cs-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
html[data-theme="dark"] .cs-feature { background: var(--bg-3); }
.cs-feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.cs-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.cs-feature p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ---------- TECH STACK ---------- */
.cs-tech {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.cs-tech-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 16px 22px;
  font-size: 0.97rem;
  color: var(--ink);
  line-height: 1.55;
}
.cs-tech-item strong { color: var(--navy); margin-right: 8px; font-weight: 800; }
html[data-theme="dark"] .cs-tech-item { background: var(--bg-2); }
html[data-theme="dark"] .cs-tech-item strong { color: var(--gold); }

/* ---------- RESULTS ---------- */
.cs-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0 48px;
}
.cs-result {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.cs-result:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.08);
}
.cs-result-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}
.cs-result p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
}

/* ---------- BIG CASE-STUDY QUOTE ---------- */
.cs-quote {
  background: linear-gradient(135deg, rgba(234,179,8,.18) 0%, rgba(234,179,8,.04) 100%);
  border: 1px solid rgba(234,179,8,.3);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  margin: 0;
}
.cs-quote blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cs-quote blockquote::before { content: "“"; color: var(--gold); font-size: 2rem; margin-right: 4px; vertical-align: -10px; }
.cs-quote blockquote::after { content: "”"; color: var(--gold); font-size: 2rem; margin-left: 4px; vertical-align: -10px; }
.cs-quote figcaption {
  color: rgba(255,255,255,.85);
  font-size: 0.95rem;
}
.cs-quote figcaption strong {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

/* ---------- FINAL CTA ---------- */
.cs-cta {
  text-align: center;
  background: var(--bg);
}
.cs-cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cs-cta p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}
.cs-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .cs-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .cs-features { grid-template-columns: 1fr; }
  .cs-results-grid { grid-template-columns: 1fr; }
  .cs-hero-meta { gap: 18px; }
  .cs-meta-item strong { font-size: 1.4rem; }
}
@media (max-width: 520px) {
  .cs-section { padding: 56px 0; }
  .cs-feature, .cs-result { padding: 22px; }
  .cs-quote { padding: 24px 20px; }
  .cs-quote blockquote { font-size: 1.1rem; }
}
