/* ==========================================================================
   ABSTRACT SPACES DESIGN STUDIO - MASTER STYLESHEET
   "Quiet Luxury", Modernism & High Contrast Black & White Architectural UI
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Manrope:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

/* --------------------------------------------------------------------------
   DESIGN TOKENS & CSS VARIABLES (Black & White Editorial UI)
   Accents: Delicately placed Champagne Gold & Brushed Brass
   -------------------------------------------------------------------------- */
:root {
  /* Architectural Monochrome Foundation (Pure Black & White UI) */
  --bg-primary: #ffffff;
  --bg-secondary: #f7f7f7;
  --bg-tertiary: #eeeeee;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-glass-heavy: rgba(255, 255, 255, 0.98);
  --bg-glass-light: rgba(0, 0, 0, 0.03);

  /* Deep Black Editorial Contrast Sections */
  --bg-dark: #0a0a0a;
  --bg-dark-secondary: #141414;
  --bg-dark-tertiary: #1c1c1c;
  --bg-dark-card: #161616;

  /* Typography Colors (High Contrast Monochromes) */
  --text-primary: #0a0a0a;
  --text-secondary: #4a4a48;
  --text-muted: #787875;
  --text-inverse: #ffffff;
  --text-inverse-muted: #a3a3a3;

  /* Crisp Monochrome Borders */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.16);
  --border-light: rgba(0, 0, 0, 0.28);
  --border-dark: rgba(255, 255, 255, 0.14);

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, 0.5);

  /* ------------------------------------------------------------------------
     SUBTLE METALLIC ACCENTS (Champagne Gold & Brushed Brass)
     Used sparingly and purposefully as delicate luxury whispers:
     - Brushed Brass (#bda177): delicate hairline rules, badge outlines, icon ring
     - Champagne Gold (#d8c5a2): italic emphasis, luxury quote accents
     ------------------------------------------------------------------------ */
  --brass-primary: #bda177;
  --brass-dark: #9e835c;
  --brass-border: rgba(189, 161, 119, 0.35);
  --brass-glow: rgba(189, 161, 119, 0.15);

  --champagne-gold: #eedfc7;
  --champagne-light: #f8f4ec;
  --champagne-border: rgba(238, 223, 199, 0.35);
  --champagne-glow: rgba(238, 223, 199, 0.14);

  /* Compatibility bindings for legacy rules */
  --gold-primary: var(--brass-primary);
  --gold-hover: #0a0a0a;
  --gold-muted: var(--champagne-gold);
  --gold-dark: var(--brass-dark);
  --gold-glow: var(--brass-glow);
  --gold-border: var(--brass-border);

  /* Fonts - High-clarity luxury editorial typography */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Spacing & Layout */
  --container-max: 1380px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 8vw, 8rem);
  --nav-height: 68px;

  /* Transitions */
  --ease-luxury: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.25s var(--ease-smooth);
  --transition-base: 0.45s var(--ease-luxury);
  --transition-slow: 0.8s var(--ease-luxury);
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   GLOBAL MINIMAL LUXURY CHAMPAGNE SCROLLBAR (ALL ELEMENTS & TEXTAREAS)
   ========================================================================== */
/* Universal Webkit Scrollbar (Window, Modals, Divs, Drawers, Textareas) */
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: #d4c2a5; /* Minimal Champagne Gold */
  border-radius: 99px;
  transition: background-color 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #bda177; /* Rich Brushed Brass on hover */
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

/* Remove ugly browser arrow buttons on all scrollbars */
*::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Universal Firefox Support */
* {
  scrollbar-width: thin;
  scrollbar-color: #d4c2a5 transparent;
}

/* Textarea & Inputs Custom Scrollbar */
textarea::-webkit-scrollbar,
input::-webkit-scrollbar,
select::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

textarea::-webkit-scrollbar-track {
  background: #faf8f5;
  border-radius: 99px;
}

textarea::-webkit-scrollbar-thumb {
  background-color: #d4c2a5;
  border-radius: 99px;
}

textarea::-webkit-scrollbar-thumb:hover {
  background-color: #bda177;
}

textarea {
  scrollbar-width: thin;
  scrollbar-color: #d4c2a5 #faf8f5;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

img, picture, video {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 500;
  line-height: 1.12;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.18;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.25rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

p {
  font-size: clamp(0.95rem, 1.1vw, 1.06rem);
  color: var(--text-secondary);
  line-height: 1.75;
}

.text-gold, .text-brass {
  color: var(--brass-primary);
}

.text-champagne {
  color: var(--champagne-gold);
}

.font-italic {
  font-style: italic;
  font-family: var(--font-serif);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--brass-primary);
}

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

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

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

.section-black {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.section-black h1,
.section-black h2,
.section-black h3,
.section-black h4,
.section-black h5,
.section-black h6 {
  color: #ffffff;
}

.section-black p {
  color: var(--text-inverse-muted);
}

.section-black .eyebrow {
  color: #ffffff;
}

.section-black .eyebrow::before {
  background: var(--champagne-gold);
}

.section-header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-header.text-center {
  text-align: center;
}

.section-header.text-center .eyebrow {
  justify-content: center;
}

.section-header.text-center .eyebrow::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--brass-primary);
}

.section-subtitle {
  max-width: 680px;
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.section-header.text-center .section-subtitle {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   BUTTONS & CTAS (Editorial Luxe Pill Styles Matching User Reference)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2.25rem;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  z-index: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

/* 1. Solid Dark Pill Button (with subtle warm/brass hairline accent) */
.btn-gold, .btn-primary, .btn-dark, .btn-minimal-black {
  background: #141414;
  color: #ffffff;
  border: 1px solid rgba(189, 161, 119, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.btn-gold:hover, .btn-primary:hover, .btn-dark:hover, .btn-minimal-black:hover {
  background: #242424;
  color: #ffffff;
  border-color: var(--brass-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* 2. Outline Pill Button (crisp dark hairline border) */
.btn-outline, .btn-minimal-outline {
  border: 1.2px solid #141414;
  color: #141414;
  background: transparent;
}

.btn-outline:hover, .btn-minimal-outline:hover {
  border-color: #141414;
  background: #141414;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-outline-gold {
  border: 1px solid rgba(0, 0, 0, 0.22);
  color: #0a0a0a;
  background: transparent;
}

.btn-outline-gold:hover {
  border-color: var(--brass-primary);
  color: #ffffff;
  background: #0a0a0a;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.75rem 1.6rem;
  font-size: 0.7rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0a;
  position: relative;
  padding-bottom: 4px;
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--brass-primary);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.btn-link:hover::after {
  transform: scaleX(1);
}

.btn-link i, .btn-link svg {
  transition: transform var(--transition-fast);
}

.btn-link:hover i, .btn-link:hover svg {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION (Minimal Editorial Luxe Bar)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.03);
  transition: background-color var(--transition-base), border-color var(--transition-base), backdrop-filter var(--transition-base), height var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 62px;
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand Logo (Full Brand Identity) */
.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.brand-logo-img {
  width: auto;
  height: 35px;
  max-width: 225px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast), transform var(--transition-fast), height var(--transition-fast);
}

.brand-link:hover .brand-logo-img {
  opacity: 0.8;
  transform: scale(0.98);
}

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

[data-theme="dark"] .site-header .brand-logo-img {
  filter: invert(1);
}

/* Nav Menu (Minimal Quiet Luxury) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111111;
  padding: 0.5rem 0;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.nav-link:hover, .nav-link.active {
  color: #000000;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav Actions (Minimal Outline Pill CTA / Mobile Circular Call Icon) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.nav-inquire-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: transparent;
  border: 1px solid #0a0a0a;
  padding: 0.5rem 1.35rem;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-inquire-pill .nav-btn-icon {
  font-size: 0.72rem;
  transition: transform var(--transition-fast);
}

.nav-inquire-pill:hover {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.nav-inquire-pill:hover .nav-btn-icon {
  transform: scale(1.12);
}

/* Mobile Screen (<= 868px): Convert Contact into a Sleek 38px Circular Call Icon Button */
@media (max-width: 868px) {
  .site-header .nav-actions {
    gap: 0.65rem;
  }

  .site-header .nav-actions .nav-inquire-pill {
    display: inline-flex !important;
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(0, 0, 0, 0.14) !important;
    background: transparent;
    color: #0a0a0a !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .site-header .nav-actions .nav-inquire-pill .nav-btn-text {
    display: none !important;
  }

  .site-header .nav-actions .nav-inquire-pill .nav-btn-icon {
    font-size: 0.85rem;
    margin: 0;
  }

  .site-header .nav-actions .nav-inquire-pill:hover,
  .site-header .nav-actions .nav-inquire-pill:active {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border-color: #0a0a0a !important;
    transform: scale(1.05);
  }
}

.theme-toggle-btn {
  display: none;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1010;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle:hover {
  border-color: #0a0a0a;
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #0a0a0a;
  transition: all var(--transition-fast);
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu Overlay - Animated Left to Right */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 1005;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-height) + 2rem) clamp(1.5rem, 5vw, 2.5rem) 2.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease, visibility 0.42s;
  overflow-y: auto;
  will-change: transform, opacity;
}

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

.mobile-drawer-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-drawer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
}

.mobile-drawer-brand img {
  width: auto;
  height: 30px;
  max-width: 195px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast);
}

.mobile-drawer-brand:hover img {
  opacity: 0.8;
}

[data-theme="dark"] .mobile-drawer-brand img {
  filter: invert(1);
}

/* Minimal Luxury Close Button (No bulky circular block) */
.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-fast), background var(--transition-fast);
  outline: none;
}

.mobile-drawer-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  pointer-events: none;
}

.mobile-drawer-close i {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1;
  pointer-events: none;
}

.mobile-drawer-close:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--champagne-gold);
  transform: rotate(90deg);
}

[data-theme="dark"] .mobile-drawer {
  background: rgba(14, 14, 14, 0.98);
}

[data-theme="dark"] .mobile-drawer-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .mobile-drawer-close {
  background: transparent;
  border: none;
  color: #ffffff;
}

[data-theme="dark"] .mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--champagne-gold);
  transform: rotate(90deg);
}

/* Staggered Left-to-Right Entrance for Nav Links */
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: auto;
  margin-bottom: auto;
  padding: 1.5rem 0;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.5vw, 2.3rem);
  color: var(--text-primary);
  text-decoration: none;
  display: inline-block;
  opacity: 0;
  transform: translateX(-24px);
  transition: color var(--transition-fast), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s ease;
}

.mobile-drawer.open .mobile-nav-link {
  opacity: 1;
  transform: translateX(0);
}

.mobile-drawer.open .mobile-nav-list li:nth-child(1) .mobile-nav-link { transition-delay: 0.10s; }
.mobile-drawer.open .mobile-nav-list li:nth-child(2) .mobile-nav-link { transition-delay: 0.15s; }
.mobile-drawer.open .mobile-nav-list li:nth-child(3) .mobile-nav-link { transition-delay: 0.20s; }
.mobile-drawer.open .mobile-nav-list li:nth-child(4) .mobile-nav-link { transition-delay: 0.25s; }
.mobile-drawer.open .mobile-nav-list li:nth-child(5) .mobile-nav-link { transition-delay: 0.30s; }

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--champagne-gold);
  transform: translateX(6px);
}

.mobile-drawer-footer {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.mobile-drawer.open .mobile-drawer-footer {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   HERO SECTION (Cinematic Scale & Atmospheric Elegance)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s var(--ease-luxury), transform 8s ease-out;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(
      0deg,
      rgba(214, 192, 152, 0.55) 0%,
      rgba(224, 206, 172, 0.38) 22%,
      rgba(235, 222, 196, 0.20) 48%,
      rgba(244, 236, 219, 0.06) 72%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.75) 45%,
      rgba(255, 255, 255, 0.88) 85%,
      rgba(255, 255, 255, 1) 100%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #0a0a0a;
  max-width: 800px;
}

.hero-description {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.75rem);
  font-weight: 400;
  color: #0a0a0a;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-num .stat-plus {
  color: var(--brass-primary);
  font-size: 0.8em;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero Controls & Scroll Indicator */
.hero-controls {
  position: absolute;
  bottom: 2.5rem;
  right: var(--container-pad);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-dot {
  width: 28px;
  height: 2px;
  background: var(--border-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot.active {
  background: #0a0a0a;
  width: 44px;
}

/* --------------------------------------------------------------------------
   BRAND MANIFESTO / ABOUT SECTION (Editorial Split)
   -------------------------------------------------------------------------- */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}

.manifesto-content h2 {
  margin-bottom: 1.75rem;
}

.manifesto-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.manifesto-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-block: 2.5rem;
}

.pillar-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-item:hover {
  transform: translateX(6px);
  border-color: var(--brass-border);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--brass-primary);
  font-weight: 400;
  line-height: 1;
}

.pillar-text h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0a0a0a;
  margin-bottom: 0.35rem;
}

.pillar-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Manifesto Visual Composition */
.manifesto-visual {
  position: relative;
}

.visual-frame-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  border: 1px solid var(--border-subtle);
}

.visual-frame-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.visual-frame-main:hover img {
  transform: scale(1.04);
}

.visual-frame-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  padding: 1.75rem 2rem;
  background: #0a0a0a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: var(--shadow-dark);
  max-width: 260px;
}

.visual-frame-badge p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.visual-frame-badge span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne-gold);
}

/* --------------------------------------------------------------------------
   PORTFOLIO SHOWCASE (Filterable Asymmetric Grid)
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #555555;
  background: #ffffff;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #000000;
  border-color: #000000;
}

.filter-btn.active {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

/* Equal 2-Column Luxury Cards */
.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  grid-column: span 1 !important;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.project-card.span-6,
.project-card.span-4,
.project-card.span-8,
.project-card.span-12 {
  grid-column: span 1 !important;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brass-border);
}

.project-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/11 !important;
  overflow: hidden;
}

.project-card.span-4 .project-thumb-wrap,
.project-card.span-6 .project-thumb-wrap,
.project-card.span-8 .project-thumb-wrap,
.project-card .project-thumb-wrap {
  aspect-ratio: 16/11 !important;
}

.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-luxury);
}

.project-card:hover .project-thumb {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 40%,
    rgba(10, 10, 10, 0.85) 90%
  );
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.project-info {
  padding: 1.75rem 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.project-meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.project-cat {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-primary);
}

.project-sqft {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.project-loc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.project-action-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.project-card:hover .project-action-btn {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
  transform: rotate(-45deg);
}

[data-theme="dark"] .project-action-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

[data-theme="dark"] .project-card:hover .project-action-btn {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

/* --------------------------------------------------------------------------
   PORTFOLIO CREATIVE EMPTY STATE & PRIVATE ARCHIVE NOTICE
   -------------------------------------------------------------------------- */
.portfolio-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 1.5rem 0 3.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-luxury), transform 0.5s var(--ease-luxury);
}

.portfolio-empty-state.active {
  opacity: 1;
  transform: translateY(0);
}

.empty-state-card {
  width: 100%;
  max-width: 780px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.empty-state-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brass-primary), transparent);
}

.empty-state-compass-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: subtleFloat 4s ease-in-out infinite;
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}

.empty-state-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-dark);
  background: rgba(189, 161, 119, 0.1);
  border: 1px solid var(--brass-border);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.empty-state-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.empty-state-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.8vw, 1.02rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2.25rem auto;
}

.empty-state-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.25rem 0;
  margin-bottom: 2.25rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.metric-lbl {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
}

.empty-state-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.empty-state-footer-note {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.empty-state-footer-note a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.empty-state-footer-note a:hover {
  color: var(--brass-dark);
}

@media (max-width: 600px) {
  .empty-state-card {
    padding: 2.25rem 1.25rem;
  }
  .empty-state-metrics {
    gap: 0.75rem;
  }
  .metric-num {
    font-size: 1.15rem;
  }
  .metric-lbl {
    font-size: 0.58rem;
  }
  .empty-state-btn-group .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   CURATED SERVICES (Architectural Boxed Grid)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.service-card {
  padding: 2.75rem 2.25rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: all var(--transition-base);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--brass-border);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.service-card:hover::before {
  opacity: 1;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.service-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: #0a0a0a;
  opacity: 0.85;
  white-space: nowrap;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f7f7f7;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  font-size: 1.4rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  color: #0a0a0a;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 2rem;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.service-feature::before {
  content: '•';
  color: var(--brass-primary);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   THE 4-STAGE DESIGN JOURNEY (Process)
   -------------------------------------------------------------------------- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
  margin-top: 2rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
  z-index: 0;
}

.process-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 1.75rem;
  transition: all var(--transition-base);
}

.process-card:hover {
  border-color: var(--brass-border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 1px solid var(--brass-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

.process-card:hover .process-step-num {
  transform: scale(1.08);
  background: #000000;
  border-color: var(--brass-primary);
  color: var(--champagne-gold);
}

.process-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   INTERACTIVE ESTIMATOR & CONSULTATION MODAL / SECTION
   -------------------------------------------------------------------------- */
.estimator-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.estimator-card::after {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--champagne-glow) 0%, transparent 70%);
  pointer-events: none;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
}

.estimator-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.option-group-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin-bottom: 0.85rem;
}

.choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.choice-chip {
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: #555555;
  background: #ffffff;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.choice-chip:hover {
  border-color: #0a0a0a;
  color: #0a0a0a;
}

.choice-chip.active {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.area-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-medium);
  outline: none;
}

.area-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid var(--brass-primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.area-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Estimator Live Summary */
.estimator-summary {
  background: #f7f7f7;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-spec-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.spec-name {
  color: var(--text-muted);
}

.spec-val {
  color: #0a0a0a;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS (High-Fashion Client Accolades)
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--brass-border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.quote-icon {
  font-size: 2rem;
  color: var(--champagne-gold);
  opacity: 0.75;
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 2rem;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--brass-border);
}

.client-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.client-role {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.star-rating {
  color: var(--brass-primary);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  display: flex;
  gap: 3px;
}

/* --------------------------------------------------------------------------
   EDITORIAL JOURNAL / INSIGHTS
   -------------------------------------------------------------------------- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.journal-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.journal-card:hover {
  transform: translateY(-6px);
  border-color: var(--brass-border);
  box-shadow: var(--shadow-md);
}

.journal-thumb-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.journal-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.journal-card:hover .journal-thumb {
  transform: scale(1.05);
}

.journal-body {
  padding: 2rem;
}

.journal-date {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-primary);
  margin-bottom: 0.75rem;
}

.journal-card h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  color: #0a0a0a;
}

.journal-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   CONTACT & STUDIO SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a0a0a;
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  color: #0a0a0a;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

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

/* ==========================================================================
   INTERACTIVE FORM VALIDATION (Luxury Micro-Feedback)
   ========================================================================== */
.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
  border-color: #dc2626 !important;
  background-color: #fffbfa !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14) !important;
}

.form-group.is-valid .form-input,
.form-group.is-valid .form-textarea {
  border-color: #15803d !important;
  background-color: #fafdfb !important;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.12) !important;
}

.form-feedback {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.4;
  animation: feedbackSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.form-feedback.error {
  color: #dc2626;
}

.form-feedback.success {
  color: #15803d;
}

.char-counter {
  font-size: 0.72rem;
  font-weight: 600;
  color: #888888;
  float: right;
  text-transform: none;
  letter-spacing: normal;
  transition: color 0.2s ease;
}

.char-counter.valid {
  color: #15803d;
}

.char-counter.needed {
  color: #bda177;
}

@keyframes feedbackSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes formShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.form-shake {
  animation: formShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Premium Native Select Styling (Brushed Brass Chevron & No System Default Arrow) */
select.form-select, select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23bda177' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 12px 8px;
  padding-right: 3rem;
  cursor: pointer;
}

/* ==========================================================================
   CUSTOM LUXURY SELECT COMPONENT (Quiet-Luxury Architectural Floating Menu)
   ========================================================================== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
}

.sr-only-select,
.custom-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ----------------------------------------------------
   MOBILE BEHAVIOR: NATIVE DROPDOWNS ON MOBILE DEVICES
   ---------------------------------------------------- */
@media (max-width: 768px), (pointer: coarse) {
  .custom-select-options {
    display: none !important;
  }
  .custom-select-wrapper select.sr-only-select,
  .custom-select-wrapper select.custom-native-select {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    z-index: 25 !important;
    cursor: pointer !important;
    display: block !important;
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    pointer-events: auto !important;
    clip: auto !important;
  }
}

.custom-select-trigger {
  width: 100%;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  color: #0a0a0a;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.custom-select-trigger:hover {
  border-color: var(--brass-dark);
  box-shadow: 0 4px 12px rgba(189, 161, 119, 0.12);
}

.custom-select-wrapper.open .custom-select-trigger,
.custom-select-trigger:focus {
  outline: none;
  border-color: var(--brass-dark);
  box-shadow: 0 0 0 3px rgba(189, 161, 119, 0.2);
}

.custom-select-arrow {
  color: var(--brass-dark);
  font-size: 0.75rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(189, 161, 119, 0.35);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 150;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  pointer-events: none;
  backdrop-filter: blur(16px);
}

.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.custom-select-option {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}

.custom-select-option:hover {
  background: rgba(189, 161, 119, 0.1);
  color: #0a0a0a;
  padding-left: 1.25rem;
}

.custom-select-option.selected {
  background: rgba(189, 161, 119, 0.15);
  color: var(--brass-dark);
  font-weight: 600;
}

.opt-check {
  font-size: 0.75rem;
  color: var(--brass-dark);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
}

.custom-select-option.selected .opt-check {
  opacity: 1;
  transform: scale(1);
}

/* Dark mode theme support */
[data-theme="dark"] .custom-select-trigger,
body.dark-theme .custom-select-trigger {
  background: #181818;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f5f5f5;
}

[data-theme="dark"] .custom-select-options,
body.dark-theme .custom-select-options {
  background: #141414;
  border-color: rgba(189, 161, 119, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .custom-select-option,
body.dark-theme .custom-select-option {
  color: #cccccc;
}

[data-theme="dark"] .custom-select-option:hover,
body.dark-theme .custom-select-option:hover {
  background: rgba(189, 161, 119, 0.18);
  color: #ffffff;
}

[data-theme="dark"] .custom-select-option.selected,
body.dark-theme .custom-select-option.selected {
  background: rgba(189, 161, 119, 0.25);
  color: var(--brass);
}


/* Simplified & Refined Contact Details Card */
.contact-details-clean {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.details-clean-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 500;
  line-height: 1.2;
  color: #141414;
  margin-bottom: 0.75rem;
}

.details-clean-header p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.details-clean-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.detail-clean-row {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.detail-clean-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 0.35rem;
}

.detail-clean-val {
  font-size: 1.02rem;
  color: #141414;
  line-height: 1.6;
  margin: 0;
}

.detail-clean-val a {
  color: #141414;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.detail-clean-val a:hover {
  color: var(--brass-primary);
}

.detail-clean-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* WhatsApp Clean Action Bar */
.whatsapp-clean-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #faf9f6;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  margin-top: auto;
}

.whatsapp-clean-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whatsapp-clean-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.whatsapp-clean-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #141414;
  line-height: 1.3;
}

.whatsapp-clean-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.whatsapp-clean-btn {
  font-size: 0.78rem;
  padding: 0.65rem 1.25rem;
  white-space: nowrap;
}

/* Full-Width Studio Location Map (Bottom) */
.contact-fullwidth-map {
  position: relative;
  width: 100%;
  height: 280px; /* Small height as requested */
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #e8e6df;
}

.contact-fullwidth-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-floating-pill {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 9999px;
  padding: 0.5rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.84rem;
  color: #222222;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
  white-space: nowrap;
}

.map-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #111111;
  font-weight: 600;
  font-size: 0.74rem;
  padding: 0.28rem 0.75rem;
  background: #f0eee6;
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.map-pill-link:hover {
  background: #111111;
  color: #ffffff;
}

/* Dark Mode Overrides for Contact */
[data-theme="dark"] .contact-details-clean {
  background: #141414;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .details-clean-header h2 {
  color: #ffffff;
}

[data-theme="dark"] .detail-clean-row {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .detail-clean-val,
[data-theme="dark"] .detail-clean-val a {
  color: #f0f0f0;
}

[data-theme="dark"] .whatsapp-clean-card {
  background: #1b1b1b;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .whatsapp-clean-title {
  color: #ffffff;
}

[data-theme="dark"] .map-floating-pill {
  background: rgba(20, 20, 20, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e0e0e0;
}

[data-theme="dark"] .map-floating-pill i {
  color: #ffffff !important;
}

[data-theme="dark"] .map-pill-link {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

[data-theme="dark"] .map-pill-link:hover {
  background: #ffffff;
  color: #111111;
}

[data-theme="dark"] .contact-fullwidth-map iframe {
  filter: invert(90%) hue-rotate(180deg) contrast(95%);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .whatsapp-clean-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .whatsapp-clean-btn {
    width: 100%;
    text-align: center;
  }
  .map-floating-pill {
    width: 92%;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 12px;
    white-space: normal;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   FOOTER (High-End Multi-Column)
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0a0a0a;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-brand .brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-brand:hover .brand-logo-img {
  opacity: 0.8;
  transform: scale(0.97);
}

.footer-brand .brand-logo-light {
  display: block;
}
.footer-brand .brand-logo-dark {
  display: none;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  max-width: 340px;
  color: #a3a3a3;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

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

.footer-link {
  font-size: 0.88rem;
  color: #888888;
  transition: color var(--transition-fast), padding var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  color: #a3a3a3;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1.1rem;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.85rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: #777777;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.social-icon-btn:hover {
  color: #ffffff;
  border-color: var(--champagne-gold);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   MODALS & LIGHTBOX (Project Detail & Consultation)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay:not(.open),
.modal-overlay:not(.open) * {
  pointer-events: none !important;
  visibility: hidden !important;
}

.modal-container {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 24px;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: transform var(--transition-base);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

/* Minimal Luxury Champagne Scrollbar (Matching Admin Modal) */
.modal-container::-webkit-scrollbar,
.modal-overlay ::-webkit-scrollbar,
.project-modal-content::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
#project-modal .modal-container::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.modal-container::-webkit-scrollbar-track,
.modal-overlay ::-webkit-scrollbar-track,
.project-modal-content::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
#project-modal .modal-container::-webkit-scrollbar-track {
  background: transparent !important;
  border-radius: 99px;
}

.modal-container::-webkit-scrollbar-thumb,
.modal-overlay ::-webkit-scrollbar-thumb,
.project-modal-content::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
#project-modal .modal-container::-webkit-scrollbar-thumb {
  background: #d4c2a5; /* Champagne Luxury Gold matching admin modal */
  border-radius: 99px;
  transition: background 0.2s ease;
}

.modal-container::-webkit-scrollbar-thumb:hover,
.modal-overlay ::-webkit-scrollbar-thumb:hover,
.project-modal-content::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover,
#project-modal .modal-container::-webkit-scrollbar-thumb:hover {
  background: #bda177; /* Rich brass on hover */
}

.modal-container::-webkit-scrollbar-button,
.modal-overlay ::-webkit-scrollbar-button,
#project-modal .modal-container::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.modal-container,
.project-modal-content,
.modal-body,
#project-modal .modal-container {
  scrollbar-width: thin;
  scrollbar-color: #d4c2a5 #fcfbfa;
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.modal-close-btn:hover {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

.project-modal-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

/* Project Modal - Fixed Left Carousel & Scrollable Right Column */
#project-modal .modal-container {
  width: min(92vw, 980px);
  max-width: 980px;
  height: min(88vh, 760px);
  max-height: min(88vh, 760px);
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 24px;
}

#project-modal .modal-close-btn {
  z-index: 25;
}

#project-modal .project-modal-body {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

#project-modal .project-modal-gallery {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #111111;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  user-select: none;
}

#project-modal .modal-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#project-modal .modal-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.03);
  z-index: 1;
}

#project-modal.open .modal-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

#project-modal .modal-carousel-slide img,
#project-modal .project-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Modal Carousel Controls */
.modal-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 15;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.modal-carousel-nav:hover {
  background: #bda177;
  color: #0a0a0a;
  border-color: #bda177;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4);
}

.modal-carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.modal-carousel-prev {
  left: 1.15rem;
}

.modal-carousel-next {
  right: 1.15rem;
}

.modal-carousel-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-body, 'Outfit', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  z-index: 15;
  user-select: none;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.modal-carousel-dots {
  position: absolute;
  bottom: 1.35rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 15;
}

.modal-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.2);
}

.modal-carousel-dot.active {
  width: 22px;
  background: #bda177;
  border-radius: 999px;
}

/* Right Content Part: ONLY this part is scrollable */
#project-modal .project-modal-content {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scrollbar-width: thin;
  scrollbar-color: #d4c2a5 #fcfbfa;
}

.project-modal-gallery {
  position: relative;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}

.project-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}

.project-modal-content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-modal-header {
  margin-bottom: 2rem;
}

#modal-project-title {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: 2.15rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary, #0a0a0a);
  margin-top: 0.25rem;
}

#modal-project-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4a4a4a;
}

.project-modal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-block: 1.75rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--border-subtle);
}

.detail-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 0.95rem;
  color: var(--text-primary);
}

#modal-project-materials,
.modal-materials-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0.45rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#modal-project-materials li,
.modal-materials-list li {
  background: #faf8f5;
  border: 1px solid rgba(189, 161, 119, 0.32);
  color: #333333;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  line-height: 1.3;
  transition: all 0.2s ease;
}

#modal-project-materials li:hover,
.modal-materials-list li:hover {
  border-color: #bda177;
  background: #ffffff;
}

#modal-project-materials li::before,
.modal-materials-list li::before {
  content: '•';
  color: var(--gold-primary, #bda177);
  margin-right: 0.35rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   CONSULTATION BOOKING MODAL (Desktop & Universal Base Styles)
   -------------------------------------------------------------------------- */
#consultation-modal .modal-container {
  max-width: 560px;
  width: min(92%, 560px);
  padding: 3rem 2.5rem 2.5rem !important;
  border-radius: 26px;
  background: #ffffff;
}

#consultation-modal h2 {
  font-family: var(--font-heading, 'Cormorant Garamond', serif);
  font-size: clamp(1.6rem, 4vw, 2.1rem) !important;
  font-weight: 500;
  line-height: 1.2;
  color: #0a0a0a;
}

#consultation-modal p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

#consultation-modal .modal-close-btn {
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-fast);
}

#consultation-modal .modal-close-btn:hover {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

#consultation-modal .btn {
  width: 100% !important;
  padding: 0.95rem 1.35rem !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.06em !important;
  white-space: normal !important;
  word-break: normal !important;
  text-align: center !important;
  line-height: 1.35 !important;
  min-height: 52px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

#consultation-modal .btn i {
  flex-shrink: 0 !important;
  font-size: 1.15rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN & MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .manifesto-grid, .estimator-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 868px) {
  .nav-menu, 
  .nav-actions .btn {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .project-card.span-6, .project-card.span-8, .project-card.span-4, .project-card {
    grid-column: span 1 !important;
  }
  .services-grid,
  .engagement-tiers-grid {
    grid-template-columns: 1fr !important;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .journal-grid {
    grid-template-columns: 1fr;
  }
  /* Small Screen / Tablet Modal Optimization */
  .modal-overlay {
    padding: 1.5rem 1.25rem;
    align-items: center;
    justify-content: center;
  }
  .modal-container {
    width: min(92%, 520px);
    max-width: 520px;
    margin: auto;
    border-radius: 24px;
    max-height: 88vh;
    max-height: 88dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .modal-container::-webkit-scrollbar,
  .modal-overlay ::-webkit-scrollbar,
  #project-modal .modal-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  #project-modal .modal-container {
    width: min(94vw, 580px);
    height: min(90vh, 760px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
  }
  #project-modal .project-modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  #project-modal .project-modal-gallery {
    flex-shrink: 0;
    height: 250px;
    min-height: 250px;
    max-height: 35vh;
    width: 100%;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
  }
  #project-modal .project-modal-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    padding: 1.75rem 1.5rem 1.5rem;
  }
  .modal-carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .modal-carousel-prev {
    left: 0.75rem;
  }
  .modal-carousel-next {
    right: 0.75rem;
  }
  .project-modal-body {
    grid-template-columns: 1fr;
  }
  .project-modal-gallery {
    min-height: 220px;
    height: 250px;
    max-height: 36vh;
    position: relative;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
  }
  .project-modal-img {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .project-modal-content {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    padding: 1.75rem 1.5rem 1.5rem;
  }
  .project-modal-header {
    margin-bottom: 1.25rem;
  }
  .modal-close-btn {
    top: 0.85rem;
    right: 0.85rem;
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 25;
  }
  #modal-project-title {
    font-size: 1.65rem !important;
    line-height: 1.22;
  }
  .project-modal-details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 1rem;
    margin-block: 1.15rem;
    padding-block: 1rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  :root {
    --nav-height: 62px;
  }
  /* Mobile Screen Modal Optimization */
  .modal-overlay {
    padding: 1.25rem 1rem;
    align-items: center;
    justify-content: center;
  }
  .modal-container {
    width: min(92%, 440px);
    max-width: 440px;
    margin: auto;
    border-radius: 22px;
    max-height: 88vh;
    max-height: 88dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .modal-container::-webkit-scrollbar,
  .modal-overlay ::-webkit-scrollbar,
  #project-modal .modal-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  /* Consultation Modal Mobile Screen Optimization */
  #consultation-modal {
    padding: 1rem 0.75rem !important;
  }
  #consultation-modal .modal-container {
    width: min(94%, 420px) !important;
    max-width: 420px !important;
    padding: 2.25rem 1.15rem 1.75rem !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28) !important;
  }
  #consultation-modal .modal-close-btn {
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 1.1rem !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
  }
  #consultation-modal .text-center {
    margin-bottom: 1.35rem !important;
  }
  #consultation-modal .eyebrow {
    font-size: 0.62rem !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 0.35rem !important;
  }
  #consultation-modal h2 {
    font-size: clamp(1.3rem, 5.2vw, 1.65rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 0.35rem !important;
  }
  #consultation-modal p {
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    margin-top: 0.35rem !important;
    color: #4a4a48 !important;
  }
  #consultation-modal div[style*="flex-direction: column"] {
    gap: 0.75rem !important;
  }
  #consultation-modal .btn {
    width: 100% !important;
    padding: 0.82rem 0.85rem !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
    min-height: 48px !important;
    gap: 0.5rem !important;
    line-height: 1.35 !important;
    border-radius: 9999px !important;
    white-space: normal !important;
    word-break: normal !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  #consultation-modal .btn i {
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }
  #project-modal .modal-container {
    width: min(94vw, 440px) !important;
    max-width: 440px !important;
    height: min(90vh, 700px) !important;
    max-height: 90vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    padding: 0 !important;
  }
  #project-modal .project-modal-gallery {
    flex-shrink: 0;
    min-height: 200px;
    height: 220px;
    max-height: 32vh;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
  }
  #project-modal .project-modal-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    padding: 1.25rem 1.15rem 1.25rem;
  }
  .project-modal-gallery {
    min-height: 190px;
    height: 210px;
    max-height: 30vh;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
  }
  .project-modal-img {
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .project-modal-content {
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    padding: 1.25rem 1.15rem 1.25rem;
  }
  .project-modal-header {
    margin-bottom: 0.85rem;
  }
  #modal-project-cat {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.25rem;
  }
  #modal-project-title {
    font-size: 1.35rem !important;
    line-height: 1.25;
    margin-bottom: 0.45rem;
  }
  #modal-project-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
  }
  .project-modal-details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 0.75rem;
    margin-block: 0.85rem;
    padding-block: 0.85rem;
  }
  .detail-label {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.15rem;
  }
  .detail-value {
    font-size: 0.84rem;
    font-weight: 500;
  }
  .modal-close-btn {
    top: 0.65rem;
    right: 0.65rem;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  #modal-project-materials li,
  .modal-materials-list li {
    font-size: 0.74rem;
    padding: 0.25rem 0.6rem;
  }
  #modal-inquire-btn {
    padding: 0.75rem 1.15rem !important;
    font-size: 0.84rem !important;
    letter-spacing: 0.03em !important;
    border-radius: 99px !important;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .visual-frame-badge {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }
}

/* Extra small screens (iPhone SE, Galaxy A-series narrow viewports <= 380px) */
@media (max-width: 380px) {
  #consultation-modal {
    padding: 0.75rem 0.5rem !important;
  }
  #consultation-modal .modal-container {
    width: 96% !important;
    padding: 2rem 0.85rem 1.4rem !important;
    border-radius: 18px !important;
  }
  #consultation-modal .btn {
    padding: 0.72rem 0.65rem !important;
    font-size: 0.64rem !important;
    letter-spacing: 0.025em !important;
    gap: 0.4rem !important;
  }
  #consultation-modal .btn i {
    font-size: 0.95rem !important;
  }
}

/* ==========================================================================
   ORIGINAL ARCHITECTURAL MONOGRAPH STYLES FOR ABSTRACT SPACES
   ========================================================================== */

/* 1. Architectural Studio Hero (With Soft Faded Background Image & Champagne Gold Tint) */
.studio-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background-color: var(--bg-primary);
  border-bottom: none;
  overflow: hidden;
}

[data-theme="dark"] .studio-hero {
  border-bottom: none;
}

/* Hero Auto-looping Background Slider */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 7s ease-out;
  filter: contrast(98%) brightness(1.05);
}

.hero-bg-slide.active {
  opacity: 0.35; /* Clear, rich architectural presence */
  transform: scale(1);
}

/* Atmospheric Overlay with Delicate Champagne Whisper and Natural Bottom Merge */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: 
    /* Layer 1: Delicate Light Champagne Ambient Whisper (~0.12) */
    linear-gradient(
      180deg,
      rgba(240, 230, 214, 0.11) 0%,
      rgba(240, 230, 214, 0.13) 25%,
      rgba(240, 230, 214, 0.12) 55%,
      rgba(245, 238, 226, 0.08) 80%,
      transparent 96%
    ),
    /* Layer 2: Clean White Diffusion Veil with Gentle Ease-In Merge */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.58) 0%,
      rgba(255, 255, 255, 0.52) 25%,
      rgba(255, 255, 255, 0.52) 50%,
      rgba(255, 255, 255, 0.60) 70%,
      rgba(255, 255, 255, 0.74) 82%,
      rgba(255, 255, 255, 0.88) 92%,
      rgba(255, 255, 255, 0.96) 97%,
      #ffffff 100%
    );
}

[data-theme="dark"] .hero-bg-slide.active {
  opacity: 0.32;
  filter: grayscale(35%) brightness(1.04) contrast(100%);
}

[data-theme="dark"] .hero-bg-overlay {
  background: 
    /* Layer 1: Subtle Dark Metallic Gold Tone */
    linear-gradient(
      180deg,
      rgba(189, 161, 119, 0.08) 0%,
      rgba(189, 161, 119, 0.10) 25%,
      rgba(189, 161, 119, 0.10) 50%,
      rgba(189, 161, 119, 0.08) 75%,
      rgba(189, 161, 119, 0.04) 88%,
      transparent 100%
    ),
    /* Layer 2: Reduced Noir Fade to #0a0a0a */
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.55) 0%,
      rgba(10, 10, 10, 0.45) 25%,
      rgba(10, 10, 10, 0.42) 50%,
      rgba(10, 10, 10, 0.50) 75%,
      rgba(10, 10, 10, 0.78) 88%,
      #0a0a0a 100%
    );
}

.studio-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-top-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #0a0a0a;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2.25rem;
}

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

.hero-meta-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid var(--border-subtle);
  margin-bottom: 0.5rem;
}

.hero-fact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fact-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fact-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a0a0a;
}

/* 2. Section Header Common Row */
.section-title-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-title-row.text-center {
  display: block;
  text-align: center;
}

.section-title-desc {
  max-width: 480px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 3. Clean Work Editorial Grid */
.work-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.work-filter {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid var(--border-medium);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.work-filter:hover {
  color: #0a0a0a;
  border-color: #0a0a0a;
}

.work-filter.active {
  background: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

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

.work-item {
  cursor: pointer;
}

.work-media {
  position: relative;
  aspect-ratio: 16/11;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-secondary);
  margin-bottom: 1.25rem;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}

.work-item:hover .work-media img {
  transform: scale(1.04);
}

.work-hover-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.45rem 1rem;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 9999px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-fast);
}

.work-item:hover .work-hover-tag {
  opacity: 1;
  transform: translateY(0);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.work-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.3;
}

/* 4. Disciplines / Services List */
.disciplines-list {
  display: flex;
  flex-direction: column;
}

.discipline-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr;
  gap: 2rem;
  padding-block: 2.75rem;
  border-top: 1px solid var(--border-subtle);
  align-items: flex-start;
  transition: background-color var(--transition-fast);
}

.discipline-row:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.discipline-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brass-primary);
}

.discipline-main h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #0a0a0a;
}

.discipline-main p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.discipline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.discipline-tags span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.9rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-muted);
}

/* 5. Studio Editorial Section */
.studio-editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

.studio-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #0a0a0a;
  margin-bottom: 1.25rem;
}

.studio-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.meta-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: #0a0a0a;
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.meta-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.studio-editorial-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.studio-editorial-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.image-caption {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: right;
  padding-top: 0.5rem;
}

/* 6. Minimal Client Words Grid */
.reviews-minimal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.review-minimal-card {
  padding: 2.5rem;
  border-radius: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-body {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.65;
  color: #0a0a0a;
  margin-bottom: 2rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.86rem;
}

.review-author strong {
  color: #0a0a0a;
}

.review-author span {
  color: var(--text-muted);
}

/* 7. Direct Contact Card Wrap */
.contact-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
}

.contact-left-info h2 {
  margin-bottom: 1rem;
}

.contact-left-info p {
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
}

.contact-method-link i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-method-link .label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-method-link .val {
  display: block;
  font-size: 0.95rem;
  color: #0a0a0a;
  font-weight: 500;
}

.contact-right-form {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-meta-col {
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    gap: 2rem;
  }
  .work-editorial-grid {
    grid-template-columns: 1fr;
  }
  .discipline-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .discipline-tags {
    justify-content: flex-start;
  }
  .studio-editorial-grid {
    grid-template-columns: 1fr;
  }
  .reviews-minimal-grid {
    grid-template-columns: 1fr;
  }
  .contact-card-wrap {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   REVEAL & SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes autoRevealFallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
  animation: autoRevealFallback 0.1s 1s forwards;
}

.reveal.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation: none;
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   SCANDINAVIAN-MINIMALIST EDITORIAL MONOGRAPH (MATCHING USER REFERENCE)
   ========================================================================== */

/* 1. Brand Trust Strip (Material & Hardware Partners) */
.brand-partners-strip {
  padding-block: 2.75rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #ffffff;
}

.partners-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.partner-logo-item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #a8a8a8;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.partner-logo-item:hover {
  color: #111111;
}

/* --------------------------------------------------------------------------
   INNER PAGE EDITORIAL HERO (Matches Home Page Tone & Styling)
   -------------------------------------------------------------------------- */
.page-header-editorial {
  padding-top: calc(var(--nav-height) + 3.25rem);
  padding-bottom: clamp(3.25rem, 5vw, 4.5rem);
  background-color: var(--bg-primary);
  border-bottom: none;
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Reduced white space between inner page header and subsequent content section */
.page-header-editorial + .section,
.page-header-editorial + section {
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
}

/* Inner Page Hero Background Image */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.38;
  filter: contrast(98%) brightness(1.04);
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity var(--transition-normal);
}

/* Atmospheric Overlay with Delicate Light Champagne and Seamless Natural Merge */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: 
    /* Layer 1: Delicate Light Champagne Ambient Whisper (~0.12) */
    linear-gradient(
      180deg,
      rgba(240, 230, 214, 0.11) 0%,
      rgba(240, 230, 214, 0.13) 30%,
      rgba(240, 230, 214, 0.12) 60%,
      rgba(245, 238, 226, 0.07) 85%,
      transparent 96%
    ),
    /* Layer 2: Clean Diffusion Veil with Gentle, Natural Ease-In Merge */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.56) 0%,
      rgba(255, 255, 255, 0.50) 30%,
      rgba(255, 255, 255, 0.50) 55%,
      rgba(255, 255, 255, 0.58) 72%,
      rgba(255, 255, 255, 0.72) 84%,
      rgba(255, 255, 255, 0.86) 93%,
      rgba(255, 255, 255, 0.96) 97.5%,
      #ffffff 100%
    );
}

[data-theme="dark"] .page-header-editorial {
  background-color: #0e0e0e;
  border-bottom: none;
}

[data-theme="dark"] .page-hero-bg {
  opacity: 0.32;
  filter: grayscale(35%) brightness(1.04) contrast(100%);
}

[data-theme="dark"] .page-hero-overlay {
  background: 
    /* Layer 1: Subtle Dark Metallic Gold Tone */
    linear-gradient(
      180deg,
      rgba(189, 161, 119, 0.08) 0%,
      rgba(189, 161, 119, 0.10) 30%,
      rgba(189, 161, 119, 0.10) 65%,
      rgba(189, 161, 119, 0.06) 84%,
      transparent 100%
    ),
    /* Layer 2: Reduced Noir Fade to #0e0e0e */
    linear-gradient(
      180deg,
      rgba(14, 14, 14, 0.52) 0%,
      rgba(14, 14, 14, 0.42) 30%,
      rgba(14, 14, 14, 0.38) 65%,
      rgba(14, 14, 14, 0.48) 84%,
      rgba(14, 14, 14, 0.75) 93%,
      #0e0e0e 100%
    );
}

.page-header-editorial .container {
  position: relative;
  z-index: 2;
}

.page-header-editorial .editorial-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 0.85rem;
}

.page-header-editorial h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #141414;
  max-width: 920px;
  margin-inline: auto;
}

.page-header-editorial p {
  max-width: 680px;
  margin: 1.25rem auto 0;
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 2. About Us Section: "Discover The Power Of Design" */
.editorial-about-section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  background: #ffffff;
}

.editorial-split-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: flex-end;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.editorial-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 0.75rem;
  display: block;
}

.editorial-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.editorial-header-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.editorial-header-right p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #555555;
}

.btn-minimal-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.25rem;
  background: #141414;
  color: #ffffff;
  border: 1px solid rgba(189, 161, 119, 0.45);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  transition: all var(--transition-base);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-minimal-black:hover {
  background: #242424;
  color: #ffffff;
  border-color: var(--brass-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.about-four-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.about-four-card {
  aspect-ratio: 9/16;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-secondary);
  position: relative;
}

.about-four-card:nth-child(2) {
  transform: translateY(2rem);
}

.about-four-card:nth-child(3) {
  transform: translateY(-1rem);
}

.about-four-card:nth-child(4) {
  transform: translateY(1rem);
}

.about-four-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}

.about-four-card:hover img {
  transform: scale(1.05);
}

/* 3. Services Section: "What We Provide For You" */
.editorial-services-section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.services-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}

.service-accordion-list {
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem;
}

.service-accordion-item {
  border-top: 1px solid #e5e5e5;
  padding-block: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-accordion-item:last-child {
  border-bottom: 1px solid #e5e5e5;
}

.service-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.service-item-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-item-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #999999;
}

.service-item-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #0a0a0a;
  letter-spacing: -0.015em;
}

.service-item-arrow {
  font-size: 0.95rem;
  color: #111111;
  transition: transform var(--transition-fast);
}

.service-accordion-item:hover .service-item-arrow {
  transform: translate(3px, -3px);
}

.service-item-desc {
  margin-top: 0.85rem;
  padding-left: 2.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #666666;
}

.services-overlap-media {
  position: relative;
  width: 100%;
  padding-bottom: 2.5rem;
}

.services-media-main {
  width: 82%;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.services-media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-media-overlap {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 58%;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  border: 6px solid #ffffff;
}

.services-media-overlap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. Portfolio Section: "View Our Design Project" (Staggered Editorial Columns) */
.editorial-portfolio-section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.editorial-portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: flex-start;
}

.portfolio-masonry-col {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 5.5vw, 5rem);
}

/* Staggered Offset matching user reference image */
.portfolio-masonry-col.col-offset {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

/* Clean borderless tiles sitting directly on the page */
.editorial-portfolio-section .project-card,
.project-card-editorial {
  position: static;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform var(--transition-base);
}

.editorial-portfolio-section .project-card:hover,
.project-card-editorial:hover {
  transform: translateY(-4px);
  box-shadow: none !important;
  border-color: transparent !important;
  background: transparent !important;
}

.project-media-editorial {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 13;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-secondary);
  margin-bottom: 1.25rem;
  border: none !important;
}

.project-card-editorial.card-square .project-media-editorial {
  aspect-ratio: 1 / 1;
}

.project-media-editorial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}

.project-card-editorial:hover .project-media-editorial img {
  transform: scale(1.03);
}

.project-header-editorial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 0.45rem;
}

.project-title-editorial {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #0a0a0a;
  margin-bottom: 0;
  line-height: 1.25;
}

.project-header-editorial .project-action-btn {
  width: 44px;
  height: 44px;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.project-desc-editorial {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #666666;
  max-width: 390px;
}

/* 5. Floating CTA Card ("Would you like to discuss with us about your amazing project?") */
.editorial-cta-section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  background: #f8f8f8;
}

.editorial-cta-card {
  background: #ffffff;
  border-radius: 8px;
  padding: clamp(2.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.editorial-cta-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin-bottom: 1.25rem;
}

.editorial-cta-card p {
  font-size: 1rem;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.cta-overlap-visual {
  position: relative;
  width: 100%;
}

.cta-visual-bg {
  width: 85%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-visual-fg {
  position: absolute;
  bottom: -1.5rem;
  right: 0;
  width: 50%;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.cta-visual-fg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 6. Reworked Editorial Dark Footer (Architectural Monograph with Logo Watermark Backdrop) */
.editorial-dark-footer {
  position: relative;
  background-color: #0b0b0b;
  color: #ffffff;
  padding-top: clamp(4.5rem, 7vw, 7rem);
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(214, 192, 152, 0.28);
  overflow: hidden;
}

/* Ambient Radial Glow */
.editorial-dark-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 88% 55%,
    rgba(214, 192, 152, 0.07) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

/* Giant Logo Icon Ambient Watermark Backdrop */
.footer-backdrop-logo {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: clamp(320px, 44vw, 580px);
  pointer-events: none;
  opacity: 0.045;
  filter: blur(0.3px);
  transform: rotate(-6deg);
  z-index: 0;
  user-select: none;
}

.footer-backdrop-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.editorial-dark-footer .container {
  position: relative;
  z-index: 1;
}

/* Top Row: Brand Monograph + Newsletter */
.footer-editorial-top {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: flex-start;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 3.5rem;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-brand-full-logo {
  width: auto;
  height: 36px;
  max-width: 230px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast);
}

.footer-brand-header a:hover .footer-brand-full-logo {
  opacity: 0.8;
}

.footer-brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.footer-brand-manifesto {
  font-size: 0.95rem;
  color: #a8a8a8;
  line-height: 1.75;
  max-width: 490px;
  margin-bottom: 1.5rem;
}

.footer-brand-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #cfcfcf;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  transition: all var(--transition-fast);
}

.footer-contact-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(214, 192, 152, 0.4);
}

.footer-contact-pill i {
  font-size: 0.7rem;
  color: #d8c5a2;
}

/* Newsletter Wrap */
.footer-newsletter-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: clamp(1.75rem, 3vw, 2.25rem);
}

.footer-newsletter-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d8c5a2;
  margin-bottom: 0.6rem;
}

.footer-newsletter-wrap h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.footer-newsletter-desc {
  font-size: 0.84rem;
  color: #999999;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.86rem;
  outline: none;
  transition: all var(--transition-fast);
}

.footer-newsletter-form input:focus {
  border-color: #d8c5a2;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px rgba(216, 197, 162, 0.2);
}

.footer-newsletter-form button {
  padding: 0.8rem 1.4rem;
  background: #d8c5a2;
  color: #0b0b0b;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-1px);
}

.footer-newsletter-privacy {
  display: block;
  font-size: 0.72rem;
  color: #777777;
}

/* 4-Column Directory */
.footer-editorial-columns {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.1fr 0.9fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 2rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d8c5a2;
  margin-bottom: 1.35rem;
}

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

.footer-editorial-link {
  font-size: 0.9rem;
  color: #a8a8a8;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-editorial-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-social-item i {
  width: 16px;
  color: #d8c5a2;
  font-size: 0.88rem;
}

.footer-static-info {
  font-size: 0.88rem;
  color: #a8a8a8;
  line-height: 1.5;
}

/* Bottom Bar */
.footer-editorial-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #777777;
  gap: 1.5rem;
}

.footer-bottom-copy {
  color: #888888;
}

.footer-credit-line {
  display: block;
  font-size: 0.76rem;
  color: #777777;
  margin-top: 0.35rem;
}

.footer-credit-line a {
  color: #c5a880;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-credit-line a:hover {
  color: #e5d5be;
  text-decoration: underline;
}

.footer-bottom-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-bottom-legal a {
  color: #888888;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-legal a:hover {
  color: #d8c5a2;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cfcfcf;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer-back-to-top:hover {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

/* Responsive adjustments for editorial layout */
@media (max-width: 992px) {
  .editorial-split-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-four-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .about-four-card:nth-child(2),
  .about-four-card:nth-child(3),
  .about-four-card:nth-child(4) {
    transform: none;
  }
  .services-split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .editorial-portfolio-masonry {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .portfolio-masonry-col.col-offset {
    margin-top: 0;
  }
  .editorial-cta-card {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-editorial-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-editorial-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .footer-editorial-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  .footer-bottom-legal {
    justify-content: center;
  }
}

/* -------------------------------------------------------------------------
   MOBILE FOOTER CENTER ALIGNMENT (Mobile Devices & Touch Screens)
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Editorial Dark Footer Master Centering */
  .editorial-dark-footer {
    text-align: center;
  }

  .footer-editorial-top {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding-bottom: 2.75rem;
    margin-bottom: 2.75rem;
  }

  .footer-editorial-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-brand-header {
    justify-content: center;
    margin-inline: auto;
  }

  .footer-brand-full-logo {
    margin-inline: auto;
  }

  .footer-brand-manifesto {
    text-align: center;
    margin-inline: auto;
    max-width: 480px;
  }

  .footer-brand-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
  }

  .footer-contact-pill {
    justify-content: center;
    margin: 0 auto;
  }

  /* Newsletter Box Centering */
  .footer-newsletter-wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.25rem;
  }

  .footer-newsletter-tag {
    margin-inline: auto;
    text-align: center;
  }

  .footer-newsletter-wrap h4 {
    text-align: center;
  }

  .footer-newsletter-desc {
    text-align: center;
    margin-inline: auto;
    max-width: 420px;
  }

  .footer-newsletter-form {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin-inline: auto;
    gap: 0.65rem;
  }

  .footer-newsletter-form input {
    text-align: center;
    width: 100%;
  }

  .footer-newsletter-form button {
    width: 100%;
    justify-content: center;
  }

  .footer-newsletter-privacy {
    text-align: center;
  }

  /* 4-Column Directory Stacked & Centered */
  .footer-editorial-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding-bottom: 2.75rem;
    margin-bottom: 2rem;
  }

  .footer-editorial-columns > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-col-title {
    text-align: center;
    margin-inline: auto;
    margin-bottom: 1.1rem;
  }

  .footer-editorial-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 0.85rem;
  }

  .footer-editorial-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-editorial-link:hover {
    transform: translateY(-2px);
  }

  .footer-static-info {
    text-align: center;
    display: block;
  }

  .footer-social-item {
    justify-content: center;
  }

  /* Bottom Bar Centered */
  .footer-editorial-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .footer-bottom-copy {
    text-align: center;
  }

  .footer-credit-line {
    text-align: center;
  }

  .footer-bottom-legal {
    justify-content: center;
    text-align: center;
    gap: 0.6rem 0.85rem;
  }

  .footer-back-to-top {
    margin-inline: auto;
    align-self: center;
  }

  /* Site Footer (Fallback on 404 page) */
  .site-footer {
    text-align: center;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.25rem;
  }

  .site-footer .footer-brand {
    align-items: center;
    text-align: center;
  }

  .site-footer .footer-brand .brand-logo-img {
    margin-inline: auto;
  }

  .site-footer .footer-brand p {
    margin-inline: auto;
    text-align: center;
  }

  .site-footer .footer-title {
    text-align: center;
  }

  .site-footer .footer-links {
    align-items: center;
    text-align: center;
  }

  .site-footer .footer-link {
    justify-content: center;
    text-align: center;
  }

  .site-footer .footer-newsletter {
    text-align: center;
  }

  .site-footer .footer-newsletter p {
    text-align: center;
  }

  .site-footer .footer-bottom {
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
}

/* -------------------------------------------------------------------------
   ENGAGEMENT TIERS & SERVICE CARDS MOBILE OPTIMIZATION
   ------------------------------------------------------------------------- */
@media (max-width: 868px) {
  .engagement-tiers-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 768px) {
  .engagement-tiers-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .engagement-tiers-grid .service-card {
    padding: 2.25rem 1.65rem !important;
    min-height: auto;
  }

  .estimator-card {
    padding: 2.25rem 1.5rem !important;
    border-radius: 20px !important;
  }

  .service-header {
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: baseline;
    margin-bottom: 1.5rem;
  }

  .service-header .text-gold {
    font-size: 0.75rem !important;
    letter-spacing: 0.12em !important;
  }
}

@media (max-width: 580px) {
  .engagement-tiers-grid {
    gap: 1.5rem !important;
  }

  .engagement-tiers-grid .service-card {
    padding: 1.85rem 1.25rem !important;
  }

  .engagement-tiers-grid .service-card .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 1.25rem;
  }

  .estimator-card {
    padding: 1.75rem 1.15rem !important;
    border-radius: 16px !important;
  }

  .service-card h3 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .service-num {
    font-size: 1.55rem;
  }

  .service-feature {
    align-items: flex-start;
    line-height: 1.5;
  }

  .service-feature::before {
    flex-shrink: 0;
    margin-top: 0.1rem;
  }
}

@media (max-width: 480px) {
  .site-header .brand-logo-img {
    height: 27px;
    max-width: 175px;
  }
}

@media (max-width: 420px) {
  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .service-num {
    font-size: 1.45rem;
  }
}

/* -------------------------------------------------------------------------
   LUXURY INQUIRY TRANSMITTED POPUP MODAL
   ------------------------------------------------------------------------- */
.inquiry-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.inquiry-modal-card {
  background: #ffffff;
  border: 1.5px solid rgba(189, 161, 119, 0.45);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 2.75rem 2.25rem 2.25rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-modal-backdrop.is-active .inquiry-modal-card {
  transform: translateY(0) scale(1);
}

.inquiry-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #bda177 0%, #d8c4a0 50%, #bda177 100%);
}

.inquiry-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  background: transparent;
  border: none;
  font-size: 1.45rem;
  line-height: 1;
  color: #888888;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.inquiry-modal-close:hover {
  background: #f5f3ef;
  color: #141414;
}

.inquiry-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #141414;
  color: #bda177;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.inquiry-modal-title {
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: #141414;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.inquiry-modal-desc {
  font-size: 0.95rem;
  color: #555555;
  max-width: 440px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

.inquiry-modal-desc strong.highlight-subject {
  color: #141414;
  font-weight: 700;
}

.inquiry-modal-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.inquiry-modal-btn-wa {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
  padding: 0.85rem 1.6rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55rem !important;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.2s ease !important;
}

.inquiry-modal-btn-wa:hover {
  background: #20ba59 !important;
  transform: translateY(-1px) !important;
}

.inquiry-modal-btn-close {
  background: #faf8f5 !important;
  border: 1px solid #dcd7ce !important;
  color: #444444 !important;
  padding: 0.85rem 1.4rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.inquiry-modal-btn-close:hover {
  background: #f0ece3 !important;
  color: #141414 !important;
}

/* ============================================================================
   MINIMAL ARCHITECTURAL GALLERY & LIGHTBOX (QUIET LUXURY THEME)
   ============================================================================ */

/* 1. Scalable Gallery Filter Scroller & Luxury Category Dropdown */
.gallery-filters-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 3.5rem auto 2.75rem;
  padding: 0 1rem;
  max-width: 1240px;
  width: 100%;
}

.gallery-filters-track {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 100%;
  flex: 1 1 auto;
  border-radius: 9999px;
}

.gallery-minimal-filters {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 0.65rem;
  padding: 0.4rem 0.35rem;
  margin: 0 auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-minimal-filters::-webkit-scrollbar {
  display: none;
}

.gallery-filter-pill {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555555;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  white-space: nowrap;
  user-select: none;
}

.gallery-filter-pill:hover {
  color: #0a0a0a;
  border-color: #bda177;
  background: #faf8f5;
  transform: translateY(-1px);
}

.gallery-filter-pill.active {
  background: #0a0a0a;
  color: #eedfc7;
  border-color: #0a0a0a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.gallery-filter-count {
  font-size: 0.68rem;
  opacity: 0.7;
}

/* Scroll Arrow Controls */
.gallery-scroll-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #222222;
  font-size: 0.78rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  z-index: 3;
}

.gallery-scroll-nav:hover {
  background: #0a0a0a;
  color: #eedfc7;
  border-color: #0a0a0a;
  transform: scale(1.06);
}

.gallery-scroll-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Category Quick Dropdown Filter */
.gallery-category-dropdown-wrap {
  position: relative;
  flex-shrink: 0;
  z-index: 40;
}

.gallery-category-dropdown-btn {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.gallery-category-dropdown-btn:hover,
.gallery-category-dropdown-wrap.open .gallery-category-dropdown-btn {
  border-color: #bda177;
  background: #faf8f5;
  color: #0a0a0a;
}

.gallery-category-dropdown-wrap.open .gallery-category-dropdown-btn i.fa-chevron-down {
  transform: rotate(180deg);
}

.gallery-category-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid rgba(189, 161, 119, 0.28);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
  animation: galDropIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes galDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-category-dropdown-wrap.open .gallery-category-dropdown-menu {
  display: flex;
}

.gallery-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.15rem;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: #444444;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gallery-dropdown-item:hover {
  background: rgba(189, 161, 119, 0.1);
  color: #0a0a0a;
  padding-left: 1.35rem;
}

.gallery-dropdown-item.active {
  background: #0a0a0a;
  color: #eedfc7;
  font-weight: 600;
}

.gallery-dropdown-item.active .gallery-filter-count {
  color: #eedfc7;
  opacity: 0.9;
}

/* 2. Gallery Architectural Grid (Equal Tiles & Full Container) */
.gallery-section {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.gallery-masonry-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: clamp(1.25rem, 2vw, 2.25rem);
  width: 100%;
}

/* Equal Gallery Tiles */
.gallery-photo-card,
.gallery-photo-card[data-aspect="landscape"],
.gallery-photo-card[data-aspect="portrait"],
.gallery-photo-card[data-aspect="square"] {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  grid-column: span 1 !important;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.gallery-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brass-border);
}

/* Equal Aspect Ratio for all visual frames */
.gallery-frame-inner,
.gallery-photo-card[data-aspect="portrait"] .gallery-frame-inner,
.gallery-photo-card[data-aspect="landscape"] .gallery-frame-inner,
.gallery-photo-card[data-aspect="square"] .gallery-frame-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden;
  background: #111111;
}

.gallery-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.gallery-photo-card:hover .gallery-frame-img {
  transform: scale(1.05);
}

/* Frame Order Badge */
.gallery-frame-index {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(8px);
  color: rgba(238, 223, 199, 0.9);
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(238, 223, 199, 0.15);
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* Subtle Expand Icon */
.gallery-expand-indicator {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(8px);
  color: #eedfc7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  border: 1px solid rgba(238, 223, 199, 0.2);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.gallery-photo-card:hover .gallery-expand-indicator {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Editorial Spatial Caption Overlay */
.gallery-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.45) 50%, rgba(10, 10, 10, 0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.gallery-photo-card:hover .gallery-frame-overlay {
  opacity: 1;
}

.gallery-overlay-cat {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bda177;
  margin-bottom: 0.35rem;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.gallery-overlay-caption {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.gallery-photo-card:hover .gallery-overlay-cat,
.gallery-photo-card:hover .gallery-overlay-title,
.gallery-photo-card:hover .gallery-overlay-caption {
  transform: translateY(0);
}

/* Minimal Editorial Card Footer (Hidden per user preference: bottom text not needed) */
.gallery-card-caption-bar {
  display: none !important;
}

/* User preference: Srf Image name hi chaiye on overlay, nothing extra texts, and no bottom white bar */
.gallery-bar-cat,
.gallery-bar-title,
.gallery-overlay-cat,
.gallery-overlay-caption,
.lightbox-info-cat,
.lightbox-info-caption,
.gallery-aspect-tag,
.gallery-caption-preview {
  display: none !important;
}

@media (max-width: 768px), (hover: none) {
  .gallery-frame-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.25) 55%, rgba(10, 10, 10, 0) 100%);
  }
  .gallery-overlay-title {
    transform: translateY(0);
    font-size: 1.05rem;
  }
}

/* 3. Fullscreen Minimal Lightbox Modal */
.gallery-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 10000;
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-lightbox-modal.open {
  display: flex;
  opacity: 1;
}

/* Lightbox Top Control Bar */
.lightbox-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  z-index: 10;
}

.lightbox-frame-counter {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #eedfc7;
  text-transform: uppercase;
}

.lightbox-title-center {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50vw;
}

.lightbox-close-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.lightbox-close-btn:hover {
  background: #ffffff;
  color: #0a0a0a;
  transform: rotate(90deg);
}

/* Lightbox Stage */
.lightbox-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  overflow: hidden;
  user-select: none;
}

.lightbox-image-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  animation: lightboxFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Navigation Arrows */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 20, 20, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eedfc7;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 5;
}

.lightbox-nav-btn:hover {
  background: #eedfc7;
  color: #0a0a0a;
  border-color: #eedfc7;
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-prev {
  left: clamp(1rem, 2.5vw, 2.5rem);
}

.lightbox-nav-next {
  right: clamp(1rem, 2.5vw, 2.5rem);
}

/* Lightbox Bottom Info Bar */
.lightbox-bottom-bar {
  padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.65);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.lightbox-info-meta {
  flex: 1;
  min-width: 0;
}

.lightbox-info-cat {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bda177;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.lightbox-info-caption {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  max-width: 720px;
}

.lightbox-inquire-btn {
  background: #eedfc7;
  color: #0a0a0a;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.lightbox-inquire-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(238, 223, 199, 0.3);
}

/* Responsive Breakpoints for Gallery & Lightbox */
@media (max-width: 1024px) {
  .gallery-photo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .gallery-photo-card {
    grid-column: span 1 !important;
  }
}

@media (max-width: 768px) {
  .gallery-minimal-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin: 2rem auto 1.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-minimal-filters::-webkit-scrollbar {
    display: none;
  }
  .gallery-filter-pill {
    white-space: nowrap;
    padding: 0.55rem 1rem;
    font-size: 0.72rem;
  }
  .gallery-photo-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .gallery-photo-card {
    grid-column: span 1 !important;
  }
  .lightbox-title-center {
    display: none;
  }
  .lightbox-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
  .lightbox-inquire-btn {
    width: 100%;
    justify-content: center;
  }
  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   PUBLIC ARCHIVE & GALLERY PAGINATION & LOAD MORE SYSTEM
   ========================================================================== */
.public-pagination-wrap {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.pagination-progress-info {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.pagination-progress-track {
  width: 100%;
  max-width: 240px;
  height: 3px;
  background: rgba(189, 161, 119, 0.2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.pagination-progress-bar {
  height: 100%;
  background: var(--brass-primary);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pagination-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 2.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.load-more-btn:disabled,
.load-more-btn.all-loaded {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
  background: #f0ede6;
  border-color: #e0dcd3;
  color: #777777;
}

.public-page-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.public-page-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-medium);
  background: #ffffff;
  color: var(--text-main);
  border-radius: 50%;
  font-family: var(--font-mono, inherit);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
}

.public-page-btn:hover:not(:disabled) {
  border-color: var(--brass-primary);
  color: var(--brass-dark, #9e835c);
  transform: translateY(-1px);
}

.public-page-btn.active {
  background: #141414;
  border-color: #141414;
  color: #ffffff;
}

.public-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .public-pagination-wrap {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
  }
  .pagination-action-row {
    flex-direction: column;
    gap: 1rem;
  }
  .load-more-btn {
    width: 100%;
    justify-content: center;
  }
}


