@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=Playfair+Display:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

:root {
  /* Default Dark Mode: Deep Concrete */
  --bg-primary: #141412;
  --bg-secondary: #1E1E1B;
  --surface: #F4F1EB;
  --ivory: #EDE9E1;
  --ash: #7A7870;
  --brass: #B8955A;
  --brass-light: #D4B483;
  --border: rgba(184,149,90,0.15);
  --shadow: rgba(20, 20, 18, 0.75);
  --shadow-glow: rgba(184, 149, 90, 0.15);
  
  --serif-display: 'Playfair Display', serif;
  --serif-body: 'Cormorant Garamond', serif;
  --sans: 'DM Sans', sans-serif;
  
  --transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.25s cubic-bezier(0.25, 1, 0.5, 1);

  /* Rounded Corner Variables */
  --radius-btn: 8px;
  --radius-card: 16px;
  --radius-input: 8px;
  --radius-pill: 999px;
}


/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
  transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1), color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Custom Cursor styling (desktop only) */
@media (hover: hover) and (pointer: fine) {
  body, a, button, select, input, textarea, label, .brief-option-tile {
    cursor: none !important;
  }
  .custom-cursor {
    width: 6px;
    height: 6px;
    background-color: var(--brass);
    position: fixed;
    border-radius: 50% !important; /* Exemption for cursor shape */
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
  }
  .custom-cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid var(--brass);
    position: fixed;
    border-radius: 50% !important; /* Exemption for cursor shape */
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, background-color 0.3s ease;
  }
  .custom-cursor.hovered {
    transform: translate(-50%, -50%) scale(1.66);
    background-color: var(--ivory);
  }
  .custom-cursor-ring.hovered {
    transform: translate(-50%, -50%) scale(1.38);
    border-color: var(--ivory);
    background-color: rgba(184, 149, 90, 0.08);
  }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background-color: var(--brass);
  width: 0%;
  z-index: 10001;
  transition: width 0.1s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brass);
}

/* Typography & Layout Spacings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
}
.font-display {
  font-family: var(--serif-display);
}
.font-serif {
  font-family: var(--serif-body);
}
.font-sans {
  font-family: var(--sans);
}
.text-uppercase-labels {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
}

.text-brass { color: var(--brass); }
.text-ash { color: var(--ash); }
.text-ivory { color: var(--ivory); }

section {
  padding: 160px 0;
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header & Shared Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 0;
  z-index: 1000;
  transition: padding 0.4s, background-color 0.4s, backdrop-filter 0.4s, border-bottom 0.4s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  padding: 15px 0;
  background-color: rgba(20, 20, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--serif-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ivory);
  text-decoration: none;
}
.logo span {
  color: var(--brass);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--brass);
  transition: var(--transition-smooth);
}
.nav-links a:hover {
  color: var(--brass);
}
.nav-links a:hover::after,
.nav-links li.active a::after {
  width: 100%;
}

/* Projects Dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  list-style: none;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  padding: 10px 0;
  border-radius: var(--radius-btn);
  overflow: hidden;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 12px 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ash);
}
.dropdown-menu li a:hover {
  color: var(--brass);
  background-color: rgba(184, 149, 90, 0.05);
}
.dropdown-menu li a::after {
  display: none;
}

/* Navigation Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-nav {
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #000;
  background-color: var(--brass);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  border: 1px solid var(--brass);
  border-radius: var(--radius-btn);
}
.btn-nav:hover {
  background-color: transparent;
  color: var(--brass);
}


/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 20px;
  position: relative;
}
.mobile-nav-toggle span {
  display: block;
  height: 1px;
  background-color: var(--ivory);
  position: absolute;
  right: 0;
  transition: var(--transition-smooth);
}
.mobile-nav-toggle span:nth-child(1) { top: 0; width: 100%; }
.mobile-nav-toggle span:nth-child(2) { top: 9px; width: 70%; }
.mobile-nav-toggle span:nth-child(3) { top: 18px; width: 100%; }

.mobile-nav-toggle:hover span:nth-child(1),
.mobile-nav-toggle:hover span:nth-child(3) {
  background-color: var(--brass);
}
.mobile-nav-toggle:hover span:nth-child(2) {
  width: 100%;
  background-color: var(--brass);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--brass);
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--brass);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(20, 20, 18, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 100px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-links {
  list-style: none;
  text-align: center;
  margin-bottom: 20px;
  width: 85%;
  max-width: 320px;
}
.mobile-menu-links li {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(184, 149, 90, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}
.mobile-menu-overlay.open .mobile-menu-links li {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-links li:last-child {
  border-bottom: none;
}
.mobile-menu-links a {
  font-family: var(--serif-display);
  font-size: 22px;
  text-decoration: none;
  color: var(--ivory);
  transition: var(--transition-fast);
}
.mobile-menu-links a:hover {
  color: var(--brass);
}

@media (max-width: 1024px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* Premium Image Hero Background */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  background-image: 
    linear-gradient(var(--shadow), var(--shadow)),
    url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 140px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 80px;
  align-items: center;
  z-index: 2;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-label {
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--serif-display);
  font-size: 96px;
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
  color: var(--ivory);
}
.hero-title span.italic-accent {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 300;
  color: var(--brass);
}
.hero-sub {
  font-size: 16px;
  color: var(--ivory);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 20px;
}

/* Glassmorphism Navigation Overlay */
.glass-panel {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 149, 90, 0.1);
  padding: 40px;
  transition: var(--transition-smooth);
  border-radius: var(--radius-card);
}
.glass-panel:hover {
  border-color: var(--brass);
  background: rgba(184, 149, 90, 0.03);
  box-shadow: 0 15px 35px var(--shadow-glow);
}

/* Minimal Hover Card */
.draw-border-card {
  position: relative;
  border-radius: var(--radius-card);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.draw-border-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(184, 149, 90, 0.18);
}

/* Image zoom transition container */
.card-img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-card);
  border: 1px solid rgba(184, 149, 90, 0.25);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.card-img-container:hover {
  border-color: rgba(184, 149, 90, 0.6);
  box-shadow: 0 8px 30px rgba(184, 149, 90, 0.12);
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: var(--radius-card);
}
.draw-border-card:hover .card-img,
.project-card:hover .card-img {
  transform: scale(1.08);
}

/* Buttons */
.btn {
  display: inline-block;
  text-align: center;
  padding: 18px 40px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
}
.btn:hover {
  transform: translateY(-3px);
}
.btn-primary {
  background-color: var(--brass);
  color: #1a1a18 !important;
  border-color: var(--brass);
  font-weight: 600;
}
.btn-primary:hover {
  background-color: transparent;
  color: var(--brass) !important;
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass);
}
.btn-outline {
  background-color: transparent;
  color: var(--ivory);
  border-color: var(--brass);
}
.btn-outline:hover {
  background-color: var(--brass);
  color: #000;
}
a[href*="wa.me"].btn-outline:hover,
a[href*="whatsapp.com"].btn-outline:hover {
  background-color: #25D366 !important;
  color: #fff !important;
  border-color: #25D366 !important;
}

/* Scroll Line Indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 5%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-scroll span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
}
.hero-scroll .scroll-line {
  width: 60px;
  height: 1px;
  background-color: var(--brass);
  position: relative;
  overflow: hidden;
}
.hero-scroll .scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--ivory);
  transform: translateX(-100%);
  animation: scrollLineAnim 2.5s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

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

@media (max-width: 1200px) {
  .hero-title { font-size: 76px; }
}
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title { font-size: 48px; }
  .hero-actions { flex-direction: column; }
  .hero-scroll { display: none; }
}

/* Photo Placeholders & SVG Reveals */
.photo-placeholder {
  background-color: #2A2A26;
  width: 100%;
  height: 100%;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  border-radius: var(--radius-card);
}
.photo-placeholder:hover {
  border-color: var(--brass);
  box-shadow: 0 15px 35px var(--shadow-glow);
}
.photo-placeholder-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 80%;
  text-align: center;
}

/* SVG Line Drawing Reveal */
.photo-placeholder-icon {
  width: 56px;
  height: 56px;
  stroke: var(--brass);
  stroke-width: 1;
  fill: none;
}
.photo-placeholder-icon path,
.photo-placeholder-icon line,
.photo-placeholder-icon rect,
.photo-placeholder-icon circle,
.photo-placeholder-icon polygon {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 2.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.visible .photo-placeholder-icon path,
.visible .photo-placeholder-icon line,
.visible .photo-placeholder-icon rect,
.visible .photo-placeholder-icon circle,
.visible .photo-placeholder-icon polygon {
  stroke-dashoffset: 0;
}

.photo-placeholder-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
}

/* 3D Perspective Tilt Matrix */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.1s ease-out, border-color 0.4s ease;
}
.tilt-card-inner {
  transform: translateZ(24px);
  height: 100%;
}

/* Unique Hover Animations for Image Cards */

/* 1. Ken Burns Zoom (Slow Pan & Zoom) */
.ken-burns-card {
  overflow: hidden;
  border-radius: var(--radius-card);
}
.ken-burns-card .card-img {
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.ken-burns-card:hover .card-img {
  transform: scale(1.15) translate(1%, 0.5%) !important;
}

/* 2. Floating Shift Card (Subtle translation and scale) */
.shift-card {
  overflow: hidden;
  border-radius: var(--radius-card);
  transition: box-shadow 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth);
}
.shift-card .card-img {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.shift-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px var(--shadow-glow);
}
.shift-card:hover .card-img {
  transform: scale(1.05) !important;
}

/* 3. Color & Focus Reveal (Grayscale to Color with Blur transition) */
.artistic-reveal-card {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bg-secondary);
}
.artistic-reveal-card .card-img {
  filter: brightness(0.95);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.artistic-reveal-card:hover .card-img {
  transform: scale(1.08) !important;
  filter: brightness(1.04) contrast(1.02);
}

/* 4. Elegant Glass Shimmer Sweep */
.shimmer-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.shimmer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
  pointer-events: none;
}
.shimmer-card:hover::before {
  left: 150%;
}
.shimmer-card .card-img {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.shimmer-card:hover .card-img {
  transform: scale(1.06) !important;
}

/* 5. Color Overlay Slide Reveal */
.reveal-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
}
.reveal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}
.reveal-card:hover::before {
  transform: scaleY(1);
}
.reveal-card .card-img {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.reveal-card:hover .card-img {
  transform: scale(1.06) !important;
}


/* Statistics Bar */
.stats-bar {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  border-left: 1px solid var(--border);
}
.stat-item:first-child {
  border-left: none;
  padding-left: 0;
}
.stat-num {
  font-family: var(--serif-display);
  font-size: 56px;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item { border-left: none; padding-left: 0; }
}

/* Section Header */
.section-header {
  margin-bottom: 80px;
  max-width: 700px;
}
.section-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
  display: inline-block;
}
.section-title {
  font-family: var(--serif-body);
  font-size: 52px;
  color: var(--ivory);
  line-height: 1.15;
}

/* Asymmetric Editorial Grid */
.projects-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 40px;
  margin-bottom: 40px;
}
.project-card {
  position: relative;
  text-decoration: none;
  overflow: hidden;
  height: 100%;
  border-radius: var(--radius-card);
}
.project-card-large { grid-column: span 2; grid-row: span 2; }
.project-card-tall { grid-row: span 2; }
.project-card-normal { grid-column: span 1; grid-row: span 1; }
.project-card-bottom { grid-column: span 1; }

.project-details {
  margin-top: 20px;
}
.project-category {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
  display: block;
}
.project-name {
  font-family: var(--serif-body);
  font-size: 22px;
  color: var(--ivory);
  margin-bottom: 6px;
}
.project-loc {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ash);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 18, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1), backdrop-filter 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
}
.project-card:hover .project-overlay,
.artistic-reveal-card:hover .project-overlay,
.shift-card:hover .project-overlay,
.ken-burns-card:hover .project-overlay {
  opacity: 1;
  background: rgba(20, 20, 18, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.project-overlay .project-category {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
  transform: translateY(15px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}
.project-overlay .project-name {
  display: block;
  font-family: var(--serif-body);
  font-size: 24px;
  color: var(--ivory);
  margin-bottom: 12px;
  transform: translateY(15px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) 0.03s, opacity 0.3s ease 0.03s;
}
.project-overlay .project-desc {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ash);
  max-width: 280px;
  margin: 0 auto 20px auto;
  transform: translateY(15px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) 0.06s, opacity 0.3s ease 0.06s;
}
.project-card:hover .project-overlay .project-category,
.project-card:hover .project-overlay .project-name,
.project-card:hover .project-overlay .project-desc,
.artistic-reveal-card:hover .project-overlay .project-category,
.artistic-reveal-card:hover .project-overlay .project-name,
.artistic-reveal-card:hover .project-overlay .project-desc,
.shift-card:hover .project-overlay .project-category,
.shift-card:hover .project-overlay .project-name,
.shift-card:hover .project-overlay .project-desc,
.ken-burns-card:hover .project-overlay .project-category,
.ken-burns-card:hover .project-overlay .project-name,
.ken-burns-card:hover .project-overlay .project-desc {
  transform: translateY(0);
  opacity: 1;
}
.project-overlay .view-link {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
  background: rgba(30, 30, 27, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 149, 90, 0.4);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateY(20px) scale(0.9);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) 0.09s, 
              background-color 0.3s ease, 
              color 0.3s ease, 
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.project-card:hover .project-overlay .view-link,
.artistic-reveal-card:hover .project-overlay .view-link,
.shift-card:hover .project-overlay .view-link,
.ken-burns-card:hover .project-overlay .view-link {
  transform: translateY(0) scale(1);
}
.project-overlay .view-link:hover {
  background: var(--brass);
  color: var(--bg-primary);
  border-color: var(--brass);
  box-shadow: 0 10px 25px rgba(184, 149, 90, 0.35);
}

@media (max-width: 1024px) {
  .projects-editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card-large { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 768px) {
  .projects-editorial-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 30px; }
  .project-card-large, .project-card-tall, .project-card-normal, .project-card-bottom {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Studio Introduction */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 100px;
  align-items: center;
}
.intro-heading {
  font-family: var(--serif-body);
  font-size: 44px;
  color: var(--ivory);
  line-height: 1.25;
  margin-bottom: 24px;
}
.intro-body {
  font-size: 16px;
  color: var(--ash);
  line-height: 1.8;
  margin-bottom: 30px;
}
.intro-pull-quote {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 26px;
  color: var(--brass);
  line-height: 1.4;
  border-left: 2px solid var(--brass);
  padding-left: 24px;
  margin-top: 30px;
}
@media (max-width: 992px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Services Overview */
.services-section {
  background-color: var(--bg-secondary);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.service-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 60px 40px;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brass);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  border-color: rgba(184, 149, 90, 0.5);
  transform: translateY(-10px) scale(1.02);
  background-color: rgba(30, 30, 27, 0.85);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 
              0 0 32px rgba(184, 149, 90, 0.08);
}
.service-card:hover::after {
  width: 100%;
}
.service-icon {
  margin-bottom: 30px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-icon {
  transform: scale(1.1) translateY(-2px);
}
.service-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--brass);
  stroke-width: 1;
  fill: none;
  transition: stroke-width 0.4s ease, stroke 0.4s ease;
}
.service-card:hover .service-icon svg {
  stroke: var(--brass-light);
  stroke-width: 1.5;
}
.service-title {
  font-family: var(--serif-body);
  font-size: 26px;
  color: var(--ivory);
  margin-bottom: 16px;
  transition: color 0.4s ease;
}
.service-card:hover .service-title {
  color: var(--brass-light);
}
.service-desc {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.7;
  transition: color 0.4s ease;
}
.service-card:hover .service-desc {
  color: var(--ivory);
}

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

/* Design Philosophy */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.philosophy-item {
  display: flex;
  flex-direction: column;
  position: relative;
}
.philosophy-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  width: 1px;
  height: 100%;
  background-color: var(--border);
}
.philosophy-item:last-child::after {
  display: none;
}
.philosophy-num {
  font-family: var(--serif-display);
  font-size: 36px;
  color: var(--brass);
  margin-bottom: 24px;
}
.philosophy-title {
  font-family: var(--serif-body);
  font-size: 24px;
  color: var(--ivory);
  margin-bottom: 16px;
}
.philosophy-desc {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-item::after { display: none; }
}
@media (max-width: 576px) {
  .philosophy-grid { grid-template-columns: 1fr; }
}

/* Interactive Spatial Brief Builder */
.brief-stepper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.brief-step-indicator {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ash);
  transition: var(--transition-smooth);
}
.brief-step-indicator.active {
  color: var(--brass);
  font-weight: 500;
}
.brief-progress-bar-wrap {
  width: 100%;
  height: 2px;
  background-color: var(--border);
  margin-bottom: 50px;
  position: relative;
}
.brief-progress-bar-fill {
  height: 100%;
  width: 20%;
  background-color: var(--brass);
  transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.brief-steps-container {
  position: relative;
  margin-bottom: 40px;
}
.brief-step {
  display: none;
  animation: fadeIn 0.4s ease;
}
.brief-step.active {
  display: block;
}

.brief-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .brief-options-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .brief-options-grid { grid-template-columns: 1fr; }
}

.brief-option-tile {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: var(--radius-card);
}
.brief-option-tile:hover {
  box-shadow: 0 10px 25px var(--shadow-glow);
  transform: translateY(-2px);
}
.brief-option-tile svg {
  width: 36px;
  height: 36px;
  stroke: var(--brass);
  stroke-width: 1;
  fill: none;
  opacity: 0.4;
  transition: var(--transition-smooth);
}
.brief-option-tile span {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ivory);
}
.brief-option-tile.selected {
  border-color: var(--brass);
  background-color: rgba(184, 149, 90, 0.08);
}
.brief-option-tile.selected svg {
  opacity: 1;
  transform: scale(1.1);
}

.brief-nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.brief-summary-sheet {
  border: 1px dashed var(--brass);
  background-color: rgba(184, 149, 90, 0.02);
  padding: 40px;
  margin-bottom: 40px;
  border-radius: var(--radius-card);
}
.brief-summary-title {
  font-family: var(--serif-body);
  font-size: 26px;
  color: var(--brass);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.brief-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13px;
  border-bottom: 1px dotted var(--border);
  padding-bottom: 8px;
}
.brief-summary-label {
  color: var(--ash);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.brief-summary-value {
  color: var(--ivory);
  font-weight: 500;
}

/* Testimonials */
.testimonials-section {
  background-color: var(--bg-secondary);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.testimonial-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 60px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.testimonial-card:hover {
  transform: translateY(-10px) translateZ(0);
  border-color: rgba(184, 149, 90, 0.5);
  background-color: rgba(30, 30, 27, 0.85);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 
              0 0 32px rgba(184, 149, 90, 0.08);
}
.testimonial-quote-mark {
  font-family: var(--serif-display);
  font-size: 80px;
  color: var(--brass);
  opacity: 0.12;
  line-height: 1;
  position: absolute;
  top: 30px;
  left: 30px;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.6s ease, 
              color 0.6s ease;
}
.testimonial-card:hover .testimonial-quote-mark {
  transform: scale(1.2) translateY(-4px) rotate(-8deg);
  opacity: 0.28;
  color: var(--brass-light);
}
.testimonial-text {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 18px;
  color: var(--ivory);
  line-height: 1.6;
  margin-bottom: 40px;
  z-index: 2;
  flex-grow: 1;
  transition: color 0.4s ease;
}
.testimonial-card:hover .testimonial-text {
  color: #FFFFFF;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--brass);
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.08);
  background-color: var(--brass);
  border-color: var(--brass);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(184, 149, 90, 0.35);
}
.testimonial-info {
  display: flex;
  flex-direction: column;
}
.testimonial-author {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 2px;
  transition: color 0.4s ease;
}
.testimonial-card:hover .testimonial-author {
  color: var(--brass-light);
}
.testimonial-project {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ash);
  transition: color 0.4s ease, opacity 0.4s ease;
}
.testimonial-card:hover .testimonial-project {
  color: var(--ivory);
  opacity: 0.85;
}
.testimonial-stars {
  margin-top: 6px;
  color: var(--brass);
  display: flex;
  gap: 2px;
  font-size: 12px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover .testimonial-stars {
  transform: translateX(4px);
}

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

/* CTA Banner */
.cta-banner {
  text-align: center;
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle, rgba(184, 149, 90, 0.08) 0%, transparent 60%);
  border-top: 1px solid var(--border);
}
.cta-banner h2 {
  font-family: var(--serif-body);
  font-size: 64px;
  color: var(--ivory);
  margin-bottom: 16px;
}
.cta-banner p {
  color: var(--ash);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}
.cta-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.cta-banner-buttons .btn {
  min-width: 240px;
  text-align: center;
}

@media (max-width: 576px) {
  .cta-banner h2 { font-size: 40px; }
  .cta-banner-buttons { flex-direction: column; align-items: center; }
}

/* Footer Section */
footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--brass);
  padding: 100px 0 40px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--serif-display);
  font-size: 32px;
  color: var(--ivory);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}
.footer-logo span {
  color: var(--brass);
}
.footer-desc {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.7;
  max-width: 300px;
}
.footer-heading {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brass);
  margin-bottom: 24px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 13px;
  color: var(--ash);
  text-decoration: none;
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--brass);
}
.footer-contact {
  list-style: none;
}
.footer-contact li {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-contact strong {
  color: var(--ivory);
  display: block;
  font-weight: 400;
}
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.footer-socials a {
  color: var(--ash);
  transition: var(--transition-fast);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-socials a:hover {
  color: var(--brass);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 11px;
  color: var(--ash);
  letter-spacing: 0.05em;
}
.footer-bottom .credit {
  text-align: right;
  font-size: 11px;
  color: var(--ash);
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-bottom .credit { text-align: left; }
}

/* Page Hero */
.page-hero {
  background-color: var(--bg-primary);
  padding: 200px 0 100px 0;
  border-bottom: 1px solid var(--border);
}
.page-hero-title {
  font-family: var(--serif-display);
  font-size: 72px;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: 16px;
  color: var(--ash);
  max-width: 600px;
  line-height: 1.7;
}

/* Timeline grid - About Story */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 1px;
  background-color: var(--border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -0.5px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-item::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  right: -5px;
  background-color: var(--brass);
  top: 25px;
  z-index: 1;
}
.timeline-left { left: 0; }
.timeline-right { left: 50%; }
.timeline-right::after { left: -5px; }
.timeline-content {
  padding: 30px;
  background-color: var(--bg-secondary);
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.timeline-year {
  font-family: var(--serif-display);
  font-size: 28px;
  color: var(--brass);
  margin-bottom: 10px;
  display: block;
}
.timeline-title {
  font-family: var(--serif-body);
  font-size: 20px;
  color: var(--ivory);
  margin-bottom: 8px;
}
.timeline-desc {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item::after { left: 27px; right: auto; }
  .timeline-right { left: 0%; }
}

/* Values section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.value-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 40px 30px;
  transition: var(--transition-smooth);
  border-radius: var(--radius-card);
}
.value-card:hover {
  border-color: rgba(184, 149, 90, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px var(--shadow-glow);
}
.value-num {
  font-family: var(--serif-display);
  font-size: 24px;
  color: var(--brass);
  opacity: 0.3;
  margin-bottom: 20px;
  display: block;
}
.value-name {
  font-family: var(--serif-body);
  font-size: 22px;
  color: var(--ivory);
  margin-bottom: 12px;
}
.value-desc {
  font-size: 13px;
  color: var(--ash);
  line-height: 1.6;
}

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

/* Services Detail list layout */
.service-detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail-section:nth-child(even) { direction: rtl; }
.service-detail-section:nth-child(even) .service-detail-info { direction: ltr; }
.service-detail-info { position: relative; }
.service-detail-watermark {
  position: absolute;
  top: -60px;
  left: -20px;
  font-family: var(--serif-display);
  font-size: 140px;
  color: var(--border);
  line-height: 1;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}
.service-detail-title {
  font-family: var(--serif-body);
  font-size: 36px;
  color: var(--ivory);
  margin-bottom: 20px;
}
.service-detail-desc {
  font-size: 15px;
  color: var(--ash);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-detail-list {
  list-style: none;
  margin-bottom: 30px;
}
.service-detail-list li {
  font-size: 13px;
  color: var(--ivory);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-detail-list li::before {
  content: '';
  width: 6px;
  height: 1px;
  background-color: var(--brass);
  display: block;
}
.service-detail-link {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}
.service-detail-link:hover {
  color: var(--ivory);
}

@media (max-width: 992px) {
  .service-detail-section, .service-detail-section:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
}

/* Projects Masonry grid */
.filters-container {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.filter-btn {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ash);
  padding: 10px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: var(--radius-pill);
}
.filter-btn.active, .filter-btn:hover {
  color: var(--brass);
  border-color: var(--border);
}

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.masonry-item {
  display: flex;
  flex-direction: column;
}
.masonry-height-medium { height: 400px; }
.masonry-height-tall { height: 520px; }
.masonry-height-short { height: 320px; }

@media (max-width: 992px) {
  .projects-masonry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .projects-masonry { grid-template-columns: 1fr; }
  .masonry-height-medium, .masonry-height-tall, .masonry-height-short { height: 300px; }
}

/* Featured detail card */
.featured-project-details {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 60px;
  margin-top: 100px;
  border-radius: var(--radius-card);
}
.featured-project-desc-col h3 {
  font-family: var(--serif-body);
  font-size: 32px;
  color: var(--ivory);
  margin-bottom: 20px;
}
.featured-project-desc-col p {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.7;
}
.featured-project-specs-col {
  border-left: 1px solid var(--border);
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.spec-item {
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ash);
  margin-bottom: 4px;
}
.spec-value {
  font-family: var(--serif-body);
  font-size: 18px;
  color: var(--ivory);
}

@media (max-width: 992px) {
  .featured-project-details { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .featured-project-specs-col {
    border-left: none;
    padding-left: 0;
    grid-template-columns: repeat(2, 1fr);
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Process alternating sections */
.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}
.process-step:last-child { border-bottom: none; }
.process-step:nth-child(even) { direction: rtl; }
.process-step:nth-child(even) .process-info { direction: ltr; }
.process-info { position: relative; }
.process-watermark {
  position: absolute;
  top: -80px;
  left: -20px;
  font-family: var(--serif-display);
  font-size: 160px;
  color: var(--border);
  line-height: 1;
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}
.process-title {
  font-family: var(--serif-body);
  font-size: 32px;
  color: var(--ivory);
  margin-bottom: 20px;
}
.process-desc {
  font-size: 15px;
  color: var(--ash);
  line-height: 1.8;
}
.process-divider {
  width: 80px;
  height: 1px;
  background-color: var(--brass);
  margin-top: 30px;
}

@media (max-width: 992px) {
  .process-step, .process-step:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
    padding: 60px 0;
  }
}

/* Insights layout */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.insight-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.insight-card:hover {
  border-color: rgba(184, 149, 90, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px var(--shadow-glow);
}
.insight-photo { height: 260px; }
.insight-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.insight-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.insight-time {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ash);
}
.insight-title {
  font-family: var(--serif-body);
  font-size: 26px;
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: 16px;
}
.insight-excerpt {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}
.insight-link {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}
.insight-link:hover {
  color: var(--ivory);
}

/* Inline Expanded Section for Articles */
.article-expanded-container {
  grid-column: span 2;
  background-color: var(--bg-secondary);
  border: 1px solid var(--brass);
  margin-top: 20px;
  display: none;
  overflow: hidden;
  animation: slideDown 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: var(--radius-card);
}
.article-expanded-inner {
  padding: 60px;
  position: relative;
}
.article-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ash);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-close-btn:hover {
  color: var(--brass);
}
.article-expanded-header {
  margin-bottom: 40px;
  max-width: 800px;
}
.article-expanded-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
}
.article-expanded-title {
  font-family: var(--serif-display);
  font-size: 44px;
  color: var(--ivory);
  margin-bottom: 16px;
}
.article-expanded-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ash);
}
.article-body-content {
  max-width: 800px;
  font-size: 16px;
  color: var(--ash);
  line-height: 1.8;
}
.article-body-content p {
  margin-bottom: 24px;
}
.article-body-content p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-size: 48px;
  float: left;
  line-height: 1;
  padding-right: 12px;
  color: var(--brass);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .insights-grid { grid-template-columns: 1fr; }
  .article-expanded-container { grid-column: span 1; }
  .article-expanded-inner { padding: 30px; }
  .article-expanded-title { font-size: 32px; }
}

/* Contact Layout & Inputs */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
}
.contact-form-col {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 60px;
  border-radius: var(--radius-card);
}
.contact-form-col h3 {
  font-family: var(--serif-body);
  font-size: 36px;
  color: var(--ivory);
  margin-bottom: 12px;
}
.contact-form-col p {
  font-size: 14px;
  color: var(--ash);
  margin-bottom: 40px;
}
.form-group {
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ash);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 16px;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  transition: var(--transition-fast);
  border-radius: var(--radius-input);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 10px rgba(184, 149, 90, 0.25);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%23B8955A' stroke-width='1' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Success notification overlay */
.form-success-container {
  display: none;
  text-align: center;
  padding: 40px 0;
  animation: fadeIn 0.6s ease;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  border: 1px solid var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}
.form-success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--brass);
  stroke-width: 1.5;
  fill: none;
}
.form-success-title {
  font-family: var(--serif-body);
  font-size: 32px;
  color: var(--ivory);
  margin-bottom: 12px;
}
.form-success-msg {
  font-size: 14px;
  color: var(--ash);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Contact Info Column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-info-list {
  list-style: none;
  margin-bottom: 40px;
}
.contact-info-item {
  margin-bottom: 30px;
}
.contact-info-item strong {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brass);
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-info-item p, .contact-info-item a {
  font-size: 15px;
  color: var(--ivory);
  text-decoration: none;
  line-height: 1.6;
}
.contact-info-item a:hover {
  color: var(--brass);
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #25D366;
  color: #fff;
  border-color: #25D366;
  font-weight: 500;
}
.whatsapp-cta:hover {
  background-color: transparent;
  color: #25D366;
  border-color: #25D366;
}
.whatsapp-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.map-container {
  width: 100%;
  height: 250px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 40px;
}
.map-container iframe {
  filter: grayscale(100%) contrast(1.25) brightness(0.4);
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 992px) {
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-form-col { padding: 40px; }
}
@media (max-width: 576px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-col { padding: 30px 20px; }
}

/* IntersectionObserver Scroll-Triggered reveals */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered configuration */
.stagger-parent .stagger-child {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.stagger-parent.visible .stagger-child {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Light / Section themes */
.section-light {
  background-color: var(--surface);
  color: var(--bg-primary);
  border-top: 1px solid rgba(20, 20, 18, 0.05);
  border-bottom: 1px solid rgba(20, 20, 18, 0.05);
  transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1), color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.section-light .section-title { color: var(--bg-primary); }
.section-light .section-label { color: var(--brass); }
.section-light .intro-heading { color: var(--bg-primary); }
.section-light .intro-body { color: #4A4A46; }
.section-light .photo-placeholder { background-color: #E6E2D8; }
.section-light .photo-placeholder-label { color: #7A7870; }
.section-light .service-card { background-color: #ECE8DD; border-color: rgba(20, 20, 18, 0.08); }
.section-light .service-title { color: var(--bg-primary); }
.section-light .service-desc { color: #5A5850; }
.section-light .testimonial-card { background-color: #ECE8DD; border-color: rgba(20, 20, 18, 0.08); }
.section-light .testimonial-text { color: var(--bg-primary); }
.section-light .testimonial-author { color: var(--bg-primary); }
.section-light .testimonial-project { color: #5A5850; }
.section-light .testimonial-avatar { background-color: #DFDACF; border-color: rgba(20, 20, 18, 0.08); }
.section-light .btn-outline { color: var(--bg-primary); border-color: var(--brass); }
.section-light .btn-outline:hover { background-color: var(--brass); color: #000; }


/* Floating architectural coordinates */
.floating-coord {
  position: absolute;
  font-family: var(--sans);
  font-size: 9px;
  color: var(--brass);
  opacity: 0.15;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.coord-top-left { top: 20px; left: 5%; }
.coord-bottom-right { bottom: 20px; right: 5%; }

/* ==========================================================================
   Phase 2: Custom Layout Specializations (Subpages)
   ========================================================================== */

/* 1. Materials Mood Board (interior-design.html) */
.mood-board-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.mood-board-intro {
  max-width: 700px;
  margin: 0 auto 50px auto;
  text-align: center;
}
.mood-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.mood-tile {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background-color: var(--bg-secondary);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}
.mood-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-glow);
  border-color: var(--brass);
}
.mood-tile-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(40%) contrast(1.15) brightness(0.75);
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
  z-index: 1;
}
.mood-tile:hover .mood-tile-bg {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1.2) brightness(0.9);
}
.mood-tile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(20,20,18,0.1) 30%, rgba(20,20,18,0.85) 85%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  z-index: 2;
}
.mood-tile-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
}
.mood-tile-title {
  font-family: var(--serif-display);
  font-size: 22px;
  color: var(--ivory);
  margin-bottom: 8px;
}
.mood-tile-spec {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ash);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.mood-tile:hover .mood-tile-spec {
  opacity: 1;
  transform: translateY(0);
}
.mood-brass-gradient {
  background: radial-gradient(circle at 30% 30%, #D4B483 0%, #B8955A 60%, #7d5e2d 100%);
  opacity: 0.8;
}

/* 2. Process Vertical Timeline (process.html) */
.process-timeline-container {
  position: relative;
  padding: 60px 0;
}
.process-timeline {
  position: relative;
  margin-top: 40px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(184, 149, 90, 0.05), var(--brass) 15%, var(--brass) 85%, rgba(184, 149, 90, 0.05));
  transform: translateX(-50%);
  z-index: 1;
}
.process-timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 100px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.process-timeline-item:last-child {
  margin-bottom: 0;
}
.process-timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}
.process-timeline-node {
  width: 16px;
  height: 16px;
  background-color: var(--bg-primary);
  border: 2px solid var(--brass);
  border-radius: 50% !important; /* Circle node shape exception */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.process-timeline-item:hover .process-timeline-node {
  background-color: var(--brass);
  transform: translateX(-50%) scale(1.35);
  box-shadow: 0 0 12px var(--brass);
}
.process-timeline-content {
  width: 44%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 35px;
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
}
.process-timeline-content:hover {
  transform: translateY(-5px);
  border-color: var(--brass);
  box-shadow: 0 15px 35px var(--shadow-glow);
}
.process-timeline-img-col {
  width: 44%;
}
.process-timeline-img-col .tilt-card-inner {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 280px;
}
.process-timeline-img-col .tilt-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.1);
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}
.process-timeline-item:hover .process-timeline-img-col img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.15);
}
.process-tech-badge {
  font-family: var(--sans);
  font-size: 9px;
  color: var(--brass);
  border: 1px solid rgba(184, 149, 90, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 12px;
}
.process-step-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  display: block;
  margin-bottom: 6px;
}
.process-title-h3 {
  font-family: var(--serif-display);
  font-size: 26px;
  color: var(--ivory);
  margin-bottom: 15px;
}
.process-desc-p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ash);
}
@media (max-width: 992px) {
  .process-timeline::before {
    left: 20px;
    transform: none;
  }
  .process-timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-left: 50px;
  }
  .process-timeline-node {
    left: 20px;
    transform: translateX(-50%);
  }
  .process-timeline-item:hover .process-timeline-node {
    transform: translateX(-50%) scale(1.25);
  }
  .process-timeline-content {
    width: 100%;
    margin-bottom: 20px;
  }
  .process-timeline-img-col {
    width: 100%;
  }
  .process-timeline-img-col .tilt-card-inner {
    height: 220px;
  }
}

/* 3. Testimonial Parallax Backdrop & Glass Wall (testimonials.html) */
.testimonial-parallax-section {
  position: relative;
  background-image: linear-gradient(rgba(20, 20, 18, 0.92), rgba(20, 20, 18, 0.95)), url('../images/projects/courtyard_house.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonials-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}
.testimonial-card.glass-card {
  background: rgba(30, 30, 27, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(184, 149, 90, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  padding: 40px;
  border-radius: var(--radius-card);
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
}
.testimonial-card.glass-card:hover {
  transform: translateY(-8px);
  border-color: var(--brass);
  box-shadow: 0 20px 40px var(--shadow-glow);
}
/* Stagger layout columns on desktop */
@media (min-width: 993px) {
  .testimonials-masonry-grid .testimonial-card:nth-child(3n-1) {
    margin-top: 40px;
  }
  .testimonials-masonry-grid .testimonial-card:nth-child(3n) {
    margin-top: 20px;
  }
}
@media (max-width: 992px) {
  .testimonials-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .testimonials-masonry-grid {
    grid-template-columns: 1fr;
  }
}

/* 4. Editorial Insights Journal (insights.html) */
.featured-journal-wrapper {
  margin-bottom: 80px;
}
.journal-featured-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
  height: 480px;
}
.journal-featured-card:hover {
  transform: translateY(-6px);
  border-color: var(--brass);
  box-shadow: 0 15px 35px var(--shadow-glow);
}
.journal-featured-img-col {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.journal-featured-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.1);
  transition: transform var(--transition-smooth);
}
.journal-featured-card:hover .journal-featured-img-col img {
  transform: scale(1.05);
}
.journal-featured-content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.journal-featured-title {
  font-family: var(--serif-display);
  font-size: 36px;
  line-height: 1.2;
  color: var(--ivory);
  font-weight: 300;
}
.insights-magazine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.insight-card.magazine-style {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
}
.insight-card.magazine-style:hover {
  transform: translateY(-6px);
  border-color: var(--brass);
  box-shadow: 0 15px 35px var(--shadow-glow);
}
.insight-card.magazine-style .insight-photo {
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.insight-card.magazine-style .insight-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.1);
  transition: transform var(--transition-smooth);
}
.insight-card.magazine-style:hover .insight-photo img {
  transform: scale(1.06);
}
.insight-card.magazine-style .insight-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.insight-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ash);
  margin-bottom: 20px;
}
@media (max-width: 992px) {
  .journal-featured-card {
    grid-template-columns: 1fr;
    height: auto;
  }
  .journal-featured-img-col {
    min-height: 300px;
    height: 300px;
  }
  .journal-featured-content {
    padding: 35px;
  }
}

/* 5. Contact Form Accent Background (contact.html) */
.contact-builder-wrapper {
  background-image: linear-gradient(rgba(20, 20, 18, 0.88), rgba(20, 20, 18, 0.94)), url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
}
.contact-form-col.builder-container {
  background: transparent;
  padding: 50px;
}
.brief-option-tile {
  border-radius: var(--radius-card);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}
.brief-option-tile:hover {
  border-color: var(--brass);
  background-color: rgba(184, 149, 90, 0.05);
  transform: translateY(-2px);
}
.brief-option-tile.selected {
  border-color: var(--brass);
  background-color: rgba(184, 149, 90, 0.12);
  box-shadow: 0 0 15px var(--shadow-glow);
}
@media (max-width: 768px) {
  .contact-form-col.builder-container {
    padding: 30px 20px;
  }
}

/* --- 11. Blueprint Details Modal --- */
.blueprint-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 14, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.blueprint-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.blueprint-modal-container {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  width: 92%;
  max-width: 1400px;
  height: 85vh;
  max-height: 850px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr; /* Flipped order: details on left, canvas on right */
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 
              0 0 80px rgba(184, 149, 90, 0.05);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.blueprint-modal.active .blueprint-modal-container {
  transform: scale(1) translateY(0);
}

/* Close button */
.blueprint-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(30, 30, 27, 0.8);
  border: 1px solid var(--border);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}
.blueprint-modal-close:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: #000;
  transform: translateY(-2px);
}

/* Blueprint Side (Right/Gallery) */
.blueprint-canvas-pane {
  background: #001f35; /* Classic draft blue default */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--border); /* Border on left instead of right */
  border-right: none;
}

/* --- New Project Card Design System (Subpages Only) --- */
.custom-project-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.custom-project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 149, 90, 0.45);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.custom-project-card .card-img-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: none;
}

.custom-project-card .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.custom-project-card .project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 18, 0);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
  border-radius: 12px;
}

.custom-project-card:hover .project-overlay {
  opacity: 1;
  background: rgba(20, 20, 18, 0.7);
}

.custom-project-card .view-project-btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--brass);
  border: 1px solid var(--brass);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transform: scale(0.9) translateY(10px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  z-index: 5;
}

.custom-project-card:hover .view-project-btn {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.custom-project-card .view-project-btn:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  color: var(--bg-primary);
  box-shadow: 0 8px 20px rgba(184, 149, 90, 0.3);
}

.custom-project-card .project-details {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.custom-project-card .project-details .project-category {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 2px;
  display: block;
}

.custom-project-card .project-details .project-name {
  font-size: 18px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 2px;
}

.custom-project-card .project-details .project-loc {
  font-size: 12px;
  color: var(--ash);
  margin-bottom: 4px;
}

.custom-project-card .project-details .project-card-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ash);
  margin-top: 2px;
}

/* Gallery Tabs inside canvas pane */
.gallery-tabs {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.gallery-tab {
  background: rgba(30, 30, 27, 0.85);
  border: 1px solid var(--border);
  color: var(--ash);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.gallery-tab.active, .gallery-tab:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--bg-primary);
  font-weight: 500;
}

/* Gallery tab contents */
.gallery-tab-content {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
  align-items: center;
  justify-content: center;
}
.gallery-tab-content.active {
  display: flex;
}

/* Image inside gallery tab */
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blueprint Grid Background Pattern */
.blueprint-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px, 8px 8px;
  background-image: 
    linear-gradient(to right, rgba(0, 168, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 168, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(0, 168, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 168, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
}

/* SVG Line Drawing styles */
.blueprint-svg {
  width: 90%;
  height: 90%;
  max-width: 600px;
  max-height: 600px;
  z-index: 2;
  overflow: visible;
}
.blueprint-svg path, 
.blueprint-svg line, 
.blueprint-svg rect, 
.blueprint-svg circle {
  stroke: #00d2ff;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}
.blueprint-svg .heavy-wall {
  stroke-width: 3.5;
  stroke: #ffffff;
}
.blueprint-svg .thin-detail {
  stroke-width: 1.2;
  stroke: rgba(0, 210, 255, 0.75);
}
.blueprint-svg .door-swing {
  stroke-width: 1;
  stroke: rgba(0, 210, 255, 0.5);
  stroke-dasharray: 4 3;
}
.blueprint-svg .grid-axis {
  stroke-width: 0.8;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-dasharray: 12 4 2 4;
}
.blueprint-svg text {
  fill: #ffffff;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-anchor: middle;
}
.blueprint-svg text.dim-label {
  fill: rgba(0, 210, 255, 0.9);
  font-size: 8px;
}
.blueprint-svg text.grid-bubble-label {
  fill: #000000;
  font-size: 8px;
  font-weight: 700;
  text-anchor: middle;
}
.blueprint-svg .grid-bubble-circle {
  stroke: #00d2ff;
  fill: #001f35;
  stroke-width: 1.2;
}

/* Info Overlay on Blueprint Pane */
.blueprint-hud-coords {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(0, 210, 255, 0.6);
  z-index: 5;
}
.blueprint-hud-scale {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(0, 210, 255, 0.6);
  z-index: 5;
}

/* Details Pane (Right Column) */
.blueprint-details-pane {
  background: var(--bg-primary);
  padding: 60px 48px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.blueprint-details-category {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}
.blueprint-details-title {
  font-family: var(--serif-body);
  font-size: 36px;
  line-height: 1.15;
  color: var(--ivory);
  margin-bottom: 24px;
}
.blueprint-details-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  margin-bottom: 24px;
}
.blueprint-spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blueprint-spec-lbl {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
}
.blueprint-spec-val {
  font-family: var(--serif-body);
  font-size: 15px;
  color: var(--ivory);
}

.blueprint-details-narrative {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ash);
  margin-bottom: 30px;
}

/* Materials inside Modal */
.blueprint-details-materials-title {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 14px;
}
.blueprint-details-materials-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}
.material-tag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  background: var(--bg-secondary);
  color: var(--brass);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 4px;
}

/* Call to action */
.blueprint-action-row {
  margin-top: auto;
  display: flex;
  gap: 16px;
}

/* Animation drawing */
@keyframes blueprintDrawAnim {
  to {
    stroke-dashoffset: 0;
  }
}

.blueprint-svg path,
.blueprint-svg line,
.blueprint-svg rect,
.blueprint-svg circle {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.blueprint-svg.animate path,
.blueprint-svg.animate line,
.blueprint-svg.animate rect,
.blueprint-svg.animate circle {
  animation: blueprintDrawAnim 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Responsive adjustment */
@media (max-width: 1024px) {
  .blueprint-modal-container {
    grid-template-columns: 1fr;
    height: 90vh;
    max-height: none;
    overflow-y: auto;
  }
  .blueprint-canvas-pane {
    order: -1; /* Place gallery at the top on mobile stack */
    height: 350px;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--border);
  }
  .blueprint-details-pane {
    padding: 40px 30px;
  }
}
@media (max-width: 768px) {
  .blueprint-details-specs {
    grid-template-columns: 1fr;
  }
  .blueprint-action-row {
    flex-direction: column;
  }
}

/* --- 12. Article Reader Modal (insights.html) --- */
.article-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 14, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.article-modal-container {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  width: 92%;
  max-width: 1300px;
  height: 80vh;
  max-height: 750px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 
              0 0 80px rgba(184, 149, 90, 0.05);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.article-modal.active .article-modal-container {
  transform: scale(1) translateY(0);
}

/* Close button */
.article-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(30, 30, 27, 0.8);
  border: 1px solid var(--border);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}
.article-modal-close:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: #000;
  transform: translateY(-2px);
}

/* Image Pane */
.article-image-pane {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.article-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
}

/* Content Pane */
.article-content-pane {
  background: var(--bg-primary);
  padding: 60px 48px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.article-category {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  background: rgba(184, 149, 90, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(184, 149, 90, 0.15);
}
.article-read-time {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ash);
}
.article-title {
  font-family: var(--serif-display);
  font-size: 38px;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 12px;
}
.article-author-date {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ash);
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.article-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ash);
}
.article-body p {
  margin-bottom: 20px;
}
.article-body .article-lead {
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
  color: var(--ivory);
  margin-bottom: 24px;
  border-left: 3px solid var(--brass);
  padding-left: 16px;
}

/* Hide old unstyled containers as fallback */
.article-expanded-container {
  display: none !important;
}

/* Responsive adjustment */
@media (max-width: 1024px) {
  .article-modal-container {
    grid-template-columns: 1fr;
    height: 90vh;
    max-height: none;
    overflow-y: auto;
  }
  .article-image-pane {
    height: 300px;
  }
  .article-content-pane {
    padding: 40px 30px;
  }
}

/* Global Mobile Typography Scaling to prevent horizontal scroll */
@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }
  .hero-title {
    font-size: 60px;
  }
  .page-hero-title {
    font-size: 48px;
    hyphens: auto;
    word-wrap: break-word;
  }
  .section-title {
    font-size: 40px;
    hyphens: auto;
    word-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 44px;
  }
  .page-hero-title {
    font-size: 38px;
  }
  .section-title {
    font-size: 34px;
  }
}

/* Fix mobile background scroll jitter/glitch and alignment */
@media (max-width: 1024px) {
  .hero {
    background-attachment: scroll;
  }
  .testimonial-parallax-section {
    background-attachment: scroll;
  }
}
