/* ==========================================================================
   NOISY CREATIVE - Custom Theme Stylesheet
   ========================================================================== */

/* --- CSS Variables & Theme Tokens --- */
:root {
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Mochiy Pop One', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --color-black: #000000;
  --color-charcoal: #171717;
  --color-card: #121212;
  --color-card-border: rgba(255, 255, 255, 0.12);
  --color-gray-dark: #262626;
  --color-gray-mid: #737373;
  --color-gray-light: #e5e5e5;
  --color-white: #ffffff;

  --container-max: 1280px;
  --header-height: 80px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--color-black);
  color: var(--color-gray-light);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-black);
  color: var(--color-gray-light);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 15px;
}

::selection {
  background-color: #ffffff;
  color: #000000;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Layout Containers --- */
.noisy-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px) {
  .noisy-container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* --- Typography Helpers --- */
.font-display { font-family: var(--font-display); }
.font-heading { font-family: var(--font-heading); }
.font-accent  { font-family: var(--font-accent); }
.font-sans    { font-family: var(--font-sans); }
.font-mono    { font-family: var(--font-mono); }

.tracking-tightest { letter-spacing: -0.04em; }
.tracking-widest-xl { letter-spacing: 0.25em; }

/* --- Header & Navigation --- */
#main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  transition: all var(--transition-normal);
}

#main-navbar.scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
}

.nav-logo-sub {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #888888;
  text-transform: uppercase;
  margin-top: 4px;
  font-family: var(--font-mono);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #cccccc;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #ffffff;
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #ffffff;
  color: #000000 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid #ffffff;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: #e5e5e5;
  color: #000000;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-fast);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.hamburger-btn {
  display: none;
  color: #ffffff;
  font-size: 24px;
}

@media (max-width: 991px) {
  .nav-links, .nav-actions .btn-primary {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
}

/* --- Mobile Menu Drawer --- */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.mobile-menu-drawer.active {
  transform: translateY(0);
}

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

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 140px;
  padding-bottom: 40px;
  overflow: hidden;
  background: #000000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(125%) brightness(0.65);
  opacity: 0.35;
  transform: scale(1.03);
  pointer-events: none;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.92) 90%),
              linear-gradient(to top, #000000 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin: auto 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero-badge-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #a3a3a3;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6.5vw, 84px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 32px;
}

.hero-title-accent {
  font-family: var(--font-accent);
  color: #999999;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: flex-end;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.hero-subheadline {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  color: #d4d4d4;
  line-height: 1.5;
  max-width: 580px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a3a3a3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 2px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .hero-buttons {
    justify-content: flex-start;
    flex-direction: column;
  }
}

/* --- Marquee Ticker Strip --- */
.marquee-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 48px;
  padding: 14px 0;
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marqueeMove 32s linear infinite;
  white-space: nowrap;
  gap: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #888888;
  text-transform: uppercase;
}

.marquee-strip:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marqueeMove {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* --- Section Global Headers --- */
.section-wrapper {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: #000000;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-charcoal {
  background-color: #171717;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-light {
  background-color: #ffffff;
  color: #000000;
}

.section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  padding-bottom: 24px;
  border-bottom: 1px solid currentColor;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  margin-top: 8px;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  max-width: 360px;
  margin-top: 16px;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-image-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000000;
}

.about-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: grayscale(100%) contrast(125%);
  transition: transform var(--transition-slow);
}

.about-image-card:hover img {
  transform: scale(1.04);
}

.about-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #cccccc;
  background: rgba(0, 0, 0, 0.85);
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-lead {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  line-height: 1.6;
  color: #e5e5e5;
  margin-bottom: 32px;
}

.target-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 36px;
}

.pill-item {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cccccc;
}

.about-statement-box {
  padding: 24px 30px;
  background: #000000;
  border-left: 4px solid #ffffff;
}

.about-statement-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 8px;
}

.about-statement-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.25;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-box {
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition-fast);
}

.stat-box:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #e5e5e5;
  text-transform: uppercase;
  margin-top: 10px;
}

.stat-sublabel {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #777777;
  margin-top: 4px;
}

/* --- Services Section (Stark White) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 840px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #000000;
  transition: all var(--transition-normal);
}

.service-card:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  transition: border-color var(--transition-normal);
}

.service-card:hover .service-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 900;
  color: #999999;
}

.service-subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666666;
  margin-top: 6px;
  transition: color var(--transition-normal);
}

.service-card:hover .service-subtitle {
  color: #aaaaaa;
}

.service-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.1;
}

.service-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #444444;
  margin-bottom: 28px;
  transition: color var(--transition-normal);
}

.service-card:hover .service-desc {
  color: #cccccc;
}

.deliverables-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #777777;
  margin-bottom: 14px;
  transition: color var(--transition-normal);
}

.service-card:hover .deliverables-title {
  color: #aaaaaa;
}

.deliverables-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

@media (max-width: 500px) {
  .deliverables-list {
    grid-template-columns: 1fr;
  }
}

.deliverable-item {
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222222;
  transition: color var(--transition-normal);
}

.service-card:hover .deliverable-item {
  color: #e5e5e5;
}

.deliverable-bullet {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}

.service-action {
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: border-color var(--transition-normal);
}

.service-card:hover .service-action {
  border-top-color: rgba(255, 255, 255, 0.15);
}

/* --- Why Us Section --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast);
}

.why-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.why-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: #777777;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.why-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}

.why-desc {
  font-size: 14px;
  color: #a3a3a3;
  line-height: 1.6;
  font-weight: 300;
}

.why-footer {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #555555;
  text-transform: uppercase;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Portfolio Gallery Section --- */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: #171717;
  color: #888888;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #ffffff;
  background: #242424;
}

.filter-btn.active {
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  border-color: #ffffff;
}

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

@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.portfolio-item {
  position: relative;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition-normal);
}

.portfolio-item:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.portfolio-thumb-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0d0d0d;
}

.portfolio-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%) brightness(0.9);
  transition: all var(--transition-slow);
}

.portfolio-item:hover .portfolio-thumb-wrap img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(105%) brightness(1);
}

.portfolio-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  pointer-events: none;
}

.portfolio-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  color: #ffffff;
}

.portfolio-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
  transform: translateY(6px);
  transition: transform var(--transition-normal);
}

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

.portfolio-client-year {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #a3a3a3;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.portfolio-item-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
}

.portfolio-item-desc {
  font-size: 12px;
  color: #cccccc;
  font-weight: 300;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-view-spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaaaaa;
}

.portfolio-item:hover .portfolio-view-spec {
  color: #ffffff;
}

/* --- Portfolio Lightbox / Spec Modal --- */
.portfolio-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.portfolio-modal-overlay.active {
  display: flex;
}

.portfolio-modal-container {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
}

.modal-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

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

.modal-image-wrap {
  background: #000000;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-image-wrap img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%);
}

.modal-details {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- Methodology / Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast);
}

.process-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 900;
  color: #777777;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.process-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
}

.process-summary {
  font-size: 13px;
  font-weight: 600;
  color: #d4d4d4;
  margin-bottom: 10px;
}

.process-desc {
  font-size: 12px;
  font-weight: 300;
  color: #888888;
  line-height: 1.6;
}

.process-phase {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #555555;
  text-transform: uppercase;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Pricing Section --- */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  position: relative;
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.pricing-card.popular {
  background: #000000;
  color: #ffffff;
  border: 2px solid #000000;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: scale(1.03);
  z-index: 2;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #777777;
  margin-bottom: 6px;
}

.pricing-card.popular .pricing-tier {
  color: #a3a3a3;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pricing-desc {
  font-size: 13px;
  font-weight: 300;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 24px;
}

.pricing-card.popular .pricing-desc {
  color: #cccccc;
}

.price-display {
  padding: 20px 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: 0.9;
  margin-bottom: 28px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 6px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-item {
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Testimonials Section --- */
.testimonial-card {
  position: relative;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(32px, 5vw, 64px);
  max-width: 900px;
  margin: 0 auto;
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 16px;
}

.testi-quote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 40px;
}

.testi-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}

.testi-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testi-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
}

.testi-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #888888;
}

.testi-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.testi-btn {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.testi-btn:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* --- FAQ Accordion Section --- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  color: #ffffff;
}

.faq-trigger-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-right: 20px;
}

.faq-index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #666666;
  padding-top: 2px;
}

.faq-question {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.3;
}

.faq-icon-box {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 16px;
  transition: all var(--transition-fast);
}

.faq-item.active .faq-icon-box {
  border-color: #ffffff;
  background: #ffffff;
  color: #000000;
}

.faq-content {
  display: none;
  padding-left: 36px;
  padding-bottom: 24px;
  color: #cccccc;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.faq-item.active .faq-content {
  display: block;
}

/* --- CTA Banner --- */
.cta-banner-section {
  position: relative;
  background: #000000;
  padding: 120px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cta-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 4rem 4rem;
  pointer-events: none;
}

.cta-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #cccccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  margin-bottom: 24px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6.5vw, 84px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: #ffffff;
  margin-bottom: 28px;
}

.cta-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: #cccccc;
  max-width: 580px;
  margin: 0 auto 40px;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Contact & Project Brief Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #777777;
}

.contact-item-value {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555555;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-family: inherit;
  font-size: 14px;
  color: #000000;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: #000000;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

/* --- Floating WhatsApp Button --- */
#floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #ffffff;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-fast);
}

#floating-whatsapp-btn:hover {
  transform: translateY(-2px);
  border-color: #ffffff;
  background: #111111;
}

/* --- Footer --- */
.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #888888;
  text-transform: uppercase;
  margin-top: 6px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #a3a3a3;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #666666;
}

/* --- WordPress Blog System Styles (index.php, single.php, archive.php) --- */
.blog-header-section {
  padding-top: 160px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 80px 0;
}

@media (max-width: 991px) {
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
}

.post-card {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.post-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.post-thumb-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000000;
}

.post-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%);
  transition: transform var(--transition-slow);
}

.post-card:hover .post-thumb-wrap img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(105%);
}

.post-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.post-meta-row {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #777777;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.post-excerpt {
  font-size: 13px;
  font-weight: 300;
  color: #a3a3a3;
  line-height: 1.6;
  margin-bottom: 24px;
}

.post-read-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

/* --- Single Post Styles --- */
.single-post-article {
  max-width: 840px;
  margin: 0 auto;
  padding: 140px 24px 100px;
}

.single-post-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888888;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 40px;
}

.single-featured-image {
  margin-bottom: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.single-featured-image img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%);
}

.entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: #d4d4d4;
  font-weight: 300;
}

.entry-content p {
  margin-bottom: 28px;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--font-display);
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 48px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.entry-content blockquote {
  padding: 24px 32px;
  background: #171717;
  border-left: 4px solid #ffffff;
  font-family: var(--font-heading);
  font-size: 20px;
  color: #ffffff;
  margin: 36px 0;
  line-height: 1.4;
}

.entry-content ul, .entry-content ol {
  margin: 24px 0 28px 32px;
}

.entry-content li {
  margin-bottom: 8px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination .page-numbers {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  background: #171717;
  color: #888888;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination .page-numbers.current {
  background: #ffffff;
  color: #000000;
  font-weight: 800;
}
