/* ==========================================================================
   FOURLINE INTERIORS - LUXURY ARCHITECTURAL DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cinzel:wght@400;500;600;700&display=swap');

:root {
  /* Core Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F6F2;
  --bg-warm: #F2EDE4;
  --bg-dark: #0F0F0F;
  --bg-dark-surface: #181716;
  --bg-dark-card: #201F1D;
  
  /* Text & Typography */
  --text-primary: #121212;
  --text-secondary: #4A4642;
  --text-muted: #7E7870;
  --text-light: #F7F5F0;
  --text-light-muted: #A8A29A;
  
  /* Luxury Gold Accent */
  --gold-primary: #C89A55;
  --gold-hover: #D8AA67;
  --gold-dark: #A37936;
  --gold-subtle: rgba(200, 154, 85, 0.12);
  --gold-glow: rgba(200, 154, 85, 0.25);
  
  /* Fourline Iconic Brand Colors */
  --line-red: #E63946;
  --line-orange: #FB8500;
  --line-yellow: #FFB703;
  --line-blue: #0077B6;
  
  /* Architectural Borders */
  --border-subtle: rgba(18, 18, 18, 0.08);
  --border-medium: rgba(18, 18, 18, 0.16);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-dark-hover: rgba(200, 154, 85, 0.4);
  
  /* Typography Scale */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cinzel', serif;
  
  /* Layout Spacing */
  --container-max: 1440px;
  --container-pad: clamp(1rem, 4vw, 3.5rem);
  --section-pad: clamp(3.5rem, 8vw, 8rem);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Reset & Global Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
  width: 100%;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

ul, ol {
  list-style: none;
}

::selection {
  background-color: var(--gold-primary);
  color: #FFFFFF;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #F4EFEA;
}
::-webkit-scrollbar-thumb {
  background: #C89A55;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A37936;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  position: relative;
}

/* Section Header Typography */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.section-tag .tag-line {
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background-color: var(--gold-primary);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-title.light {
  color: var(--text-light);
}

.section-subtitle {
  font-size: clamp(0.9375rem, 1.25vw, 1.1875rem);
  color: var(--text-secondary);
  max-width: 680px;
  font-weight: 300;
  line-height: 1.75;
}

.section-subtitle.light {
  color: var(--text-light-muted);
}

/* 4-Color Brand Bar Micro-Component */
.fourline-brand-bar {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.fourline-brand-bar span {
  display: inline-block;
  height: 3px;
  border-radius: 1.5px;
}
.fourline-brand-bar .line-1 { width: 10px; background: var(--line-red); }
.fourline-brand-bar .line-2 { width: 10px; background: var(--line-orange); }
.fourline-brand-bar .line-3 { width: 10px; background: var(--line-yellow); }
.fourline-brand-bar .line-4 { width: 10px; background: var(--line-blue); }

/* ==========================================================================
   Custom Luxury Cursor (Desktop only)
   ========================================================================== */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s, opacity 0.3s;
  opacity: 0;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 154, 85, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0;
}

body.cursor-active .custom-cursor,
body.cursor-active .cursor-follower {
  opacity: 1;
}

.cursor-hover .custom-cursor {
  width: 12px;
  height: 12px;
  background-color: var(--gold-hover);
}

.cursor-hover .cursor-follower {
  width: 54px;
  height: 54px;
  border-color: var(--gold-primary);
  background-color: rgba(200, 154, 85, 0.08);
}

@media (pointer: coarse), (max-width: 1024px) {
  .custom-cursor,
  .cursor-follower {
    display: none !important;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: padding 0.35s ease, background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
  padding: 1.25rem 0;
  background-color: transparent;
}

.site-header.scrolled {
  padding: 0.875rem 0;
  background-color: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.brand-logo-link {
  display: flex;
  align-items: center;
  z-index: 1002;
}

.brand-logo-link .logo-img {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease, height 0.3s ease;
}

.site-header.scrolled .brand-logo-link .logo-img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--gold-primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-header-cta:hover {
  border-color: var(--gold-primary);
  background-color: var(--gold-primary);
  color: #111111;
  box-shadow: 0 4px 20px rgba(200, 154, 85, 0.35);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
  z-index: 1003;
  padding: 0;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background-color: #FFFFFF;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

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

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: #0C0C0C;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem 1.75rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-drawer .mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-bottom: 2rem;
}

.mobile-drawer .mobile-nav-link {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  color: var(--text-light);
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  padding: 0.25rem 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-drawer .mobile-nav-link .nav-num {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.mobile-drawer .mobile-nav-link:hover,
.mobile-drawer .mobile-nav-link.active {
  color: var(--gold-primary);
  padding-left: 0.5rem;
}

.mobile-drawer-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer-contact {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: clamp(7rem, 14vw, 9.5rem) 0 clamp(4rem, 8vw, 6rem);
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.8) 0%,
    rgba(15, 15, 15, 0.6) 50%,
    rgba(15, 15, 15, 0.92) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 6.5vw, 5.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  word-break: break-word;
}

.hero-headline span.gold-text {
  color: var(--gold-primary);
  font-style: italic;
  font-weight: 300;
}

.hero-paragraph {
  font-size: clamp(0.9375rem, 1.3vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 2rem;
  background-color: var(--gold-primary);
  color: #111111;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition-smooth);
  border: 1px solid var(--gold-primary);
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #111111;
  box-shadow: 0 8px 20px rgba(200, 154, 85, 0.4);
}

/* Secondary Outlined Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.875rem;
  background: transparent;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-secondary:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* Floating Studio Badge */
.hero-floating-meta {
  position: absolute;
  right: var(--container-pad);
  bottom: 3.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.hero-floating-meta .meta-item {
  display: flex;
  flex-direction: column;
}

.hero-floating-meta .meta-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-light-muted);
}

.hero-floating-meta .meta-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.hero-floating-meta .meta-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  left: var(--container-pad);
  bottom: 3rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-indicator .scroll-mouse {
  width: 18px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  position: relative;
}

.hero-scroll-indicator .scroll-wheel {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  height: 5px;
  background-color: var(--gold-primary);
  border-radius: 2px;
  animation: scrollBob 2s infinite ease-in-out;
}

@keyframes scrollBob {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 8px); opacity: 0; }
}

/* ==========================================================================
   Brand Introduction (Split Screen)
   ========================================================================== */

.intro-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.intro-left {
  position: relative;
}

.intro-section-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--gold-primary);
  opacity: 0.35;
  margin-bottom: 0.75rem;
}

.intro-lead-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.intro-text-body {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.intro-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.pillar-item h4 {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.pillar-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.intro-right-image-wrapper {
  position: relative;
}

.intro-image-main {
  width: 100%;
  height: clamp(320px, 40vw, 520px);
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.intro-floating-card {
  position: absolute;
  bottom: -1.75rem;
  left: -1.75rem;
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding: 1.5rem;
  max-width: 260px;
  border-radius: 2px;
  border-left: 3px solid var(--gold-primary);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.intro-floating-card .card-quote {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.intro-floating-card .card-author {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
}

/* ==========================================================================
   Featured Projects (Selected Projects)
   ========================================================================== */

.projects-section {
  background-color: var(--bg-primary);
}

.projects-header-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.75rem;
  gap: 1.5rem;
}

.project-filter-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.project-filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 0.5rem 1.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  border-radius: 2px;
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.filter-btn.active {
  background-color: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

/* Asymmetric Masonry Project Grid */
.projects-masonry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background-color: var(--bg-secondary);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3) { grid-column: span 5; }
.project-card:nth-child(4) { grid-column: span 7; }
.project-card:nth-child(5) { grid-column: span 6; }
.project-card:nth-child(6) { grid-column: span 6; }

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-image-box {
  position: relative;
  width: 100%;
  height: clamp(320px, 35vw, 480px);
  overflow: hidden;
}

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

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

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 18, 0.1) 30%,
    rgba(18, 18, 18, 0.88) 100%
  );
  opacity: 0.95;
}

.project-badge-top {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.project-card-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  z-index: 5;
  color: #FFFFFF;
}

.project-meta-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.35rem;
}

.project-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 400;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.project-card:hover .project-card-title {
  color: var(--gold-primary);
}

.project-view-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  transition: all 0.3s ease;
}

/* ==========================================================================
   Fourline Concept Section ("FOUR LINES. ONE VISION.")
   ========================================================================== */

.fourline-concept-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.concept-header-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.concept-grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.concept-card {
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 1.75rem);
  position: relative;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.concept-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.concept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.concept-card.pillar-vision::before { background-color: var(--line-red); }
.concept-card.pillar-function::before { background-color: var(--line-orange); }
.concept-card.pillar-craft::before { background-color: var(--line-yellow); }
.concept-card.pillar-experience::before { background-color: var(--line-blue); }

.concept-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.concept-card.pillar-vision .concept-number { color: var(--line-red); }
.concept-card.pillar-function .concept-number { color: var(--line-orange); }
.concept-card.pillar-craft .concept-number { color: var(--line-yellow); }
.concept-card.pillar-experience .concept-number { color: var(--line-blue); }

.concept-title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.concept-desc {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ==========================================================================
   Services Section ("WHAT WE DO")
   ========================================================================== */

.services-section {
  background-color: var(--bg-warm);
}

.services-list {
  display: flex;
  flex-direction: column;
  margin-top: 2.75rem;
}

.service-item {
  display: grid;
  grid-template-columns: 60px 1.4fr 2fr 40px;
  align-items: center;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border-medium);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-item:last-child {
  border-bottom: 1px solid var(--border-medium);
}

.service-item:hover {
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: #FFFFFF;
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.service-name {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 400;
  color: var(--text-primary);
}

.service-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-right: 1rem;
}

.service-action {
  text-align: right;
  font-size: 1.25rem;
  color: var(--gold-primary);
}

/* ==========================================================================
   Design Process ("FROM IDEA TO REALITY")
   ========================================================================== */

.process-section {
  background-color: var(--bg-primary);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 5%;
  width: 90%;
  height: 1.5px;
  background: var(--border-medium);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
}

.step-node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.process-step:hover .step-node {
  border-color: var(--gold-primary);
  background-color: var(--gold-primary);
  color: #111111;
  transform: scale(1.05);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Why Fourline Section
   ========================================================================== */

.why-section {
  background-color: var(--bg-secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.why-image-wrapper {
  position: relative;
}

.why-image {
  width: 100%;
  height: clamp(340px, 45vw, 560px);
  object-fit: cover;
  border-radius: 2px;
}

.why-image-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.why-image-badge .badge-stat {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
}

.why-image-badge .badge-txt {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light-muted);
}

.why-qualities-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-quality-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.why-quality-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.why-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
  padding-top: 0.25rem;
}

.why-content h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.why-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Project Statistics (Dark Section with Counters)
   ========================================================================== */

.stats-section {
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.stat-box {
  text-align: center;
  padding: 1.5rem 0.5rem;
  position: relative;
}

.stat-box:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold-primary);
}

.stat-suffix {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Interactive Cost Estimator
   ========================================================================== */

.calculator-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.calculator-container-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2.75rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.calc-options-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc-group-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.calc-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc-chip {
  padding: 0.625rem 1rem;
  border: 1px solid var(--border-medium);
  background: #FFFFFF;
  border-radius: 2px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-chip:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.calc-chip.active {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

.calc-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #DDD7CD;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.calc-area-value {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.calc-result-card {
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid var(--gold-primary);
  gap: 1.5rem;
}

.calc-result-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-light-muted);
  margin-bottom: 0.35rem;
}

.calc-price-display {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.5vw, 3.25rem);
  font-weight: 500;
  color: var(--gold-primary);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}

.calc-breakdown-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.calc-breakdown-item span:last-child {
  color: #FFFFFF;
  font-weight: 600;
  text-align: right;
}

/* ==========================================================================
   Interactive Before & After Section
   ========================================================================== */

.before-after-section {
  background-color: var(--bg-secondary);
}

.before-after-container {
  position: relative;
  width: 100%;
  height: clamp(280px, 45vw, 550px);
  max-width: 1100px;
  margin: 2.75rem auto 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  user-select: none;
  cursor: ew-resize;
  touch-action: pan-y;
}

.ba-image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-image-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrapper {
  z-index: 1;
}

.ba-after-wrapper {
  z-index: 2;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  -webkit-clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.ba-badge {
  position: absolute;
  bottom: clamp(1rem, 2vw, 1.75rem);
  padding: 0.35rem 0.875rem;
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: clamp(0.625rem, 1vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 5;
  white-space: nowrap;
}

.ba-badge.badge-before { left: clamp(1rem, 2vw, 1.75rem); color: #E63946; }
.ba-badge.badge-after { right: clamp(1rem, 2vw, 1.75rem); color: var(--gold-primary); }

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background-color: #FFFFFF;
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background-color: var(--gold-primary);
  color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  border: 2px solid #FFFFFF;
}

/* ==========================================================================
   Visual Journal / Instagram Feed
   ========================================================================== */

.journal-section {
  background-color: var(--bg-primary);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.journal-item {
  position: relative;
  overflow: hidden;
  height: clamp(180px, 20vw, 260px);
  border-radius: 2px;
  cursor: pointer;
}

.journal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.journal-item:hover img {
  transform: scale(1.06);
}

.journal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #FFFFFF;
}

.journal-item:hover .journal-overlay {
  opacity: 1;
}

.journal-overlay .insta-icon {
  color: var(--gold-primary);
  margin-bottom: 0.35rem;
}

.journal-overlay .journal-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.journal-overlay .journal-handle {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
}

.journal-cta-box {
  text-align: center;
  margin-top: 2.75rem;
}

/* ==========================================================================
   Contact CTA Section
   ========================================================================== */

.contact-section {
  position: relative;
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  overflow: hidden;
}

.contact-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.contact-overlay-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(15, 15, 15, 0.75) 0%, rgba(15, 15, 15, 0.96) 100%);
}

.contact-wrapper {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.contact-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.contact-lead {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: var(--text-light-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.info-detail-text .info-type {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-light-muted);
}

.info-detail-text .info-val {
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 600;
  color: #FFFFFF;
  word-break: break-word;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: 4px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border-top: 3px solid var(--gold-primary);
}

.form-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.form-group {
  margin-bottom: 1.125rem;
}

.form-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light-muted);
  margin-bottom: 0.35rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.8125rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px; /* Prevents iOS auto-zoom */
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
}

.form-select option {
  background: var(--bg-dark);
  color: #FFFFFF;
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-status-msg {
  display: none;
  padding: 0.875rem;
  border-radius: 2px;
  margin-top: 1rem;
  font-size: 0.8125rem;
  text-align: center;
}
.form-status-msg.success {
  display: block;
  background: rgba(42, 157, 143, 0.2);
  border: 1px solid var(--line-blue);
  color: #72efdd;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #0A0A0A;
  color: var(--text-light-muted);
  padding: clamp(4rem, 7vw, 6rem) 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-brand-col .footer-logo-img {
  height: 50px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand-col .footer-tagline {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.8125rem;
  color: var(--text-light-muted);
  transition: color 0.2s ease;
}

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

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  border-color: var(--gold-primary);
  background-color: var(--gold-primary);
  color: #111111;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.back-to-top-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==========================================================================
   Project Detail Modal View
   ========================================================================== */

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-content-wrapper {
  background: #151515;
  color: #FFFFFF;
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: sticky;
  top: 1rem;
  right: 1rem;
  float: right;
  z-index: 50;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #111111;
}

.modal-hero-image {
  width: 100%;
  height: clamp(260px, 35vw, 460px);
  object-fit: cover;
}

.modal-body-padding {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.modal-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.modal-chip {
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.modal-project-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.modal-project-tagline {
  font-size: 1rem;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
  font-weight: 300;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

.modal-spec-item .spec-lbl {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-light-muted);
}

.modal-spec-item .spec-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-top: 0.2rem;
}

.modal-narrative-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.modal-materials-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.875rem;
}

.material-chip-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.625rem 0.875rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.material-color-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.modal-gallery-grid img {
  width: 100%;
  height: clamp(200px, 25vw, 300px);
  object-fit: cover;
  border-radius: 2px;
}

/* ==========================================================================
   Floating Contact Action Bar (Call & WhatsApp CTAs)
   ========================================================================== */

.floating-contact-bar {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.floating-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #FFFFFF;
  padding: 0.5rem 1.125rem 0.5rem 0.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

/* Call Button */
.floating-cta-btn.call-btn {
  border: 1px solid rgba(200, 154, 85, 0.45);
}

.floating-cta-btn.call-btn:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(200, 154, 85, 0.35);
}

.cta-icon-box.call-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DFB270 0%, #C89A55 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(200, 154, 85, 0.4);
  animation: callPulse 2.8s infinite ease-in-out;
}

@keyframes callPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200, 154, 85, 0.6); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(200, 154, 85, 0); }
}

/* WhatsApp Button */
.floating-cta-btn.whatsapp-btn {
  border: 1px solid rgba(37, 211, 102, 0.45);
}

.floating-cta-btn.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #25D366;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 211, 102, 0.35);
}

.cta-icon-box.wa-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
  animation: waPulse 2.8s infinite ease-in-out 1.4s;
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
}

.cta-btn-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .floating-contact-bar {
    bottom: 18px;
    right: 18px;
    gap: 0.625rem;
  }
  .floating-cta-btn {
    padding: 0.4rem 0.875rem 0.4rem 0.4rem;
  }
  .cta-icon-box.call-icon,
  .cta-icon-box.wa-icon {
    width: 34px;
    height: 34px;
  }
  .cta-btn-text {
    font-size: 0.6875rem;
  }
}

/* 1. Large Tablets / Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .intro-grid,
  .why-grid,
  .contact-wrapper,
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .concept-grid-four {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-item {
    grid-template-columns: 50px 1.4fr 1.8fr;
  }
  .service-action {
    display: none;
  }
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 2rem;
  }
  .process-timeline::before {
    top: 0;
    left: 48px;
    width: 2px;
    height: 100%;
  }
  .process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .step-node {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-box:nth-child(2)::after {
    display: none;
  }
  .journal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .modal-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal-narrative-grid {
    grid-template-columns: 1fr;
  }
  .project-card:nth-child(n) {
    grid-column: span 6;
  }
}

/* 2. Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.25rem;
    --section-pad: 4rem;
  }

  .site-header {
    padding: 0.875rem 0;
  }
  .brand-logo-link .logo-img {
    height: 36px;
  }
  .btn-header-cta {
    display: none; /* Keep header clean on mobile, available in mobile drawer */
  }

  .hero-section {
    padding: 6.5rem 0 3.5rem;
    min-height: auto;
  }
  .hero-headline {
    font-size: 2.5rem;
  }
  .hero-floating-meta,
  .hero-scroll-indicator {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .intro-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }
  .intro-pillars {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(n) {
    grid-column: span 12;
  }
  .project-image-box {
    height: 320px !important;
  }

  .concept-grid-four {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem 0;
  }
  .service-description {
    padding-right: 0;
  }

  .process-timeline {
    padding-left: 0;
  }
  .process-timeline::before {
    display: none;
  }
  .process-step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stat-box {
    padding: 1rem 0.25rem;
  }
  .stat-box::after {
    display: none !important;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .before-after-container {
    height: 320px;
  }
  .modal-specs-grid {
    grid-template-columns: 1fr;
  }
  .modal-materials-list {
    grid-template-columns: 1fr;
  }
  .modal-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* 3. Small Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.15rem;
  }
  .section-title {
    font-size: 1.875rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .calc-chips-grid {
    flex-direction: column;
  }
  .calc-chip {
    width: 100%;
    text-align: center;
  }
  .before-after-container {
    height: 260px;
  }
}
