/* ============================================================
   NECHAMA CASE STUDY
   ============================================================ */

/* ── ANIMATIONS ─────────────────────────────────────────── */
.nc-anim-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.nc-anim-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.nc-anim-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.nc-anim-up.in,
.nc-anim-left.in,
.nc-anim-right.in {
  opacity: 1;
  transform: none;
}

/* ── SHARED ──────────────────────────────────────────────── */
.nc-body {
  font-size: 15px;
  line-height: 1.85;
  color: #1a1a2e;
  opacity: .72;
  margin-bottom: 18px;
  max-width: 620px;
}
.nc-body-list {
  margin: 0 0 24px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nc-body-list li {
  font-size: 15px;
  line-height: 1.8;
  color: #1a1a2e;
  opacity: .68;
}
.nc-section-h {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(28px, 3vw, 42px);
  color: #1A3580;
  line-height: 1.1;
  margin-bottom: 24px;
}

/* ── HERO ────────────────────────────────────────────────── */
.nc-hero {
  width: 100%;
  line-height: 0;
  margin-top: 0;
}

.nc-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── OVERVIEW ────────────────────────────────────────────── */
.nc-overview {
  background: #fff;
  padding: 100px 48px;
}

.nc-overview-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.nc-project-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(40px, 5vw, 70px);
  color: #1A3580;
  margin-bottom: 40px;
  line-height: 1;
}

.nc-sub-h {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1A3580;
  opacity: .5;
  margin: 32px 0 12px;
}

.nc-meta-table {
  border-top: 1px solid rgba(26,53,128,.1);
  margin-bottom: 32px;
}

.nc-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26,53,128,.1);
  gap: 16px;
}

.nc-meta-key {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1A3580;
  opacity: .4;
  flex-shrink: 0;
}

.nc-meta-val {
  font-size: 14px;
  color: #1A3580;
  text-align: right;
}

a.nc-meta-val {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

a.nc-meta-val:hover {
  opacity: 0.6;
}

.nc-site-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #1A3580;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  padding: 22px 40px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .25s, transform .2s;
}
.nc-site-btn:hover {
  background: #0f2260;
  transform: translateY(-2px);
}

/* ── BEFORE ──────────────────────────────────────────────── */
.nc-before {
  line-height: 0;
}

.nc-before img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .nc-before { padding: 48px 32px 0; }
}

/* ── COLOR PALETTE ───────────────────────────────────────── */
.nc-palette {
  background: #F2EDE3;
  padding: 100px 48px;
}

.nc-palette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.nc-palette-right img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ── WEBSITE MOCKUP ──────────────────────────────────────── */
.nc-mockup-section {
  background: linear-gradient(180deg, #d6e8f8 0%, #7aaee0 40%, #4a82c8 100%);
  padding: 80px 80px 80px;
}

.nc-mockup-video {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 40px 80px rgba(0,0,0,.35);
}

/* ── TYPOGRAPHY IMAGE ────────────────────────────────────── */
.nc-typography-img {
  background: var(--off-white);
  padding: 80px 48px;
}

.nc-typography-img img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nc-typography-img { padding: 60px 24px; }
}

/* ── FULL-WIDTH IMAGE SECTIONS ───────────────────────────── */
.nc-full-img {
  line-height: 0;
}

.nc-full-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── VIDEO ───────────────────────────────────────────────── */
.nc-video-wrap {
  background: #111;
  line-height: 0;
}

.nc-video-wrap video {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}

.nc-video-full video {
  max-height: none;
  object-fit: unset;
  height: auto;
}

/* ── GRAPHIC ELEMENTS ────────────────────────────────────── */
.nc-graphic-elements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.nc-ge-left {
  background: #fff;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nc-ge-right {
  line-height: 0;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nc-ge-right img {
  width: 100%;
  height: auto;
  display: block;
}

.nc-ge-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1A3580;
  margin-bottom: 20px;
}

/* ── PAGES OVERVIEW ──────────────────────────────────────── */
.nc-pages-overview {
  background: var(--off-white);
  padding: 80px 48px;
}

.nc-pages-overview img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nc-pages-overview { padding: 60px 24px; }
}

/* ── CHALLENGE + BEFORE ──────────────────────────────────── */
.nc-challenge-before {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 80px;
  align-items: center;
  background: #fff;
}

.nc-challenge-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .nc-challenge-before {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 40px;
  }
}

/* ── ICONS + LOGO CARDS ──────────────────────────────────── */
.nc-icons-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 80px 48px;
  background: #fff;
  align-items: center;
}

.nc-icons-logos img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .nc-icons-logos {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 32px;
  }
}

/* ── ICONS + VIDEO ───────────────────────────────────────── */
.nc-icons-video {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.nc-icons-video img,
.nc-icons-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .nc-icons-video { grid-template-columns: 1fr; }
}

/* ── LOGO SECTION ────────────────────────────────────────── */
.nc-logo-section {
  line-height: 0;
  display: flex;
  justify-content: center;
  background: linear-gradient(135deg, #F5D0D0 0%, #F0D8E8 50%, #E8D8F0 100%);
  padding: 60px 0;
}

.nc-logo-section img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nc-overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .nc-palette-grid  { grid-template-columns: 1fr; gap: 40px; }
  .nc-graphic-elements { grid-template-columns: 1fr; }
  .nc-ge-right { min-height: 320px; }
}

@media (max-width: 768px) {
  .nc-overview { padding: 60px 24px; }
  .nc-palette  { padding: 60px 24px; }
  .nc-ge-left  { padding: 60px 28px; }
  .nc-mockup-section { padding: 60px 24px 60px; }
  .nc-video-wrap video { max-height: 60vh; }
}


/* The nav is fixed, so on a phone it sits on top of the opening image.
   Reserve its height here — clears the fixed nav. */
@media (max-width: 900px) {
  .nc-hero {
    padding-top: 70px;
  }
}
