/* ─── HERO ─── */
.cs-hero {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: 0 0 clamp(3rem, 6vw, 5rem) 0;
}

.cs-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cs-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(20%);
}

.cs-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.1) 30%, rgba(10,10,10,0.85) 100%);
}

.cs-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* Back link */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.3s, gap 0.3s;
}

.cs-back:hover { color: var(--white); gap: 0.7rem; }

.cs-back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cs-hero h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.cs-hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin-bottom: 2rem;
}

/* Meta strip */
.cs-meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cs-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cs-meta-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.cs-meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}



 

 

 

 


/* ─── SECTIONS ─── */
section { padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 3rem); }
.container { max-width: 1180px; margin: 0 auto; }
.container-narrow { max-width: 780px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 1.2rem;
}

.section-label .bar {
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}


/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-gradient { background: var(--gradient); color: var(--white); border: none; }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(10,132,255,0.35); }

.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

.btn-light-outline { background: transparent; color: var(--dark); border: 1px solid var(--grey-200); }
.btn-light-outline:hover { border-color: var(--dark); transform: translateY(-2px); }

.btn-white-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-white-outline:hover { border-color: var(--white); transform: translateY(-2px); }


/* ─── OVERVIEW ─── */
.cs-overview { background: var(--white); }

.cs-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}

.cs-overview-text h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.cs-overview-text p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--grey-700);
  margin-bottom: 1.2rem;
}

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

/* Stats */
.cs-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cs-stat {
  padding: 1.8rem;
  border-radius: 16px;
  background: var(--light);
}

.cs-stat-num {
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.cs-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey-500);
  line-height: 1.4;
}


/* ─── PHOTO BREAK (one framed photograph between sections) ─── */
.cs-photo-frame {
  background: var(--light);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
}

.cs-photo-frame figure {
  max-width: 1000px;
  margin: 0 auto;
}

.cs-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.cs-photo-frame figcaption {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #626262;
}

.cs-photo-frame .bar {
  flex: none;
  width: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}

/* Upright photographs are held narrower so they are not taller than the screen. */
.cs-photo-frame--upright figure { max-width: 420px; }
.cs-photo-frame--upright figcaption { justify-content: center; text-align: center; }




/* ─── APPROACH ─── */
.cs-approach { background: var(--white); }

.cs-approach-header {
  max-width: 560px;
  margin-bottom: 3.5rem;
}

.cs-approach-header h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cs-approach-header p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--grey-500);
}

.cs-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cs-step {
  padding: 2rem;
  border-radius: 16px;
  background: var(--light);
  position: relative;
}

.cs-step-num {
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
}

.cs-step h4 {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.cs-step p {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--grey-500);
}


/* ─── IMAGE GALLERY ─── */
.cs-gallery { background: var(--light); }

.cs-gallery-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 3.5rem;
}

.cs-gallery-header h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cs-gallery-header p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--grey-500);
}

.cs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.cs-gallery-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}

.cs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.cs-gallery-item:hover img { transform: scale(1.05); }



.cs-gallery-item { cursor: pointer; }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,10,10,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  transform: scale(0.92);
}
.lightbox.open img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.15); color: #fff; }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}



/* ─── TESTIMONIAL (inline) ─── */
.cs-testimonial {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cs-testimonial-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cs-testimonial-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(40%);
}

.cs-testimonial-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,20,20,0.6) 0%, rgba(20,20,20,0.4) 50%, rgba(20,20,20,0.7) 100%);
}

.cs-testimonial::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem; left: clamp(1.5rem, 4vw, 3rem);
  font-size: 18rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  z-index: 1;
}

.cs-testimonial-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cs-testimonial blockquote {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-style: italic;
}

.cs-testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.cs-testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.cs-testimonial-role {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
}

.cs-testimonial .stars {
  display: flex;
  gap: 0.15rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cs-testimonial .stars svg {
  width: 16px;
  height: 16px;
  fill: url(#starGold);
  stroke: none;
}


/* ─── NEXT PROJECT ─── */
.cs-next {
  background: var(--white);
}

.cs-next-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.cs-next-text {
  padding-right: 2rem;
}

.cs-next-text .section-label { margin-bottom: 1rem; }

.cs-next-text h3 {
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.cs-next-text .cs-next-cat {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--grey-400);
  margin-bottom: 1.5rem;
}

.cs-next-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.cs-next-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.cs-next-image:hover img { transform: scale(1.04); }



/* ─── RESPONSIVE (case study) ─── */
/* ─── RESPONSIVE ─── */
@media (max-width: 1000px) {
  .cs-overview-grid { grid-template-columns: 1fr; }
  .cs-stats { grid-template-columns: repeat(4, 1fr); }
  .cs-steps { grid-template-columns: 1fr; }
  .cs-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-next-inner { grid-template-columns: 1fr; }
  .cs-next-text { padding-right: 0; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .cs-hero { min-height: 55vh; }
  .cs-meta { gap: 1.5rem; }
  .cs-stats { grid-template-columns: 1fr 1fr; }
  .cs-gallery-grid { grid-template-columns: 1fr; }
  .cta-inner-card { padding: 2rem 1.5rem; }
  .cta-form .cf-row { grid-template-columns: 1fr; }
  .cta-form .cf-submit { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (max-width: 400px) {
  .cs-hero h1 { font-size: 2rem; }
  .cs-stats { grid-template-columns: 1fr; }
  .cta-card .cta-actions { flex-direction: column; align-items: center; }
  .cta-card .cta-actions .btn { width: 100%; justify-content: center; }
}
