/* ============================================================
   OB Theme V2 — Main Stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --stone:   #f7f4ed;
  --charcoal:#2a2621;
  --timber:  #8b6f47;
  --bronze:  #c29958;
  --shadow:  rgba(42, 38, 33, 0.15);
  --overlay: rgba(42, 38, 33, 0.03);
  --muted:   rgba(42, 38, 33, 0.7);
}

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

/* ── Body ───────────────────────────────────────────────────── */
body {
  background: var(--stone);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Architectural grid background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 99px,
      var(--overlay) 99px,
      var(--overlay) 100px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 99px,
      var(--overlay) 99px,
      var(--overlay) 100px
    );
  pointer-events: none;
  z-index: 0;
}

/* Top-right radial accent (archive & single pages) */
body::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at top right, rgba(139,111,71,0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ── Typography ─────────────────────────────────────────────── */
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  letter-spacing: 0.01em;
}

/* ── Header / Navigation ─────────────────────────────────────── */
.header {
  position: relative;
  z-index: 100;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--charcoal);
  transition: all 0.3s ease;
  display: block;
}

.nav-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--stone);
  padding: 2rem 1.5rem;
  z-index: 99;
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--bronze);
}

/* ── Section Header (shared) ────────────────────────────────── */
.section-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--timber);
  margin-bottom: 1.5rem;
}

.section-label::before,
.section-label::after {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--bronze), transparent);
}

.section-label::after {
  background: linear-gradient(to left, var(--bronze), transparent);
}

.section-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ── Hero — Homepage ─────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem 3rem;
  overflow: hidden;
}

/* Ghosted watermark */
.hero::before {
  content: "OLYMPIA";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(80px, 20vw, 200px);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(139, 111, 71, 0.1);
  line-height: 0.9;
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  animation: fadeInScale 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--timber);
  margin-bottom: 2rem;
}

.hero-label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--bronze), transparent);
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 42px;
  background: var(--charcoal);
  color: var(--stone);
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bronze), var(--timber));
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow);
}

.hero-cta:hover::before { opacity: 1; }

.hero-cta span {
  position: relative;
  z-index: 1;
}

/* ── Hero — Page / Archive ──────────────────────────────────── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-hero .hero-label {
  animation: slideDown 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.page-hero .hero-label::before,
.page-hero .hero-label::after {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--bronze), transparent);
}

.page-hero .hero-label::after {
  background: linear-gradient(to left, var(--bronze), transparent);
}

.page-hero h1 {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.page-hero .hero-description {
  max-width: 600px;
  margin: 0 auto 3rem;
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* ── Stats Section ──────────────────────────────────────────── */
.stats-section {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  background: rgba(42, 38, 33, 0.02);
  border-top: 1px solid rgba(139, 111, 71, 0.15);
  border-bottom: 1px solid rgba(139, 111, 71, 0.15);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.stat-item {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 500;
  color: var(--bronze);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--timber);
}

/* ── Services Section ───────────────────────────────────────── */
.services-section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.4);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(139, 111, 71, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--timber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--timber);
  border-radius: 50%;
  transform: scale(1.3);
  opacity: 0.2;
}

.service-icon::after {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--stone);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.service-description {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--timber);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--bronze);
  transform: translateX(4px);
}

.service-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.service-link:hover::after {
  transform: translateX(4px);
}

/* ── Process Section ─────────────────────────────────────────── */
.process-section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  background: rgba(42, 38, 33, 0.02);
  overflow: hidden;
}

.process-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.process-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #d4c5a9, #b8a989);
  border: 1px solid rgba(139, 111, 71, 0.15);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

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

.process-image:hover img {
  transform: scale(1.05);
}

.process-content {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.process-content .section-label {
  margin-bottom: 1rem;
}

.process-content h2 {
  margin-bottom: 1.5rem;
}

.process-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2rem;
}

.process-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.process-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--charcoal);
  font-weight: 500;
}

.process-list li::before {
  content: "";
  min-width: 8px;
  min-height: 8px;
  width: 8px;
  height: 8px;
  background: var(--bronze);
  border-radius: 50%;
}

/* ── Featured Projects (Homepage) ────────────────────────────── */
.projects-section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  background: rgba(42, 38, 33, 0.02);
}

.projects-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(139, 111, 71, 0.15);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
}

.project-card:nth-child(1) { animation-delay: 0.2s; }
.project-card:nth-child(2) { animation-delay: 0.3s; }
.project-card:nth-child(3) { animation-delay: 0.4s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d4c5a9, #b8a989);
  position: relative;
  overflow: hidden;
}

.project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(42, 38, 33, 0.03) 10px,
      rgba(42, 38, 33, 0.03) 20px
    );
}

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

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

/* Year badge (archive page) */
.project-year {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: var(--charcoal);
  color: var(--stone);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  z-index: 2;
}

.project-content {
  padding: 2rem 1.5rem;
}

.project-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--timber);
  margin-bottom: 0.75rem;
}

.project-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  margin-top: 0;
  letter-spacing: 0.01em;
}

.project-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* View Details link (archive cards) */
.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-cta:hover {
  background: var(--charcoal);
  color: var(--stone);
  transform: translateX(4px);
}

.project-cta .arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.project-cta:hover .arrow {
  transform: translateX(4px);
}

/* "View All" button row */
.projects-view-all {
  text-align: center;
  margin-top: 3rem;
}

/* Archive container */
.archive-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Testimonial Section ─────────────────────────────────────── */
.testimonial-section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
}

.testimonial-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(139, 111, 71, 0.15);
  text-align: center;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--bronze);
  line-height: 0.5;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--timber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  background: var(--charcoal);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 99px,
      rgba(247,244,237,0.03) 99px,
      rgba(247,244,237,0.03) 100px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 99px,
      rgba(247,244,237,0.03) 99px,
      rgba(247,244,237,0.03) 100px
    );
  pointer-events: none;
}

.cta-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--stone);
  margin-bottom: 1.5rem;
}

.cta-section .section-description {
  color: rgba(247, 244, 237, 0.8);
  margin-bottom: 3rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 42px;
  background: var(--stone);
  color: var(--charcoal);
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bronze), var(--timber));
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.cta-button:hover::before { opacity: 1; }

.cta-button span {
  position: relative;
  z-index: 1;
}

.cta-button:hover span {
  color: var(--stone);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem 2rem;
  background: rgba(42, 38, 33, 0.02);
  border-top: 1px solid rgba(139, 111, 71, 0.15);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--timber);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--bronze);
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(42, 38, 33, 0.5);
  letter-spacing: 0.06em;
}

/* ── Single Project ──────────────────────────────────────────── */
.back-nav {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--timber);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: var(--bronze);
  transform: translateX(-4px);
}

.back-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.back-link:hover .back-arrow {
  transform: translateX(-4px);
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 50vh;
  min-height: 400px;
  max-height: 600px;
  background: linear-gradient(135deg, #d4c5a9, #b8a989);
  overflow: hidden;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.year-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 1rem 2rem;
  background: var(--charcoal);
  color: var(--stone);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.project-header {
  max-width: 900px;
  margin-bottom: 4rem;
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.project-header .project-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--timber);
  margin-bottom: 1.5rem;
}

.project-header .project-label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--bronze), transparent);
}

.project-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2rem;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(139, 111, 71, 0.15);
  border-bottom: 1px solid rgba(139, 111, 71, 0.15);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--timber);
}

.meta-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.main-content {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.main-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.sidebar {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.features-list {
  list-style: none;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.features-list li::before {
  content: "";
  min-width: 6px;
  min-height: 6px;
  width: 6px;
  height: 6px;
  background: var(--bronze);
  border-radius: 50%;
  margin-top: 0.6rem;
}

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

.gallery-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d4c5a9, #b8a989);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.sidebar-section {
  background: rgba(255, 255, 255, 0.4);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(139, 111, 71, 0.15);
  margin-bottom: 2rem;
}

.sidebar-section h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.specs-grid {
  display: grid;
  gap: 1.5rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(139, 111, 71, 0.1);
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--timber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-detail {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: right;
}

.team-grid {
  display: grid;
  gap: 1.5rem;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-avatar {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--timber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--stone);
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.team-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
}

.team-role {
  font-size: 0.75rem;
  color: var(--timber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* CTA inside single project */
.single-cta {
  margin-top: 5rem;
  padding: 3rem 2rem;
  background: rgba(42, 38, 33, 0.03);
  border: 1px solid rgba(139, 111, 71, 0.15);
  text-align: center;
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.single-cta h2 {
  margin-bottom: 1rem;
}

.single-cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

.single-cta .cta-button {
  background: var(--charcoal);
  color: var(--stone);
  box-shadow: 0 4px 20px var(--shadow);
}

.single-cta .cta-button span {
  color: var(--stone);
}

/* ── Responsive — Tablet (768px+) ───────────────────────────── */
@media (min-width: 768px) {
  .header        { padding: 2rem; }
  .nav-toggle    { display: none; }

  .nav-menu {
    display: flex;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    gap: 2.5rem;
  }

  .nav-link { font-size: 0.8rem; }

  .hero {
    min-height: 90vh;
    padding: 6rem 2rem 4rem;
  }

  .hero::before {
    font-size: clamp(120px, 25vw, 280px);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }

  .stats-section { padding: 4rem 2rem; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .process-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .process-image { aspect-ratio: 3 / 4; }

  .services-section,
  .projects-section,
  .testimonial-section,
  .cta-section { padding: 6rem 2rem; }

  .testimonial-card { padding: 4rem 3rem; }

  .page-hero    { padding: 8rem 2rem 5rem; }

  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .back-nav    { padding: 2rem; }
  .year-badge  { padding: 1.25rem 2.5rem; font-size: 0.85rem; }
  .sidebar-section { padding: 2.5rem 2rem; }
  .single-cta  { padding: 4rem 3rem; }
}

/* ── Responsive — Desktop (1024px+) ─────────────────────────── */
@media (min-width: 1024px) {
  .header  { padding: 2.5rem 4rem; }
  .hero    { padding: 8rem 4rem 6rem; }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .process-container { gap: 5rem; }

  .services-section,
  .projects-section,
  .testimonial-section { padding: 8rem 4rem; }

  .cta-section { padding: 7rem 4rem; }

  .two-column {
    grid-template-columns: 1fr 380px;
    gap: 5rem;
  }

  .hero-image {
    height: 60vh;
    max-height: 700px;
  }

  .back-nav      { padding: 3rem 4rem; }
  .content-wrapper { padding: 6rem 4rem; }
  .page-hero     { padding: 10rem 2rem 6rem; }

  .projects-section.archive { padding: 0 2rem 8rem; }
}

/* ── Responsive — Large (1440px+) ───────────────────────────── */
@media (min-width: 1440px) {
  .projects-grid { gap: 3.5rem; }

  .project-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Touch optimization ──────────────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .project-card:hover,
  .gallery-item:hover { transform: none; }

  .hero-cta:hover,
  .cta-button:hover   { transform: none; }

  .back-link:hover,
  .project-cta:hover  { transform: none; }

  .project-card:active { transform: scale(0.98); }
}
