/* ----------------------------------------------------
   Fonts and CSS variables
---------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color System */
  --bg-ivory: #F6F1E8;
  --bg-beige: #E8DCCB;
  --bg-sand: #D8C7AE;
  --charcoal: #111111;
  --deep-grey: #2A2A2A;
  --muted-text: #6F6A63;
  --accent-coral: #F05A54;
  --accent-gold: #B89C73;
  --stone-grey: #D9D2C7;
  --pure-white: #FFFFFF;
  
  /* Fonts */
  --font-headings: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1280px;
  --container-padding: 0 40px;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* ----------------------------------------------------
   Reset and Base Styles
---------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-ivory);
}

/* Subtle SVG Grain Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.045;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------
   Architectural Blueprint & Halftone Overlays
---------------------------------------------------- */
.architectural-blueprint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
}

.halftone-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(rgba(17, 17, 17, 0.25) 15%, transparent 15%);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
  opacity: 0.8;
  z-index: 2;
  transition: var(--transition-smooth);
}

/* ----------------------------------------------------
   Typography Hierarchy (Strictly scales as per DESIGN.md)
---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.05;
  color: var(--charcoal);
  letter-spacing: -0.03em;
}

p {
  color: var(--muted-text);
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-ivory);
}
::-webkit-scrollbar-thumb {
  background: var(--stone-grey);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* ----------------------------------------------------
   Reusable UI Elements & Layout Utilities
---------------------------------------------------- */
.container {
  max-width: 1240px; /* Aligns with 1200px - 1320px range */
  margin: 0 auto;
  padding: var(--container-padding);
  position: relative;
}

.section-padding {
  padding: 110px 0; /* Aligns with 90px - 130px range */
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  font-family: var(--font-headings);
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 600;
  border-radius: 999px; /* Pill shape */
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--charcoal);
  color: var(--pure-white);
}

.btn-primary:hover {
  background-color: var(--accent-coral);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 90, 84, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}

.btn-secondary:hover {
  background-color: var(--charcoal);
  color: var(--pure-white);
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--pure-white);
}

.btn-gold:hover {
  background-color: var(--charcoal);
  transform: translateY(-2px);
}

/* Cards (Standard border radius 22px-28px) */
.rounded-card {
  background-color: var(--bg-beige);
  border-radius: 24px;
  padding: 40px;
  transition: var(--transition-smooth);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.rounded-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.15);
}

/* Brutalist Accent Lines & Graphic Elements */
.divider-line {
  width: 100%;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.12);
  margin: 40px 0;
  position: relative;
}

.divider-line.bold {
  height: 2px;
  background-color: var(--charcoal);
}

.plus-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 14px;
  color: var(--charcoal);
  background-color: var(--bg-ivory);
  padding: 0 4px;
}

.strike-word {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.strike-word::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.08em;
  top: 54%;
  height: 0.16em;
  background: #F05A54;
  transform: translateY(-50%);
  z-index: -1;
}

.editorial-mark {
  font-family: var(--font-headings);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.editorial-mark::before {
  content: "+";
  color: var(--accent-coral);
  font-weight: bold;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------
   Header / Navbar
---------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(246, 241, 232, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 4px 20px rgba(17, 17, 17, 0.02);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
  height: 70px;
}

.logo {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--deep-grey);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-coral);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--charcoal);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  transition: var(--transition-fast);
}

/* ----------------------------------------------------
   Hero Section
---------------------------------------------------- */
.hero {
  padding: 120px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 1;
}

.hero-title {
  font-size: clamp(58px, 6.4vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: #111111;
}

.hero-description {
  font-size: clamp(16px, 1.2vw, 18px); /* Body scale */
  color: var(--muted-text);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.05);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

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

.hero-image:hover .halftone-overlay {
  opacity: 0.3; /* Halftone fades slightly on hover to expose clean rendering */
}

.hero-accent-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: var(--charcoal);
  color: var(--pure-white);
  padding: 16px 24px;
  border-radius: 20px;
  font-family: var(--font-headings);
  font-size: 13px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.15);
  z-index: 3;
}

.hero-accent-badge .dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-coral);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-trust {
  margin-top: 15px;
  font-size: 11px;
}

/* ----------------------------------------------------
   About Section (Swapped to Asymmetric Layout)
---------------------------------------------------- */
.about {
  background-color: var(--bg-beige);
  border-radius: 36px;
  margin: 0 20px;
  padding: 120px 40px;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* Swapped asymmetric split */
  gap: 80px;
  align-items: center;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-heading {
  font-size: clamp(42px, 5vw, 60px); /* Section Heading Scale */
  line-height: 1.05;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-description {
  font-size: 18px;
  color: var(--charcoal);
  line-height: 1.6;
}

.about-values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.about-value-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-value-title {
  font-family: var(--font-headings);
  font-size: clamp(22px, 2.5vw, 28px); /* Subheading scale */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-value-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-coral);
  border-radius: 50%;
}

.about-value-desc {
  font-size: 15px;
  color: var(--muted-text);
}

.about-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

.about-visual-main {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
  border-radius: 30px !important;
}

.about-visual-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  background: #ddd;
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.about-visual-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.about-visual-item:hover img {
  transform: scale(1.04);
}

.about-visual-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-headings);
  z-index: 5;
}

/* Cleanup overrides for any old floating classes to ensure zero conflicts */
.about-image-main,
.about-image-vertical,
.about-image-detail,
.about-image-floating {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  transform: none !important;
  margin: 0 !important;
}

/* ----------------------------------------------------
   Services Section
---------------------------------------------------- */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.services-heading {
  font-size: clamp(42px, 5vw, 60px); /* Section Scale */
  max-width: 650px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 280px;
  background-color: var(--bg-beige);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.service-top {
  position: relative;
}

.service-num {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  border: 1px solid var(--stone-grey);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.service-icon {
  font-size: 32px;
  color: var(--accent-gold);
  margin-bottom: 30px;
  display: block;
  transition: var(--transition-fast);
}

.service-title {
  font-size: clamp(22px, 2.5vw, 28px); /* Subheading scale */
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: var(--muted-text);
  margin-bottom: 0;
}

.service-card:hover .service-icon {
  color: var(--accent-coral);
  transform: scale(1.05);
}

/* ----------------------------------------------------
   Portfolio Section
---------------------------------------------------- */
/* ----------------------------------------------------
   Portfolio Section
---------------------------------------------------- */
#portfolio {
  scroll-margin-top: 110px;
}

.project-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.project-tab {
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 999px;
  padding: 12px 22px;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.project-tab:hover {
  border-color: #111;
  background: rgba(17, 17, 17, 0.05);
}

.project-tab.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.project-panel {
  display: none;
}

.project-panel.active {
  display: block;
}

.project-intro-card {
  margin-top: 42px;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

.project-intro-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.project-intro-card h3 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  margin: 8px 0 0;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--charcoal);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.project-tags span {
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(246, 241, 232, 0.7);
  color: var(--deep-grey);
}

.featured-project-image {
  position: relative;
  margin-top: 28px;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #ddd;
  cursor: pointer;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.featured-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.featured-project-image:hover img {
  transform: scale(1.03);
}

.project-gallery-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-gallery-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ddd;
  cursor: pointer;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.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.04);
}

.image-label,
.project-gallery-item span,
.project-main-image span,
.project-small-image span,
.about-visual-item span,
.featured-project-image span {
  display: none !important;
}

/* ----------------------------------------------------
   Lightbox Gallery Modal
---------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.lightbox-modal::before,
.lightbox-modal::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

.lightbox-modal *::before,
.lightbox-modal *::after {
  background-image: none !important;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
  z-index: 2100;
  padding: 10px;
}

.lightbox-close:hover {
  color: var(--accent-coral);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2100;
  user-select: none;
}

.lightbox-nav:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.lightbox-nav.prev {
  left: 30px;
}

.lightbox-nav.next {
  right: 30px;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2050;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: lightboxFadeIn 0.3s ease forwards;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 15px;
  font-size: 14px;
  font-family: var(--font-headings);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Lightbox Responsive Adjustments */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 90%;
  }
  
  .lightbox-nav {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .lightbox-nav.prev {
    left: 15px;
  }
  
  .lightbox-nav.next {
    right: 15px;
  }
  
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 38px;
  }
}

/* ----------------------------------------------------
   Why Choose Us (Specialty)
---------------------------------------------------- */
.specialty {
  background: #000000 !important;
  background-image: none !important;
  color: var(--pure-white);
  border-radius: 36px;
  margin: 0 20px;
  padding: 120px 40px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.specialty::before,
.specialty::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
}

.specialty *::before,
.specialty *::after {
  background-image: none !important;
}

.specialty h2, .specialty h3, .specialty h4 {
  color: var(--pure-white);
}

.specialty-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.specialty-intro {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.specialty-intro .editorial-mark {
  color: #F05A54 !important;
}

.specialty-intro p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.specialty-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.specialty-card {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 30px;
  border-radius: 24px;
  color: #ffffff;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.specialty-card:hover {
  border-color: #F05A54;
  background-color: rgba(255, 255, 255, 0.02);
  transform: translateY(-4px);
}

.specialty-num {
  font-family: var(--font-headings);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 22px;
  display: inline-block;
  position: relative;
}

.specialty-num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 34px;
  height: 3px;
  background: #F05A54;
  border-radius: 999px;
}

.specialty-card h4 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 12px;
}

.specialty-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.specialty-intro .btn-gold {
  background: var(--accent-gold);
  color: var(--pure-white);
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.specialty-intro .btn-gold:hover {
  background: #F05A54 !important;
  color: var(--pure-white) !important;
}

/* ----------------------------------------------------
   Process Section
---------------------------------------------------- */
.process-header {
  text-align: left;
  margin-bottom: 48px;
}

.process-header h2 {
  font-size: clamp(42px, 5vw, 60px); /* Section Scale */
}

#process {
  scroll-margin-top: 110px;
}

.process-timeline {
  position: relative;
  margin-top: 56px;
  display: grid;
  gap: 38px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(17, 17, 17, 0.16);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.process-marker {
  position: relative;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 4px solid #111111;
  background: #F6F1E8;
}

.process-step:first-child .process-marker {
  background: #F05A54;
  border-color: #F05A54;
}

.process-copy span {
  display: block;
  color: #B89C73;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.process-copy h3 {
  color: #111111;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  margin: 0 0 10px;
}

.process-copy p {
  color: #6F6A63;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}



/* ----------------------------------------------------
   Visual Banner / CTA Block
---------------------------------------------------- */
.cta-banner {
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.45);
  z-index: 2;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 5s ease;
}

.cta-banner:hover .cta-bg {
  transform: scale(1.05);
}

.cta-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.cta-content h2 {
  font-size: clamp(36px, 5vw, 60px); /* Scale as per DESIGN.md */
  color: var(--pure-white);
  line-height: 1.15;
}
.cta-banner .btn,
.cta-banner .btn-primary {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.cta-banner .btn:hover,
.cta-banner .btn-primary:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

/* ----------------------------------------------------
   Contact Section
---------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info h2 {
  font-size: clamp(42px, 5vw, 60px); /* Section Scale */
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-details h5 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-details p, .contact-details a {
  font-size: 14px;
  color: var(--muted-text);
}

.contact-action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.contact-action-buttons .btn {
  flex: 1;
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--stone-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition-fast);
}

.social-circle:hover {
  background-color: var(--charcoal);
  color: var(--pure-white);
  border-color: var(--charcoal);
}

.contact-form-wrapper {
  background-color: var(--bg-beige);
  padding: 50px;
  border-radius: 24px; /* Normal Card */
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
}

.form-group input, .form-group textarea {
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--stone-grey);
  background-color: var(--bg-ivory);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-fast);
  outline: none;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--charcoal);
  background-color: var(--pure-white);
}

/* Success banner */
.form-feedback {
  display: none;
  background-color: var(--pure-white);
  border: 1px solid var(--accent-gold);
  border-left: 4px solid var(--accent-coral);
  padding: 20px;
  border-radius: 12px;
  font-family: var(--font-headings);
  font-size: 15px;
  font-weight: 500;
  margin-top: 15px;
  animation: fadeIn 0.4s ease;
}

/* ----------------------------------------------------
   Footer (Contrast Dark with accents)
---------------------------------------------------- */
.footer {
  background: #000000 !important;
  background-image: none !important;
  color: #ffffff !important;
  padding: 42px 0 24px !important;
}

.footer::before,
.footer::after {
  display: none !important;
  content: none !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer p,
.footer a,
.footer li {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 14px;
}

.footer a:hover {
  color: #F05A54 !important;
}

.footer h4 {
  color: #ffffff !important;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  color: rgba(255,255,255,0.52);
}

/* ----------------------------------------------------
   Keyframe Animations
---------------------------------------------------- */
@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------------------
   Responsive Layout Rules (Mobile & Tablet)
---------------------------------------------------- */
@media (max-width: 1024px) {
  .section-padding {
    padding: 85px 0; /* Tablet padding */
  }
  
  .hero-title {
    font-size: clamp(52px, 7vw, 76px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 40px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-visual-grid {
    margin-top: 30px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  
  .specialty-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .specialty-intro {
    position: static;
    text-align: center;
    align-items: center;
  }
  

  

  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 0 18px;
  }
  
  /* General section spacing mobile */
  section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .section-padding {
    padding: 56px 0 !important;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Safe Image overrides */
  img {
    object-fit: cover;
  }

  /* Compact section headers */
  .services-header,
  .portfolio-header,
  .process-header {
    margin-bottom: 32px !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .services-heading,
  .portfolio-header h2,
  .process-header h2 {
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.0 !important;
  }

  /* Navbar mobile modifications overridden by rules at end of file */
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-ivory);
    flex-direction: column;
    padding: 100px 40px;
    gap: 30px;
    box-shadow: -10px 0 30px rgba(17, 17, 17, 0.05);
    transition: var(--transition-smooth);
    z-index: 1050;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links.active ~ .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .nav-links.active ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-links.active ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-cta {
    display: none;
  }

  /* Hero section mobile styles overridden by 820px / 480px rules at end of file */

  /* About section mobile */
  .about-visual-grid {
    gap: 12px;
    margin-top: 30px;
  }

  .about-visual-main {
    aspect-ratio: 16 / 10;
    border-radius: 22px !important;
  }

  .about-visual-item {
    border-radius: 18px;
  }

  /* Services section mobile styles overridden by rules at end of file */

  /* Portfolio mobile rules */
  .featured-project-image {
    aspect-ratio: 4 / 3;
    max-height: 320px;
    border-radius: 22px;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-gallery-item {
    aspect-ratio: 16 / 10;
    max-height: 240px;
    border-radius: 20px;
  }

  .project-intro-card {
    padding: 22px;
    border-radius: 24px;
  }

  /* Why Choose Us (Specialty) mobile rules */
  .why-choose,
  .why-section,
  .specialty-section,
  .specialty {
    padding: 52px 18px !important;
    border-radius: 26px !important;
    background: #000000 !important;
    background-image: none !important;
    margin: 0 !important;
  }

  .why-content,
  .why-wrapper,
  .why-inner,
  .specialty-grid {
    display: block !important;
  }

  .specialty-intro {
    position: static !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  .why-choose .section-label,
  .why-section .section-label,
  .specialty .editorial-mark {
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 18px !important;
    color: #F05A54 !important;
  }

  .why-choose h2,
  .why-section h2,
  .specialty h2 {
    font-size: clamp(32px, 8.5vw, 42px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em !important;
    text-align: left !important;
    margin-bottom: 18px !important;
    color: #ffffff !important;
  }

  .why-choose > p,
  .why-section > p,
  .why-intro p,
  .why-copy p,
  .specialty-intro p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    text-align: left !important;
    max-width: 100% !important;
    margin-bottom: 24px !important;
    color: rgba(255, 255, 255, 0.72) !important;
  }

  .why-choose .btn,
  .why-section .btn,
  .specialty .btn {
    min-height: 44px !important;
    padding: 12px 20px !important;
    font-size: 12px !important;
    margin-bottom: 28px !important;
    display: inline-flex !important;
    align-self: flex-start !important;
  }

  .why-grid,
  .why-cards,
  .why-card-grid,
  .specialty-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .why-card,
  .specialty-card {
    padding: 18px 16px !important;
    border-radius: 18px !important;
    min-height: 165px !important;
    height: auto !important;
    background: #050505 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
  }

  .why-card .number,
  .why-card-number,
  .specialty-num {
    font-size: 26px !important;
    margin-bottom: 18px !important;
    display: inline-block !important;
  }

  .why-card .number::after,
  .why-card-number::after,
  .specialty-num::after {
    width: 28px !important;
    height: 3px !important;
    bottom: -7px !important;
  }

  .why-card h3,
  .specialty-card h4 {
    font-size: 17px !important;
    line-height: 1.05 !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
  }

  .why-card p,
  .specialty-card p {
    font-size: 12.5px !important;
    line-height: 1.42 !important;
    color: rgba(255, 255, 255, 0.68) !important;
  }

  /* Timeline & Process */
  .process, .process-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .process h2, .process-section h2, .process-header h2 {
    font-size: clamp(34px, 9vw, 44px) !important;
    line-height: 1 !important;
    text-align: left;
  }

  .process-timeline {
    margin-top: 36px;
    gap: 28px;
  }

  .process-timeline::before {
    left: 11px;
  }

  .process-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
  }

  .process-marker {
    width: 24px;
    height: 24px;
    border-width: 4px;
  }

  .process-copy span {
    font-size: 10px;
    margin-bottom: 7px;
  }

  .process-copy h3 {
    font-size: 19px;
    line-height: 1.05;
  }

  .process-copy p {
    font-size: 13.5px;
    line-height: 1.5;
  }
  

  
  /* Contact section mobile */
  .contact-form-wrapper {
    padding: 30px 20px;
  }
  
  .contact-action-buttons {
    flex-direction: column;
  }
  
  /* Footer mobile */
  .footer {
    padding: 34px 22px 22px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    gap: 12px;
  }

  /* Carousel / slider mobile fallback rules (general utility) */
  .carousel,
  .image-carousel,
  .gallery-carousel,
  .project-carousel,
  .portfolio-carousel,
  .slider,
  .gallery-slider {
    max-height: 360px !important;
    overflow: hidden;
  }

  .carousel img,
  .image-carousel img,
  .gallery-carousel img,
  .project-carousel img,
  .portfolio-carousel img,
  .slider img,
  .gallery-slider img {
    height: 260px !important;
    object-fit: cover;
    border-radius: 20px;
  }

  /* Lightbox modal responsive override */
  .lightbox-modal img {
    max-width: 92vw !important;
    max-height: 72vh !important;
    object-fit: contain;
  }

  .lightbox-nav {
    width: 42px !important;
    height: 42px !important;
    font-size: 20px !important;
  }
}

/* Responsive Rules for New Portfolio Design */
@media (max-width: 900px) {
  .project-intro-top {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .project-intro-card {
    padding: 22px;
    border-radius: 26px;
  }

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

  .project-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .carousel,
  .image-carousel,
  .gallery-carousel,
  .project-carousel,
  .portfolio-carousel,
  .slider,
  .gallery-slider {
    max-height: 300px !important;
  }

  .carousel img,
  .image-carousel img,
  .gallery-carousel img,
  .project-carousel img,
  .portfolio-carousel img,
  .slider img,
  .gallery-slider img {
    height: 220px !important;
  }
}

/* Hide mobile-only pills on desktop */
.hero-mobile-pills {
  display: none;
}

/* ----------------------------------------------------
   Responsive Hero & Navbar Consistency Rules
---------------------------------------------------- */
@media (max-width: 768px) {
  /* --- Navbar: ivory background, visible logo --- */
  .header,
  .navbar {
    background: #F6F1E8 !important;
    color: #111111 !important;
    height: 68px !important;
    border-bottom: 1px solid rgba(17,17,17,0.10);
  }

  .header.scrolled {
    background: rgba(246, 241, 232, 0.97) !important;
  }

  .nav-container {
    height: 68px !important;
  }

  .logo,
  .brand,
  .nav-logo {
    color: #111111 !important;
    opacity: 1 !important;
    font-size: 16px !important;
  }

  .nav-toggle,
  .hamburger {
    display: flex !important;
    color: #111111 !important;
    opacity: 1 !important;
    width: 36px !important;
    height: 36px !important;
    align-items: center;
    justify-content: center;
  }

  /* --- Hero: rounded image card on ivory bg --- */
  .hero {
    background: #F6F1E8 !important;
    padding: 78px 14px 28px !important;
    min-height: auto !important;
    display: block !important;
    overflow: visible !important;
    position: relative !important;
  }

  /* Remove the old full-bleed ::after overlay on .hero */
  .hero::after {
    display: none !important;
    content: none !important;
  }

  /* Kill any stray background causing black space */
  .hero,
  .hero-grid,
  .hero-wrapper,
  .hero-inner {
    background-image: none !important;
  }

  .hero-grid {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 620px !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    background: transparent !important;
    padding: 0 !important;
  }

  /* Image fills the card edge-to-edge */
  .hero-image,
  .hero-visual {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
    background: transparent !important;
  }

  .hero-image img,
  .hero-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  /* Stronger gradient overlay for readability */
  .hero-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.42) 42%,
      rgba(0,0,0,0.86) 100%
    ) !important;
    pointer-events: none;
  }

  /* Neo-brutalist red corner mark */
  .hero-grid::before {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-top: 2.5px solid #F05A54;
    border-right: 2.5px solid #F05A54;
    z-index: 3;
    pointer-events: none;
  }

  /* Text content pinned to bottom-left inside the card */
  .hero-content {
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    bottom: 24px !important;
    top: auto !important;
    z-index: 2 !important;
    max-width: none !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 0 !important;
  }

  /* Red + before label */
  .hero-label::before,
  .hero .editorial-mark::before {
    content: "+";
    color: #F05A54;
    margin-right: 7px;
    font-weight: 700;
  }

  /* Don't add red + to trust line */
  .hero-trust::before,
  .hero .editorial-mark.hero-trust::before {
    content: none !important;
    display: none !important;
  }

  .hero-label,
  .hero .section-label,
  .hero .editorial-mark {
    color: rgba(255,255,255,0.82) !important;
    font-size: 9.5px !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 14px !important;
  }

  .hero-title,
  .hero h1 {
    color: #ffffff !important;
    font-size: clamp(34px, 9.8vw, 46px) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.055em !important;
    margin: 0 0 14px !important;
    max-width: 100% !important;
  }

  .strike-word {
    position: relative !important;
    display: inline-block !important;
    z-index: 1 !important;
  }

  .strike-word::after {
    content: "";
    position: absolute;
    left: -0.04em;
    right: -0.06em;
    top: 52%;
    height: 0.13em;
    background: #F05A54;
    transform: translateY(-50%);
    z-index: -1;
  }

  .hero-subtitle,
  .hero p,
  .hero-description {
    color: rgba(255,255,255,0.86) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 0 14px !important;
    max-width: 100% !important;
  }

  /* Glass-style pills — mobile only */
  .hero-mobile-pills {
    display: flex !important;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 16px;
  }

  .hero-mobile-pills span {
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-body);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    padding: 6px 11px;
    white-space: nowrap;
  }

  .hero-actions,
  .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .hero-actions .btn,
  .hero-buttons .btn,
  .hero .btn {
    width: 100% !important;
    min-height: 44px !important;
    padding: 11px 18px !important;
    font-size: 12.5px !important;
    border-radius: 999px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
  }

  .hero .btn-primary {
    background: #ffffff !important;
    color: #111111 !important;
    border-color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18) !important;
  }

  .hero .btn-secondary {
    background: rgba(255,255,255,0.06) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
  }

  /* Trust line with thin divider */
  .hero-trust,
  .trust-line {
    color: rgba(255,255,255,0.68) !important;
    font-size: 8.5px !important;
    letter-spacing: 0.14em !important;
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
    width: 100%;
  }

  .hero-accent-badge {
    display: none !important;
  }

  /* Reduce empty space after hero */
  .hero + .container,
  .hero + .container .divider-line {
    margin-top: 14px !important;
    padding-top: 0 !important;
  }
}

/* ----------------------------------------------------
   Responsive Services Consistency Rules
---------------------------------------------------- */
@media (max-width: 768px) {
  .services-carousel,
  .services-track,
  .services-grid {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 18px !important;
  }

  .service-card {
    flex: 0 0 74% !important;
    width: 74% !important;
    max-width: 280px !important;
    min-width: 240px !important;
    min-height: 220px !important;
    height: 220px !important;
    padding: 22px 18px !important;
    border-radius: 22px !important;
    scroll-snap-align: start !important;
    margin-top: 0 !important;
  }

  .service-card h3 {
    font-size: 19px !important;
    line-height: 1.05 !important;
    margin-bottom: 14px !important;
  }

  .service-card p {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
  }

  .service-icon {
    width: 28px !important;
    height: 28px !important;
    margin-bottom: 34px !important;
  }

  .service-num,
  .service-number,
  .service-card .number {
    width: 34px !important;
    height: 28px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 430px) {
  .service-card {
    flex: 0 0 72% !important;
    width: 72% !important;
    max-width: 250px !important;
    min-width: 220px !important;
    height: 210px !important;
    min-height: 210px !important;
    padding: 20px 16px !important;
    border-radius: 20px !important;
    margin-top: 0 !important;
  }

  .service-card h3 {
    font-size: 17px !important;
  }

  .service-card p {
    font-size: 12.8px !important;
  }

  .service-icon {
    width: 24px !important;
    height: 24px !important;
    margin-bottom: 28px !important;
  }
}

/* ----------------------------------------------------
   The Castleton Mansion Scoped Portfolio & Gallery Customization
---------------------------------------------------- */

/* Main Featured Image */
.project-mansion .featured-project-image,
.project-mansion .project-featured-image,
.project-mansion .project-main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 28px;
  background: #ddd;
}

.project-mansion .featured-project-image img,
.project-mansion .project-featured-image img,
.project-mansion .project-main-image img,
.project-mansion img.mansion-main-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center; /* Adjusted to center center for optimal framing of castletonmansion7.jpg */
}

/* Gallery Grid & Normal Gallery Items */
.project-mansion .project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-mansion .project-gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
  background: #ddd;
}

.project-mansion .project-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* Specific styling for the last image in Mansion gallery to ensure optimal fitting */
.project-mansion .project-gallery-item:last-child img,
.project-mansion .mansion-last-image img {
  object-position: center center;
}

/* Mobile & Responsive Breakpoints */
@media (max-width: 768px) {
  .project-mansion .featured-project-image,
  .project-mansion .project-featured-image,
  .project-mansion .project-main-image {
    aspect-ratio: 4 / 3;
    border-radius: 24px;
  }

  .project-mansion .project-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .project-mansion .project-gallery-item {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }
}

@media (max-width: 430px) {
  .project-mansion .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-mansion .project-gallery-item {
    aspect-ratio: 16 / 10;
  }
}

/* ----------------------------------------------------
   The Castleton Apartments Scoped Portfolio & Gallery Customization
---------------------------------------------------- */

.project-apartments .project-featured-image,
.project-apartments .featured-project-image,
.project-apartments .project-main-image,
.apartment-gallery .project-featured-image,
.apartment-gallery .featured-project-image,
.apartment-gallery .project-main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 28px;
  background: #ddd;
}

.project-apartments .project-featured-image img,
.project-apartments .featured-project-image img,
.project-apartments .project-main-image img,
.apartment-gallery .project-featured-image img,
.apartment-gallery .featured-project-image img,
.apartment-gallery .project-main-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.project-apartments .project-gallery-grid,
.apartment-gallery .project-gallery-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-apartments .project-gallery-item,
.apartment-gallery .project-gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
  background: #ddd;
}

.project-apartments .project-gallery-item img,
.apartment-gallery .project-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* Mobile & Responsive Breakpoints */
@media (max-width: 768px) {
  .project-apartments .project-featured-image,
  .project-apartments .featured-project-image,
  .project-apartments .project-main-image,
  .apartment-gallery .project-featured-image,
  .apartment-gallery .featured-project-image,
  .apartment-gallery .project-main-image {
    aspect-ratio: 4 / 3;
    border-radius: 24px;
  }

  .project-apartments .project-gallery-grid,
  .apartment-gallery .project-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .project-apartments .project-gallery-item,
  .apartment-gallery .project-gallery-item {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }
}

@media (max-width: 430px) {
  .project-apartments .project-gallery-grid,
  .apartment-gallery .project-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .project-apartments .project-gallery-item,
  .apartment-gallery .project-gallery-item {
    aspect-ratio: 1 / 1 !important;
  }
}

@media (max-width: 430px) {
  /* Why Choose Us (Specialty) very small mobile rules */
  .why-choose,
  .why-section,
  .specialty-section,
  .specialty {
    padding: 44px 14px !important;
    border-radius: 22px !important;
  }

  .why-grid,
  .why-cards,
  .why-card-grid,
  .specialty-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .why-card,
  .specialty-card {
    padding: 18px !important;
    min-height: auto !important;
  }

  .why-card .number,
  .why-card-number,
  .specialty-num {
    font-size: 24px !important;
  }

  .why-card h3,
  .specialty-card h4 {
    font-size: 18px !important;
  }

  .why-card p,
  .specialty-card p {
    font-size: 13px !important;
  }
}

/* ----------------------------------------------------
   Hero Editorial Typography & Styling
---------------------------------------------------- */

.hero-title-editorial {
  display: flex;
  flex-direction: column;
  gap: 0.02em;
  font-size: clamp(58px, 6.4vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  color: #111111;
}

.hero-title-editorial .hero-line {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  flex-wrap: wrap;
}

.hero-title-editorial strong {
  font-weight: 850;
}

.hero-title-editorial span span {
  font-weight: 300;
}

/* Neo-brutalist red cut on Thoughtful */
.strike-word {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.strike-word::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.06em;
  top: 52%;
  height: 0.14em;
  background: #F05A54;
  transform: translateY(-50%);
  z-index: -1;
}

/* Subtle dot pattern inside the hero card grid */
.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(circle, rgba(255,255,255,0.55) 1px, transparent 1px);
  background-size: 6px 6px;
}

.hero-grid::after {
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

/* Red editorial corner mark */
.hero-card-corner,
.hero-grid .hero-corner {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-top: 2px solid #F05A54;
  border-right: 2px solid #F05A54;
  z-index: 4;
  pointer-events: none;
}

/* Mobile & Responsive Rules for Editorial Hero */
@media (max-width: 768px) {
  .hero-title-editorial {
    font-size: clamp(36px, 9.8vw, 48px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.06em !important;
    gap: 0.01em !important;
    color: #ffffff !important;
  }

  .hero-title-editorial .hero-line {
    gap: 0.10em !important;
  }

  .strike-word::after {
    top: 52% !important;
    height: 0.13em !important;
  }
}

/* Mobile Hero Opacity & Overlay Customization */
@media (max-width: 768px) {
  .hero-image,
  .hero-visual {
    opacity: 1 !important;
  }

  .hero-image img,
  .hero-visual img {
    opacity: 1 !important;
    filter: none !important;
  }

  .hero-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.22) 32%,
        rgba(0, 0, 0, 0.58) 70%,
        rgba(0, 0, 0, 0.74) 100%
      ) !important;
  }

  .hero-grid::before {
    opacity: 0.08 !important;
  }

  .hero-content {
    z-index: 3 !important;
  }

  .hero-title,
  .hero h1 {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  }

  .hero-subtitle,
  .hero p {
    color: rgba(255, 255, 255, 0.88) !important;
    opacity: 1 !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  }

  .hero .section-label,
  .hero-label,
  .hero-trust,
  .trust-line {
    color: rgba(255, 255, 255, 0.78) !important;
    opacity: 1 !important;
  }

  .hero-mobile-pills span {
    color: rgba(255, 255, 255, 0.88) !important;
    border-color: rgba(255, 255, 255, 0.30) !important;
    background: rgba(0, 0, 0, 0.22) !important;
  }

  .hero .btn-primary {
    background: #ffffff !important;
    color: #111111 !important;
    border-color: #ffffff !important;
    opacity: 1 !important;
  }

  .hero .btn-secondary {
    background: rgba(0, 0, 0, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.76) !important;
    opacity: 1 !important;
  }
}

/* ====================================================
   About The Studio Section - Mobile Responsiveness
   ==================================================== */
.about h2 span,
.about-section h2 span {
  display: inline;
}

.about-line-nowrap {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .about h2 span,
  .about-section h2 span {
    display: block;
  }

  .about,
  .about-section {
    padding: 40px 12px !important;
  }

  .about-card,
  .about-wrapper,
  .about-inner {
    padding: 28px 18px !important;
    border-radius: 30px !important;
    min-height: auto !important;
  }

  .about-grid,
  .about-content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .about .section-label,
  .about-section .section-label,
  .about .editorial-mark,
  .about-section .editorial-mark {
    font-size: 9.5px !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 18px !important;
  }

  .about h2,
  .about-section h2 {
    font-size: clamp(29px, 7.7vw, 36px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.045em !important;
    margin-bottom: 20px !important;
  }

  .about p,
  .about-section p {
    font-size: 13.8px !important;
    line-height: 1.48 !important;
    margin-bottom: 0 !important;
  }

  .about-visual,
  .about-visual-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 4px !important;
    min-height: auto !important;
  }

  .about-visual-main,
  .about-image-main {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    aspect-ratio: 16 / 11 !important;
    max-height: none !important;
    border-radius: 24px !important;
  }

  .about-visual-item,
  .about-image-vertical,
  .about-image-detail {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    max-height: none !important;
    border-radius: 20px !important;
  }

  .about-visual img,
  .about-visual-grid img,
  .about-visual-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }
}

@media (max-width: 430px) {
  .about-card,
  .about-wrapper,
  .about-inner {
    padding: 26px 16px !important;
    border-radius: 28px !important;
  }

  .about h2,
  .about-section h2 {
    font-size: clamp(28px, 7.5vw, 34px) !important;
    line-height: 1.05 !important;
  }

  .about p,
  .about-section p {
    font-size: 13.5px !important;
    line-height: 1.46 !important;
  }

  .about-visual-main,
  .about-image-main {
    aspect-ratio: 4 / 3 !important;
  }

  .about-visual,
  .about-visual-grid {
    gap: 10px !important;
  }
}

/* ====================================================
   Portfolio Section Tabs - Mobile Responsiveness
   ==================================================== */
@media (max-width: 768px) {
  .project-tabs,
  .portfolio-tabs,
  .project-tab-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 24px !important;
    flex-direction: row !important;
  }

  .project-tab,
  .portfolio-tab {
    width: 100% !important;
    min-width: 0 !important;
    padding: 13px 10px !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    border-radius: 999px !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .project-tab.active,
  .portfolio-tab.active {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
  }
}

@media (max-width: 430px) {
  .project-tabs,
  .portfolio-tabs,
  .project-tab-wrapper {
    gap: 8px !important;
  }

  .project-tab,
  .portfolio-tab {
    padding: 12px 8px !important;
    font-size: 11.5px !important;
  }
}

/* ====================================================
   Portfolio Project Cards - Mobile Responsiveness
   ==================================================== */
@media (max-width: 768px) {
  .project-tags,
  .portfolio-tags,
  .case-study-tags,
  .project-space-tags {
    display: none !important;
  }

  .project-intro-card,
  .project-card,
  .case-study-card {
    padding: 24px 18px !important;
  }

  .project-intro-card h3,
  .project-card h3,
  .case-study-card h3 {
    font-size: clamp(32px, 8.5vw, 42px) !important;
    line-height: 1.02 !important;
    margin-bottom: 18px !important;
  }

  .project-intro-card p,
  .project-card p,
  .case-study-card p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 0 !important;
  }
}





