/* Minimal full-bleed landing */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --accent: #c7a164;
  --border: #e5e7eb;
  --shadow: 0 10px 40px rgba(17, 24, 39, 0.08);
  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.nav {
  max-width: none;
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  transition: background 0.2s ease, backdrop-filter 0.2s ease;
  border-radius: 12px;
}
.nav-overlay {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  right: 16px;
  z-index: 3;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}
.nav-overlay:hover { background: rgba(0,0,0,0.45); color: #fff; }
.nav-overlay:hover .nav-links a,
.nav-overlay:hover .brand-tagline,
.nav-overlay:hover .brand-name { color: #fff; }
.nav-solid {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.nav-solid .brand-name,
.nav-solid .brand-tagline,
.nav-solid .nav-links a { color: var(--text); }
.nav-solid .btn.outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.nav-solid .btn.outline:hover {
  background: var(--text);
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.brand-text { line-height: 1.3; }
.brand-name { font-size: 1rem; color: var(--text); }
.brand-tagline { color: var(--muted); font-size: 0.85rem; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 16px;
  margin-left: auto;
}
.nav-links a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.7); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn.solid {
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn.ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
}
.btn.outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}
.nav-overlay:hover .btn.outline { border-color: rgba(255,255,255,0.9); color: #fff; }
.btn:hover { transform: translateY(-1px); }
.btn.full { width: 100%; }

.hero-full {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}
.hero-full + .section { margin-top: 60px; }
.hero-carousel {
  height: 100vh;
  position: relative;
}
.carousel-window { overflow: hidden; height: 100%; position: relative; }
.carousel-track {
  height: 100%;
  position: relative;
  width: 100%;
}
.slide { 
  display: none; 
  height: 100%; 
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.slide.active { 
  display: block; 
  opacity: 1;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2;
}
.carousel-btn.prev { left: 18px; }
.carousel-btn.next { right: 18px; }
.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.carousel-dots button.active { background: #fff; }

.carousel-caption {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 980px);
  color: #fff;
  z-index: 2;
  display: grid;
  gap: 10px;
}
.carousel-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  max-width: max-content;
}
.carousel-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
}
.carousel-meta { color: rgba(255,255,255,0.85); }
.hero-actions { display: flex; gap: 10px; margin-top: 8px; }
.tagline { color: rgba(255,255,255,0.9); margin-top: 6px; }
.slide-label { color: rgba(255,255,255,0.9); font-weight: 600; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 700;
}

.showcase {
  margin-top: 40px;
  padding: 60px 20px 80px;
}
.showcase .lede {
  margin-top: 12px;
  margin-bottom: 18px;
}
.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  max-height: 300px;
  display: block;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.65) 100%);
  color: #fff;
  gap: 6px;
}
.feature-overlay h3 { font-size: 1.4rem; }
.feature-overlay p { color: rgba(255,255,255,0.86); }

/* Inner pages */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 20px 0px;
}
.page h1 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 12px; }
.page p { color: var(--muted); margin-bottom: 16px; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tile img { height: 180px; object-fit: cover; }
.tile-body { padding: 14px; display: grid; gap: 6px; }
.tile-body h3 { font-size: 1.05rem; }
.tile-body p { color: var(--muted); }

/* Projects Grid */
.projects-page {
  padding-top: 80px;
  padding-bottom: 80px;
}
.page-header {
  margin-bottom: 60px;
  max-width: 800px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}
@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.project-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
  aspect-ratio: 4/3;
  background: var(--surface);
  width: 100%;
  min-height: 240px;
}
.project-thumb-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.project-thumb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.project-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-thumb:hover .project-thumb-overlay {
  opacity: 1;
}
.project-thumb:hover .project-thumb-image img {
  transform: scale(1.05);
}
.project-thumb-content {
  color: #fff;
  width: 100%;
}
.project-category {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.project-thumb-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #fff;
}
.project-thumb-content p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Project Detail Page */
.project-detail-page {
  padding-top: 0;
  width: 100%;
  overflow-x: hidden;
}
.project-detail-page .page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 20px;
}
.project-hero-carousel {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}
.project-carousel-window {
  height: 100%;
  overflow: hidden;
}
.project-carousel-track {
  height: 100%;
  display: flex;
  transition: transform 0.6s ease;
}
.project-carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-carousel-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
  padding: 20px;
}
.project-hero-info {
  max-width: 800px;
  padding: 40px;
  color: #fff;
  z-index: 2;
  width: 100%;
}
.project-hero-info h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.1;
}
.project-hero-info .project-category {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}
.project-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.project-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
  margin-bottom: 32px;
  max-width: 600px;
}
.project-meta {
  display: grid;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
.project-meta div {
  display: flex;
  gap: 8px;
}
.project-meta strong {
  color: rgba(255,255,255,0.7);
}
.project-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease;
  color: var(--text);
}
.project-carousel-btn:hover {
  background: #fff;
}
.project-carousel-btn.prev {
  left: 24px;
}
.project-carousel-btn.next {
  right: 24px;
}
.project-description-section {
  padding-top: 80px;
  padding-bottom: 60px;
  background: var(--bg);
}
.project-description-content {
  max-width: 800px;
  margin: 0 auto;
}
.project-description-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}
.project-description-content p:last-child {
  margin-bottom: 0;
}

.project-gallery-section {
  padding-top: 40px;
  padding-bottom: 100px;
  background: var(--bg);
}
.project-gallery-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 40px;
  color: var(--text);
  font-weight: 700;
}
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
}
.project-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--surface);
  width: 100%;
}
.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.project-gallery-item:hover img {
  transform: scale(1.05);
}
.project-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}
.project-panel {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.project-panel h2 { font-size: 1.4rem; line-height: 1.3; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.gallery-card:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.contact-page { padding-top: 60px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 12px;
}
.back-link:hover { text-decoration: underline; }
.contact-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.response-tag {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
}


.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 12px;
  align-items: start; /* prevents stretching */
}

.info-card {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);

  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  min-height: 96px; /* controlled, professional size */
}

.info-card p {
  margin-bottom: 6px;
}




.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.contact-info {
  display: grid;
  gap: 12px;
}
.info-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.info-card p { margin-bottom: 4px; }
.info-card a { color: var(--text); font-weight: 600; }
.contact-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-form label { display: grid; gap: 6px; font-weight: 600; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f9fafb;
  color: var(--text);
}





/* ===============================
   MOBILE NAVBAR FIXES
   =============================== */
   @media (max-width: 768px) {

    /* 1. Keep navbar fully inside viewport */
    .nav {
      width: 100%;
      margin: 0;
      border-radius: 0;
    }
  
    /* 2. Fix overlay positioning on mobile */
    .nav-overlay {
      left: 0;
      right: 0;
      transform: none;
      top: 0;
      width: 100%;
      border-radius: 0;
      z-index: 1000; /* ensure above page content */
    }
  
    /* 3. Ensure navbar itself is above everything */
    .nav,
    .nav-solid {
      z-index: 1000;
    }
  
    /* 4. Mobile menu dropdown visibility */
    .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
  
      flex-direction: column;
      gap: 0;
  
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(10px);
  
      padding: 12px;
      border-bottom: 1px solid var(--border);
  
      z-index: 1001; /* ABOVE images */
    }
  
    /* Optional: better tap targets */
    .nav-links a {
      padding: 14px 16px;
      border-radius: 8px;
    }
  
    /* 5. Make sure images never cover nav */
    section,
    img,
    .hero,
    .project-hero {
      z-index: auto;
    }
  }
  










/* ===============================
   SERVICES – EDITORIAL LAYOUT
   =============================== */

/* Editorial service layout */
.service-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 28px;
}

.service-item {
  display: grid;
  gap: 12px;
}

/* Subtle rhythm divider */
.service-item:not(:last-child) {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.service-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.service-item p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 900px; /* readable measure while using full width */
}

/* Force services into a vertical stack
   (overrides global grid behavior) */
.service-layout.service-stack {
  grid-template-columns: 1fr;
}

/* ===============================
   SERVICES HERO IMAGE
   =============================== */

.services-hero {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
}

.services-hero img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

/* Slight reduction on smaller screens */
@media (max-width: 768px) {
  .services-hero,
  .services-hero img {
    max-height: 220px;
  }
}















.service-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.service-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--muted); }

.footer {
  padding: 24px 20px 32px;
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
}
.footer-meta a { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .project-thumb {
    min-height: 280px;
  }
  .project-hero-carousel {
    height: 70vh;
    min-height: 500px;
  }
  .project-hero-info {
    padding: 24px 20px;
    max-width: 100%;
  }
  .project-carousel-content {
    padding: 20px;
  }
  .project-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .project-carousel-btn.prev {
    left: 12px;
  }
  .project-carousel-btn.next {
    right: 12px;
  }
  .project-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .project-description-section {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  .project-description-content {
    padding: 0 20px;
  }
  .project-description-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .project-gallery-section {
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    width: 220px;
  }
  .nav-overlay .nav-links {
    background: rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
  }
  .nav-overlay .nav-links a { color: #e5e7eb; }
  .nav-solid .nav-links {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
  }
  .nav-solid .nav-links a { color: var(--text); }
  .nav-links.show { display: flex; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav > .btn { display: none; }
  .nav-overlay { position: fixed; left: 16px; right: 16px; width: auto; }
  .carousel-btn { display: none; }
  .carousel-caption { left: 50%; transform: translateX(-50%); bottom: 40px; width: 90vw; }
  .hero-actions { flex-direction: column; }
}



/* ===============================
   FOOTER – MOBILE FIX
   =============================== */
   @media (max-width: 768px) {

    .footer-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
  
    .footer-meta {
      flex-wrap: wrap;
      row-gap: 8px;
      column-gap: 16px;
    }
  }
  