/* ============================================================
   page-case-study.css — case-study detail, sits on top of
   service.css (+ page-case-studies.css for cards & diorama).
   Ported from public/proposed/nas-v3/assets/css/page-case-shaker.css
   with the chromatic tokens re-anchored to the NAS brand palette.
   ============================================================ */

:root {
  --c-navy: #0E2A6B;
  --c-blue: #2158D6;
  --c-blue-2: #4A7EE8;
  --c-accent: #7BDFB1;
  --c-accent-2: #FFA8C6;
  --c-coral: #FF5146;
}

/* Breadcrumb */
.cs-crumb {
  padding: 16px 0 0;
  font-size: .82rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--c-mute);
}
.cs-crumb a { color: var(--c-mute); transition: color var(--t-fast) var(--ease-out); }
.cs-crumb a:hover { color: var(--c-blue); }
.cs-crumb span { margin: 0 6px; color: rgba(77, 90, 119, .4); }
.cs-crumb .cs-crumb-now { color: var(--c-navy); }


/* HERO */
.shk-hero .hero-grid { grid-template-columns: 1.05fr 1fr; }

.shk-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin: 30px 0 26px;
}
.shk-meta div { display: flex; flex-direction: column; gap: 4px; }
.shk-meta dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--c-mute);
  letter-spacing: .04em;
}
.shk-meta dd {
  margin: 0;
  font-weight: 600;
  color: var(--c-navy);
  font-size: .98rem;
}

/* Cover image, framed in the blueprint language */
.shk-cover {
  position: relative;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 40px 80px -48px rgba(14, 42, 107, .35);
}
.shk-cover img { width: 100%; height: auto; display: block; }
.shk-cover-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(14, 42, 107, .88);
  color: #7BDFB1;
  font: 700 .72rem/1 'JetBrains Mono', monospace;
  border-radius: 999px;
  letter-spacing: .04em;
}


/* OUTCOMES strip */
.shk-strip-sec { padding: 40px 0; }

.shk-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -40px rgba(14, 42, 107, .25);
}
.shk-strip li {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--c-line);
}
.shk-strip li:last-child { border-right: none; }

.shk-strip-n {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--c-navy);
  letter-spacing: -.02em;
  line-height: 1;
}
.shk-strip-l {
  font-weight: 600;
  color: var(--c-navy);
  font-size: .98rem;
}
.shk-strip-d {
  color: var(--c-mute);
  font-size: .86rem;
  line-height: 1.45;
}


/* STORY chapters */
.shk-story { max-width: 880px; }

.shk-chap { margin-bottom: clamp(48px, 6vw, 80px); }
.shk-chap:last-child { margin-bottom: 0; }

.shk-chap .kicker { display: inline-flex; margin-bottom: 14px; }
.shk-chap h2 { margin-bottom: 28px; }

.shk-chap-body p {
  color: var(--c-mute);
  font-size: 1.06rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.shk-chap-body p:last-child { margin-bottom: 0; }


/* ARCHITECTURE flow */
.shk-arch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
}
.shk-arch-col {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 24px 22px 22px;
  transition: transform var(--t-mid) var(--ease-spring),
              box-shadow var(--t-mid) var(--ease-out);
}
.shk-arch-col:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(14, 42, 107, .25);
}

.shk-arch-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-2));
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  border-radius: 10px;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px -8px rgba(33, 88, 214, .55);
}

.shk-arch-arrow {
  position: absolute;
  top: 44px;
  right: -10px;
  width: 20px;
  height: 12px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-accent));
  clip-path: polygon(0 50%, 75% 50%, 75% 0, 100% 50%, 75% 100%, 75% 50%);
  z-index: 1;
  opacity: .7;
}

.shk-arch-col h3 { margin-bottom: 10px; }

.shk-arch-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.shk-arch-col ul li {
  position: relative;
  color: var(--c-mute);
  font-size: .92rem;
  padding-left: 18px;
}
.shk-arch-col ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 1.5px;
  background: var(--c-blue);
}


/* TESTIMONIAL */
.shk-quote {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(34px, 4vw, 56px);
  background: linear-gradient(160deg, #fff, var(--c-bg-2));
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.shk-quote::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 60% at 100% 0%, rgba(123, 223, 177, .12), transparent 60%);
  pointer-events: none;
}
.shk-mark {
  width: 36px;
  height: 28px;
  color: var(--c-blue);
  opacity: .25;
  margin-bottom: 16px;
}
.shk-quote p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.45;
  color: var(--c-navy);
  font-weight: 500;
  letter-spacing: -.01em;
  margin-bottom: 22px;
  position: relative;
}
.shk-quote-attr {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.shk-attr-line { width: 32px; height: 1.5px; background: var(--c-blue); }
.shk-attr-name { font-weight: 700; color: var(--c-navy); }
.shk-attr-co { color: var(--c-mute); font-size: .92rem; }


/* Compliance note */
.shk-comp {
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px dashed var(--c-line-2);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.shk-comp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.shk-comp p { color: var(--c-mute); font-size: .96rem; }
.shk-comp-link { color: var(--c-blue); font-weight: 700; }
.shk-comp-link span {
  display: inline-block;
  transition: transform var(--t-fast) var(--ease-spring);
}
.shk-comp-link:hover span { transform: translateX(6px); }

/* Shared t-pill */
.t-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--c-navy);
}
.tp-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(123, 223, 177, .25);
}


/* Share / print row */
.shk-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}
.shk-share-k {
  font-family: 'JetBrains Mono', monospace;
  font-size: .76rem;
  color: var(--c-mute);
  margin-right: 6px;
}
.shk-share button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font: 600 .82rem/1 'Space Grotesk', sans-serif;
  color: var(--c-navy);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease-out),
              transform var(--t-mid) var(--ease-spring);
}
.shk-share button:hover {
  border-color: var(--c-blue);
  transform: translateY(-1px);
}
.shk-share button svg { width: 13px; height: 13px; }
.shk-share button.is-copied { border-color: var(--c-accent); color: var(--c-blue); }


/* RESPONSIVE */
@media (max-width: 1024px) {
  .shk-hero .hero-grid { grid-template-columns: 1fr; }
  .shk-cover { max-width: 520px; margin: 0 auto; }
  .shk-strip { grid-template-columns: repeat(2, 1fr); }
  .shk-strip li:nth-child(2) { border-right: none; }
  .shk-strip li:nth-child(1),
  .shk-strip li:nth-child(2) { border-bottom: 1px solid var(--c-line); }
  .shk-arch { grid-template-columns: repeat(2, 1fr); }
  .shk-arch-col:nth-child(2) .shk-arch-arrow { display: none; }
}
@media (max-width: 720px) {
  .shk-meta { grid-template-columns: 1fr; }
  .shk-strip { grid-template-columns: 1fr; }
  .shk-strip li { border-right: none; border-bottom: 1px solid var(--c-line); }
  .shk-strip li:last-child { border-bottom: none; }
  .shk-arch { grid-template-columns: 1fr; }
  .shk-arch-arrow { display: none; }
}
