/*
Theme Name: NW Lighting
Theme URI: https://nwlighting.biz
Author: Tanner Harrison
Author URI: https://tannerharrison.com
Description: Cinematic dark theme for NW Lighting — lighting design & programming across the Pacific Northwest.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nwlighting
Tags: dark, custom-menu, custom-logo, featured-images, threaded-comments, portfolio
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Core palette */
  --nwl-bg: #0C0A0F;
  --nwl-bg-raised: #13111A;
  --nwl-bg-surface: #1A1724;
  --nwl-bg-warm: #1C1610;
  --nwl-border: #2A2533;
  --nwl-border-light: #3A3445;

  /* Accent — warm copper / rose gold */
  --nwl-accent: #E8A87C;
  --nwl-accent-bright: #F2C4A0;
  --nwl-accent-dim: rgba(232, 168, 124, 0.15);
  --nwl-accent-glow: rgba(232, 168, 124, 0.4);

  /* Supporting colors */
  --nwl-purple: #8B7EC8;
  --nwl-purple-dim: rgba(139, 126, 200, 0.12);
  --nwl-blue: #6BA3BE;
  --nwl-blue-dim: rgba(107, 163, 190, 0.12);

  /* Text */
  --nwl-text: #D4CFC8;
  --nwl-text-bright: #F0ECE6;
  --nwl-text-dim: #7A7370;
  --nwl-text-muted: #4A4543;

  /* Typography */
  --nwl-font-display: 'Playfair Display', Georgia, serif;
  --nwl-font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nwl-font-mono: 'DM Mono', monospace;

  /* Spacing & Layout */
  --nwl-container: 1000px;
  --nwl-container-wide: 1200px;
  --nwl-gap: 20px;
  --nwl-radius: 3px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--nwl-bg);
  color: var(--nwl-text);
  font-family: var(--nwl-font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(232, 168, 124, 0.3);
  color: var(--nwl-text-bright);
}

a {
  color: var(--nwl-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--nwl-accent-bright);
}

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

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

/* ============================================
   LAYOUT
   ============================================ */
.nwl-container {
  max-width: var(--nwl-container);
  margin: 0 auto;
  padding: 0 48px;
}

.nwl-container--wide {
  max-width: var(--nwl-container-wide);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nwl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  transition: all 0.4s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.nwl-nav.is-scrolled {
  background: rgba(12, 10, 15, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--nwl-border);
}

.nwl-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--nwl-container-wide);
  margin: 0 auto;
}

.nwl-nav__brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.nwl-nav__logo {
  font-family: var(--nwl-font-display);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: var(--nwl-text-bright);
  transition: color 0.3s;
}

.nwl-nav__brand:hover .nwl-nav__logo {
  color: var(--nwl-accent);
}

.nwl-nav__region {
  font-family: var(--nwl-font-mono);
  font-size: 10px;
  color: var(--nwl-text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nwl-nav__right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nwl-nav__menu {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nwl-nav__menu a {
  font-family: var(--nwl-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--nwl-text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.nwl-nav__menu a:hover,
.nwl-nav__menu .current-menu-item a,
.nwl-nav__menu .current_page_item a {
  color: var(--nwl-accent);
}

.nwl-nav__cta {
  font-family: var(--nwl-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--nwl-accent);
  border: 1px solid var(--nwl-accent);
  padding: 8px 20px;
  border-radius: 2px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

.nwl-nav__cta:hover {
  background: var(--nwl-accent-dim);
  color: var(--nwl-accent-bright);
}

/* Mobile toggle */
.nwl-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--nwl-border);
  color: var(--nwl-text-dim);
  font-family: var(--nwl-font-body);
  font-size: 12px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   HERO
   ============================================ */
.nwl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  overflow: hidden;
  text-align: center;
}

.nwl-hero__beams {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.nwl-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.nwl-hero__glow--accent {
  top: -20%;
  left: 30%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--nwl-accent-glow) 0%, transparent 70%);
  opacity: 0.3;
  animation: nwl-beamPulse 8s ease-in-out infinite;
}

.nwl-hero__glow--purple {
  top: -10%;
  right: 20%;
  width: 40%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(139, 126, 200, 0.3) 0%, transparent 70%);
  opacity: 0.25;
  animation: nwl-beamPulse 10s ease-in-out infinite reverse;
}

.nwl-hero__fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--nwl-bg), transparent);
}

@keyframes nwl-beamPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.05); }
}

.nwl-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.nwl-hero__label {
  font-family: var(--nwl-font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--nwl-accent);
  margin-bottom: 24px;
}

.nwl-hero__title {
  font-family: var(--nwl-font-display);
  font-size: 64px;
  font-weight: 700;
  font-style: italic;
  color: var(--nwl-text-bright);
  line-height: 1.1;
  margin-bottom: 24px;
}

.nwl-hero__title span {
  color: var(--nwl-accent);
}

.nwl-hero__desc {
  font-family: var(--nwl-font-body);
  font-size: 18px;
  color: var(--nwl-text-dim);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

.nwl-hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.nwl-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nwl-hero__scroll-text {
  font-family: var(--nwl-font-mono);
  font-size: 10px;
  color: var(--nwl-text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nwl-hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(232, 168, 124, 0.4), transparent);
  animation: nwl-scrollPulse 2s ease-in-out infinite;
}

@keyframes nwl-scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ============================================
   BUTTONS
   ============================================ */
.nwl-btn {
  display: inline-block;
  font-family: var(--nwl-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.nwl-btn--primary {
  color: var(--nwl-bg);
  background: var(--nwl-accent);
}

.nwl-btn--primary:hover {
  background: var(--nwl-accent-bright);
  color: var(--nwl-bg);
  transform: translateY(-2px);
}

.nwl-btn--outline {
  color: var(--nwl-text-dim);
  background: transparent;
  border: 1px solid var(--nwl-border-light);
}

.nwl-btn--outline:hover {
  border-color: var(--nwl-accent);
  color: var(--nwl-accent);
}

.nwl-btn--large {
  padding: 16px 40px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.nwl-section {
  padding: 100px 48px;
  position: relative;
  z-index: 1;
}

.nwl-section + .nwl-section {
  border-top: 1px solid var(--nwl-border);
}

.nwl-section__label {
  font-family: var(--nwl-font-mono);
  font-size: 10px;
  color: var(--nwl-accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.nwl-section__title {
  font-family: var(--nwl-font-display);
  font-size: 38px;
  font-weight: 700;
  font-style: italic;
  color: var(--nwl-text-bright);
  line-height: 1.2;
  margin: 0;
}

.nwl-section__header {
  margin-bottom: 56px;
}

.nwl-section__header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.nwl-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.nwl-service {
  padding: 32px;
  background: var(--nwl-bg-raised);
  border: 1px solid var(--nwl-border);
  border-radius: var(--nwl-radius);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.nwl-service:hover {
  border-color: var(--nwl-accent);
  transform: translateY(-4px);
}

.nwl-service__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.nwl-service__icon {
  font-size: 28px;
}

.nwl-service__stat {
  font-family: var(--nwl-font-mono);
  font-size: 10px;
  color: var(--nwl-accent);
  background: var(--nwl-accent-dim);
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 1px;
}

.nwl-service__title {
  font-family: var(--nwl-font-display);
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  color: var(--nwl-text-bright);
  margin-bottom: 10px;
}

.nwl-service__desc {
  font-family: var(--nwl-font-body);
  font-size: 14px;
  color: var(--nwl-text-dim);
  line-height: 1.6;
}

/* ============================================
   PORTFOLIO GRID
   ============================================ */
.nwl-portfolio-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.nwl-portfolio-filter {
  font-family: var(--nwl-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid var(--nwl-border);
  background: transparent;
  color: var(--nwl-text-dim);
  transition: all 0.3s;
}

.nwl-portfolio-filter:hover {
  border-color: var(--nwl-accent);
  color: var(--nwl-accent);
}

.nwl-portfolio-filter--active {
  border-color: var(--nwl-accent);
  background: var(--nwl-accent-dim);
  color: var(--nwl-accent);
}

.nwl-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--nwl-gap);
}

.nwl-portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--nwl-radius);
  border: 1px solid var(--nwl-border);
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
  background: var(--nwl-bg-raised);
}

/* Wide variant removed — uniform grid */

.nwl-portfolio-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.nwl-portfolio-item:hover .nwl-portfolio-item__img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.nwl-portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 15, 0.85) 0%, transparent 60%);
  transition: background 0.4s ease;
}

.nwl-portfolio-item:hover .nwl-portfolio-item__overlay {
  background: linear-gradient(to top, rgba(12, 10, 15, 0.95) 0%, rgba(12, 10, 15, 0.5) 40%, transparent 100%);
}

.nwl-portfolio-item__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  transform: translateY(4px);
  transition: transform 0.4s ease;
}

.nwl-portfolio-item:hover .nwl-portfolio-item__content {
  transform: translateY(0);
}

.nwl-portfolio-item__cat {
  font-family: var(--nwl-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nwl-accent);
  display: block;
  margin-bottom: 6px;
}

.nwl-portfolio-item__title {
  font-family: var(--nwl-font-display);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  color: var(--nwl-text-bright);
}

/* ============================================
   SINGLE PORTFOLIO PROJECT
   ============================================ */
.nwl-project {
  padding: 120px 48px 80px;
}

.nwl-project__header {
  max-width: var(--nwl-container);
  margin: 0 auto 48px;
}

.nwl-project__back {
  font-family: var(--nwl-font-mono);
  font-size: 12px;
  color: var(--nwl-text-dim);
  margin-bottom: 24px;
  display: inline-block;
}

.nwl-project__back:hover { color: var(--nwl-accent); }
.nwl-project__back::before { content: '← '; }

.nwl-project__title {
  font-family: var(--nwl-font-display);
  font-size: 42px;
  font-weight: 700;
  font-style: italic;
  color: var(--nwl-text-bright);
  line-height: 1.2;
  margin-bottom: 16px;
}

.nwl-project__meta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nwl-project__cat-badge {
  font-family: var(--nwl-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nwl-accent);
  background: var(--nwl-accent-dim);
  padding: 4px 12px;
  border-radius: 2px;
}

.nwl-project__date {
  font-family: var(--nwl-font-mono);
  font-size: 12px;
  color: var(--nwl-text-dim);
}

.nwl-project__hero-img {
  width: 100%;
  max-width: var(--nwl-container-wide);
  margin: 0 auto 48px;
  border-radius: var(--nwl-radius);
  border: 1px solid var(--nwl-border);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.nwl-project__body {
  max-width: var(--nwl-container);
  margin: 0 auto;
}

.nwl-project__body p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Related projects */
.nwl-related {
  max-width: var(--nwl-container);
  margin: 64px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--nwl-border);
}

.nwl-related__title {
  font-family: var(--nwl-font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--nwl-accent);
  margin-bottom: 24px;
}

.nwl-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--nwl-gap);
}

/* ============================================
   CONSOLE / TECH STRIP
   ============================================ */
.nwl-tech-strip {
  padding: 48px;
  border-top: 1px solid var(--nwl-border);
  border-bottom: 1px solid var(--nwl-border);
  position: relative;
  z-index: 1;
}

.nwl-tech-strip__inner {
  max-width: var(--nwl-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nwl-tech-strip__label {
  font-family: var(--nwl-font-mono);
  font-size: 10px;
  color: var(--nwl-text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nwl-tech-strip__consoles {
  display: flex;
  gap: 40px;
}

.nwl-tech-strip__console {
  font-family: var(--nwl-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--nwl-text-dim);
  letter-spacing: 0.5px;
}

/* ============================================
   ABOUT / BIO SECTION
   ============================================ */
.nwl-about {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.nwl-about__image {
  border-radius: var(--nwl-radius);
  border: 1px solid var(--nwl-border);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.nwl-about__text h3 {
  font-family: var(--nwl-font-display);
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  color: var(--nwl-text-bright);
  margin: 32px 0 12px;
}

.nwl-about__text h3:first-child {
  margin-top: 0;
}

.nwl-about__text p {
  font-size: 15px;
  color: var(--nwl-text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Console skill bars */
.nwl-skill {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.nwl-skill__name {
  font-family: var(--nwl-font-mono);
  font-size: 12px;
  color: var(--nwl-text-dim);
  min-width: 100px;
}

.nwl-skill__bar {
  flex: 1;
  height: 4px;
  background: var(--nwl-border);
  border-radius: 2px;
  overflow: hidden;
}

.nwl-skill__fill {
  height: 100%;
  background: var(--nwl-accent);
  border-radius: 2px;
  transition: width 1s ease;
}

.nwl-skill__level {
  font-family: var(--nwl-font-mono);
  font-size: 10px;
  color: var(--nwl-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  min-width: 80px;
  text-align: right;
}

/* ============================================
   CTA SECTION
   ============================================ */
.nwl-cta {
  text-align: center;
  padding: 100px 48px;
}

.nwl-cta__title {
  font-family: var(--nwl-font-display);
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  color: var(--nwl-text-bright);
  line-height: 1.3;
  margin-bottom: 16px;
}

.nwl-cta__desc {
  font-family: var(--nwl-font-body);
  font-size: 16px;
  color: var(--nwl-text-dim);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.nwl-contact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.nwl-contact__info h3 {
  font-family: var(--nwl-font-display);
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  color: var(--nwl-text-bright);
  margin-bottom: 16px;
}

.nwl-contact__info p {
  font-size: 14px;
  color: var(--nwl-text-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.nwl-contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--nwl-font-body);
  font-size: 14px;
  color: var(--nwl-text-dim);
}

.nwl-contact__detail a {
  color: var(--nwl-accent);
}

.nwl-contact__social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.nwl-contact__social a {
  font-family: var(--nwl-font-mono);
  font-size: 11px;
  color: var(--nwl-text-dim);
  border: 1px solid var(--nwl-border);
  padding: 6px 14px;
  border-radius: 2px;
  transition: all 0.3s;
  text-decoration: none;
}

.nwl-contact__social a:hover {
  border-color: var(--nwl-accent);
  color: var(--nwl-accent);
}

/* Contact form */
.nwl-form input,
.nwl-form textarea {
  width: 100%;
  background: var(--nwl-bg-surface);
  border: 1px solid var(--nwl-border);
  border-radius: var(--nwl-radius);
  color: var(--nwl-text);
  font-family: var(--nwl-font-body);
  font-size: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  transition: border-color 0.3s;
  outline: none;
}

.nwl-form input:focus,
.nwl-form textarea:focus {
  border-color: var(--nwl-accent);
}

.nwl-form input::placeholder,
.nwl-form textarea::placeholder {
  color: var(--nwl-text-muted);
}

.nwl-form textarea {
  min-height: 160px;
  resize: vertical;
}

.nwl-form label {
  font-family: var(--nwl-font-mono);
  font-size: 11px;
  color: var(--nwl-text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

/* ============================================
   BLOG / POST CARDS
   ============================================ */
.nwl-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--nwl-gap);
}

.nwl-post-card {
  background: var(--nwl-bg-raised);
  border: 1px solid var(--nwl-border);
  border-radius: var(--nwl-radius);
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.nwl-post-card:hover {
  border-color: var(--nwl-accent);
  transform: translateY(-4px);
}

.nwl-post-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.nwl-post-card__body {
  padding: 24px;
}

.nwl-post-card__date {
  font-family: var(--nwl-font-mono);
  font-size: 11px;
  color: var(--nwl-text-muted);
  margin-bottom: 8px;
}

.nwl-post-card__title {
  font-family: var(--nwl-font-display);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  color: var(--nwl-text-bright);
  line-height: 1.3;
  margin-bottom: 8px;
}

.nwl-post-card__excerpt {
  font-size: 13px;
  color: var(--nwl-text-dim);
  line-height: 1.6;
}

/* ============================================
   SINGLE POST CONTENT
   ============================================ */
.nwl-content {
  padding: 120px 48px 80px;
}

.nwl-content__header {
  max-width: var(--nwl-container);
  margin: 0 auto 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--nwl-border);
}

.nwl-content__back {
  font-family: var(--nwl-font-mono);
  font-size: 12px;
  color: var(--nwl-text-dim);
  margin-bottom: 16px;
  display: inline-block;
}

.nwl-content__back:hover { color: var(--nwl-accent); }
.nwl-content__back::before { content: '← '; }

.nwl-content__title {
  font-family: var(--nwl-font-display);
  font-size: 36px;
  font-weight: 700;
  font-style: italic;
  color: var(--nwl-text-bright);
  line-height: 1.3;
  margin-bottom: 12px;
}

.nwl-content__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--nwl-font-mono);
  font-size: 12px;
  color: var(--nwl-text-dim);
}

.nwl-content__body {
  max-width: var(--nwl-container);
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
}

.nwl-content__body h2 {
  font-family: var(--nwl-font-display);
  font-size: 28px;
  font-weight: 600;
  font-style: italic;
  color: var(--nwl-text-bright);
  margin: 48px 0 16px;
}

.nwl-content__body h3 {
  font-family: var(--nwl-font-display);
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  color: var(--nwl-text-bright);
  margin: 36px 0 12px;
}

.nwl-content__body p {
  margin-bottom: 16px;
}

.nwl-content__body a {
  color: var(--nwl-accent);
  text-decoration: underline;
  text-decoration-color: var(--nwl-accent-dim);
  text-underline-offset: 3px;
}

.nwl-content__body a:hover {
  text-decoration-color: var(--nwl-accent);
}

.nwl-content__body img {
  border-radius: var(--nwl-radius);
  border: 1px solid var(--nwl-border);
  margin: 24px 0;
}

.nwl-content__body blockquote {
  border-left: 3px solid var(--nwl-accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--nwl-text-dim);
  font-style: italic;
  font-family: var(--nwl-font-display);
  font-size: 18px;
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */
.nwl-page {
  padding: 120px 48px 80px;
}

.nwl-page__title {
  font-family: var(--nwl-font-display);
  font-size: 42px;
  font-weight: 700;
  font-style: italic;
  color: var(--nwl-text-bright);
  margin-bottom: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.nwl-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--nwl-border);
  position: relative;
  z-index: 1;
}

.nwl-footer__inner {
  max-width: var(--nwl-container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nwl-footer__brand {
  font-family: var(--nwl-font-display);
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  color: var(--nwl-text-dim);
}

.nwl-footer__region {
  font-family: var(--nwl-font-body);
  font-size: 12px;
  color: var(--nwl-text-muted);
  margin-left: 12px;
}

.nwl-footer__links {
  display: flex;
  gap: 24px;
}

.nwl-footer__links a {
  font-family: var(--nwl-font-mono);
  font-size: 11px;
  color: var(--nwl-text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nwl-footer__links a:hover {
  color: var(--nwl-accent);
}

.nwl-footer__copy {
  max-width: var(--nwl-container);
  margin: 16px auto 0;
  font-family: var(--nwl-font-mono);
  font-size: 10px;
  color: var(--nwl-text-muted);
  letter-spacing: 1px;
}

/* ============================================
   PAGINATION
   ============================================ */
.nwl-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.nwl-pagination a,
.nwl-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--nwl-border);
  border-radius: 2px;
  font-family: var(--nwl-font-mono);
  font-size: 13px;
  color: var(--nwl-text-dim);
  text-decoration: none;
  transition: all 0.3s;
}

.nwl-pagination a:hover {
  border-color: var(--nwl-accent);
  color: var(--nwl-accent);
}

.nwl-pagination .current {
  background: var(--nwl-accent-dim);
  border-color: var(--nwl-accent);
  color: var(--nwl-accent);
}

/* ============================================
   404
   ============================================ */
.nwl-404 {
  text-align: center;
  padding: 160px 48px;
}

.nwl-404__code {
  font-family: var(--nwl-font-display);
  font-size: 96px;
  font-weight: 700;
  font-style: italic;
  color: var(--nwl-accent);
  margin-bottom: 16px;
  opacity: 0.6;
}

.nwl-404__msg {
  font-family: var(--nwl-font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--nwl-text-dim);
  margin-bottom: 40px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nwl-container,
  .nwl-section,
  .nwl-hero,
  .nwl-nav,
  .nwl-content,
  .nwl-project,
  .nwl-page,
  .nwl-cta,
  .nwl-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nwl-nav__menu,
  .nwl-nav__cta { display: none; }
  .nwl-nav__toggle { display: block; }

  .nwl-nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--nwl-bg-raised);
    border-bottom: 1px solid var(--nwl-border);
    padding: 20px;
    gap: 16px;
  }

  .nwl-hero__title { font-size: 36px; }
  .nwl-hero__actions { flex-direction: column; }
  .nwl-section__title { font-size: 28px; }

  .nwl-services { grid-template-columns: 1fr; }
  .nwl-portfolio-grid { grid-template-columns: 1fr; }
  .nwl-about { grid-template-columns: 1fr; }
  .nwl-contact { grid-template-columns: 1fr; }
  .nwl-related__grid { grid-template-columns: 1fr; }
  .nwl-posts { grid-template-columns: 1fr; }

  .nwl-tech-strip__inner { flex-direction: column; gap: 16px; }
  .nwl-tech-strip__consoles { flex-wrap: wrap; gap: 16px; justify-content: center; }

  .nwl-footer__inner { flex-direction: column; gap: 16px; text-align: center; }
  .nwl-section__header--split { flex-direction: column; align-items: flex-start; gap: 16px; }

  .nwl-project__title { font-size: 28px; }
  .nwl-content__title { font-size: 28px; }
  .nwl-page__title { font-size: 28px; }
}
