/* ═══════════════════════════════════════════════════════════════
   Prisma Akatsuki — Case Study Pages Stylesheet
   Editorial project stories. Extends the main design system.
   Prefix: cs-  (prevents collision with sp- and main styles)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --bg: #F5F4F0;
  --bg-alt: #ECEAE3;
  --bg-dark: #111110;
  --bg-dark-2: #1A1918;
  --text: #111110;
  --text-muted: #6B6963;
  --text-faint: #A8A49E;
  --accent: #C8440A;
  --accent-warm: #E07B3B;
  --white: #FAFAF8;
  --border: rgba(17, 17, 16, 0.1);
  --border-dark: rgba(255, 255, 255, 0.08);

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  overflow-x: clip;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  line-height: 1.6;
}

/* ── Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text-faint); border-radius: 3px; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Container ───────────────────────────────────── */
.cs-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ═══════════════════════════════════════════════════
   NAVIGATION (mirrors sp- nav for visual parity)
   ═══════════════════════════════════════════════════ */
.cs-nav-wrap {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 900px;
}

.cs-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 16px;
  background: rgba(245, 244, 240, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.cs-desktop-nav.scrolled {
  background: rgba(245, 244, 240, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.cs-nav-logo { display: flex; align-items: center; text-decoration: none; }
.cs-nav-logo-img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

.cs-nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
}

.cs-nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 100px;
  transition: color 0.25s, background 0.25s;
}

.cs-nav-link:hover,
.cs-nav-link.active {
  color: var(--text);
  background: var(--bg-alt);
}

.cs-nav-cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--text);
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.25s;
}

.cs-nav-cta:hover { opacity: 0.85; }

/* ── Mobile Nav ───────────────────────────────────── */
.cs-mobile-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  padding: 14px 20px;
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.cs-hamburger {
  width: 28px; height: 20px;
  background: none; border: none; cursor: pointer;
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
}
.cs-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.cs-hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.cs-hamburger.open span:nth-child(2) { opacity: 0; }
.cs-hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.cs-mobile-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  flex-direction: column;
  padding: 100px 32px 40px;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.cs-mobile-drawer.open { display: flex; opacity: 1; }

.cs-mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.cs-mobile-nav-link:hover { color: var(--accent); }

@media (max-width: 768px) {
  .cs-nav-wrap { display: none; }
  .cs-mobile-bar { display: flex; }
}

/* ── Breadcrumb ───────────────────────────────────── */
.cs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 120px 0 0;
  font-size: 0.78rem;
  color: var(--text-faint);
}
.cs-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.cs-breadcrumb a:hover { color: var(--accent); }
.cs-breadcrumb-sep { opacity: 0.4; }

@media (max-width: 768px) {
  .cs-breadcrumb { padding-top: 80px; }
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════ */
.cs-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.cs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cs-reveal-d1 { transition-delay: 0.1s; }
.cs-reveal-d2 { transition-delay: 0.2s; }
.cs-reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .cs-reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════
   SECTION FOUNDATIONS
   ═══════════════════════════════════════════════════ */
.cs-section {
  padding: clamp(60px, 8vw, 120px) 0;
}

.cs-section--alt { background: var(--bg-alt); }

.cs-section--dark {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
}

.cs-section--dark h2,
.cs-section--dark h3,
.cs-section--dark h4 { color: var(--white); }

.cs-section-header {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.cs-section-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.cs-section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.cs-section--dark .cs-section-divider { background: var(--border-dark); }

.cs-section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

/* ── Typography ───────────────────────────────────── */
.cs-display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cs-display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
}

.cs-body-lg {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   01 — PROJECT HERO
   ═══════════════════════════════════════════════════ */
.cs-hero {
  padding: clamp(40px, 5vw, 60px) 0 clamp(60px, 8vw, 100px);
}

.cs-hero-classification {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.cs-hero-classification--confidential {
  background: rgba(200, 68, 10, 0.08);
  color: var(--accent);
  border: 1px solid rgba(200, 68, 10, 0.2);
}

.cs-hero-classification--representative {
  background: rgba(17, 17, 16, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.cs-hero-classification--client {
  background: rgba(34, 120, 70, 0.08);
  color: #1a7a42;
  border: 1px solid rgba(34, 120, 70, 0.2);
}

.cs-hero-category {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.cs-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 800px;
}

.cs-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
  font-style: italic;
}

/* ── Project Meta Grid ───────────────────────────── */
.cs-hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
}

.cs-hero-meta-item {
  padding: 20px 24px 20px 0;
  border-right: 1px solid var(--border);
}

.cs-hero-meta-item:last-child { border-right: none; }

.cs-hero-meta-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.cs-hero-meta-value {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .cs-hero-meta {
    grid-template-columns: 1fr 1fr;
  }
  .cs-hero-meta-item {
    padding: 16px 16px 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .cs-hero-meta-item:nth-child(even) { border-right: none; }
  .cs-hero-meta-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════
   02 — THE CHALLENGE
   ═══════════════════════════════════════════════════ */
.cs-challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}

.cs-challenge-text p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cs-challenge-text p:last-child { margin-bottom: 0; }

.cs-challenge-sidebar {
  padding: clamp(24px, 3vw, 40px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-self: start;
}

.cs-section--alt .cs-challenge-sidebar { background: var(--white); }

.cs-challenge-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.cs-challenge-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cs-challenge-sidebar li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.cs-challenge-sidebar li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 768px) {
  .cs-challenge-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   03 — THE PRODUCT (System Diagram)
   ═══════════════════════════════════════════════════ */
.cs-product-narrative p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 720px;
}

.cs-system-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: clamp(32px, 4vw, 56px) 0;
  padding: clamp(32px, 4vw, 48px);
  background: var(--bg-dark);
  border-radius: 16px;
}

.cs-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  min-width: 100px;
}

.cs-flow-node-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-flow-node-icon svg { stroke: var(--accent-warm); }

.cs-flow-node-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.02em;
}

.cs-flow-arrow {
  color: var(--text-faint);
  font-size: 1.2rem;
  opacity: 0.4;
  padding: 0 4px;
}

@media (max-width: 640px) {
  .cs-system-flow { flex-direction: column; gap: 4px; }
  .cs-flow-arrow { transform: rotate(90deg); }
}

/* ═══════════════════════════════════════════════════
   04 — OUR ROLE
   ═══════════════════════════════════════════════════ */
.cs-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.cs-role-card {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.3s;
}

.cs-section--alt .cs-role-card { background: var(--white); }
.cs-role-card:hover { border-color: var(--accent); }

.cs-role-card h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.cs-role-card p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   05 — KEY DECISIONS
   ═══════════════════════════════════════════════════ */
.cs-decisions-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cs-decision {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--border);
}

.cs-section--dark .cs-decision { border-color: var(--border-dark); }
.cs-decision:first-child { border-top: 1px solid var(--border); }
.cs-section--dark .cs-decision:first-child { border-color: var(--border-dark); }

.cs-decision-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.cs-decision h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.cs-section--dark .cs-decision h3 { color: var(--white); }

.cs-decision p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .cs-decision {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ═══════════════════════════════════════════════════
   06 — EXPERIENCE / INTERFACE PLACEHOLDER
   ═══════════════════════════════════════════════════ */
.cs-experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.cs-screen-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--bg-dark);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.cs-screen-placeholder::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
}

.cs-screen-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  opacity: 0.7;
}

.cs-screen-sublabel {
  font-size: 0.7rem;
  color: var(--text-faint);
  text-align: center;
  font-style: italic;
}

.cs-screen-placeholder--tall { aspect-ratio: 9 / 16; }
.cs-screen-placeholder--wide { grid-column: span 2; aspect-ratio: 16 / 9; }

.cs-experience-note {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-style: italic;
  text-align: center;
  margin-top: 16px;
}

@media (max-width: 640px) {
  .cs-experience-grid { grid-template-columns: 1fr; }
  .cs-screen-placeholder--wide { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ═══════════════════════════════════════════════════
   07 — TECHNOLOGY IN CONTEXT
   ═══════════════════════════════════════════════════ */
.cs-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.cs-tech-card {
  padding: clamp(24px, 3vw, 32px);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  transition: border-color 0.3s;
}

.cs-tech-card:hover { border-color: var(--accent); }

.cs-tech-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.cs-tech-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════════════════════════
   08 — OUTCOME
   ═══════════════════════════════════════════════════ */
.cs-outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.cs-outcome-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.cs-section--alt .cs-outcome-card { background: var(--white); }

.cs-outcome-card h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.cs-outcome-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cs-outcome-disclaimer {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-style: italic;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════
   09 — LESSONS / WHAT MADE IT INTERESTING
   ═══════════════════════════════════════════════════ */
.cs-lessons-content {
  max-width: 720px;
}

.cs-lessons-content p {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cs-lessons-content p:last-child { margin-bottom: 0; }

.cs-pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px);
  border-left: 3px solid var(--accent);
  margin: clamp(24px, 3vw, 40px) 0;
  max-width: 640px;
}

/* ═══════════════════════════════════════════════════
   10 — RELATED SERVICES
   ═══════════════════════════════════════════════════ */
.cs-related-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.cs-related-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.cs-related-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.cs-related-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.cs-related-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 16px;
}

.cs-related-arrow {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Related Projects ─────────────────────────────── */
.cs-related-projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.cs-project-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.cs-project-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.cs-project-card-cat {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 10px;
}

.cs-project-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.cs-project-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  flex: 1;
  margin-bottom: 16px;
}

.cs-project-card-arrow {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-warm);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════
   11 — CTA
   ═══════════════════════════════════════════════════ */
.cs-cta {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--bg-dark);
}

.cs-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cs-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.cs-cta-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
}

.cs-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ───────────────────────────────────── */
.cs-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
  background: var(--accent);
  color: var(--white);
}

.cs-btn-solid:hover { opacity: 0.9; transform: translateY(-1px); }

.cs-btn-solid--light {
  background: var(--white);
  color: var(--text);
}

.cs-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}

.cs-btn-ghost:hover { border-color: var(--text); transform: translateY(-1px); }

.cs-btn-ghost--light {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}

.cs-btn-ghost--light:hover { border-color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.cs-footer {
  background: var(--bg-dark);
  padding: clamp(48px, 6vw, 80px) 0 32px;
  border-top: 1px solid var(--border-dark);
}

.cs-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 48px;
}

.cs-footer-brand { max-width: 280px; }

.cs-footer-logo { display: inline-flex; align-items: center; text-decoration: none; margin-bottom: 16px; }
.cs-footer-logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

.cs-footer-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
}

.cs-footer-col { display: flex; flex-direction: column; gap: 8px; }

.cs-footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}

.cs-footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.cs-footer-link:hover { color: var(--white); }

.cs-footer-socials { display: flex; gap: 12px; margin-bottom: 8px; }
.cs-footer-socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  color: rgba(255,255,255,0.5);
  transition: border-color 0.2s, color 0.2s;
}
.cs-footer-socials a:hover { border-color: var(--accent); color: var(--accent); }

.cs-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  flex-wrap: wrap;
  gap: 12px;
}

.cs-footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
  .cs-footer-inner { grid-template-columns: 1fr 1fr; }
  .cs-footer-brand { grid-column: span 2; max-width: 100%; }
}

@media (max-width: 480px) {
  .cs-footer-inner { grid-template-columns: 1fr; }
  .cs-footer-brand { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════
   BACK TO PORTFOLIO LINK
   ═══════════════════════════════════════════════════ */
.cs-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 16px;
}

.cs-back-link:hover { color: var(--accent); }

.cs-back-link svg { transition: transform 0.2s; }
.cs-back-link:hover svg { transform: translateX(-3px); }

/* ═══════════════════════════════════════════════════
   CONFIDENTIALITY NOTICE
   ═══════════════════════════════════════════════════ */
.cs-confidentiality-notice {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-faint);
  font-style: italic;
  padding: 20px 24px;
  background: rgba(17, 17, 16, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 24px;
}

/* ═══════════════════════════════════════════════════
   FEATURE LIST (for product sections)
   ═══════════════════════════════════════════════════ */
.cs-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.cs-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.cs-section--alt .cs-feature-item { background: var(--white); }
.cs-section--dark .cs-feature-item {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-dark);
}

.cs-feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.cs-feature-item h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.cs-section--dark .cs-feature-item h4 { color: var(--white); }

.cs-feature-item p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   FOCUS STATES (Accessibility)
   ═══════════════════════════════════════════════════ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.cs-btn-solid:focus-visible,
.cs-btn-ghost:focus-visible,
.cs-nav-cta:focus-visible {
  outline-offset: 4px;
}
