/*
Theme Name: Prithwish Mandal - Portfolio & Branding Specialist
Theme URI: https://wa.me/918906067231
Author: Prithwish Mandal
Author URI: https://wa.me/918906067231
Description: Premium, bespoke portfolio and branding showcase WordPress theme designed for Prithwish Mandal, Senior Graphic Designer & Branding Specialist. Features modern dark aesthetic, high-contrast typography, interactive case studies, service breakdowns, dynamic project filters, and built-in project enquiry lead capture.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prithwish-mandal
Tags: portfolio, graphic-design, branding, packaging, agency, dark-mode, custom-colors, grid-layout, case-studies
*/

/* -------------------------------------------------------------
   ROOT DESIGN TOKENS & SYSTEM VARIABLES
   ------------------------------------------------------------- */
:root {
  --charcoal: #10110F;
  --deep-black: #080907;
  --dark-surface: #0E0F0C;
  --card-bg: rgba(16, 17, 15, 0.92);
  --warm-ivory: #F7F4ED;
  --accent-lime: #C8F03A;
  --muted-sage: #8FA28A;
  --soft-grey: #A5A69F;
  --dark-border: rgba(255, 255, 255, 0.08);
  --light-border: rgba(16, 17, 15, 0.08);
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Manrope', -apple-system, sans-serif;
  --font-editorial: 'Instrument Serif', Georgia, serif;
}

/* -------------------------------------------------------------
   GLOBAL RESETS & BASE STYLES
   ------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body.site-body {
  background-color: #FAFAFA;
  color: var(--charcoal);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

.font-display { font-family: var(--font-display); }
.font-editorial { font-family: var(--font-editorial); }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

/* -------------------------------------------------------------
   STICKY HEADER & NAVIGATION
   ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 17, 15, 0.06);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-monogram {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--accent-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.2s ease;
}

.brand-wrapper:hover .brand-monogram {
  transform: scale(1.05);
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  line-height: 1.15;
}

.brand-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #686963;
  font-weight: 600;
}

/* Center Pill Navigation */
.desktop-pill-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(16, 17, 15, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.desktop-pill-nav a,
.desktop-pill-nav li a {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #686963;
  border-radius: 999px;
  transition: all 0.2s ease;
  list-style: none;
}

.desktop-pill-nav a:hover,
.desktop-pill-nav a.active {
  color: var(--charcoal);
  background: rgba(16, 17, 15, 0.04);
}

.desktop-pill-nav a.active-pill {
  background: var(--accent-lime);
  color: var(--charcoal);
  box-shadow: 0 2px 6px rgba(200, 240, 58, 0.3);
}

.desktop-pill-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Button Styles */
.btn-primary-dark {
  background: var(--charcoal);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary-dark:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  color: #FFFFFF;
}

.btn-lime {
  background: var(--accent-lime);
  color: var(--charcoal);
  font-weight: 800;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
}

.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 240, 58, 0.4);
  color: var(--charcoal);
}

.btn-glass-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--warm-ivory);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-glass-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid rgba(16, 17, 15, 0.2);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-outline-dark:hover {
  background: rgba(16, 17, 15, 0.05);
  border-color: var(--charcoal);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--charcoal);
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(16, 17, 15, 0.08);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer a {
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  padding: 8px 0;
  border-bottom: 1px solid rgba(16, 17, 15, 0.04);
}

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero-wrapper {
  padding: 16px 20px 60px;
  max-width: 1380px;
  margin: 0 auto;
}

.hero-card {
  position: relative;
  background: var(--dark-surface);
  color: var(--warm-ivory);
  border-radius: 28px;
  padding: 60px 48px 48px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.hero-glow {
  position: absolute;
  top: -100px;
  right: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 240, 58, 0.06) 0%, transparent 70%);
  pointer-events-none;
}

/* Tech Floating Badge in Hero */
.hero-tech-badge {
  position: absolute;
  top: 36px;
  right: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-tech-title {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-sage);
  font-weight: 800;
  font-family: monospace;
}

.hero-tech-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.tech-icon-pill {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-lime);
  font-family: monospace;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #E6C654;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-headline {
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--warm-ivory);
  margin-bottom: 28px;
}

.hero-headline span.lime {
  color: var(--accent-lime);
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-designer-positioning {
  font-size: 13px;
  color: var(--soft-grey);
  max-width: 520px;
  line-height: 1.6;
}

.hero-portrait-col {
  display: flex;
  justify-content: center;
}

.portrait-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141512;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.portrait-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%) contrast(1.1);
}

.portrait-overlay-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(16, 17, 15, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portrait-overlay-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--warm-ivory);
}

.portrait-overlay-role {
  font-size: 11px;
  font-family: monospace;
  color: var(--accent-lime);
  font-weight: 700;
}

/* Stats Row */
.hero-stats-row {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-box {
  padding-right: 16px;
}

.stat-box + .stat-box {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 24px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--warm-ivory);
  line-height: 1;
}

.stat-number.lime {
  color: var(--accent-lime);
}

.stat-title {
  font-size: 12px;
  color: var(--muted-sage);
  margin-top: 6px;
  font-weight: 500;
}

/* -------------------------------------------------------------
   MARQUEE TICKER
   ------------------------------------------------------------- */
.marquee-container {
  margin: 28px 0 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--charcoal);
  color: var(--warm-ivory);
  padding: 18px 0;
  border: 1px solid rgba(16, 17, 15, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
  gap: 36px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-lime);
  display: inline-block;
}

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

/* -------------------------------------------------------------
   EDITORIAL PHILOSOPHY INTRO CARD
   ------------------------------------------------------------- */
.editorial-intro-section {
  max-width: 1380px;
  margin: 0 auto;
  padding: 40px 20px;
}

.editorial-card {
  background: #FFFFFF;
  border: 1px solid rgba(16, 17, 15, 0.08);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.editorial-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal);
  color: var(--accent-lime);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
}

.avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-lime);
}

.profile-summary-box {
  background: #FAFAFA;
  border: 1px solid rgba(16, 17, 15, 0.06);
  border-radius: 16px;
  padding: 20px;
  font-size: 13px;
  color: #686963;
}

.profile-summary-box strong {
  color: var(--charcoal);
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.editorial-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #686963;
  margin-bottom: 12px;
  display: block;
}

.editorial-statement {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.45;
  color: var(--charcoal);
  font-weight: 400;
  margin-bottom: 28px;
}

.editorial-statement strong {
  font-weight: 800;
  color: var(--charcoal);
}

.editorial-statement span.muted {
  color: #71736C;
}

/* -------------------------------------------------------------
   PORTFOLIO & PROJECTS SECTION
   ------------------------------------------------------------- */
.portfolio-section {
  padding: 60px 20px 80px;
  max-width: 1380px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  line-height: 1.1;
}

/* Category Filter Tabs */
.portfolio-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #FFFFFF;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(16, 17, 15, 0.08);
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  color: #686963;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--charcoal);
  background: rgba(16, 17, 15, 0.04);
}

.filter-btn.active {
  background: var(--charcoal);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
  gap: 36px;
}

.project-card {
  background: #FFFFFF;
  border: 1px solid rgba(16, 17, 15, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(16, 17, 15, 0.16);
}

.project-thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #10110F;
}

.project-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumb-img {
  transform: scale(1.05);
}

.project-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(16, 17, 15, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-lime);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.project-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.project-card-title a:hover {
  color: #2D6A4F;
}

.project-card-year {
  font-family: monospace;
  font-size: 12px;
  color: #888A83;
  font-weight: 600;
}

.project-card-desc {
  font-size: 13.5px;
  color: #5C5E58;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.project-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.tag-badge {
  font-size: 11px;
  background: #F4F3EE;
  color: #585A53;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.project-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: auto;
  transition: gap 0.2s ease;
}

.project-cta-link:hover {
  gap: 10px;
  color: #000000;
}

/* -------------------------------------------------------------
   SERVICES & CAPABILITIES SECTION
   ------------------------------------------------------------- */
.services-section {
  background: #FFFFFF;
  border-top: 1px solid rgba(16, 17, 15, 0.06);
  border-bottom: 1px solid rgba(16, 17, 15, 0.06);
  padding: 80px 20px;
}

.services-container {
  max-width: 1380px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.service-card {
  background: #FAFAFA;
  border: 1px solid rgba(16, 17, 15, 0.08);
  border-radius: 22px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 17, 15, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  background: #FFFFFF;
}

.service-num {
  font-family: monospace;
  font-size: 13px;
  font-weight: 800;
  color: #10110F;
  background: var(--accent-lime);
  width: fit-content;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 13.5px;
  color: #63665F;
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-deliverables-list {
  list-style: none;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 17, 15, 0.08);
  margin-top: auto;
}

.service-deliverables-list li {
  font-size: 12.5px;
  color: #4A4D46;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
  font-weight: 500;
}

.service-deliverables-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  font-size: 11px;
  color: #10110F;
  font-weight: 800;
}

/* -------------------------------------------------------------
   ABOUT SECTION
   ------------------------------------------------------------- */
.about-section {
  padding: 90px 20px;
  max-width: 1380px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 60px;
  align-items: center;
}

.about-portrait-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(16, 17, 15, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.about-portrait-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-body-text p {
  font-size: 15px;
  color: #555851;
  margin-bottom: 18px;
  line-height: 1.7;
}

.about-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-badge {
  background: #FFFFFF;
  border: 1px solid rgba(16, 17, 15, 0.1);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
}

/* -------------------------------------------------------------
   JOURNAL / BLOG SECTION
   ------------------------------------------------------------- */
.journal-section {
  background: #FAFAFA;
  padding: 80px 20px;
  border-top: 1px solid rgba(16, 17, 15, 0.06);
}

.journal-container {
  max-width: 1380px;
  margin: 0 auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.article-card {
  background: #FFFFFF;
  border: 1px solid rgba(16, 17, 15, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.06);
}

.article-thumb-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #10110F;
}

.article-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-thumb-img {
  transform: scale(1.04);
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #7A7C75;
  margin-bottom: 12px;
}

.article-category {
  color: #10110F;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.05em;
}

.article-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.35;
}

.article-title a:hover {
  color: #2D6A4F;
}

.article-excerpt {
  font-size: 13.5px;
  color: #61645D;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: auto;
}

/* -------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------- */
.contact-section {
  padding: 90px 20px;
  max-width: 1380px;
  margin: 0 auto;
}

.contact-card-container {
  background: var(--dark-surface);
  color: var(--warm-ivory);
  border-radius: 28px;
  padding: 60px 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-col h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.contact-lead {
  font-size: 15px;
  color: var(--soft-grey);
  line-height: 1.65;
  margin-bottom: 32px;
}

.direct-actions-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Form Styles */
.contact-form-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(12px);
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm-ivory);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-lime);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(200, 240, 58, 0.15);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: #141512;
  color: #FFFFFF;
}

.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: none;
}

.form-feedback.success {
  display: block;
  background: var(--accent-lime);
  color: var(--charcoal);
}

.form-feedback.error {
  display: block;
  background: #FF5A5F;
  color: #FFFFFF;
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.site-footer {
  background: #060705;
  color: var(--warm-ivory);
  padding: 80px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1340px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 36px;
}

.footer-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.footer-headline span.lime {
  color: var(--accent-lime);
}

.footer-desc {
  font-size: 15px;
  color: var(--soft-grey);
  margin-top: 14px;
  max-width: 520px;
}

.footer-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: var(--soft-grey);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--accent-lime);
}

/* -------------------------------------------------------------
   SINGLE CASE STUDY PAGE (single-project.php)
   ------------------------------------------------------------- */
.case-study-hero {
  background: var(--dark-surface);
  color: var(--warm-ivory);
  padding: 80px 20px 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-study-container {
  max-width: 1200px;
  margin: 0 auto;
}

.case-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-lime);
  margin-bottom: 24px;
}

.case-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.case-category-pill {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(200, 240, 58, 0.12);
  color: var(--accent-lime);
  padding: 4px 12px;
  border-radius: 999px;
}

.case-year-text {
  font-family: monospace;
  font-size: 12px;
  color: var(--muted-sage);
}

.case-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.case-lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--soft-grey);
  max-width: 800px;
  line-height: 1.6;
}

/* Cover Image */
.case-cover-section {
  max-width: 1200px;
  margin: -40px auto 60px;
  padding: 0 20px;
}

.case-main-image {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);
  border: 1px solid rgba(16, 17, 15, 0.08);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Case Body Layout */
.case-body-section {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.case-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
}

.case-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-card {
  background: #FFFFFF;
  border: 1px solid rgba(16, 17, 15, 0.08);
  border-radius: 20px;
  padding: 28px;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.deliverables-checklist {
  list-style: none;
}

.deliverables-checklist li {
  font-size: 13px;
  color: #4A4D46;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  font-weight: 500;
}

.deliverables-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #10110F;
  font-weight: 800;
  font-size: 11px;
}

/* Case Content Blocks */
.case-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.content-block {
  background: #FFFFFF;
  border: 1px solid rgba(16, 17, 15, 0.08);
  border-radius: 22px;
  padding: 36px;
}

.content-block h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.content-block p {
  font-size: 15px;
  color: #555851;
  line-height: 1.75;
}

/* Visual Showcase Gallery */
.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.case-gallery-item img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* -------------------------------------------------------------
   SINGLE BLOG POST (single.php) & STANDARD PAGE (page.php)
   ------------------------------------------------------------- */
.standard-post-hero {
  background: #FFFFFF;
  padding: 80px 20px 40px;
  border-bottom: 1px solid rgba(16, 17, 15, 0.06);
}

.standard-post-container {
  max-width: 860px;
  margin: 0 auto;
}

.post-header-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 16px 0 20px;
}

.post-featured-wrapper {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.post-featured-img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.entry-content {
  max-width: 820px;
  margin: 0 auto 80px;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #383A35;
}

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

.entry-content h2, .entry-content h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--charcoal);
  margin: 40px 0 16px;
}

.entry-content blockquote {
  border-left: 3px solid var(--accent-lime);
  padding-left: 24px;
  margin: 32px 0;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 22px;
  color: var(--charcoal);
}

/* -------------------------------------------------------------
   WORDPRESS CORE ALIGNMENTS & UTILITIES
   ------------------------------------------------------------- */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-caption { max-width: 100%; margin-bottom: 20px; }
.wp-caption-text { font-size: 12px; color: #7A7C75; text-align: center; margin-top: 6px; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* -------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-portrait-col { order: -1; }
  .portrait-container { max-width: 320px; }
  .portrait-img { height: 360px; }
  .hero-tech-badge { display: none; }
  .editorial-card { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait-img { height: 400px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-pill-nav, .header-right-actions { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero-card { padding: 40px 24px; border-radius: 20px; }
  .hero-headline { font-size: 34px; }
  .hero-stats-row { grid-template-columns: 1fr; gap: 16px; }
  .stat-box + .stat-box { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; }
  .projects-grid, .services-grid, .articles-grid { grid-template-columns: 1fr; }
  .contact-card-container { padding: 36px 20px; }
  .case-gallery-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
