/*-----------------------------------*\
  # FJ VISUALS DESIGN SYSTEM
  # OFFICIAL ARCHITECTURAL COLOR PALETTE
  # Deep Architectural Navy: #314C69
  # FJ Gold:                 #D6A150
  # Warm Champagne:          #DFC39A
  # Soft Ivory:              #FAFAF9
  # Warm Stone:              #EBE4D4
  # Cool Grey:               #9DA5AE
\*-----------------------------------*/

:root {
  /* Official FJ Visuals Suggested Palette */
  --navy-primary: #314C69;         /* Primary brand color, headings, navigation, dark sections */
  --navy-dark: #243950;            /* Deeper navy tone for contrast */
  --navy-surface: #2a415a;         /* Card surfaces in dark sections */
  --navy-card-hover: #345272;

  --gold-accent: #D6A150;          /* Logo accent, CTAs, highlights, icons, important details */
  --gold-accent-hover: #c49140;

  --champagne-warm: #DFC39A;       /* Secondary accent, subtle backgrounds, gradients */
  --champagne-subtle: rgba(223, 195, 154, 0.2);

  --ivory-soft: #FAFAF9;           /* Main website background */
  --stone-warm: #EBE4D4;           /* Cards, section backgrounds, borders */
  --stone-border: #ded5c0;

  --grey-cool: #9DA5AE;            /* Secondary text, metadata, inactive UI */
  --grey-body: #556272;            /* Highly readable body text on light backgrounds */

  --text-white: #ffffff;
  --text-dark: #314C69;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 25px -5px rgba(49, 76, 105, 0.08), 0 8px 10px -6px rgba(49, 76, 105, 0.04);
  --shadow-gold-glow: 0 4px 20px rgba(214, 161, 80, 0.35);

  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/*-----------------------------------*\
  #RESET & BASE
\*-----------------------------------*/

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

html {
  font-family: var(--font-main);
  scroll-behavior: smooth;
  background-color: var(--ivory-soft);
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--ivory-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-x: hidden;
}

li { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
}
button { cursor: pointer; }

.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

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

/* Subtitles & Headings */
.section-tag-orange {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title-dark {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ivory-soft);
  letter-spacing: -0.02em;
}

.section-title-light {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.highlight-teal {
  color: var(--champagne-warm);
}

/*-----------------------------------*\
  #HEADER (Quiet, Precise Architectural Studio Header)
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0; 
  left: 0; 
  right: 0;
  z-index: 100;
  height: 76px;
  background: rgba(14, 23, 34, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
}

.header.active {
  height: 66px;
  background: rgba(11, 18, 27, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo: Refined, restrained, no bloated container */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.logo:hover .brand-logo-img {
  opacity: 0.88;
}

.logo:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Menu Trigger Button: 42px, crisp, thin 1px border, simpler icon, no glow */
.nav-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
  box-shadow: none;
  z-index: 105;
}

.nav-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.nav-toggle-btn:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 3px;
  border-color: var(--gold-accent);
}

.toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background-color: #FAFAF9;
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.25s ease;
}

/* Active cross transformation when drawer is open */
.nav-toggle-btn.active .toggle-bar:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
  background-color: var(--gold-accent);
}

.nav-toggle-btn.active .toggle-bar:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
  background-color: var(--gold-accent);
}

/*-----------------------------------*\
  #EDITORIAL ARCHITECTURAL DRAWER
\*-----------------------------------*/

body.nav-open {
  overflow: hidden;
}

/* Dark Frosted Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 22, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 290;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

/* Drawer Container: 380px width, right-side slide in, precise motion */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #0E1722;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  visibility: hidden;
}

.navbar.active {
  transform: translateX(0);
  visibility: visible;
}

/* Drawer Header */
.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.navbar-drawer-logo {
  display: flex;
  align-items: center;
}

.drawer-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAFAF9;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--gold-accent);
}

.nav-close-btn:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 2px;
  border-color: var(--gold-accent);
}

/* Drawer Content: Grouped toward upper-middle to eliminate dead space */
.navbar-body {
  padding: 42px 32px 36px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Navigation List */
.navbar-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.navbar-list li {
  list-style: none;
}

.navbar-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  color: rgba(250, 250, 249, 0.82);
  text-decoration: none;
  position: relative;
  border-radius: 4px;
  min-height: 44px;
  transition: color 0.2s ease, background 0.2s ease;
  opacity: 0;
  transform: translateX(12px);
}

.navbar.active .navbar-link {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

/* Subtle staggered entry */
.navbar.active .navbar-list li:nth-child(1) .navbar-link { transition-delay: 0.06s; }
.navbar.active .navbar-list li:nth-child(2) .navbar-link { transition-delay: 0.10s; }
.navbar.active .navbar-list li:nth-child(3) .navbar-link { transition-delay: 0.14s; }
.navbar.active .navbar-list li:nth-child(4) .navbar-link { transition-delay: 0.18s; }
.navbar.active .navbar-list li:nth-child(5) .navbar-link { transition-delay: 0.22s; }

/* Architectural Functional Vertical Rule Indicator */
.nav-rule {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background-color: var(--gold-accent);
  border-radius: 1px;
  opacity: 0;
  transition: height 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.navbar-link:hover .nav-rule {
  height: 12px;
  opacity: 0.5;
}

.navbar-link.active .nav-rule {
  height: 20px;
  opacity: 1;
}

/* Number: smaller & muted */
.nav-num {
  font-size: 0.76rem;
  font-weight: 500;
  color: #6E7A8A;
  letter-spacing: 0.05em;
  width: 22px;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}

/* Text: primary label */
.nav-text {
  font-size: 1.15rem;
  font-weight: 400;
  color: inherit;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

/* Hover & Active States */
.navbar-link:hover {
  color: #FAFAF9;
  background: rgba(255, 255, 255, 0.03);
}

.navbar-link:hover .nav-num {
  color: #9DA5AE;
}

.navbar-link.active {
  color: #FAFAF9;
}

.navbar-link.active .nav-num {
  color: var(--gold-accent);
}

.navbar-link.active .nav-text {
  font-weight: 600;
}

.navbar-link:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 2px;
}

/* Architectural Hairline Divider */
.nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 26px 14px 22px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar.active .nav-divider {
  opacity: 1;
  transition-delay: 0.24s;
}

/* Primary Conversion Action: Distinct, high-priority CTA */
.nav-action-wrap {
  padding: 0 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.active .nav-action-wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.nav-cta-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 13px 20px;
  background: var(--gold-accent);
  color: #0E1722;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta-action:hover {
  background: #E0B065;
  transform: translateY(-1px);
}

.nav-cta-action:active {
  transform: translateY(0);
}

.nav-cta-action:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.cta-action-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.nav-cta-action:hover .cta-action-arrow {
  transform: translateX(4px);
}

/* Mobile: Near full-screen / full-screen sheet */
@media (max-width: 640px) {
  .header {
    height: 68px;
  }
  
  .header.active {
    height: 62px;
  }

  .brand-logo-img {
    height: 36px;
  }

  .nav-toggle-btn {
    width: 40px;
    height: 40px;
  }

  .navbar {
    width: 100vw;
    max-width: 100vw;
    border-left: none;
  }

  .navbar-top {
    padding: 18px 22px;
  }

  .navbar-body {
    padding: 32px 22px 28px;
  }

  .navbar-link {
    min-height: 48px;
    padding: 12px 14px;
  }

  .nav-text {
    font-size: 1.25rem;
  }
}

/*-----------------------------------*\
  #HERO SECTION (Editorial Architectural Proposition)
\*-----------------------------------*/

.hero {
  position: relative;
  height: 88vh;
  min-height: 580px;
  max-height: 860px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background-color: #0A111A;
  padding-top: 76px;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0.95) contrast(1.02);
}

/* Directional dark gradient: Strongest on the left behind text, lighter over architecture */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(
      90deg, 
      rgba(10, 17, 26, 0.88) 0%, 
      rgba(10, 17, 26, 0.72) 42%, 
      rgba(10, 17, 26, 0.25) 75%, 
      rgba(10, 17, 26, 0.10) 100%
    ),
    linear-gradient(
      180deg, 
      rgba(10, 17, 26, 0.45) 0%, 
      transparent 22%, 
      rgba(10, 17, 26, 0.25) 72%, 
      rgba(10, 17, 26, 0.90) 100%
    );
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 560px;
  text-align: left;
}

/* Bespoke Architectural Identifier */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #8F9CAE;
  margin-bottom: 20px;
  user-select: none;
}

.kicker-sep {
  opacity: 0.45;
  color: #8F9CAE;
  font-weight: 300;
}

/* Dominant Headline (2-3 lines max, no text shadow) */
.hero-headline {
  font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  text-transform: none;
  text-shadow: none;
}

/* Gold Statement */
.hero-statement {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(250, 250, 249, 0.92);
  line-height: 1.45;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  text-shadow: none;
}

.hero-statement .gold-emphasis {
  color: #D6A150;
  font-weight: 600;
}

/* Short Description (50-75 chars per line, max 2-3 lines) */
.hero-desc {
  font-size: 0.98rem;
  color: #9DA5AE;
  line-height: 1.65;
  max-width: 510px;
  margin-bottom: 34px;
  text-shadow: none;
}

/* CTA Hierarchy: Primary filled gold, secondary outline/text */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #D6A150;
  color: #0E1722;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: 4px;
  border: 1px solid #D6A150;
  text-decoration: none;
  min-height: 48px;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
}

.btn-hero-primary:hover {
  background: #E0B065;
  border-color: #E0B065;
  color: #0E1722;
  transform: translateY(-1px);
}

.btn-hero-primary:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.btn-hero-primary .btn-arrow {
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FAFAF9;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 13px 24px;
  border-radius: 4px;
  text-decoration: none;
  min-height: 48px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  box-shadow: none;
}

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

.btn-hero-secondary:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 3px;
}

.btn-hero-secondary .btn-arrow {
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.btn-hero-secondary:hover .btn-arrow {
  transform: translateX(3px);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }
  .hero {
    background-image: url('./assets-main/project2-1.PNG');
    background-size: cover;
    background-position: center;
  }
}

/* Tablet (reduce headline size & content width) */
@media (max-width: 900px) {
  .hero {
    height: 85vh;
    min-height: 560px;
  }

  .hero-content {
    max-width: 480px;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .hero-bg-overlay {
    background: 
      linear-gradient(
        90deg, 
        rgba(10, 17, 26, 0.92) 0%, 
        rgba(10, 17, 26, 0.78) 55%, 
        rgba(10, 17, 26, 0.35) 100%
      ),
      linear-gradient(
        180deg, 
        rgba(10, 17, 26, 0.45) 0%, 
        transparent 20%, 
        rgba(10, 17, 26, 0.88) 100%
      );
  }
}

/* Mobile: Recompose cleanly, buttons stacked & full width ≥ 44px */
@media (max-width: 640px) {
  .hero {
    height: auto;
    min-height: 85vh;
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .hero-bg-overlay {
    background: 
      linear-gradient(
        180deg, 
        rgba(10, 17, 26, 0.65) 0%, 
        rgba(10, 17, 26, 0.82) 40%, 
        rgba(10, 17, 26, 0.96) 100%
      );
  }

  .hero-headline {
    font-size: 2.15rem;
    line-height: 1.16;
    margin-bottom: 16px;
  }

  .hero-statement {
    font-size: 1.05rem;
    line-height: 1.42;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: auto;
    max-width: max-content;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    font-size: 0.88rem;
  }
}

@media (max-width: 380px) {
  .hero-cta-group {
    gap: 10px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 11px 16px;
    font-size: 0.84rem;
  }
}

/* =====================================
   CONSISTENT ARCHITECTURAL SECTION HEADERS
   ===================================== */
.section-header {
  margin-bottom: 44px;
  position: relative;
  z-index: 5;
}

.section-header.text-center {
  text-align: center;
  margin-inline: auto;
  max-width: 820px;
}

/* Tag Badge */
.section-header .section-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--gold-accent);
  background: rgba(214, 161, 80, 0.1);
  padding: 6px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(214, 161, 80, 0.28);
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-accent);
  box-shadow: 0 0 8px var(--gold-accent);
  display: inline-block;
  animation: headerDotPulse 2.4s infinite ease-in-out;
}

@keyframes headerDotPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 12px var(--gold-accent); }
}

/* Section Title */
.section-header .section-title {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  color: #FAFAF9;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.section-header .gold-text {
  color: var(--gold-accent);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 25px rgba(214, 161, 80, 0.35);
}

/* Architectural Complimented Drafting Line */
.section-header .section-header-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 0;
  height: 14px;
}

.section-header:not(.text-center) .section-header-line {
  justify-content: flex-start;
}

.section-header .line-wing {
  height: 1.5px;
  width: 55px;
  background: linear-gradient(90deg, rgba(214, 161, 80, 0) 0%, rgba(214, 161, 80, 0.85) 100%);
  transform-origin: right center;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.28s;
}

.section-header .line-wing.right {
  background: linear-gradient(90deg, rgba(214, 161, 80, 0.85) 0%, rgba(214, 161, 80, 0) 100%);
  transform-origin: left center;
}

.section-header:not(.text-center) .line-wing.left {
  width: 24px;
  transform-origin: left center;
}

.section-header:not(.text-center) .line-wing.right {
  width: 80px;
}

.section-header .line-diamond {
  width: 8px;
  height: 8px;
  background: var(--gold-accent);
  box-shadow: 0 0 12px rgba(214, 161, 80, 0.9);
  transform: scale(0) rotate(45deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

/* Subtitle */
.section-header .section-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: #9DA5AE;
  line-height: 1.65;
  max-width: 660px;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
}

.section-header:not(.text-center) .section-subtitle {
  margin-inline: 0;
}

/* =====================================
   TRIGGERED REVEAL ANIMATIONS
   ===================================== */
.section-header.revealed .section-tag-badge,
.section-header.revealed .section-title,
.section-header.revealed .section-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.section-header.revealed .line-wing {
  transform: scaleX(1);
}

.section-header.revealed .line-diamond {
  transform: scale(1) rotate(45deg);
}

/*-----------------------------------*\
  #HERO -> WHAT WE DO DELIBERATE ARCHITECTURAL TRANSITION
\*-----------------------------------*/

/* Thin Horizontal Gold Architectural Rule */
.hero-gold-rule {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 5;
  pointer-events: none;
}

.hero-gold-rule .gold-hairline {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(214, 161, 80, 0.25) 12%, 
    #D6A150 50%, 
    rgba(214, 161, 80, 0.25) 88%, 
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(214, 161, 80, 0.35);
}

/*-----------------------------------*\
  #SECTION 2: WHAT WE DO (Warm Architectural Ivory Sheet #F5F3EE)
\*-----------------------------------*/

.section-types {
  position: relative;
  padding-block: 54px 72px;
  background-color: #F5F3EE;
  color: #0C1827;
  overflow: hidden;
  border-bottom: none;
}

.services-container {
  position: relative;
  z-index: 3;
  max-width: 1240px;
}

/* Architectural Section Header (Staggered Material Entrance) */
.services-header {
  margin-bottom: 44px;
  text-align: center;
  margin-inline: auto;
  max-width: 820px;
}

.services-kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #718096;
  margin-bottom: 14px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-title {
  font-size: clamp(2.1rem, 3.8vw, 2.85rem);
  font-weight: 800;
  color: #0C1827;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 14px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 80ms, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 80ms;
}

.services-subtitle {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  color: #4A5568;
  line-height: 1.6;
  max-width: 640px;
  margin-inline: auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 160ms, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 160ms;
}

/* Asymmetric Editorial Layout (Dominant 01 + Supporting 02-05) */
.services-editorial-wrap {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 36px;
  align-items: start;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 240ms, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 240ms;
}

/* Visual wrapper: crisp rendering */
.service-reveal-card .card-visual-wrapper {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 320ms, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 320ms;
}

/* Gold Accents */
.service-reveal-card .service-index,
.service-reveal-card .card-link {
  opacity: 1;
  transition: opacity 0.6s ease 400ms, color 0.25s ease;
}

/* REVEALED STATE (Linked to Scroll / Intersection) */
.section-types.in-view .services-kicker,
.section-types.in-view .services-title,
.section-types.in-view .services-subtitle,
.section-types.in-view .services-editorial-wrap,
.section-types.in-view .service-reveal-card .service-index,
.section-types.in-view .service-reveal-card .card-link,
.section-types.revealed .services-kicker,
.section-types.revealed .services-title,
.section-types.revealed .services-subtitle,
.section-types.revealed .services-editorial-wrap,
.section-types.revealed .service-reveal-card .service-index,
.section-types.revealed .service-reveal-card .card-link {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.section-types.in-view .service-reveal-card .card-visual-wrapper,
.section-types.revealed .service-reveal-card .card-visual-wrapper {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* 01 DOMINANT CARD (Physical Architectural Sheet/Plate - Pure White on Ivory) */
.service-dominant-card {
  background: #FFFFFF;
  border: 1px solid rgba(12, 24, 39, 0.09);
  border-radius: 8px;
  padding: 34px 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(12, 24, 39, 0.04), 0 1px 3px rgba(12, 24, 39, 0.02);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.service-dominant-card:hover {
  border-color: rgba(214, 161, 80, 0.5);
  box-shadow: 0 16px 44px rgba(12, 24, 39, 0.08);
  transform: translateY(-2px);
}

.dominant-card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.service-index {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.dominant-title-wrap {
  flex: 1;
}

.dominant-service-title {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #0C1827;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.dominant-service-desc {
  font-size: 1.02rem;
  color: #4A5568;
  line-height: 1.5;
  font-weight: 400;
}

/* Large Visual Wrapper (Retains crisp dark backdrop for 3D render & wireframe scan) */
.dominant-visual-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: #0B131D;
  border: 1px solid rgba(12, 24, 39, 0.12);
  cursor: crosshair;
  margin-bottom: 22px;
}

.dominant-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 24, 39, 0.08);
}

.dominant-scope {
  font-size: 0.84rem;
  color: #718096;
  line-height: 1.45;
}

/* SUPPORTING SERVICES COLUMN (02 to 05) - Crisp White Plates */
.services-supporting-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.supporting-service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  background: #FFFFFF;
  border: 1px solid rgba(12, 24, 39, 0.08);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(12, 24, 39, 0.03);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.supporting-service-card:hover {
  background: #FCFBF9;
  border-color: rgba(214, 161, 80, 0.45);
  box-shadow: 0 8px 24px rgba(12, 24, 39, 0.06);
  transform: translateY(-1px);
}

.supporting-info {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.supporting-service-card .service-index {
  color: #8C99A8;
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.supporting-service-card:hover .service-index {
  color: var(--gold-accent);
}

.supporting-text {
  flex: 1;
  min-width: 0;
}

.supporting-service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0C1827;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.supporting-service-card:hover .supporting-service-title {
  color: #000000;
}

.supporting-service-desc {
  font-size: 0.85rem;
  color: #5A687A;
  line-height: 1.45;
  margin: 0;
}

/* Compact Visual Wrapper for Supporting Services */
.supporting-visual-wrapper {
  position: relative;
  width: 140px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #0B131D;
  border: 1px solid rgba(12, 24, 39, 0.12);
  cursor: crosshair;
}

/* Common Interactive Layers & Laser Beam */
.card-img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.render-layer {
  z-index: 1;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.98) contrast(1.04);
}

.wireframe-layer {
  z-index: 2;
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition: opacity 0.5s ease, clip-path 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: contrast(1.08);
}

.service-reveal-card:hover .wireframe-layer,
.service-reveal-card.revealed .wireframe-layer {
  opacity: 0;
  clip-path: inset(0 0 0 100%);
}

.service-reveal-card:hover .render-layer,
.service-reveal-card.revealed .render-layer {
  transform: scale(1.05);
}

/* Dynamic Cursor-Tracking Reveal Overrides (set via JS style) */
.card-visual-wrapper.interactive-tracking .wireframe-layer {
  opacity: 1 !important;
  transition: none !important;
}

.card-visual-wrapper.interactive-tracking .reveal-scan-beam {
  opacity: 1 !important;
  transition: none !important;
  animation: none !important;
}

/* Laser Scan Beam */
.reveal-scan-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 12px 2px #D6A150, 0 0 24px 4px rgba(214, 161, 80, 0.85);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.service-reveal-card:hover .reveal-scan-beam {
  opacity: 1;
  animation: scanSweep 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scanSweep {
  0% { left: 0%; opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.card-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #B88235;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.card-link:hover {
  color: #94631D;
  gap: 9px;
}

.link-arrow {
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.card-link:hover .link-arrow {
  transform: translateX(3px);
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 980px) {
  .services-editorial-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-dominant-card {
    padding: 26px 24px;
  }
}

@media (max-width: 600px) {

  .section-types {
    padding-block: 70px 75px;
  }

  .services-header {
    margin-bottom: 36px;
  }

  .services-title {
    font-size: 1.85rem;
  }

  .supporting-service-card {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }

  .supporting-visual-wrapper {
    width: 100%;
    height: 140px;
  }

  .dominant-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/*-----------------------------------*\
  #IVORY TO NAVY TRANSITION ZONE (What We Do -> Featured Projects)
  Pure architectural transition: Warm Ivory (#F5F3EE) -> Deep Navy (#0F1B28)
\*-----------------------------------*/

.ivory-navy-transition-zone {
  position: relative;
  height: 120px;
  width: 100%;
  overflow: hidden;
  background-color: #F5F3EE;
  margin-top: -1px;
  margin-bottom: -1px;
  z-index: 4;
}

/* Single Eased Navy Plane - Seamlessly merges Ivory into Navy with Zero Mud */
.ivory-navy-transition-zone .navy-rising-plane {
  position: absolute;
  inset: 0 0 -48px 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 27, 40, 0.02) 8%,
    rgba(15, 27, 40, 0.08) 18%,
    rgba(15, 27, 40, 0.22) 32%,
    rgba(15, 27, 40, 0.44) 48%,
    rgba(15, 27, 40, 0.68) 64%,
    rgba(15, 27, 40, 0.88) 78%,
    rgba(15, 27, 40, 0.98) 90%,
    #0F1B28 98%,
    #0F1B28 100%
  );
  transform: translateY(calc((1 - var(--navy-rise, 0)) * 36px));
  transition: transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  pointer-events: none;
}

.ivory-navy-transition-zone.revealed .navy-rising-plane,
.ivory-navy-transition-zone.in-view .navy-rising-plane {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .ivory-navy-transition-zone {
    height: 110px;
  }
}

@media (max-width: 576px) {
  .ivory-navy-transition-zone {
    height: 100px;
  }
}

/*-----------------------------------*\
  #SECTION 3: OUR WORK (Featured Architectural Projects)
  Architectural Editorial Layout: Image (65-75% weight) -> Identity -> Action
\*-----------------------------------*/

.section-listings {
  background-color: #0f1b28;
  color: var(--text-white);
  padding-block: 72px 100px;
  position: relative;
}

/* Section Header (Muted, Clean Architectural Styling) */
#projects .section-header {
  opacity: 0.7;
  transform: translateY(14px);
  transition: opacity 750ms cubic-bezier(0.16, 1, 0.3, 1), transform 750ms cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 48px;
}

#projects .section-header .section-tag-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9DAEC2;
  box-shadow: none;
  opacity: 0.85;
  transform: translateY(0);
}

#projects .section-header .tag-dot {
  background: var(--gold-accent);
  box-shadow: 0 0 6px rgba(214, 161, 80, 0.6);
}

#projects .section-header .section-title {
  color: #FAFAF9;
  opacity: 0.85;
  transform: translateY(0);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

#projects .section-header .section-subtitle {
  color: #8C9CAE;
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 600px;
  margin-inline: auto;
}

/* Asymmetric Architectural Editorial Grid (Desktop) */
.projects-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 54px 34px;
  width: 100%;
  margin-bottom: 56px;
}

/* Asymmetric Editorial Rhythm */
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card:nth-child(3) { grid-column: span 5; }
.project-card:nth-child(4) { grid-column: span 7; }

/* Architectural Project Card - Staggered Children Reveal Container */
.project-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  --card-base-delay: 0ms;
}

/* Revealed State for Section Header */
#projects.revealed .section-header,
#projects.in-view .section-header {
  opacity: 1;
  transform: translateY(0);
}

#projects.revealed .section-header .section-tag-badge,
#projects.in-view .section-header .section-tag-badge,
#projects.revealed .section-header .section-title,
#projects.in-view .section-header .section-title {
  opacity: 1;
}

/* Staggered Children Initial (Understated) States */
.project-card .project-media {
  opacity: 0.22;
  transform: translateY(20px) scale(0.985);
  transition: opacity 740ms cubic-bezier(0.16, 1, 0.3, 1), transform 740ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--card-base-delay, 0ms) + 0ms);
}

.project-card .project-name {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1), color 300ms ease;
  transition-delay: calc(var(--card-base-delay, 0ms) + 90ms);
}

.project-card .project-location {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 660ms cubic-bezier(0.16, 1, 0.3, 1), transform 660ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--card-base-delay, 0ms) + 165ms);
}

.project-card .project-meta-secondary {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 660ms cubic-bezier(0.16, 1, 0.3, 1), transform 660ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--card-base-delay, 0ms) + 225ms);
}

.project-card .project-action {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 640ms cubic-bezier(0.16, 1, 0.3, 1), transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--card-base-delay, 0ms) + 285ms);
}

/* Staggered Children Revealed States (Whole Section or Individual Card) */
#projects.revealed .project-card .project-media,
#projects.in-view .project-card .project-media,
.project-card.revealed .project-media,
.project-card.in-view .project-media {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#projects.revealed .project-card .project-name,
#projects.in-view .project-card .project-name,
.project-card.revealed .project-name,
.project-card.in-view .project-name {
  opacity: 1;
  transform: translateY(0);
}

#projects.revealed .project-card .project-location,
#projects.in-view .project-card .project-location,
.project-card.revealed .project-location,
.project-card.in-view .project-location {
  opacity: 1;
  transform: translateY(0);
}

#projects.revealed .project-card .project-meta-secondary,
#projects.in-view .project-card .project-meta-secondary,
.project-card.revealed .project-meta-secondary,
.project-card.in-view .project-meta-secondary {
  opacity: 1;
  transform: translateY(0);
}

#projects.revealed .project-card .project-action,
#projects.in-view .project-card .project-action,
.project-card.revealed .project-action,
.project-card.in-view .project-action {
  opacity: 1;
  transform: translateY(0);
}

/* Card-to-Card Stagger Offsets Across Editorial Grid */
#projects.revealed .project-card:nth-child(1),
#projects.in-view .project-card:nth-child(1) { --card-base-delay: 40ms; }
#projects.revealed .project-card:nth-child(2),
#projects.in-view .project-card:nth-child(2) { --card-base-delay: 130ms; }
#projects.revealed .project-card:nth-child(3),
#projects.in-view .project-card:nth-child(3) { --card-base-delay: 210ms; }
#projects.revealed .project-card:nth-child(4),
#projects.in-view .project-card:nth-child(4) { --card-base-delay: 290ms; }

.project-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Image Media: 65–75% Visual Weight, Minimal Radius (4px) */
.project-media {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #0B141F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

/* Aspect ratios calibrated for 65–75% visual dominance */
.project-card:nth-child(1) .project-media,
.project-card:nth-child(4) .project-media {
  aspect-ratio: 16 / 10;
}

.project-card:nth-child(2) .project-media,
.project-card:nth-child(3) .project-media {
  aspect-ratio: 16 / 11;
}

.project-slides {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transform: translateX(0%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 40, 0);
  transition: background-color 350ms ease;
  pointer-events: none;
}

/* Subtle Progress Dots */
.project-indicators {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 5px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 300ms ease;
}

.project-dot {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transition: background-color 300ms ease;
}

.project-dot.active {
  background: #FFFFFF;
}

/* ===================================================
   PROJECT PHOTO PERSPECTIVES - POP-UP REVEAL ANIMATION
   =================================================== */

/* Staggered Pop-Up Strip for Other Project Photos */
.project-photo-popup-strip {
  position: absolute;
  bottom: 16px;
  right: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

/* Spring Pop-Up Keyframes for Other Photos */
@keyframes photoThumbPopUp {
  0% {
    opacity: 0;
    transform: scale(0.35) translateY(24px);
  }
  65% {
    transform: scale(1.06) translateY(-4px);
  }
  85% {
    transform: scale(0.98) translateY(1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Individual Perspective Thumbnail Button - Extra Prominent Architectural Gallery */
.photo-thumb-btn {
  position: relative;
  width: 124px;
  height: 82px;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: #0B141F;
  border: 2px solid rgba(255, 255, 255, 0.32);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
  opacity: 0;
  transform: scale(0.35) translateY(24px);
  pointer-events: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Balanced sizing for asymmetric 5-column cards */
.project-card:nth-child(2) .photo-thumb-btn,
.project-card:nth-child(3) .photo-thumb-btn {
  width: 108px;
  height: 72px;
}

.photo-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.photo-thumb-btn .thumb-tag {
  position: absolute;
  bottom: 3px;
  right: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(11, 20, 31, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.1;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Other Photos Reveal Themselves on Card Hover with Staggered Spring Pop-Up */
.project-card:hover .photo-thumb-btn,
.project-card.photos-revealed .photo-thumb-btn {
  pointer-events: auto;
  animation: photoThumbPopUp 460ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.project-card:hover .photo-thumb-btn:nth-child(1),
.project-card.photos-revealed .photo-thumb-btn:nth-child(1) {
  animation-delay: 30ms;
}

.project-card:hover .photo-thumb-btn:nth-child(2),
.project-card.photos-revealed .photo-thumb-btn:nth-child(2) {
  animation-delay: 100ms;
}

.project-card:hover .photo-thumb-btn:nth-child(3),
.project-card.photos-revealed .photo-thumb-btn:nth-child(3) {
  animation-delay: 170ms;
}

.project-card:hover .photo-thumb-btn:nth-child(4),
.project-card.photos-revealed .photo-thumb-btn:nth-child(4) {
  animation-delay: 240ms;
}

/* Active Selected Thumbnail State */
.photo-thumb-btn.active {
  border-color: var(--gold-accent);
  box-shadow: 0 0 20px rgba(214, 161, 80, 0.7), 0 10px 28px rgba(0, 0, 0, 0.75);
}

/* Hovering Specific Thumbnail: Micro Pop-Up Lift */
.photo-thumb-btn:hover {
  transform: scale(1.08) translateY(-5px) !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 24px rgba(214, 161, 80, 0.65) !important;
  z-index: 6;
}

/* Touch Active State: Instant Tactile Response */
.photo-thumb-btn:active {
  transform: scale(0.96) !important;
  border-color: var(--gold-accent) !important;
}

/* Photo Switch Pop-Up Reveal Animation on Main Image Frame */
@keyframes photoFramePopUp {
  0% {
    opacity: 0.65;
    transform: scale(0.965);
  }
  60% {
    transform: scale(1.028);
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.project-img.popping-up {
  animation: photoFramePopUp 420ms cubic-bezier(0.34, 1.35, 0.64, 1) forwards;
}

/* Touch Screen & Coarse Pointer Support (Mobiles, Tablets, iPads, Touch Screens) */
@media (hover: none), (pointer: coarse) {
  .project-photo-popup-strip {
    pointer-events: auto !important;
  }

  .project-card .photo-thumb-btn,
  .project-card.in-view .photo-thumb-btn,
  .project-card.revealed .photo-thumb-btn,
  .project-card.photos-revealed .photo-thumb-btn {
    pointer-events: auto !important;
    animation: photoThumbPopUp 460ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }

  .project-card .photo-thumb-btn:nth-child(1),
  .project-card.in-view .photo-thumb-btn:nth-child(1),
  .project-card.revealed .photo-thumb-btn:nth-child(1),
  .project-card.photos-revealed .photo-thumb-btn:nth-child(1) {
    animation-delay: 60ms;
  }

  .project-card .photo-thumb-btn:nth-child(2),
  .project-card.in-view .photo-thumb-btn:nth-child(2),
  .project-card.revealed .photo-thumb-btn:nth-child(2),
  .project-card.photos-revealed .photo-thumb-btn:nth-child(2) {
    animation-delay: 140ms;
  }

  .project-card .photo-thumb-btn:nth-child(3),
  .project-card.in-view .photo-thumb-btn:nth-child(3),
  .project-card.revealed .photo-thumb-btn:nth-child(3),
  .project-card.photos-revealed .photo-thumb-btn:nth-child(3) {
    animation-delay: 220ms;
  }

  .project-card .photo-thumb-btn:nth-child(4),
  .project-card.in-view .photo-thumb-btn:nth-child(4),
  .project-card.revealed .photo-thumb-btn:nth-child(4),
  .project-card.photos-revealed .photo-thumb-btn:nth-child(4) {
    animation-delay: 300ms;
  }

  .photo-thumb-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Responsive Viewport Scaling for Photo Thumbnails */
@media (max-width: 1200px) {
  .photo-thumb-btn {
    width: 110px;
    height: 74px;
  }
  .project-card:nth-child(2) .photo-thumb-btn,
  .project-card:nth-child(3) .photo-thumb-btn {
    width: 96px;
    height: 64px;
  }
}

@media (max-width: 1024px) {
  .photo-thumb-btn {
    width: 102px;
    height: 68px;
  }
  .project-card:nth-child(2) .photo-thumb-btn,
  .project-card:nth-child(3) .photo-thumb-btn {
    width: 102px;
    height: 68px;
  }
}

@media (max-width: 768px) {
  .project-photo-popup-strip {
    bottom: 12px;
    right: 12px;
    gap: 8px;
    pointer-events: auto !important;
  }
  .photo-thumb-btn {
    width: 82px;
    height: 55px;
    border-radius: 6px;
    pointer-events: auto !important;
  }
  .project-card:nth-child(2) .photo-thumb-btn,
  .project-card:nth-child(3) .photo-thumb-btn {
    width: 82px;
    height: 55px;
  }
  /* On mobile in-view cards, auto-reveal the other photos so touch users see them */
  .project-card.in-view .photo-thumb-btn,
  .project-card.revealed .photo-thumb-btn,
  .project-card.photos-revealed .photo-thumb-btn {
    pointer-events: auto !important;
    animation: photoThumbPopUp 440ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  .project-card.in-view .photo-thumb-btn:nth-child(1),
  .project-card.revealed .photo-thumb-btn:nth-child(1),
  .project-card.photos-revealed .photo-thumb-btn:nth-child(1) { animation-delay: 80ms; }
  .project-card.in-view .photo-thumb-btn:nth-child(2),
  .project-card.revealed .photo-thumb-btn:nth-child(2),
  .project-card.photos-revealed .photo-thumb-btn:nth-child(2) { animation-delay: 150ms; }
  .project-card.in-view .photo-thumb-btn:nth-child(3),
  .project-card.revealed .photo-thumb-btn:nth-child(3),
  .project-card.photos-revealed .photo-thumb-btn:nth-child(3) { animation-delay: 220ms; }
  .project-card.in-view .photo-thumb-btn:nth-child(4),
  .project-card.revealed .photo-thumb-btn:nth-child(4),
  .project-card.photos-revealed .photo-thumb-btn:nth-child(4) { animation-delay: 290ms; }
}

@media (max-width: 480px) {
  .project-photo-popup-strip {
    bottom: 10px;
    right: 10px;
    gap: 6px;
    max-width: calc(100% - 20px);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    pointer-events: auto !important;
  }
  .project-photo-popup-strip::-webkit-scrollbar {
    display: none;
  }
  .photo-thumb-btn {
    width: 66px;
    height: 44px;
    border-radius: 4px;
    pointer-events: auto !important;
  }
  .project-card:nth-child(2) .photo-thumb-btn,
  .project-card:nth-child(3) .photo-thumb-btn {
    width: 66px;
    height: 44px;
  }
}

/* Hover Interaction: Immediate zero delay, 300–400ms, Zero Card Jumping / 3D Tilt */
.project-card:hover .project-media,
.project-card:hover .project-img,
.project-card:hover .project-media-overlay,
.project-card:hover .project-indicators,
.project-card:hover .project-name,
.project-card:hover .project-location,
.project-card:hover .project-meta-secondary,
.project-card:hover .project-action,
.project-card:hover .action-label,
.project-card:hover .action-arrow {
  transition-delay: 0ms !important;
}

.project-card:hover .project-img {
  transform: scale(1.02);
}

.project-card:hover .project-media-overlay {
  background: rgba(15, 27, 40, 0.18);
}

.project-card:hover .project-indicators {
  opacity: 1;
}

.project-card:hover .project-name {
  color: #FFFFFF;
}

.project-card:hover .action-label {
  color: var(--gold-accent);
}

.project-card:hover .action-arrow {
  color: var(--gold-accent);
  transform: translateX(5px);
}

@media (prefers-reduced-motion: reduce) {
  .project-card .project-media,
  .project-card .project-name,
  .project-card .project-location,
  .project-card .project-meta-secondary,
  .project-card .project-action {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }
}

/* Project Identity & Metadata */
.project-identity {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.project-meta-primary {
  flex: 1;
  min-width: 0;
}

.project-name {
  font-size: clamp(1.18rem, 1.45vw, 1.38rem);
  font-weight: 700;
  color: #FAFAF9;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 6px;
  white-space: normal; /* Never truncate project titles */
  overflow: visible;
  transition: color 350ms ease;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: #8C99A8;
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin: 0;
}

.location-glyph {
  color: #8C99A8;
  font-size: 0.85rem;
  line-height: 1;
}

.project-meta-secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  padding-top: 3px;
}

.project-type {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #718296;
}

.project-year {
  font-size: 0.78rem;
  font-weight: 500;
  color: #556678;
  font-variant-numeric: tabular-nums;
}

/* Action Row (Primary interaction: View Project -> ; Subordinated quote) */
.project-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-view-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.03em;
  transition: color 350ms ease;
}

.action-arrow {
  font-size: 0.95rem;
  display: inline-block;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), color 350ms ease;
}

.project-inquire-subordinate {
  font-size: 0.78rem;
  color: #556678;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 250ms ease;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(85, 102, 120, 0.4);
}

.project-inquire-subordinate:hover {
  color: var(--gold-accent);
  text-decoration-color: var(--gold-accent);
}

/* Section Bottom CTA (View All Projects -> Start a Project) */
.projects-section-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding-top: 16px;
}

.btn-view-all-projects {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease;
}

.btn-view-all-projects .btn-arrow {
  font-size: 1.05rem;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-view-all-projects:hover {
  background: rgba(214, 161, 80, 0.12);
  border-color: rgba(214, 161, 80, 0.5);
  color: var(--gold-accent);
}

.btn-view-all-projects:hover .btn-arrow {
  transform: translateX(4px);
}

.projects-sub-cta {
  font-size: 0.85rem;
  color: #7A8B9E;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-cta-link {
  color: var(--gold-accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 250ms ease;
}

.sub-cta-link:hover {
  text-decoration: underline;
}

/* Responsive Behavior */
@media (max-width: 992px) {
  .projects-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .project-card:nth-child(1),
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-card:nth-child(4) {
    grid-column: auto;
  }

  .project-card:nth-child(1) .project-media,
  .project-card:nth-child(2) .project-media,
  .project-card:nth-child(3) .project-media,
  .project-card:nth-child(4) .project-media {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 640px) {
  .projects-editorial-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .project-identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .project-meta-secondary {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-top: 0;
  }

  .project-card:nth-child(1) .project-media,
  .project-card:nth-child(2) .project-media,
  .project-card:nth-child(3) .project-media,
  .project-card:nth-child(4) .project-media {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-img,
  .project-media-overlay,
  .action-arrow,
  .btn-view-all-projects .btn-arrow {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}



/*-----------------------------------*\
  #SECTION 5: WHO WE ARE (12-Column Editorial Grid Studio Profile)
\*-----------------------------------*/

.section-about-clean {
  background-color: #2D4660; /* Warm architectural blue */
  padding-block: 100px 105px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* True 12-Column Editorial Grid */
.about-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 56px;
  align-items: stretch;
}

/* Left: Architectural Evidence Image (~5 columns) */
.about-media-col {
  grid-column: span 5;
  display: flex;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1c3044;
}

.about-architectural-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
}

/* Right: Textual Content (~7 columns) */
.about-content-col {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Small Unboxed Section Label at the Top */
.about-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-accent);
  margin-bottom: 14px;
}

/* Main Headline */
.about-headline {
  font-size: clamp(2rem, 2.9vw, 2.65rem);
  font-weight: 700;
  line-height: 1.22;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* Concise Description */
.about-description {
  font-size: 1.05rem;
  line-height: 1.74;
  color: #D3DFEC;
  margin-bottom: 32px;
  max-width: 620px;
}

/* Three Numbered Capability Rows (No Cards) */
.about-capabilities-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-capability-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-block: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-capability-row:last-child {
  border-bottom: none;
}

.cap-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-accent);
  letter-spacing: 0.04em;
  min-width: 24px;
}

.cap-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  flex: 1;
}

.cap-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
}

.cap-detail {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #A3B5C7;
  margin: 0;
}

/* Subtle Scroll-Reveal Animation: 8-12px text rise and 0.98 -> 1 image reveal */
.about-media-col {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.section-about-clean.revealed .about-media-col,
.section-about-clean.in-view .about-media-col {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.08s;
}

.about-eyebrow,
.about-headline,
.about-description,
.about-capability-row {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.section-about-clean.revealed .about-eyebrow,
.section-about-clean.in-view .about-eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.04s;
}

.section-about-clean.revealed .about-headline,
.section-about-clean.in-view .about-headline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.section-about-clean.revealed .about-description,
.section-about-clean.in-view .about-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.20s;
}

.section-about-clean.revealed .about-capability-row:nth-child(1),
.section-about-clean.in-view .about-capability-row:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

.section-about-clean.revealed .about-capability-row:nth-child(2),
.section-about-clean.in-view .about-capability-row:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.section-about-clean.revealed .about-capability-row:nth-child(3),
.section-about-clean.in-view .about-capability-row:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

/* Tablet & Mobile Responsiveness: Collapses naturally to Image -> Headline -> Description -> Capability rows */
@media (max-width: 900px) {
  .section-about-clean {
    padding-block: 70px 75px;
  }

  .about-grid-12 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-media-col {
    grid-column: auto;
  }

  .about-content-col {
    grid-column: auto;
  }

  .about-image-wrapper {
    min-height: 240px;
    max-height: 340px;
  }

  .about-headline {
    font-size: 1.85rem;
    margin-bottom: 16px;
  }

  .about-description {
    font-size: 1rem;
    line-height: 1.68;
    margin-bottom: 24px;
  }

  .about-capabilities-list {
    margin-top: 0;
  }

  .about-capability-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-block: 14px;
  }

  .cap-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .about-media-col,
  .about-eyebrow,
  .about-headline,
  .about-description,
  .about-capability-row {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/*-----------------------------------*\
  #SECTION 6: HOW WE WORK (Warm Ivory Architectural Timeline)
\*-----------------------------------*/

.section-process-clean {
  background-color: #FAF9F6;
  padding-block: 95px 105px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #EBE4D4;
}

/* Process Timeline Header */
.process-timeline-header {
  margin-bottom: 50px;
  text-align: center;
}

.process-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.process-main-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.22;
  color: #182638;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.process-main-subtitle {
  font-size: 1.05rem;
  color: #556272;
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.68;
}

/* Timeline Tree Structure */
.timeline-tree {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding-block: 10px 20px;
}

/* Central Continuous Track (1.5px, muted tone) */
.timeline-line-track {
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 30px;
  width: 1.5px;
  background-color: #E5DFD4;
  transform: translateX(-50%);
  z-index: 1;
}

/* Scroll-Linked Progress Line (Muted Gold) */
.timeline-line-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: #D6A150;
  transition: height 0.2s ease-out;
  will-change: height;
}

/* Alternating Timeline Rows (120–160px between step centers) */
.timeline-row {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-row.row-left {
  justify-content: flex-start;
}

.timeline-row.row-right {
  justify-content: flex-end;
}

/* Step Wrapper (Image + Text) */
.timeline-step-wrap {
  width: calc(50% - 40px);
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.timeline-row.row-left .timeline-step-wrap {
  flex-direction: row;
  justify-content: flex-end;
}

.timeline-row.row-right .timeline-step-wrap {
  flex-direction: row;
  justify-content: flex-start;
}

/* Connecting Horizontal Connector Line */
.timeline-row.row-left .timeline-step-wrap::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 50%;
  width: 40px;
  height: 1.5px;
  background-color: #E5DFD4;
  z-index: 1;
  transition: background-color 0.4s ease;
}

.timeline-row.row-right .timeline-step-wrap::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 50%;
  width: 40px;
  height: 1.5px;
  background-color: #E5DFD4;
  z-index: 1;
  transition: background-color 0.4s ease;
}

.timeline-row.step-active.row-left .timeline-step-wrap::after,
.timeline-row.step-active.row-right .timeline-step-wrap::before {
  background-color: #D6A150;
}

/* Enlarged Architectural Images (220-280px wide, consistent ratio) */
.timeline-image-frame {
  width: 250px;
  height: 154px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #EAE5DB;
  border: 1px solid #DFD8CC;
  box-shadow: 0 4px 16px rgba(24, 38, 56, 0.05);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.timeline-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.timeline-step-wrap:hover .timeline-image-frame img {
  transform: scale(1.04);
}

.timeline-row.step-active .timeline-image-frame {
  opacity: 1;
  transform: scale(1);
}

/* Step Typography (Clear hierarchy, unbolded body) */
.timeline-content {
  flex: 1;
  min-width: 0;
  max-width: 350px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.timeline-row.step-active .timeline-content {
  opacity: 1;
  transform: translateY(0);
}

.step-num-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #B88534;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #182638;
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.94rem;
  color: #556272;
  line-height: 1.58;
  margin: 0;
  font-weight: 400;
}

/* Simple Circle Milestone Node (No Glowing Rings) */
.timeline-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #FAF9F6;
  border: 2px solid #C4B9A7;
  z-index: 3;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.timeline-row.step-active .timeline-node {
  border-color: #D6A150;
  background-color: #D6A150;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 900px) {
  .timeline-tree {
    padding-left: 28px;
  }

  .timeline-line-track {
    left: 14px;
    transform: none;
  }

  .timeline-node {
    left: 14px !important;
    transform: translate(-50%, -50%);
  }

  .timeline-row {
    margin-bottom: 34px;
    padding-left: 28px;
    justify-content: flex-start !important;
  }

  .timeline-step-wrap {
    width: 100%;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 14px;
  }

  .timeline-row.row-left .timeline-step-wrap::after,
  .timeline-row.row-right .timeline-step-wrap::before {
    left: -28px !important;
    right: auto !important;
    width: 28px;
    top: 24px;
  }

  .timeline-image-frame {
    width: 100%;
    max-width: 320px;
    height: 180px;
  }

  .timeline-content {
    max-width: 100%;
  }
}

@media (max-width: 580px) {
  .section-process-clean {
    padding-block: 70px 80px;
  }

  .process-main-title {
    font-size: 1.85rem;
  }

  .timeline-image-frame {
    max-width: 100%;
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-line-progress {
    height: 100% !important;
    transition: none !important;
  }

  .timeline-image-frame,
  .timeline-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .timeline-node {
    border-color: #D6A150 !important;
    background-color: #D6A150 !important;
  }
}

/*-----------------------------------*\
  #SECTION 7: FINAL CTA (Confident Studio Closing Statement)
\*-----------------------------------*/

.section-cta-clean {
  background-color: #2D4660; /* Architectural blue */
  padding-block: 95px 115px;
  position: relative;
  overflow: hidden;
}

.final-cta-wrapper {
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Unboxed Section Label at Top */
.final-cta-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 16px;
}

/* Single White Headline */
.final-cta-headline {
  font-size: clamp(2.1rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* Supporting Copy */
.final-cta-desc {
  font-size: 1.05rem;
  color: #D3DFEC;
  line-height: 1.68;
  max-width: 520px;
  margin-bottom: 36px;
}

/* CTA Action */
.final-cta-action {
  display: flex;
  justify-content: center;
}

/* Gold Filled Button (~48-52px height, moderate radius, subtle hover) */
.btn-final-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 38px;
  background-color: var(--gold-accent);
  color: #121E2B;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 8px; /* Moderate radius */
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-final-cta:hover {
  background-color: #C59140;
}

.btn-final-cta .cta-arrow {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.btn-final-cta:hover .cta-arrow {
  transform: translateX(4px); /* Arrow moves 4px on hover */
}

.btn-final-cta:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.btn-final-cta:active {
  transform: scale(0.985);
}

/* Subtle Scroll Entrance: 8-12px rise, 500-700ms ease-out */
.section-cta-clean .final-cta-eyebrow,
.section-cta-clean .final-cta-headline,
.section-cta-clean .final-cta-desc,
.section-cta-clean .btn-final-cta {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.section-cta-clean.revealed .final-cta-eyebrow,
.section-cta-clean.in-view .final-cta-eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.section-cta-clean.revealed .final-cta-headline,
.section-cta-clean.in-view .final-cta-headline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.section-cta-clean.revealed .final-cta-desc,
.section-cta-clean.in-view .final-cta-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.20s;
}

.section-cta-clean.revealed .btn-final-cta,
.section-cta-clean.in-view .btn-final-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

@media (max-width: 580px) {
  .process-to-cta-transition {
    height: 70px;
  }

  .section-cta-clean {
    padding-block: 30px 80px;
  }

  .final-cta-headline {
    font-size: 1.85rem;
  }

  .final-cta-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .btn-final-cta {
    width: 100%;
    padding: 0 24px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-cta-clean .final-cta-eyebrow,
  .section-cta-clean .final-cta-headline,
  .section-cta-clean .final-cta-desc,
  .section-cta-clean .btn-final-cta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-dark {
  background: var(--navy-dark);
  border-top: 1px solid var(--champagne-subtle);
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-tag {
  font-size: 0.82rem;
  color: var(--champagne-warm);
  margin-top: 10px;
  max-width: 450px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--grey-cool);
}

.footer-links a:hover {
  color: var(--gold-accent);
}

.footer-copy {
  border-top: 1px solid var(--champagne-subtle);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--grey-cool);
}

/* Overlay for Navigation Drawer */
.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(14, 23, 34, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/*-----------------------------------*\
  #RESPONSIVE DESIGN
\*-----------------------------------*/

@media (max-width: 1024px) {
  .types-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .locations-gallery-grid {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .location-primary-card {
    grid-column: span 2;
    height: 320px;
  }

  .location-strip-item {
    height: 200px;
  }

  .steps-clean-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .work-grid:hover .work-card,
  .work-grid .work-card:hover {
    flex: unset;
    opacity: 1;
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .header-actions .btn-add-property span {
    display: none;
  }

  .header-actions .btn-add-property {
    padding: 8px 12px;
  }

  .navbar {
    width: 320px;
  }

  .hero-headline {
    font-size: 2.35rem;
  }

  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .listings-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .listings-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .steps-clean-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =====================================
   INSTANT ARCHITECTURAL QUOTE MODAL
   ===================================== */
.quote-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 22, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

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

.quote-modal-panel {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #0F1A26;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  padding: 34px 34px 30px;
  transform: scale(0.94) translateY(18px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  overflow-y: auto;
}

.quote-modal-backdrop.open .quote-modal-panel {
  transform: scale(1) translateY(0);
}

/* Close Button (Clean & Minimal) */
.quote-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 5;
}

.quote-modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Header */
.quote-modal-header {
  margin-bottom: 22px;
  padding-right: 32px;
}

.quote-modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 6px;
}

.quote-modal-lead {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 8px;
}

.quote-modal-context {
  font-size: 0.8rem;
  color: #64748B;
  margin: 0;
}

.quote-modal-context strong {
  color: var(--gold-accent);
  font-weight: 600;
}

/* Form Grid */
.quote-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 14px;
  margin-bottom: 22px;
}

.quote-full-width {
  grid-column: span 2;
}

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

.quote-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #CBD5E1;
  letter-spacing: 0.02em;
}

.quote-label-req {
  color: var(--gold-accent);
}

.quote-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.area-not-sure-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.74rem;
  color: #64748B;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.area-not-sure-btn:hover,
.area-not-sure-btn.active {
  color: var(--gold-accent);
  font-weight: 600;
}

/* Clean Area Wrapper with Inline Unit */
.quote-clean-area-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.quote-clean-area-wrap .quote-input {
  padding-right: 44px;
}

.quote-area-unit {
  position: absolute;
  right: 14px;
  color: #64748B;
  font-size: 0.85rem;
  font-weight: 600;
  pointer-events: none;
}

/* Inputs & Textareas (No Internal Icons) */
.quote-input,
.quote-textarea {
  width: 100%;
  background: #0B131D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #FAFAF9;
  font-family: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.quote-input::placeholder,
.quote-textarea::placeholder {
  color: rgba(148, 163, 184, 0.4);
  font-size: 0.84rem;
}

.quote-input:focus,
.quote-textarea:focus {
  border-color: var(--gold-accent);
  background: #080E16;
  box-shadow: 0 0 0 2px rgba(214, 161, 80, 0.18);
}

/* Validation Error States */
.has-error .quote-input,
.has-error .quote-textarea {
  border-color: #EF4444 !important;
  background-color: rgba(239, 68, 68, 0.04) !important;
}

.quote-field-error {
  display: none;
  font-size: 0.74rem;
  color: #F87171;
  margin-top: 3px;
  line-height: 1.3;
}

.has-error .quote-field-error {
  display: block;
}

/* Project Type Toggle Group */
.quote-type-toggle-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.type-pill-btn {
  background: #0B131D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.type-pill-btn:hover {
  border-color: rgba(214, 161, 80, 0.4);
  color: #FFFFFF;
}

.type-pill-btn.active {
  background: var(--gold-accent);
  color: #0C141E;
  font-weight: 700;
  border-color: var(--gold-accent);
}

/* Conditional Scope Details */
.scope-pane {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Bedrooms Selector */
.quote-bedrooms-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.room-pill-btn {
  background: #0B131D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.room-pill-btn:hover {
  border-color: rgba(214, 161, 80, 0.4);
  color: #FFFFFF;
}

.room-pill-btn.active {
  background: var(--gold-accent);
  color: #0C141E;
  font-weight: 700;
  border-color: var(--gold-accent);
}

/* Textarea */
.quote-textarea {
  resize: vertical;
  min-height: 82px;
  line-height: 1.5;
}

/* Actions & Button (No Heavy Neon Glow) */
.quote-modal-actions {
  margin-top: 4px;
  margin-bottom: 12px;
}

.quote-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold-accent);
  color: #0C141E;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  box-shadow: none;
}

.quote-submit-btn:hover:not(:disabled) {
  background: #E5B25D;
  transform: translateY(-1px);
}

.quote-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.quote-submit-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 1rem;
}

.quote-submit-btn:hover:not(:disabled) .btn-arrow {
  transform: translateX(4px);
}

/* Shorter & Credible Confidentiality Line */
.quote-security-note {
  font-size: 0.78rem;
  color: #64748B;
  text-align: center;
  margin: 0;
}

/* Success Panel */
.quote-success-panel {
  text-align: center;
  padding: 28px 16px 12px;
  animation: qFadeIn 0.35s ease;
}

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

.quote-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(214, 161, 80, 0.12);
  border: 1px solid rgba(214, 161, 80, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 1.8rem;
  box-shadow: none;
}

.quote-success-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.quote-success-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 440px;
  margin-inline: auto;
}

.quote-success-close-btn {
  background: var(--gold-accent);
  color: #0C141E;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.quote-success-close-btn:hover {
  background: #E5B25D;
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .quote-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .quote-full-width {
    grid-column: span 1;
  }
  .quote-modal-panel {
    padding: 24px 20px 22px;
    border-radius: 8px;
  }
  .quote-bedrooms-selector {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   ARCHITECTURAL PHOTO LIGHTBOX MODAL (POP-UP)
   ========================================================================== */
.photo-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(11, 20, 31, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-lightbox-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.photo-lightbox-panel {
  position: relative;
  width: 100%;
  max-width: 1080px;
  max-height: 94vh;
  background: #0F1B28;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(214, 161, 80, 0.12);
  transform: scale(0.92) translateY(24px);
  transition: transform 420ms cubic-bezier(0.34, 1.45, 0.64, 1);
}

.photo-lightbox-backdrop.open .photo-lightbox-panel {
  transform: scale(1) translateY(0);
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease, color 200ms ease;
}

.lightbox-close-btn:hover {
  background: rgba(214, 161, 80, 0.25);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  transform: scale(1.08);
}

.lightbox-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lightbox-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
}

.lightbox-title {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  color: #FAFAF9;
  letter-spacing: -0.01em;
  margin: 0;
}

.lightbox-location {
  font-size: 0.82rem;
  color: #8C99A8;
  margin: 0;
}

.lightbox-counter {
  font-size: 0.82rem;
  font-weight: 600;
  color: #A0AEC0;
  padding-right: 48px;
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: #080E15;
  min-height: 360px;
  max-height: 60vh;
  overflow: hidden;
}

.lightbox-image-wrap {
  width: 100%;
  height: 100%;
  max-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 56vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.7);
  animation: lightboxPhotoPopUp 380ms cubic-bezier(0.34, 1.35, 0.64, 1);
}

@keyframes lightboxPhotoPopUp {
  0% {
    opacity: 0.4;
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 27, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease, color 200ms ease;
}

.lightbox-nav-btn:hover {
  background: rgba(214, 161, 80, 0.25);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev {
  left: 20px;
}

.lightbox-nav-btn.next {
  right: 20px;
}

.lightbox-filmstrip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px 18px;
  background: #0B141F;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.lightbox-filmstrip-thumb {
  width: 70px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: #080E15;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  opacity: 0.55;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-filmstrip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-filmstrip-thumb:hover {
  opacity: 0.9;
  transform: scale(1.06) translateY(-2px);
  border-color: #FFFFFF;
}

.lightbox-filmstrip-thumb.active {
  opacity: 1;
  border-color: var(--gold-accent);
  box-shadow: 0 0 14px rgba(214, 161, 80, 0.5);
  transform: scale(1.08) translateY(-2px);
}

@media (max-width: 768px) {
  .lightbox-panel {
    max-height: 96vh;
  }
  .lightbox-stage {
    min-height: 260px;
  }
  .lightbox-nav-btn.prev { left: 8px; }
  .lightbox-nav-btn.next { right: 8px; }
  .lightbox-filmstrip-thumb {
    width: 56px;
    height: 38px;
  }
}