/*
Theme Name: Pryvonte
Theme URI: https://pryvonte.com
Author: Pryvonte Studio
Author URI: https://pryvonte.com
Description: A premium, minimal black & white WordPress theme for Pryvonte Strategy & Research Consultancy.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pryvonte
Tags: minimal, black-white, consulting, business, custom-post-types, responsive
*/

/* ============================================================
   PRYVONTE — Premium Consulting Theme
   Design Direction: Editorial Minimalism — Sharp, Authoritative
   Typography: Cormorant Garamond (display) + DM Sans (body)
   Palette: Pure black #0A0A0A, off-white #F5F3EE, accent #C8A96E
   ============================================================ */

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

:root {
  --black: #0A0A0A;
  --white: #F5F3EE;
  --grey-100: #EEECE8;
  --grey-200: #D8D6D1;
  --grey-400: #9A9890;
  --grey-600: #5C5A55;
  --gold: #C8A96E;
  --gold-light: #E8D5AA;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1280px;
  --section-pad: clamp(80px, 10vw, 160px);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 7vw, 7rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.4rem); }
h4 { font-size: clamp(1.2rem, 1.8vw, 1.8rem); }

p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--grey-600);
  line-height: 1.8;
}

/* --- Utility --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.section-pad {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }

.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1.5px solid var(--black);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: -1;
}

.btn:hover {
  color: var(--white);
}

.btn:hover::after {
  transform: scaleX(1);
}

.btn-solid {
  background: var(--black);
  color: var(--white);
}

.btn-solid::after {
  background: var(--gold);
}

.btn-solid:hover {
  color: var(--black);
  border-color: var(--gold);
}

.btn .arrow {
  transition: transform var(--transition);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: rgba(245, 243, 238, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px clamp(20px, 5vw, 80px);
  box-shadow: 0 1px 0 var(--grey-200);
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--black);
  text-transform: uppercase;
}

.site-logo span {
  color: var(--gold);
}

/* Primary Navigation */
#primary-navigation {
  display: flex;
  align-items: center;
  gap: 40px;
}

#primary-navigation .nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

#primary-navigation .nav-menu li a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

#primary-navigation .nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

#primary-navigation .nav-menu li a:hover {
  color: var(--gold);
}

#primary-navigation .nav-menu li a:hover::after {
  width: 100%;
}

#primary-navigation .nav-menu li.current-menu-item > a {
  color: var(--gold);
}

#primary-navigation .nav-menu li.current-menu-item > a::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.78rem !important;
  padding: 10px 22px;
  border: 1.5px solid var(--black);
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--black) !important;
  color: var(--white) !important;
}

.nav-cta::after { display: none !important; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--black);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   FRONT PAGE — HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vw, 120px);
  padding-top: 120px;
  position: relative;
  overflow: hidden;
  background-color: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(200, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(200, 169, 110, 0.05) 0%, transparent 60%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 243, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 238, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3.5rem, 8vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  max-width: 900px;
  margin-bottom: 3rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-desc {
  max-width: 380px;
}

.hero-desc p {
  color: rgba(245, 243, 238, 0.55);
  font-size: 0.95rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.btn-hero {
  border-color: rgba(245, 243, 238, 0.3);
  color: var(--white);
}

.btn-hero:hover {
  border-color: var(--white);
}

.btn-hero::after {
  background: var(--white);
}

.btn-hero:hover {
  color: var(--black);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.35);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(200, 169, 110, 0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

.services-section {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}

.services-header h2 {
  font-weight: 300;
}

.services-header p {
  font-size: 1rem;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--grey-200);
}

.service-card {
  padding: 48px 40px;
  border-right: 1px solid var(--grey-200);
  position: relative;
  transition: background var(--transition);
}

.service-card:last-child {
  border-right: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--grey-100);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--grey-400);
  margin-bottom: 32px;
}

.service-card h3 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 16px;
  transition: color var(--transition);
}

.service-card:hover h3 {
  color: var(--gold);
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.service-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.service-link:hover {
  color: var(--gold);
}

/* ============================================================
   ABOUT / NUMBERS SECTION
   ============================================================ */

.about-strip {
  background: var(--black);
  padding: 80px 0;
}

.about-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 0 40px;
  border-right: 1px solid rgba(245, 243, 238, 0.1);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number sup {
  font-size: 0.4em;
  vertical-align: top;
  margin-top: 0.3em;
  color: var(--gold);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.4);
}

/* ============================================================
   PROJECTS / CASE STUDIES SECTION
   ============================================================ */

.projects-section {
  background: var(--white);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--grey-200);
}

.project-card {
  background: var(--white);
  overflow: hidden;
  position: relative;
  display: block;
  aspect-ratio: 4/3;
}

.project-card:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.project-no-image {
  width: 100%;
  height: 100%;
  background: var(--grey-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .overlay {
  opacity: 1;
}

.project-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.project-card .overlay h3 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 300;
}

/* ============================================================
   INSIGHTS / BLOG SECTION
   ============================================================ */

.insights-section {
  background: var(--grey-100);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.insight-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(10,10,10,0.1);
}

.insight-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--grey-200);
}

.insight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.insight-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.insight-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200, 169, 110, 0.1);
  padding: 4px 10px;
}

.insight-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--grey-400);
}

.insight-body h3 {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.insight-card:hover .insight-body h3 {
  color: var(--gold);
}

.insight-body p {
  font-size: 0.88rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}

.insight-read-more {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition), gap var(--transition);
}

.insight-read-more:hover {
  color: var(--gold);
  gap: 14px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-section {
  background: var(--black);
  color: var(--white);
}

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

.contact-info h2 {
  color: var(--white);
  font-weight: 300;
  margin-bottom: 24px;
}

.contact-info h2 em {
  font-style: italic;
  color: var(--gold);
}

.contact-info p {
  color: rgba(245, 243, 238, 0.55);
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 243, 238, 0.1);
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.detail-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(245, 243, 238, 0.8);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.45);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(245, 243, 238, 0.05);
  border: 1px solid rgba(245, 243, 238, 0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(245, 243, 238, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 243, 238, 0.2);
}

.form-group select option {
  background: var(--black);
  color: var(--white);
}

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

.form-submit .btn-solid {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 0.78rem;
}

.form-submit .btn-solid:hover {
  background: var(--white);
  border-color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */

#site-footer {
  background: #050505;
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245, 243, 238, 0.08);
  margin-bottom: 40px;
}

.footer-brand .site-logo {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(245, 243, 238, 0.35);
  line-height: 1.8;
  max-width: 220px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.35);
  margin-bottom: 20px;
}

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

.footer-nav a {
  font-size: 0.88rem;
  color: rgba(245, 243, 238, 0.6);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(245, 243, 238, 0.2);
}

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

.footer-socials a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.3);
  transition: color var(--transition);
}

.footer-socials a:hover {
  color: var(--gold);
}

/* ============================================================
   INNER PAGE — GENERAL
   ============================================================ */

.page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(200, 169, 110, 0.3);
}

.page-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.page-hero h1 {
  color: var(--white);
  font-weight: 300;
  max-width: 800px;
}

.page-hero p {
  color: rgba(245, 243, 238, 0.55);
  max-width: 560px;
  margin-top: 24px;
  font-size: 1rem;
}

/* Content area */
.page-content {
  padding: var(--section-pad) 0;
}

.entry-content {
  max-width: 720px;
  margin: 0 auto;
}

.entry-content h2, .entry-content h3 {
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.entry-content p {
  margin-bottom: 1.4em;
}

.entry-content ul, .entry-content ol {
  list-style: initial;
  padding-left: 1.4em;
  margin-bottom: 1.4em;
  color: var(--grey-600);
}

.entry-content ol { list-style: decimal; }

.entry-content blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 2em 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--grey-600);
  font-style: italic;
}

/* ============================================================
   ARCHIVE — INSIGHTS LISTING
   ============================================================ */

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

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

.single-header {
  max-width: 800px;
}

.single-header .post-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}

.post-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.post-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--grey-400);
}

.single-featured-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  margin: 60px 0;
}

/* ============================================================
   PROJECTS ARCHIVE
   ============================================================ */

.projects-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--grey-200);
}

.project-archive-card {
  background: var(--white);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

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

  .service-card:nth-child(2) {
    border-right: none;
  }

  .service-card:nth-child(3) {
    border-top: 1px solid var(--grey-200);
    border-right: none;
    grid-column: span 2;
  }

  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  #primary-navigation .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  #primary-navigation .nav-menu.active {
    display: flex;
  }

  #primary-navigation .nav-menu li a {
    font-size: 1.1rem;
    color: var(--white);
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .nav-cta { display: none !important; }

  .hero h1 { font-size: clamp(2.8rem, 10vw, 5rem); }

  .hero-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-header {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--grey-200);
  }

  .service-card:nth-child(3) {
    grid-column: span 1;
  }

  .about-strip .container {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 32px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(245, 243, 238, 0.1);
  }

  .projects-grid,
  .projects-archive-grid {
    grid-template-columns: 1fr;
  }

  .project-card:first-child {
    grid-row: span 1;
  }

  .insights-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .contact-inner {
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ============================================================
   ANIMATIONS & SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   WORDPRESS CORE CLASSES
   ============================================================ */

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--grey-400); margin-top: 6px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
