/*
Theme Name:  Neon Lady Creative Studio
Description: Custom WordPress theme — Layout 01: Dark & Neon
Author:      Jihyune Studio
Version:     1.0.0
Text Domain: neon-lady
*/

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --purple:      #604696;
  --lilac:       #BD9DCA;
  --navy:        #1A1A2E;
  --soft-lilac:  #F7F4FA;
  --muted:       #888099;
  --dark-card:   #20203A;
  --light-card:  #EEEEF5;
  --white:       #ffffff;

  --font-heading: 'Josefin Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --max-w: 1160px;
  --pad:   clamp(1.5rem, 5vw, 5rem);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--soft-lilac);
  background: var(--navy);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   UTILITY
   ============================================================ */
.nl-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Badge labels (e.g. "ABOUT", "SERVICES") */
.nl-badge {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35em 0.85em;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.nl-badge--outline {
  background: transparent;
  border: 1px solid var(--purple);
  color: var(--purple);
}

/* Eyebrow / section label */
.nl-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 1rem;
}

/* Neon outline text effect */
.nl-neon-text {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 2px var(--lilac) !important;
  text-stroke: 2px var(--lilac) !important;
  line-height: 1;
  text-shadow:
    0 0 8px rgba(189, 157, 202, 0.6),
    0 0 20px rgba(189, 157, 202, 0.3);
}

/* Buttons */
.nl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85em 2.2em;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.nl-btn--filled {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.nl-btn--filled:hover {
  background: #7a58b4;
  border-color: #7a58b4;
}

.nl-btn--outline {
  background: transparent;
  color: var(--lilac);
  border-color: var(--lilac);
}
.nl-btn--outline:hover {
  background: var(--lilac);
  color: var(--navy);
}

.nl-btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.nl-btn--outline-light:hover {
  background: var(--white);
  color: var(--purple);
}

/* Text link */
.nl-text-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  border-bottom: 1px solid var(--purple);
  padding-bottom: 0.15em;
  transition: color 0.2s;
}
.nl-text-link:hover { color: var(--lilac); border-color: var(--lilac); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nl-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(189,157,202,0.12);
  transition: background 0.3s;
}

.nl-nav--scrolled {
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nl-nav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nl-nav__logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  flex-shrink: 0;
}
.nl-nav__logo:hover { color: var(--lilac); }

.nl-nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nl-nav__links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--soft-lilac);
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}
.nl-nav__links a:hover { color: var(--lilac); opacity: 1; }

.nl-nav__cta { margin-left: 1.5rem; }

.nl-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nl-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nl-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nl-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nl-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.nl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  padding-top: 60px;
  overflow: hidden;
}

.nl-hero__blob {
  position: absolute;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.25;
  filter: blur(80px);
  pointer-events: none;
}
.nl-hero__blob--1 {
  width: 520px;
  height: 520px;
  top: -100px;
  right: -120px;
}
.nl-hero__blob--2 {
  width: 340px;
  height: 340px;
  bottom: -80px;
  right: 220px;
  opacity: 0.15;
}

.nl-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 8rem) var(--pad);
  width: 100%;
}

.nl-hero__h1 {
  font-size: clamp(4.5rem, 12vw, 10rem);
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.nl-hero__quote {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-style: italic;
  color: var(--lilac);
  margin-bottom: 1.25rem;
  max-width: 640px;
}

.nl-hero__body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--soft-lilac);
  opacity: 0.85;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.nl-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.nl-hero__scroll {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ============================================================
   PRESS BAR
   ============================================================ */
.nl-press {
  background: #2a1f45;
  border-top: 1px solid rgba(189,157,202,0.15);
  border-bottom: 1px solid rgba(189,157,202,0.15);
  padding: 1.1rem var(--pad);
  overflow: hidden;
}

.nl-press__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  width: max-content;
}

.nl-press:hover .nl-press__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.nl-press__label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.nl-press__pub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--soft-lilac);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nl-press__divider {
  color: rgba(189,157,202,0.4);
}

/* ============================================================
   STATS
   ============================================================ */
.nl-stats {
  background: var(--dark-card);
  padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad);
}

.nl-stats__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.nl-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.nl-stats__number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.nl-stats__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   ABOUT
   ============================================================ */
.nl-about {
  background: var(--soft-lilac);
  padding: clamp(5rem, 9vw, 8rem) var(--pad);
}

.nl-about__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.nl-about__photo-wrap {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--light-card);
  border: 2px solid rgba(96,70,150,0.2);
}

.nl-about__photo-wrap img { width: 100%; height: 100%; object-fit: cover; }

.nl-about__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-align: center;
  padding: 2rem;
}

.nl-about__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.nl-about__text p {
  font-family: var(--font-body);
  font-size: 0.975rem;
  color: #3a3250;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.nl-about__text .nl-badge { margin-bottom: 0.75rem; }

/* ============================================================
   WHO I WORK WITH
   ============================================================ */
.nl-who {
  background: var(--soft-lilac);
  padding: clamp(4rem, 7vw, 7rem) var(--pad);
  border-top: 1px solid rgba(96,70,150,0.12);
}

.nl-who__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.nl-who h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.nl-who__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nl-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55em 1.3em;
  border-radius: 50px;
  border: 1.5px solid var(--purple);
  transition: background 0.2s, color 0.2s;
}

.nl-tag--filled {
  background: var(--purple);
  color: var(--white);
}

.nl-tag--outline {
  background: transparent;
  color: var(--purple);
}

.nl-tag:hover {
  background: var(--purple);
  color: var(--white);
}

/* ============================================================
   SERVICES
   ============================================================ */
.nl-services {
  background: var(--navy);
  padding: clamp(5rem, 9vw, 8rem) var(--pad);
}

.nl-services__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.nl-services h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 3rem;
}

.nl-services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: rgba(189,157,202,0.12);
  border: 1.5px solid rgba(189,157,202,0.12);
  border-radius: 4px;
  overflow: hidden;
}

.nl-service-card {
  background: var(--dark-card);
  padding: 2.5rem 2.25rem;
  border-left: 3px solid var(--purple);
  position: relative;
  transition: background 0.25s;
}
.nl-service-card:hover { background: #272742; }

.nl-service-card__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.nl-service-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.nl-service-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.nl-process {
  background: var(--soft-lilac);
  padding: clamp(5rem, 9vw, 8rem) var(--pad);
}

.nl-process__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.nl-process h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 3.5rem;
}

.nl-process .nl-badge {
  background: transparent;
  border: 1px solid var(--purple);
  color: var(--purple);
}

.nl-process__steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.nl-step {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}

.nl-step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nl-step h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.nl-step p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #4a3e68;
  line-height: 1.75;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.nl-testimonials {
  background: var(--white);
  padding: clamp(5rem, 9vw, 8rem) var(--pad);
}

.nl-testimonials__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.nl-testimonials .nl-badge {
  background: transparent;
  border: 1px solid var(--purple);
  color: var(--purple);
}

.nl-testimonials h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 3rem;
}

.nl-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.nl-testimonial {
  background: var(--soft-lilac);
  border-left: 3px solid var(--purple);
  border-radius: 0 4px 4px 0;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nl-testimonial p {
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.75;
}

.nl-testimonial span {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--purple);
  letter-spacing: 0.04em;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.nl-cta {
  background: var(--purple);
  padding: clamp(5rem, 9vw, 8rem) var(--pad);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.nl-cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px;
  left: -100px;
  pointer-events: none;
}

.nl-cta::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -150px;
  right: -50px;
  pointer-events: none;
}

.nl-cta__inner { position: relative; z-index: 1; }

.nl-cta__heading {
  font-size: clamp(4rem, 12vw, 9rem);
  -webkit-text-stroke-color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

.nl-cta__quote {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.nl-footer {
  background: #10101e;
  padding: 2rem var(--pad);
  border-top: 1px solid rgba(189,157,202,0.1);
}

.nl-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.nl-footer__logo {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.nl-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
  margin-left: auto;
}

.nl-footer__nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nl-footer__nav a:hover { color: var(--lilac); }

.nl-footer__copy {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  width: 100%;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(189,157,202,0.08);
  margin-top: 0.5rem;
}

/* ============================================================
   MOBILE — hide Kadence default header on front page
   ============================================================ */
.home .site-header,
.front-page .site-header,
body.nl-front .site-header { display: none !important; }

body.nl-front { padding-top: 0 !important; margin-top: 0 !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nl-about__inner {
    grid-template-columns: 1fr;
  }
  .nl-about__photo-wrap { max-width: 320px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nl-nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26,26,46,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem var(--pad) 2rem;
    gap: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(189,157,202,0.15);
  }
  .nl-nav__links.is-open { display: flex; }
  .nl-nav__toggle { display: flex; }
  .nl-nav__cta { display: none; }

  /* Stats */
  .nl-stats__inner { grid-template-columns: 1fr; gap: 3rem; }

  /* Services */
  .nl-services__grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .nl-testimonials__grid { grid-template-columns: 1fr; }

  /* Footer */
  .nl-footer__nav { margin-left: 0; }
  .nl-footer__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .nl-hero__ctas { flex-direction: column; }
  .nl-hero__ctas .nl-btn { width: 100%; text-align: center; }
  .nl-cta__heading { -webkit-text-stroke-width: 1.5px; }
}

/* ============================================================
   PAGE HERO  (Portfolio / Blog / Single shared header)
   ============================================================ */
.nl-page-hero {
  background: var(--navy);
  padding: calc(var(--pad) * 2 + 72px) var(--pad) calc(var(--pad) * 1.5);
  text-align: center;
  border-bottom: 1px solid rgba(189,157,202,0.12);
}

.nl-page-hero__title {
  font-size: clamp(3rem, 10vw, 7rem);
  margin-bottom: 1rem;
}

.nl-page-hero__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin-inline: auto;
}

/* Single post hero variant */
.nl-page-hero--post { text-align: left; }
.nl-page-hero--post .nl-container { max-width: 780px; }
.nl-post-meta-top { margin-bottom: 1.25rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nl-post-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--soft-lilac);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.nl-post-date { font-size: 0.85rem; color: var(--muted); }

/* Featured image */
.nl-post-featured-img {
  margin-block: 2.5rem;
}
.nl-post-featured-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

/* ============================================================
   SINGLE POST CONTENT
   ============================================================ */
.nl-post-content { max-width: 780px; padding-block: 3rem 5rem; }
.nl-post-body { color: var(--soft-lilac); }
.nl-post-body h2,
.nl-post-body h3,
.nl-post-body h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.nl-post-body h2 { font-size: 1.6rem; }
.nl-post-body h3 { font-size: 1.25rem; }
.nl-post-body p  { margin-bottom: 1.4rem; }
.nl-post-body ul,
.nl-post-body ol { margin: 0 0 1.4rem 1.5rem; }
.nl-post-body li { margin-bottom: 0.5rem; }
.nl-post-body a  { color: var(--lilac); text-decoration: underline; }
.nl-post-body img { border-radius: 6px; margin-block: 1.5rem; }
.nl-post-body blockquote {
  border-left: 3px solid var(--purple);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--lilac);
}

.nl-post-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.nl-post-back  { border-top: 1px solid rgba(189,157,202,0.15); padding-top: 1.5rem; }

/* Nav active state */
.nl-nav__active { color: var(--lilac) !important; }

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.nl-portfolio-section { padding-block: 4rem 6rem; }

.nl-page-content {
  max-width: 680px;
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.nl-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.nl-portfolio-card {
  background: var(--dark-card);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s;
}
.nl-portfolio-card:hover { transform: translateY(-4px); }

.nl-portfolio-card__thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: rgba(96,70,150,0.2);
}
.nl-portfolio-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.nl-portfolio-card:hover .nl-portfolio-card__thumb img { transform: scale(1.04); }

.nl-portfolio-card__overlay {
  position: absolute; inset: 0;
  background: rgba(96,70,150,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.nl-portfolio-card:hover .nl-portfolio-card__overlay { opacity: 1; }
.nl-portfolio-card__view {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.nl-portfolio-card__thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem;
}

.nl-portfolio-card__body { padding: 1.5rem; }
.nl-portfolio-card__cat {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 0.6rem;
}
.nl-portfolio-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.nl-portfolio-card__title a { color: inherit; }
.nl-portfolio-card__title a:hover { color: var(--lilac); }
.nl-portfolio-card__excerpt { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.75rem; }

/* ============================================================
   BLOG GRID
   ============================================================ */
.nl-blog-section { padding-block: 4rem 6rem; }

.nl-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.nl-blog-card {
  background: var(--dark-card);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s;
}
.nl-blog-card:hover { transform: translateY(-4px); }

.nl-blog-card__thumb { aspect-ratio: 16/9; overflow: hidden; }
.nl-blog-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.nl-blog-card:hover .nl-blog-card__thumb img { transform: scale(1.04); }

.nl-blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.nl-blog-card__meta {
  display: flex; gap: 0.75rem; align-items: center;
  font-size: 0.75rem; color: var(--muted);
  margin-bottom: 0.75rem;
}
.nl-blog-card__cat {
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2em 0.7em;
  border-radius: 2px;
}
.nl-blog-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.nl-blog-card__title a { color: inherit; }
.nl-blog-card__title a:hover { color: var(--lilac); }
.nl-blog-card__excerpt { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; flex: 1; }

/* Pagination */
.nl-pagination { margin-top: 3.5rem; display: flex; justify-content: center; }
.nl-pagination .nav-links { display: flex; gap: 0.5rem; align-items: center; }
.nl-pagination .page-numbers {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(189,157,202,0.25);
  padding: 0.5em 1em;
  border-radius: 50px;
  transition: all 0.2s;
}
.nl-pagination .page-numbers:hover,
.nl-pagination .page-numbers.current {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.nl-empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--muted);
}
.nl-empty-state__icon { font-size: 3rem; margin-bottom: 1rem; }
.nl-empty-state h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--soft-lilac);
  margin-bottom: 0.75rem;
}
.nl-empty-state strong { color: var(--lilac); }

/* ============================================================
   INNER PAGE RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nl-portfolio-grid,
  .nl-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nl-portfolio-grid,
  .nl-blog-grid { grid-template-columns: 1fr; }
  .nl-post-title { font-size: 2rem; }
}

/* ============================================================
   PORTFOLIO — CATEGORY CARD LAYOUT  (page-portfolio.php)
   ============================================================ */

/* Page bg overrides to soft lilac for the cards section */
.nl-page-portfolio .nl-cat-section {
  background: var(--soft-lilac);
  padding-block: 5rem 6rem;
}

/* 2×2 grid + last card full-width */
.nl-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

/* Dark card base */
.nl-cat-card {
  background: var(--navy);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.nl-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(96, 70, 150, 0.25);
}

/* Full-width 5th card */
.nl-cat-card--wide {
  grid-column: 1 / -1;
}
.nl-cat-card--wide .nl-cat-card__inner {
  flex-direction: row;
  align-items: center;
  gap: 3rem;
}
.nl-cat-card--wide .nl-cat-card__desc { max-width: 480px; }
.nl-cat-card--wide .nl-cat-card__cta  { white-space: nowrap; margin-top: 0; }

/* Accent bar at top */
.nl-cat-card__accent {
  height: 5px;
  width: 100%;
  flex-shrink: 0;
}

/* Inner padding */
.nl-cat-card__inner {
  padding: 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Icon */
.nl-cat-card__icon {
  margin-bottom: 1.25rem;
}

/* Category label */
.nl-cat-card__label {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

/* Title */
.nl-cat-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

/* Description */
.nl-cat-card__desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

/* VIEW WORK link */
.nl-cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: auto;
  transition: gap 0.2s;
}
.nl-cat-card__cta:hover { gap: 0.75rem; }

/* ============================================================
   BLOG — FEATURED + LIST LAYOUT  (home.php)
   ============================================================ */

/* Featured wrap */
.nl-blog-featured-wrap {
  background: var(--navy);
  padding-block: 4rem;
}

/* Featured card */
.nl-blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  background: var(--dark-card);
  border-left: 6px solid var(--lilac);
  min-height: 420px;
}

/* Image area */
.nl-blog-featured__img-link { display: block; }
.nl-blog-featured__img {
  height: 100%;
  min-height: 320px;
  background: var(--purple);
  overflow: hidden;
  position: relative;
}
.nl-blog-featured__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.nl-blog-featured__img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

/* Featured content */
.nl-blog-featured__body {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nl-blog-featured__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lilac);
  border: 1px solid var(--lilac);
  padding: 0.3em 0.8em;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.nl-blog-featured__cat {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  display: block;
  margin-bottom: 0.4rem;
}

.nl-blog-featured__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.nl-blog-featured__title a { color: inherit; }
.nl-blog-featured__title a:hover { color: var(--lilac); }

.nl-blog-featured__excerpt {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
}

.nl-blog-featured__meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Post list section */
.nl-blog-list-wrap {
  background: var(--soft-lilac);
  padding-block: 4rem 5rem;
}

.nl-blog-list__heading {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.nl-blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(96, 70, 150, 0.18);
}

.nl-blog-list__item {
  border-bottom: 1px solid rgba(96, 70, 150, 0.18);
}

.nl-blog-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  color: var(--navy);
  transition: color 0.2s;
}
.nl-blog-list__row:hover { color: var(--purple); }
.nl-blog-list__row:hover .nl-blog-list__arrow { transform: translateX(4px); }

.nl-blog-list__info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.nl-blog-list__cat {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(96, 70, 150, 0.1);
  padding: 0.25em 0.7em;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nl-blog-list__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nl-blog-list__right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nl-blog-list__date {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.nl-blog-list__arrow {
  color: var(--purple);
  flex-shrink: 0;
  transition: transform 0.2s;
}

/* Blog pagination on soft lilac bg */
.nl-blog-pagination .page-numbers {
  color: var(--navy);
  border-color: rgba(96, 70, 150, 0.3);
}
.nl-blog-pagination .page-numbers:hover,
.nl-blog-pagination .page-numbers.current {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

/* ============================================================
   ARCHIVE PAGE
   ============================================================ */
.nl-archive-section { padding-block: 4rem 6rem; }

.nl-archive-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 1.5rem;
  transition: gap 0.2s;
}
.nl-archive-back:hover { gap: 0.65rem; color: var(--white); }

/* ============================================================
   RESPONSIVE — NEW PAGES
   ============================================================ */
@media (max-width: 900px) {
  .nl-cat-card--wide .nl-cat-card__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nl-cat-card--wide .nl-cat-card__cta { margin-top: 1.5rem; }
  .nl-blog-featured { grid-template-columns: 1fr; }
  .nl-blog-featured__img { min-height: 240px; }
}

@media (max-width: 640px) {
  .nl-cat-grid { grid-template-columns: 1fr; }
  .nl-blog-list__title { font-size: 0.85rem; }
  .nl-blog-list__cat  { display: none; }
}

/* ============================================================
   PORTFOLIO PAGE — REAL CONTENT CARDS  (page-portfolio.php)
   CSS specs from Brief Slide 6
   ============================================================ */

/* Page wrapper */
.nl-port-page-content {
  background: var(--navy);
  padding-block: 3rem 5rem;
}

/* ── Category strip ────────────────────────────────────────── */
.nl-port-strip { margin-bottom: 4rem; }

.nl-port-strip__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.nl-port-strip__bar {
  width: 3px;
  height: 28px;
  border-radius: 2px;
  flex-shrink: 0;
}

.nl-port-strip__label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.nl-port-strip__view-all {
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lilac);
  transition: color 0.2s;
}
.nl-port-strip__view-all:hover { color: var(--white); }

/* ── Card grid ─────────────────────────────────────────────── */
.nl-port-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
}

/* ── Card base ─────────────────────────────────────────────── */
.nl-port-card {
  background: #1A1A2E;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.nl-port-card:hover {
  box-shadow: 0 8px 24px rgba(96,70,150,0.3);
  transform: translateY(-2px);
}

/* Accent bar — 4px top */
.nl-port-card__accent-bar {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}

/* Card header row: type label + drive badge */
.nl-port-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 6px;
  gap: 0.5rem;
}

/* Type label */
.nl-port-card__type {
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Drive badge */
.nl-port-card__drive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #604696;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: 5px;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nl-port-card__drive-badge:hover { background: #BD9DCA; color: var(--navy); }

/* Card title */
.nl-port-card__title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  padding: 4px 14px 6px;
  margin: 0;
}

/* Client meta */
.nl-port-card__client {
  font-family: var(--font-body);
  font-size: 11px;
  color: #888099;
  padding: 0 14px 10px;
  line-height: 1.4;
}

/* Preview box — slightly lighter than card so copy pops */
.nl-port-card__preview {
  background: #242438;
  margin: 0 10px;
  border-radius: 6px;
  padding: 10px 12px 12px;
  flex: 1;
}

.nl-port-card__preview-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.nl-port-card__preview-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 12px;
  color: #BD9DCA;
  line-height: 1.75;
  margin: 0 0 8px;
}

.nl-port-card__preview-fade {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 11px;
  color: #604696;
  margin: 0;
}

/* Outcome area — darkest strip, recessed from the card */
.nl-port-card__outcome {
  background: #0e0e1c;
  margin: 8px 10px 0;
  border-radius: 6px;
  padding: 10px 12px;
}

.nl-port-card__quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: #BD9DCA;
  line-height: 1.6;
  margin: 0 0 4px;
}

.nl-port-card__stat {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 10px;
  color: #888099;
  margin: 0;
  line-height: 1.5;
}

/* Read full copy CTA */
.nl-port-card__read-cta {
  display: block;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #604696;
  padding: 10px 14px 14px;
  transition: color 0.2s;
  margin-top: auto;
}
.nl-port-card__read-cta:hover { color: #BD9DCA; }

/* ── Placeholder card ──────────────────────────────────────── */
.nl-port-card--placeholder {
  border: 1px dashed rgba(96,70,150,0.35);
  background: rgba(37,37,53,0.5);
}
.nl-port-card--placeholder:hover {
  box-shadow: none;
  transform: none;
}

.nl-port-card__ph-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  flex: 1;
  gap: 0.75rem;
}

.nl-port-card__ph-icon { opacity: 0.5; }

.nl-port-card__ph-label {
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888099;
  margin: 0;
}

.nl-port-card__ph-sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(136,128,153,0.6);
  margin: 0;
  line-height: 1.5;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nl-port-grid { grid-template-columns: 1fr; }
  .nl-port-strip__view-all { display: none; }
}

/* ============================================================
   PORTFOLIO PAGE — section + card (data-driven, Step 5)
   ============================================================ */

.portfolio-section {
  margin-bottom: 60px;
}

.portfolio-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid #604696;
  padding-left: 12px;
  margin-bottom: 32px;
}

.portfolio-section__title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.portfolio-section__view-all {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #604696;
  text-decoration: none;
}

.portfolio-section__view-all:hover {
  color: #BD9DCA;
}

.portfolio-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.portfolio-card {
  background: #1e1b2e;
  border: 1px solid #2e2a45;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portfolio-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-card__type {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888099;
}

.portfolio-card__drive-btn {
  background: #604696;
  color: #ffffff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.portfolio-card__drive-btn:hover {
  background: #7a5ab8;
}

.portfolio-card__title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.portfolio-card__client {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #888099;
  margin: 0;
}

.portfolio-card__excerpt-box {
  background: #252038;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portfolio-card__excerpt-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #604696;
}

.portfolio-card__excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: #c4b8e0;
  margin: 0;
  line-height: 1.7;
}

.portfolio-card__drive-fade {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-style: italic;
  color: #604696;
  text-decoration: none;
}

.portfolio-card__drive-fade:hover {
  color: #BD9DCA;
}

.portfolio-card__outcome {
  background: #1a1728;
  border-radius: 6px;
  padding: 12px 16px;
}

.portfolio-card__outcome p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: #888099;
  margin: 0;
}

.portfolio-card__read-more {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #604696;
  text-decoration: none;
  margin-top: auto;
}

.portfolio-card__read-more:hover {
  color: #BD9DCA;
}

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

/* ============================================================
   PORTFOLIO ITEM PAGE  (page-portfolio-item.php)
   ============================================================ */

/* ── Section 1 — Hero ────────────────────────────────────────── */
.nl-portitem-hero {
  background: #1A1A2E;
  padding: 160px 0 80px;
  min-height: 52vh;
  display: flex;
  align-items: center;
}

.nl-portitem-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 2rem;
  transition: gap 0.2s, color 0.2s;
}
.nl-portitem-back:hover { gap: 0.7rem; color: var(--white); }

.nl-portitem-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #604696;
  margin-bottom: 1.25rem;
}

.nl-portitem-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #BD9DCA;
  text-stroke: 2px #BD9DCA;
  text-shadow: 0 0 8px rgba(189,157,202,0.5), 0 0 24px rgba(189,157,202,0.2);
  margin-bottom: 1.25rem;
}

.nl-portitem-subline {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #888099;
  max-width: 640px;
  line-height: 1.6;
}

/* ── Section 2 — The Copy ────────────────────────────────────── */
.nl-portitem-copy {
  background: #F7F4FA;
  padding-block: 5rem 6rem;
}

.nl-portitem-section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #604696;
  margin-bottom: 2rem;
}
.nl-portitem-section-label--sm {
  font-size: 0.65rem;
  margin-bottom: 1.25rem;
  opacity: 0.75;
}

.nl-portitem-copy__block {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem 3rem;
  box-shadow: 0 4px 32px rgba(96,70,150,0.08);
  border-left: 4px solid #BD9DCA;
  margin-bottom: 2rem;
}
.nl-portitem-copy__block--second {
  border-left-color: #604696;
}

/* Prose styles for the writing sample */
.nl-portitem-copy__block p,
.nl-portitem-copy__block > * {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: #1A1A2E;
}
.nl-portitem-copy__block p { margin-bottom: 1.2rem; }
.nl-portitem-copy__block p:last-child { margin-bottom: 0; }
.nl-portitem-copy__block h2,
.nl-portitem-copy__block h3 {
  font-family: var(--font-heading);
  color: #604696;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-block: 1.5rem 0.6rem;
}
.nl-portitem-copy__block h2 { font-size: 1.1rem; }
.nl-portitem-copy__block h3 { font-size: 0.95rem; }
.nl-portitem-copy__block ul,
.nl-portitem-copy__block ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  color: #1A1A2E;
}
.nl-portitem-copy__block ul { list-style: disc; }
.nl-portitem-copy__block ol { list-style: decimal; }
.nl-portitem-copy__block img {
  width: 100%;
  border-radius: 6px;
  margin-block: 1.5rem;
  box-shadow: 0 2px 16px rgba(96,70,150,0.1);
}

/* ── Section 3 — Project Details ────────────────────────────── */
.nl-portitem-details {
  background: #252535;
  padding-block: 3.5rem;
}

.nl-portitem-details__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.nl-portitem-details__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  border-left: 2px solid rgba(96,70,150,0.4);
}

.nl-portitem-details__label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #604696;
}

.nl-portitem-details__value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* ── Section 4 — CTA ─────────────────────────────────────────── */
.nl-portitem-cta {
  background: #604696;
  padding-block: 5rem;
  text-align: center;
}

.nl-portitem-cta__inner {
  max-width: 700px;
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.nl-portitem-cta__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #ffffff;
  text-stroke: 2px #ffffff;
  text-shadow: 0 0 12px rgba(255,255,255,0.35), 0 0 32px rgba(255,255,255,0.12);
}

.nl-portitem-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #604696;
  background: #ffffff;
  border: 2px solid #ffffff;
  padding: 0.9em 2.2em;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.nl-portitem-cta__btn:hover {
  background: #BD9DCA;
  border-color: #BD9DCA;
  color: #1A1A2E;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nl-portitem-details__grid { grid-template-columns: 1fr; gap: 0; }
  .nl-portitem-details__col  { border-left: none; border-top: 1px solid rgba(96,70,150,0.25); padding: 1.25rem 0; }
  .nl-portitem-details__col:first-child { border-top: none; }
  .nl-portitem-copy__block   { padding: 1.75rem; }
}
@media (max-width: 480px) {
  .nl-portitem-hero   { padding: 130px 0 60px; }
  .nl-portitem-title  { font-size: 2rem; }
}

/* ============================================================
   PORTFOLIO SINGLE POST
   ============================================================ */

/* Hero */
.nl-port-hero { padding-bottom: 3rem; }
.nl-port-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-top: 0.5rem;
}

/* Full-width featured image */
.nl-port-featured-img {
  width: 100%;
  max-height: 540px;
  overflow: hidden;
  background: var(--dark-card);
}
.nl-port-featured-img img {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Content section */
.nl-port-section {
  background: var(--soft-lilac);
  padding-block: 4rem 6rem;
}

/* Two-column layout: content + sidebar */
.nl-port-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

/* Main prose content */
.nl-port-content { all: unset; display: block; }

.nl-port-body {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.8;
}
.nl-port-body h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2rem 0 0.75rem;
}
.nl-port-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}
.nl-port-body p  { color: var(--navy); margin-bottom: 1.25rem; }
.nl-port-body ul,
.nl-port-body ol { color: var(--navy); padding-left: 1.5rem; margin-bottom: 1.25rem; }
.nl-port-body ul { list-style: disc; }
.nl-port-body ol { list-style: decimal; }
.nl-port-body li { margin-bottom: 0.4rem; }
.nl-port-body strong { color: var(--purple); font-weight: 600; }
.nl-port-body a { color: var(--purple); text-decoration: underline; }

/* Images inside the editor content */
.nl-port-body img {
  width: 100%;
  border-radius: 8px;
  margin-block: 1.5rem;
  box-shadow: 0 4px 24px rgba(96,70,150,0.12);
}
.nl-port-body figure { margin-block: 1.5rem; }
.nl-port-body figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* Back link */
.nl-port-back-wrap { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(96,70,150,0.15); }

/* ── Sidebar ──────────────────────────────────────────────── */
.nl-port-sidebar { position: sticky; top: 100px; }

.nl-port-info-box {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(96,70,150,0.1);
  border-top: 4px solid var(--purple);
  margin-bottom: 1.5rem;
}
.nl-port-info-box__heading {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--purple);
  margin-bottom: 1.5rem;
}
.nl-port-info-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid rgba(96,70,150,0.1);
}
.nl-port-info-row:last-child { border-bottom: none; }
.nl-port-info-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.nl-port-info-value {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

/* Sidebar CTA */
.nl-port-sidebar-cta {
  background: var(--purple);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
}
.nl-port-sidebar-cta p {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}
.nl-port-sidebar-cta .nl-btn--filled {
  background: var(--white);
  color: var(--purple);
  width: 100%;
  justify-content: center;
  display: flex;
}
.nl-port-sidebar-cta .nl-btn--filled:hover { background: var(--lilac); }

/* Responsive */
@media (max-width: 900px) {
  .nl-port-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .nl-port-sidebar { position: static; }
}
@media (max-width: 640px) {
  .nl-port-featured-img { max-height: 280px; }
  .nl-port-hero__title  { font-size: 2rem; }
}
