/* ============================================================
   CASE STUDY — case-study.css
   ============================================================ */

/* ============================================================
   NEW PORTFOLIO LAYOUT (cs2-*)
   Sections: hero / info / image-split / story / showcase / journal
   ============================================================ */

/* ── SECTION 1: Hero ─────────────────────────────────────── */
.cs2-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cs2-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}

.cs2-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.cs2-hero-inner {
  position: relative;
  z-index: 2;
}

.cs2-hero-title {
  font-size: clamp(2.5rem, 7vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

/* ── SECTION 2: Info (white) ─────────────────────────────── */
.cs2-info {
  background: #fff;
  color: #000;
  padding: clamp(56px, 8vw, 112px) 0;
}

.cs2-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
}

@media (min-width: 768px) {
  .cs2-info-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.cs2-client-name {
  font-size: clamp(1.6rem, 3vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #000;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.cs2-scope-label {
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 300;
  color: #000;
  margin-bottom: 8px;
}

.cs2-scope-list {
  list-style: none;
}

.cs2-scope-list li {
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.9;
  color: #000;
}

.cs2-info-right p {
  font-size: clamp(0.9rem, 1.2vw, 1.0625rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.75;
  color: #222;
  margin-bottom: 1.4em;
}

.cs2-info-right p:last-of-type {
  margin-bottom: 1.75em;
}

.cs2-visit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 300;
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cs2-visit-link:hover { opacity: 0.5; }

/* ── SECTION 3: Two-column image split ───────────────────── */
.cs2-image-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.cs2-image-split-col {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

@media (max-width: 600px) {
  .cs2-image-split {
    grid-template-columns: 1fr;
  }
}

.cs2-image-split-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs2-img-placeholder {
  position: absolute;
  inset: 0;
}

/* ── SECTIONS 4 & 6: Story (off-white) ───────────────────── */
.cs2-story {
  background: var(--off-white);
  color: #000;
  padding: clamp(64px, 8vw, 112px) 0;
}

.cs2-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
}

@media (min-width: 768px) {
  .cs2-story-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.cs2-story-h2 {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #000;
}

.cs2-story-intro {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.5;
  color: #000;
  margin-bottom: 1.5em;
}

.cs2-story-right p {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.75;
  color: #333;
  margin-bottom: 1.25em;
}

.cs2-story-right p:last-child { margin-bottom: 0; }

/* ── SECTION 5: Dark showcase ────────────────────────────── */
.cs2-showcase {
  background: #111;
  padding: clamp(48px, 6vw, 96px) 0;
  overflow: hidden;
}

.cs2-showcase-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 var(--px);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.cs2-showcase-img {
  overflow: hidden;
  border-radius: 8px;
  background: #222;
}

.cs2-showcase-img--left {
  width: 35%;
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
  opacity: 0.7;
}

.cs2-showcase-img--main {
  width: 55%;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
}

.cs2-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .cs2-showcase-inner {
    flex-direction: column;
  }
  .cs2-showcase-img--left,
  .cs2-showcase-img--main {
    width: 100%;
  }
}

/* ── Journal section ─────────────────────────────────────── */
.cs2-journal {
  background: var(--bg);
  color: var(--white);
  padding: clamp(64px, 8vw, 112px) 0;
}

.cs2-journal-heading {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.cs2-journal-heading a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}
.cs2-journal-heading a:hover { opacity: 0.7; }


/* ============================================================
   ORIGINAL CASE STUDY STYLES (kept for reference)
   ============================================================ */

/* ── HEADER (transparent over hero) ─────────────────────── */
.cs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 0;
  background: transparent;
  mix-blend-mode: normal;
}

.cs-header .nav-logo img,
.cs-header .menu-btn {
  color: #fff;
  filter: none;
}

/* ── SECTION 1 — HERO STRIP ──────────────────────────────── */
.cs-hero-strip {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  background: var(--off-white);
  padding-top: var(--nav-h);
}
.cs-hero-strip::-webkit-scrollbar { display: none; }

.cs-hero-track {
  display: flex;
  gap: 12px;
  padding: 40px 40px 40px;
  width: max-content;
}

.cs-hero-img {
  flex-shrink: 0;
  width: 36vw;
  max-width: 560px;
  min-width: 260px;
  border-radius: 20px;
  overflow: hidden;
  background: #d8d4cc;
  aspect-ratio: 3/4;
}

.cs-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .cs-hero-img {
    width: 72vw;
    min-width: 220px;
  }
  .cs-hero-track {
    padding: 80px 24px 32px;
    gap: 10px;
  }
}


/* ── SECTION 2 — PROJECT INTRO ───────────────────────────── */
.cs-intro {
  background: var(--off-white);
  color: #111;
  padding: 56px 0 64px;
}

.cs-category-pill {
  display: inline-block;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  color: #111;
}

.cs-headline {
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #111;
  max-width: 900px;
  margin-bottom: 40px;
}

.cs-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.15);
  margin-bottom: 40px;
}

.cs-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  max-width: 600px;
}

.cs-meta-item {
  padding-right: 60px;
}

.cs-meta-label {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.cs-meta-value {
  font-size: 0.9rem;
  color: #111;
}

@media (max-width: 480px) {
  .cs-meta {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
  }
  .cs-meta-item:last-child {
    grid-column: 1 / -1;
  }
}


/* ── SECTION 3 — FEATURE DARK ────────────────────────────── */
.cs-feature-dark {
  background: #111;
  padding: 80px 0;
}

.cs-feature-dark-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cs-spec-line {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}

.cs-feature-dark-img {
  border-radius: 16px;
  overflow: hidden;
  background: #222;
  aspect-ratio: 4/3;
}

.cs-feature-dark-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .cs-feature-dark-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* ── SECTION 4 — SPLIT: LOGO + IMAGE ─────────────────────── */
.cs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.cs-split--white {
  background: var(--off-white);
}

.cs-split-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 6%;
}

.cs-client-logo {
  height: 40px;
  width: auto;
  margin-bottom: 40px;
  filter: invert(1);
}

.cs-split-tagline {
  font-size: clamp(1.6rem, 2.8vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  color: #111;
}

.cs-split-right {
  overflow: hidden;
}

.cs-split-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: #c8c4bc;
}

.cs-split-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .cs-split {
    grid-template-columns: 1fr;
  }
  .cs-split-left {
    padding: 60px var(--px);
  }
  .cs-split-img-wrap {
    min-height: 300px;
  }
}


/* ── SECTION 5 & 9 — BODY COPY ───────────────────────────── */
.cs-body-copy {
  background: var(--off-white);
  padding: 80px 0;
}

.cs-body-copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.cs-body-copy-right p {
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: #111;
  margin-bottom: 24px;
}

.cs-body-copy-right p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .cs-body-copy-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cs-body-copy-left {
    display: none;
  }
}


/* ── SECTION 6 — FULL-BLEED FEATURE IMAGE ────────────────── */
.cs-full-bleed {
  width: 100%;
}

.cs-full-bleed-img {
  width: 100%;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #3a3540;
}

.cs-full-bleed-overlay {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 60px 6%;
}

.cs-full-bleed-text {
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
}

.cs-full-bleed-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

@media (max-width: 600px) {
  .cs-full-bleed-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
}


/* ── SECTION 7 — TWO PANEL DARK ─────────────────────────── */
.cs-two-panel-dark {
  background: #111;
  padding: 60px 0;
}

.cs-two-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 6%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.cs-panel-img {
  border-radius: 12px;
  overflow: hidden;
  background: #222;
  aspect-ratio: 4/3;
}

.cs-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .cs-two-panel-inner {
    grid-template-columns: 1fr;
  }
}


/* ── SECTION 8 — FULL-WIDTH MOCKUP ──────────────────────── */
.cs-mockup {
  background: #e8e2d8;
  padding: 80px 6%;
}

.cs-mockup-wrap {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #ccc;
  aspect-ratio: 16/10;
}

.cs-mockup-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ── SECTION 10 — HORIZONTAL SCROLL GALLERY ─────────────── */
.cs-scroll-gallery {
  background: #111;
  padding: 60px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cs-scroll-gallery::-webkit-scrollbar { display: none; }

.cs-scroll-track {
  display: flex;
  gap: 16px;
  padding: 0 6%;
  width: max-content;
}

.cs-scroll-card {
  flex-shrink: 0;
  width: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #222;
  aspect-ratio: 9/16;
}

.cs-scroll-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .cs-scroll-card {
    width: 220px;
  }
}


/* ── SECTION 11 — QUOTE ──────────────────────────────────── */
.cs-quote {
  background: var(--off-white);
  padding: 120px 0;
}

.cs-quote-text {
  font-size: clamp(1.6rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.35;
  color: #111;
  max-width: 1100px;
  margin-bottom: 32px;
}

.cs-quote-attr {
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 0.02em;
}


/* ── SECTION 12 — RELATED ARTICLES ──────────────────────── */
.cs-related {
  background: #111;
  padding: 80px 0;
}

.cs-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cs-related-img {
  border-radius: 12px;
  overflow: hidden;
  background: #222;
  aspect-ratio: 16/10;
  margin-bottom: 20px;
}

.cs-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-related-title {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
}

.cs-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 0.85rem;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}

.cs-read-more:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

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

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


/* ============================================================
   FAQ PAGE (faq-*)
   ============================================================ */

.faq-page {
  background: #fff;
  padding-top: var(--nav-h, 80px);
  min-height: 100vh;
}

.faq-layout {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 0;
  max-width: var(--max-w, 1360px);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) var(--px, 40px);
  align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.faq-sidebar {
  position: sticky;
  top: calc(var(--nav-h, 80px) + 48px);
  padding-right: clamp(32px, 4vw, 60px);
}

.faq-sidebar-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #000;
  line-height: 1;
  margin-bottom: 28px;
}

.faq-ceo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  margin-bottom: 32px;
  transition: opacity 0.2s;
}

.faq-ceo-btn:hover { opacity: 0.5; }

.faq-ceo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-ceo-icon svg {
  width: 10px;
  height: 10px;
  fill: #fff;
  margin-left: 2px;
}

.faq-nav-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 20px;
}

.faq-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 300;
  color: #888;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.faq-nav-link::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.2s;
}

.faq-nav-link:hover { color: #000; }

.faq-nav-link.active {
  color: #000;
  font-weight: 400;
}

.faq-nav-link.active::before {
  background: #000;
}

/* ── Content ─────────────────────────────────────────────── */
.faq-content {
  border-left: 1px solid rgba(0,0,0,0.08);
  padding-left: clamp(40px, 5vw, 80px);
}

.faq-section {
  margin-bottom: clamp(64px, 8vw, 112px);
}

.faq-section:last-child { margin-bottom: 0; }

.faq-section-heading {
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.faq-section-count {
  font-size: 1rem;
  font-weight: 300;
  color: #999;
}

/* ── Accordion ───────────────────────────────────────────── */
.faq-item {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  text-align: left;
}

.faq-question-text {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: #000;
}

.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: #000;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-toggle::before {
  width: 12px;
  height: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  width: 1px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-question:hover .faq-toggle { opacity: 1; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
}

.faq-answer-inner p {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.75;
  color: #444;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-sidebar {
    position: static;
    padding-right: 0;
    margin-bottom: 48px;
  }
  .faq-nav { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .faq-nav-link::before { display: none; }
  .faq-content {
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-left: 0;
    padding-top: 40px;
  }
}
