/*
Theme Name: Beaver Design Group
Theme URI: https://beaverdesigngroup.com
Author: Beaver Design Group
Author URI: https://beaverdesigngroup.com
Description: Custom WordPress theme for Beaver Design Group — Branding and Creative Communications for Good Causes.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: developer suspended
*/

/* ═══════════════════════════════════════════════════════
   TRADICA — Editorial Heritage Design System
   Warm earthy tones · Serif-forward · Cultural elegance
   ═══════════════════════════════════════════════════════ */

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

:root {
  /* Palette */
  --olive: #696969;
  --olive-light: #787878;
  --olive-dark: #5a5a5a;
  --terracotta: #C4704A;
  --terracotta-dark: #A85A38;
  --terracotta-light: #D4865F;
  --bdg-red: #ef4123;
  --bdg-red-dark: #d63518;
  --gold: #C8A96E;
  --gold-light: #D9C48E;
  --cream: #F5F0EB;
  --cream-dark: #EDE5DC;
  --sand: #DDD5CB;
  --charcoal: #1A1A1A;
  --white: #FFFFFF;
  --muted: #737373;

  /* Typography */
  --font-heading: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "DM Serif Display", Georgia, serif;

  /* Spacing */
  --section-py: clamp(5rem, 10vw, 8rem);
  --container-max: 75rem;
  --container-narrow: 52rem;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

/* Grain texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── Utility ── */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: 1.375rem; }
h6 { font-size: 1.125rem; }

.display-heading {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bdg-red);
  margin-bottom: 0.75rem;
}

.body-lg { font-size: 1.125rem; line-height: 1.7; }
.text-muted { color: var(--muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out-expo);
}
.btn:hover::before { transform: translateX(0); }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}
.btn-primary:hover {
  background: var(--olive-light);
  border-color: var(--olive-light);
}

.btn-secondary {
  background: var(--bdg-red);
  color: var(--white);
  border-color: var(--bdg-red);
}
.btn-secondary:hover {
  background: var(--bdg-red-dark);
  border-color: var(--bdg-red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--olive);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--olive);
  border-color: var(--olive);
}
.btn-outline-dark:hover {
  background: var(--olive);
  color: var(--white);
}

.btn-arrow::after {
  content: "\2192";
  transition: transform 0.3s var(--ease-out-expo);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── Links ── */
.link-underline {
  color: var(--bdg-red);
  font-weight: 500;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.link-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--bdg-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ═══════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(221, 213, 203, 0.6);
  transition: all 0.4s var(--ease-out-expo);
}

.site-header.scrolled {
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  color: var(--olive);
  letter-spacing: -0.01em;
}

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

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: var(--charcoal);
  transition: all 0.25s ease;
}
.nav-desktop a:hover,
.nav-desktop a.active,
.nav-desktop .current-menu-item a,
.nav-desktop .current_page_item a {
  background: rgba(107, 105, 102, 0.06);
  color: var(--olive);
}

.nav-cta {
  margin-left: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile nav */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(22rem, 85vw);
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--sand);
}

.mobile-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
  padding: 0.25rem;
}

.mobile-nav-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav-body a,
.mobile-nav-body .menu-item a {
  display: block;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--sand);
  color: var(--charcoal);
}

.mobile-nav-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--sand);
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s linear;
}
.hero:hover .hero-bg { transform: scale(1.03); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(107, 105, 102, 0.55) 50%,
    rgba(107, 105, 102, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  padding: 8rem 0 5rem;
}

.hero .eyebrow { color: var(--gold); }

.hero-heading {
  color: var(--white) !important;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Decorative hero bottom curve */
.hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}
.hero-curve svg { display: block; width: 100%; height: auto; }

/* ═══════════════════════════════════════
   SECTION PATTERNS
   ═══════════════════════════════════════ */

.section { padding: var(--section-py) 0; }

.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--olive {
  background: var(--olive);
  color: rgba(255,255,255,0.85);
}
.section--olive h2,
.section--olive h3,
.section--olive h4 { color: var(--white); }
.section--olive .eyebrow { color: var(--gold); }

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--center { text-align: center; }
.section-header--center .section-desc { margin-inline: auto; }

.section-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 36rem;
  margin-top: 0.75rem;
}

/* Decorative rule */
.rule {
  width: 3.5rem;
  height: 2px;
  background: var(--bdg-red);
  margin-bottom: 1.5rem;
  border: none;
}
.rule--center { margin-inline: auto; }
.rule--gold { background: var(--gold); }
.rule--white { background: rgba(255,255,255,0.4); }

/* ═══════════════════════════════════════
   SPLIT LAYOUT (About, Switchback)
   ═══════════════════════════════════════ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split--reversed { direction: rtl; }
.split--reversed > * { direction: ltr; }

.split-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.split-image:hover img { transform: scale(1.04); }

/* Accent frame behind the image */
.split-image::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border: 2px solid var(--gold);
  border-radius: 1.25rem;
  z-index: -1;
  opacity: 0.4;
}

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

.split-content p {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.split-content .btn { margin-top: 2rem; align-self: flex-start; }

/* ═══════════════════════════════════════
   CARD GRIDS
   ═══════════════════════════════════════ */

.card-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 28rem), 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }

/* Standard card */
.card {
  background: var(--white);
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid var(--sand);
  transition: all 0.4s var(--ease-out-expo);
  cursor: pointer;
}
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: transparent;
}

.card-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}
.card:hover .card-image img { transform: scale(1.03); }

.card-body { padding: 1.5rem; }

.card-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.625rem;
  border-radius: 99px;
  background: var(--cream);
  color: var(--bdg-red);
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.card-title a { transition: color 0.25s ease; }
.card-title a:hover { color: var(--olive); }

.card-excerpt {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════
   PORTFOLIO CARD (special treatment)
   ═══════════════════════════════════════ */

.portfolio-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 2;
}

.portfolio-card img,
.portfolio-card .portfolio-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.portfolio-card-bg {
  background-size: cover;
  background-position: center;
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background 0.4s ease;
}

.portfolio-card:hover img,
.portfolio-card:hover .portfolio-card-bg { transform: scale(1.03); }
.portfolio-card:hover .portfolio-card-overlay {
  background: linear-gradient(to top, rgba(107,105,102,0.92) 0%, rgba(107,105,102,0.2) 50%);
}

.portfolio-card-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.375rem;
}

.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: var(--white);
  line-height: 1.2;
}

.portfolio-card-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.125rem;
  transform: translate(4px, -4px);
  opacity: 0;
  transition: all 0.4s var(--ease-out-expo);
}
.portfolio-card:hover .portfolio-card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */

.cta-banner {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.cta-banner--olive { background-color: var(--olive); }
.cta-banner--terracotta { background-color: var(--bdg-red); }

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  margin: 0 auto;
  color: var(--white);
}

.cta-inner h2 { color: var(--white) !important; margin-bottom: 1rem; }
.cta-inner p { opacity: 0.85; margin-bottom: 2rem; font-size: 1.0625rem; line-height: 1.7; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.site-footer {
  background: var(--olive-dark);
  color: rgba(255,255,255,0.75);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.footer-brand .logo { color: var(--white); font-size: 1.5rem; margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 22rem;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links a,
.footer-links .menu-item a {
  display: block;
  font-size: 0.875rem;
  padding: 0.3rem 0;
  color: rgba(255,255,255,0.6);
  transition: color 0.25s ease;
}
.footer-links a:hover,
.footer-links .menu-item a:hover { color: var(--white); }

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s ease;
  font-size: 0.875rem;
}
.footer-social:hover {
  background: var(--bdg-red);
  color: var(--white);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.25s ease;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════
   PROJECT PAGE (single)
   ═══════════════════════════════════════ */

.project-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.1) 60%);
}

.project-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 4rem;
  width: 100%;
}

.project-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  margin: 3rem 0;
}

.project-meta-item {
  flex: 1;
  min-width: 10rem;
}

.project-meta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bdg-red);
  margin-bottom: 0.25rem;
}

.project-meta-value {
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

.project-body {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.project-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.project-body h3 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

.project-gallery img {
  width: 100%;
  border-radius: 0.75rem;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.project-gallery--full {
  grid-template-columns: 1fr;
}
.project-gallery--full img {
  aspect-ratio: 16 / 7;
}

/* Next / prev navigation */
.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--sand);
}

.project-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--white);
  border: 1px solid var(--sand);
  transition: all 0.3s var(--ease-out-expo);
}
.project-nav-item:hover {
  border-color: var(--bdg-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.project-nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bdg-red);
}

.project-nav-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--charcoal);
}

.project-nav-item--next { text-align: right; }

/* ═══════════════════════════════════════
   STATS ROW
   ═══════════════════════════════════════ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--bdg-red);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.section--olive .stat-number { color: var(--gold); }
.section--olive .stat-label { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════
   PAGE HEADER (Interior)
   ═══════════════════════════════════════ */

.page-hero {
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero--olive {
  background: var(--olive);
  color: var(--white);
}
.page-hero--olive h1 { color: var(--white); }
.page-hero--olive .eyebrow { color: var(--gold); }
.page-hero--olive .page-hero-desc { color: rgba(255,255,255,0.7); }

.page-hero--cream { background: var(--cream-dark); }

/* Decorative circles */
.page-hero--olive::before,
.page-hero--olive::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
}
.page-hero--olive::before {
  width: 40vw; height: 40vw;
  top: -12vw; right: -8vw;
}
.page-hero--olive::after {
  width: 25vw; height: 25vw;
  bottom: -8vw; left: -5vw;
}

.page-hero-desc {
  max-width: 36rem;
  margin: 1rem auto 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Filter bar (portfolio) */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--white);
  color: var(--olive);
  border-color: var(--white);
}

/* ═══════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible {
  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; }

/* ═══════════════════════════════════════
   IMAGE PLACEHOLDERS (gradient fills)
   ═══════════════════════════════════════ */

.ph { border-radius: inherit; }
.ph-1 { background: linear-gradient(135deg, #8B7355 0%, #787878 50%, #696969 100%); }
.ph-2 { background: linear-gradient(135deg, #ef4123 0%, #C8A96E 100%); }
.ph-3 { background: linear-gradient(135deg, #696969 0%, #5a5a5a 60%, #1A1A1A 100%); }
.ph-4 { background: linear-gradient(160deg, #DDD5CB 0%, #C8A96E 50%, #ef4123 100%); }
.ph-5 { background: linear-gradient(135deg, #787878 0%, #696969 100%); }
.ph-6 { background: linear-gradient(135deg, #C8A96E 0%, #8B7355 100%); }
.ph-7 { background: linear-gradient(135deg, #EDE5DC 0%, #ef4123 100%); }
.ph-8 { background: linear-gradient(135deg, #5a5a5a 0%, #787878 100%); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reversed { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-nav { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 7rem 0 4rem; }
}
