/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --cream: #f5f0e8;
  --warm-white: #faf8f5;
  --charcoal: #1a1a18;
  --taupe: #b8a898;
  --sand: #d4c5b0;
  --accent: #8b6f5e;
  --accent-light: #c4a898;
  --text: #2c2c2a;
  --text-light: #7a7068;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', sans-serif;

  --nav-height: 80px;
  --section-pad: clamp(80px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; object-fit: cover; border-radius: 12px; }
a { text-decoration: none; color: inherit; }

/* ===========================
   NAVIGATION
=========================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s;
}

nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

nav {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-logo span { color: var(--accent); font-style: italic; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  padding: 10px 22px;
  transition: background 0.3s, color 0.3s;
}

.nav-cta:hover {
  background: var(--charcoal);
  color: var(--warm-white);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--warm-white);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.mobile-menu a:hover { color: var(--accent); }

/* ===========================
   HERO
=========================== */
.hero {
  height: 100svh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 clamp(24px, 5vw, 80px) clamp(48px, 8vh, 100px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, transparent 40%, rgba(26,26,24,0.55) 100%),
    url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=1600&q=80') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--warm-white);
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero h1 em { font-style: italic; color: var(--sand); }

.hero-desc {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--warm-white);
  max-width: 400px;
  margin-bottom: 2.4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}

.btn-primary {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--warm-white);
  padding: 14px 32px;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: #7a5e4e;
  transform: translateY(-1px);
}

.btn-ghost {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(245,240,232,0.5);
  color: var(--warm-white);
  padding: 14px 32px;
  transition: background 0.3s, border-color 0.3s;
  display: inline-block;
  background: none;
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(245,240,232,0.1);
  border-color: var(--warm-white);
}

/* Hero scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 36px; right: clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}

.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(245,240,232,0.6), transparent);
  animation: scrollAnim 2s 1.5s infinite;
}

/* ===========================
   INTRO STRIP
=========================== */
.intro-strip {
  background: var(--charcoal);
  padding: 28px clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 3rem;
  overflow: hidden;
}

.strip-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  white-space: nowrap;
  flex-shrink: 0;
}

.strip-divider {
  width: 40px;
  height: 1px;
  background: var(--taupe);
  flex-shrink: 0;
}

.strip-scroll {
  display: flex;
  gap: 3rem;
  animation: marquee 18s linear infinite;
  white-space: nowrap;
}

.strip-item {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--sand);
}

/* ===========================
   ABOUT
=========================== */
.about {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 364 / 455;
  object-fit: cover;
  border-radius: 12px;
}

.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 120px; height: 120px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--warm-white);
}

.about-badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.about-badge small {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-text {
  padding: 20px 0;
}

.section-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #6b5348;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s forwards;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.6rem;
  color: var(--charcoal);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.4s forwards;
}

.section-eyebrow.reveal {
  animation: none;
  opacity: 1;
  transform: translateY(0);
}

.section-title.reveal {
  animation: none;
  opacity: 1;
  transform: translateY(0);
}

.section-title em { font-style: italic; }

.about-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  max-width: 480px;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--sand);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--charcoal);
}

.stat small {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ===========================
   SERVICES
=========================== */
.services {
  background: var(--cream);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}

.services-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}

.services-header p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.8rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--warm-white);
  padding: 3rem 2.4rem;
  transition: background 0.3s;
  cursor: default;
}

.service-card:hover { background: var(--charcoal); }

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 1.4rem;
  display: block;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 0.8rem;
  color: var(--charcoal);
  transition: color 0.3s;
}

.service-card:hover h3 { color: var(--sand); }

.service-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
  transition: color 0.3s;
}

.service-card:hover p { color: var(--taupe); }

.service-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent);
  float: right;
  line-height: 1;
  margin-top: -10px;
  transition: color 0.3s;
}

.service-card:hover .service-num { color: rgba(255,255,255,0.06); }

/* ===========================
   PROJECTS
=========================== */
.projects {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
}

.link-arrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: gap 0.3s;
}

.link-arrow:hover { gap: 14px; }
.link-arrow::after { content: '→'; }

.projects-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.proj-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
}

.proj-card img {
  height: 100%;
  transition: transform 0.6s ease;
  border-radius: 12px;
}

.proj-card:hover img { transform: scale(1.04); }

.proj-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.6rem 1.6rem;
  background: linear-gradient(to top, rgba(26,26,24,0.7), transparent);
  transform: translateY(8px);
  transition: transform 0.3s;
}

.proj-card:hover .proj-info { transform: translateY(0); }

.proj-cat {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 4px;
}

.proj-info h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--warm-white);
}

/* Masonry layout */
.proj-1 { grid-column: 1/8; grid-row: 1; height: 460px; }
.proj-2 { grid-column: 8/13; grid-row: 1; height: 460px; }
.proj-3 { grid-column: 1/5; grid-row: 2; height: 360px; }
.proj-4 { grid-column: 5/9; grid-row: 2; height: 360px; }
.proj-5 { grid-column: 9/13; grid-row: 2; height: 360px; }

/* ===========================
   PROCESS
=========================== */
.process {
  background: var(--charcoal);
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
}

.process-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 4.5rem;
}

.process-header .section-title { color: var(--warm-white); }
.process-header p { color: var(--taupe); font-size: 0.9rem; margin-top: 0.8rem; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.process-steps::after {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%;
  width: 75%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.step-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  position: relative;
  z-index: 1;
}

.step-dot span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent-light);
}

.step h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--warm-white);
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.82rem;
  color: var(--taupe);
  line-height: 1.75;
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testi-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  position: relative;
}

.testi-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.7;
  color: var(--sand);
  display: block;
  margin-bottom: 1rem;
}

.testi-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 1.8rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--taupe);
  overflow: hidden;
  flex-shrink: 0;
}

.testi-name strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--charcoal);
}

.testi-name span {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

.testi-stars {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
}

/* ===========================
   CTA BANNER
=========================== */
.cta-banner {
  position: relative;
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px);
  text-align: center;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(26,26,24,0.6), rgba(26,26,24,0.6)),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1600&q=80') center/cover no-repeat;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content .section-eyebrow { color: var(--accent-light); }

.cta-content .section-title {
  color: var(--warm-white);
  max-width: 700px;
  margin: 0 auto 2.4rem;
}

/* ===========================
   CONTACT
=========================== */
.contact {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.contact-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 380px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 36px; height: 36px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 0.9rem;
  color: var(--charcoal);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

input, select, textarea {
  background: var(--cream);
  border: 1px solid transparent;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: var(--warm-white);
}

textarea { resize: vertical; min-height: 120px; }

.form-submit {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--warm-white);
  border: none;
  padding: 16px 32px;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-body);
  transition: all 0.3s;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  line-height: 1.4;
}

.form-submit:hover { background: var(--accent); }

.form-submit:disabled {
  cursor: default;
  opacity: 0.9;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--charcoal);
  padding: 50px clamp(24px, 5vw, 60px) 24px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section--brand .nav-logo {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--warm-white);
}

.footer-section--brand .nav-logo span {
  color: var(--warm-white);
}

.footer-section--brand p {
  font-size: 0.85rem;
  color: var(--taupe);
  line-height: 1.6;
  margin-bottom: 1.8rem;
  opacity: 0.9;
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taupe);
  border: 1px solid rgba(212, 165, 116, 0.25);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--accent);
  color: var(--warm-white);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-section h6 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 1.6rem;
  font-weight: 500;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  font-size: 0.85rem;
  color: var(--taupe);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-section a:hover {
  color: var(--sand);
  padding-left: 4px;
}

.footer-section--contact p {
  font-size: 0.85rem;
  color: var(--taupe);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 165, 116, 0.2), transparent);
  margin: 2rem 0 2rem 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom span {
  font-size: 0.75rem;
  font-weight: 400;
  color: #f0e8e0;
  letter-spacing: 0.3px;
  opacity: 0.6;
}

/* ===========================
   PROJECTS PAGE STYLES
=========================== */
.page-header {
  padding: calc(var(--nav-height) + 80px) clamp(24px, 5vw, 80px) 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(245,240,232,0.5) 0%, rgba(212,197,176,0.3) 100%);
}

.page-header p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.projects-section {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: var(--cream);
  border-radius: 8px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-radius: 12px;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(26,26,24,0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 1.8rem;
  opacity: 1;
  transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to bottom, rgba(26,26,24,0.3) 0%, rgba(26,26,24,0.95) 100%);
}

.project-category {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-category {
  opacity: 1;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--warm-white);
  margin-bottom: 0.8rem;
}

.project-description {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.85);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-description {
  opacity: 1;
}

.project-card.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.project-card.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card.reveal-delay-1 { transition-delay: 0.1s; }
.project-card.reveal-delay-2 { transition-delay: 0.2s; }
.project-card.reveal-delay-3 { transition-delay: 0.3s; }

/* Stats section */
.stats-cta {
  background: var(--charcoal);
  padding: clamp(60px, 10vw, 120px) clamp(24px, 5vw, 80px);
  text-align: center;
  margin: var(--section-pad) 0;
}

.stats-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--warm-white);
  margin-bottom: 3rem;
}

.stats-cta h2 em { font-style: italic; color: var(--sand); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
}

.stat-item span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   PROJECT DETAIL PAGE STYLES
=========================== */
.project-hero {
  margin-top: var(--nav-height);
  height: 60vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.breadcrumb {
  padding: 24px clamp(24px, 5vw, 80px);
  background: var(--cream);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumb a:hover { text-decoration: none; }

.project-header {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  background: var(--warm-white);
  border-bottom: 1px solid var(--sand);
}

.project-header-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.project-header .project-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 1.6rem;
}

.project-header .section-eyebrow {
  animation: none;
  opacity: 1;
  transform: translateY(0);
}

.project-meta {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.project-header .project-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.9;
  max-width: 520px;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.info-block h4 {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.info-block p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--charcoal);
}

.gallery-section {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--charcoal);
}

.gallery-masonry {
  column-count: 3;
  column-gap: 16px;
  column-fill: balance;
  margin-bottom: 2rem;
}

.gallery-item {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
  break-inside: avoid;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: galleryFadeIn 0.6s ease forwards;
}

@keyframes galleryFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: filter 0.3s ease;
  border-radius: 12px;
}

.gallery-item:hover img {
  filter: brightness(1.1) contrast(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-masonry {
    column-count: 2;
    column-gap: 12px;
  }

  .gallery-item {
    margin-bottom: 12px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    column-count: 1;
    column-gap: 8px;
  }

  .gallery-item {
    margin-bottom: 8px;
    border-radius: 8px;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 200;
  padding: 60px 20px 20px;
  overflow-y: auto;
}

.lightbox.active { display: flex; align-items: center; justify-content: center; }

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  position: relative;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 2rem;
  color: var(--warm-white);
  cursor: pointer;
  background: none;
  border: none;
  width: auto;
  padding: 0;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--warm-white);
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px 20px;
  z-index: 201;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.full-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--sand);
}

.full-gallery .gallery-item {
  aspect-ratio: 4/3;
}

.project-cta {
  background: var(--charcoal);
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  text-align: center;
}

.project-cta .cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--warm-white);
  margin-bottom: 1.5rem;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollAnim {
  0%, 100% { transform: scaleY(0.5); transform-origin: top; }
  50% { transform: scaleY(1); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .proj-1, .proj-2, .proj-3, .proj-4, .proj-5 {
    grid-column: auto;
    grid-row: auto;
    height: 300px;
  }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .process-steps::after { display: none; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-main { grid-column: span 1; }
  .project-header-top { grid-template-columns: 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  .about { grid-template-columns: 1fr; }
  .about-image-wrap img { height: 380px; }

  .services-grid { grid-template-columns: 1fr; }

  .projects-masonry { grid-template-columns: 1fr; }
  .proj-1, .proj-2, .proj-3, .proj-4, .proj-5 { height: 260px; }

  .process-steps { grid-template-columns: 1fr 1fr; }

  .testi-grid { grid-template-columns: 1fr; }

  .contact { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-content { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .projects-header { flex-direction: column; align-items: flex-start; }

  .project-hero { height: 50vh; min-height: 350px; }
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .full-gallery { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .about-stats { gap: 1.5rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===========================
   CONSENT BANNER
=========================== */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--charcoal);
  padding: 24px 32px;
  box-shadow: 0 -4px 16px rgba(26, 26, 24, 0.2);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-body);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.consent-banner.hidden {
  display: none;
}

.consent-content {
  flex: 1;
  color: var(--warm-white);
  font-size: 14px;
  line-height: 1.6;
}

.consent-content p {
  margin: 0;
}

.consent-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.consent-content a:hover {
  text-decoration: underline;
}

.consent-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.consent-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-body);
  white-space: nowrap;
}

.consent-btn-accept {
  background: var(--accent);
  color: white;
}

.consent-btn-accept:hover {
  background: #9d7d6d;
  transform: scale(1.02);
}

.consent-btn-reject {
  background: transparent;
  color: var(--warm-white);
  border: 1px solid var(--warm-white);
}

.consent-btn-reject:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
  
  .consent-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .consent-btn {
    width: 100%;
    text-align: center;
  }
}
