/* ==========================================================================
   ARPIT CONSTRUCTION COMPANY — HIGH-END EDITORIAL DESIGN SYSTEM
   Aesthetic: Modern, Minimalist, Apple-esque, Elite Architecture Firm
   Palette: Alabaster / Off-white, Deep Charcoal, Champagne Gold & Bronze
   Performance: Hardware-Accelerated 60fps Scrolling
   Zero-Overlap Geometry: Guaranteed Safe Viewport Clearance & No Clipping
   ========================================================================== */

:root {
  /* Alabaster & Monochromatic Editorial Palette */
  --bg-alabaster: #FAF9F6;
  --bg-surface: #F4F4F0;
  --bg-surface-elevated: #FFFFFF;
  --bg-frosted-pill: rgba(255, 255, 255, 0.88);
  --bg-frosted-suite: rgba(253, 252, 250, 0.95);
  
  /* Text: Charcoal & Obsidian */
  --text-charcoal: #111111;
  --text-headline: #121214;
  --text-body: #2C2C30;
  --text-muted: #64646C;
  --text-subtle: #8E8E93;
  
  /* Subtle Metallic & Architectural Accents */
  --accent-gold: #B38F48;
  --accent-gold-light: #C5A059;
  --accent-gold-soft: rgba(179, 143, 72, 0.12);
  --accent-bronze: #8C6D3B;
  --gold-gradient: linear-gradient(135deg, #B38F48 0%, #8C6D3B 100%);
  
  /* Hairline Borders & Shadows */
  --hairline: rgba(0, 0, 0, 0.07);
  --hairline-strong: rgba(0, 0, 0, 0.11);
  --hairline-gold: rgba(179, 143, 72, 0.35);
  
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-pill: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-plate: 0 16px 40px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(0, 0, 0, 0.02);
  
  /* WhatsApp Identity */
  --wa-green: #25D366;
  --wa-dark: #128C7E;
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: auto;
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-alabaster);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-alabaster);
}

/* ==========================================================================
   NAVIGATION: SLEEK FLOATING GLASSMORPHIC PILL + SEPARATED CTA
   ========================================================================== */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 20px;
  pointer-events: none; /* Allows canvas scroll through gaps */
  transition: all 0.3s ease;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Glassmorphic Navigation Pill */
.nav-glass-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 5px 8px 5px 12px;
  background: var(--bg-frosted-pill);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--hairline-strong);
  border-radius: 9999px;
  box-shadow: var(--shadow-pill);
  transition: transform 0.3s var(--ease-editorial), box-shadow 0.3s ease;
}

.nav-glass-pill:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-charcoal);
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-gold);
  transition: transform 0.3s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-charcoal);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.nav-pill-divider {
  width: 1px;
  height: 22px;
  background: var(--hairline-strong);
}

/* Nav Links inside pill */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 5px 13px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  color: var(--text-charcoal);
  background: rgba(0, 0, 0, 0.04);
}

.nav-btn.active {
  color: #FFFFFF;
  background: var(--text-charcoal);
  font-weight: 600;
}

/* Separated Right Actions */
.header-actions {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-header-call {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-charcoal);
  padding: 7px 15px;
  background: var(--bg-frosted-pill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hairline-strong);
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease-editorial);
}

.btn-header-call:hover {
  background: #FFFFFF;
  border-color: var(--accent-gold);
  transform: translateY(-1px);
}

.btn-header-wa {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--text-charcoal);
  color: #FFFFFF;
  border: 1px solid var(--text-charcoal);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.25s var(--ease-editorial);
}

.btn-header-wa .wa-icon {
  color: var(--wa-green);
}

.btn-header-wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-header-wa:hover .wa-icon {
  color: #FFFFFF;
}

.icon-svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   RIGHT-HAND EDITORIAL CHAPTER HUD
   ========================================================================== */
.chapter-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chapter-dot {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  cursor: pointer;
  padding: 4px;
}

.dot-num {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(18, 18, 20, 0.38);
  letter-spacing: 1px;
  transition: all 0.25s ease;
}

.dot-label {
  display: none;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-charcoal);
  background: var(--bg-frosted-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-sm);
}

.chapter-dot:hover .dot-label {
  display: block;
}

.chapter-dot.active .dot-num {
  color: var(--accent-gold);
  font-size: 0.92rem;
  font-weight: 800;
}

/* ==========================================================================
   SCROLL TRACK & 3D CANVAS VIEWPORT
   ========================================================================== */
#scroll-track {
  position: relative;
  width: 100%;
  height: 520vh;
}

.sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-alabaster);
}

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* Scrolly Container: Removed the muddy dark vignette! Pure, crystal-clear airy stage */
.scrolly-container {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.scrolly-container::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 45%, rgba(250, 249, 246, 0.12) 0%, rgba(250, 249, 246, 0.45) 100%);
}

/* ==========================================================================
   STORY SECTIONS: SAFE AREA & ZERO-OVERLAP GEOMETRY
   84px top clearance ensures content NEVER touches the floating navbar!
   margin: auto 0 ensures vertical centering with NO top clipping!
   ========================================================================== */
.story-section {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 82px 28px 24px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease-editorial), transform 0.45s var(--ease-editorial), visibility 0.45s;
  pointer-events: none;
  z-index: 2;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.story-section::-webkit-scrollbar {
  display: none;
}

.story-section.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Staggered entrance animation for active sections */
.anim-fade-up {
  opacity: 0;
  transform: translateY(18px);
  animation: editorialFadeUp 0.8s var(--ease-editorial) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes editorialFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Common Editorial Section Container */
.editorial-narrative-container {
  max-width: 1200px;
  width: 100%;
  margin: auto 0;
  position: relative;
}

/* Shared Editorial Meta Index Tag */
.editorial-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-bronze);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.editorial-meta-tag.centered {
  justify-content: center;
}

.meta-index {
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.meta-slash {
  opacity: 0.4;
}

.meta-title {
  letter-spacing: 2px;
}

/* ==========================================================================
   SECTION 1: HERO — PROPORTIONED MASSIVE EDITORIAL TYPOGRAPHY
   Total Height ~360px: Safely centered, zero navbar overlap, zero cutoff
   ========================================================================== */
.editorial-hero-wrapper {
  max-width: 920px;
  width: 100%;
  margin: auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-frosted-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hairline-strong);
  padding: 5px 14px;
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}

.kicker-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.kicker-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--text-charcoal);
  text-transform: uppercase;
}

/* Proportioned Headline: Commanding yet fits effortlessly */
.hero-massive-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.headline-block {
  display: block;
}

.italic-serif {
  font-style: italic;
  font-weight: 400;
  color: #1A1A1E;
}

.gold-editorial {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Editorial Subtitle */
.hero-editorial-lead {
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 580px;
  margin: 0 auto 18px;
  font-weight: 400;
}

/* Hero Actions */
.hero-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.btn-editorial-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text-charcoal);
  color: #FFFFFF;
  border: none;
  padding: 6px 6px 6px 18px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  transition: all 0.25s var(--ease-editorial);
}

.btn-arrow-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-editorial);
}

.btn-arrow-badge svg {
  width: 16px;
  height: 16px;
}

.btn-editorial-primary:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-editorial-primary:hover .btn-arrow-badge {
  transform: translateX(3px) scale(1.05);
}

.btn-editorial-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-frosted-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-charcoal);
  border: 1px solid var(--hairline-strong);
  padding: 10px 18px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease-editorial);
}

.wa-icon-sm {
  color: var(--wa-green);
  width: 16px;
  height: 16px;
}

.btn-editorial-secondary:hover {
  background: #FFFFFF;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Benchmark Metrics Bar (Compact & Proportioned) */
.hero-spec-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-frosted-pill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  padding: 10px 24px;
  box-shadow: var(--shadow-sm);
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.spec-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-charcoal);
  line-height: 1;
}

.spec-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  line-height: 1.2;
}

.spec-hairline {
  width: 1px;
  height: 24px;
  background: var(--hairline-strong);
}

/* ==========================================================================
   SECTION 2: PILLARS (CORE PHILOSOPHY)
   Balanced 2-Column with 2x2 Flow on Right — Total Height ~260px!
   Zero Overlap with Navbar, Zero Bottom Cutoff!
   ========================================================================== */
.asym-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 28px;
  align-items: center;
}

/* Left Column: Anchored Narrative */
.asym-header-col {
  display: flex;
  flex-direction: column;
  background: var(--bg-frosted-pill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hairline-strong);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: var(--shadow-plate);
}

.editorial-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.editorial-section-title.centered {
  text-align: center;
}

.italic-title {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
}

.editorial-section-lead {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.asym-brand-accent {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}

.brand-monogram-line {
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
}

.brand-quote {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-charcoal);
}

/* Right Column: 2x2 Clean Minimalist Stream (NO TALL BOXES) */
.asym-pillars-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pillar-stream-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--bg-frosted-pill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-editorial);
}

.pillar-stream-item:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-gold);
  box-shadow: var(--shadow-plate);
  background: #FFFFFF;
}

.pillar-num-hairline {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-gold);
}

.pillar-text-content {
  display: flex;
  flex-direction: column;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 4px;
  line-height: 1.25;
}

.pillar-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SECTION 3: DISCIPLINES (SERVICES)
   Balanced 2-Column with 2x2 Flow on Right — Total Height ~270px!
   ========================================================================== */
.services-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-bronze);
  background: var(--accent-gold-soft);
  padding: 6px 12px;
  border-radius: 9999px;
  width: fit-content;
}

.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.asym-services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-editorial-row {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  background: var(--bg-frosted-pill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-editorial);
}

.service-editorial-row:hover {
  transform: translateY(-2px);
  border-color: var(--hairline-gold);
  box-shadow: var(--shadow-plate);
  background: #FFFFFF;
}

.service-row-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.service-idx {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.service-name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-charcoal);
  line-height: 1.25;
}

.service-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

.service-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-row-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.04);
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid var(--hairline);
}

/* ==========================================================================
   SECTION 4: SELECTED WORKS (PORTFOLIO)
   Balanced 2-Column with 3 Compact Work Rows — Total Height ~300px!
   ========================================================================== */
.portfolio-callout-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}

.callout-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.callout-lbl {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.asym-works-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-editorial-item {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: var(--bg-frosted-pill);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-editorial);
}

.work-editorial-item:hover {
  transform: translateX(4px);
  border-color: var(--hairline-gold);
  box-shadow: var(--shadow-plate);
  background: #FFFFFF;
}

.work-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.work-type-badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent-bronze);
  background: var(--accent-gold-soft);
  padding: 2px 8px;
  border-radius: 9999px;
}

.work-scale-meta {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.work-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 2px;
}

.work-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.42;
}

/* ==========================================================================
   SECTION 5: ALABASTER EDITORIAL CONSULTATION SUITE
   Compact Dimensions: Fits cleanly in 100vh with Zero Cutoff!
   ========================================================================== */
.editorial-inquiry-plate {
  max-width: 720px;
  width: 100%;
  margin: auto 0;
  background: var(--bg-frosted-suite);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--hairline-strong);
  border-radius: 20px;
  padding: 22px 32px;
  box-shadow: var(--shadow-plate);
  position: relative;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: none;
}

.editorial-inquiry-plate::-webkit-scrollbar {
  display: none;
}

.inquiry-header-block {
  margin-bottom: 14px;
  text-align: center;
}

.inquiry-plate-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--text-charcoal);
  line-height: 1.15;
  margin-bottom: 4px;
}

.inquiry-plate-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.phone-highlight {
  color: var(--text-charcoal);
  font-weight: 600;
}

/* Form Styles */
.editorial-form-suite {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.form-duo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
}

.form-field-group label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-bottom: 3px;
  letter-spacing: 0.2px;
}

.req {
  color: #DC2626;
}

.form-field-group input,
.form-field-group select,
.form-field-group textarea {
  width: 100%;
  padding: 8px 12px;
  background: #FFFFFF;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  color: var(--text-charcoal);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  transition: all 0.2s ease;
}

.form-field-group input:focus,
.form-field-group select:focus,
.form-field-group textarea:focus {
  outline: none;
  border-color: var(--text-charcoal);
  box-shadow: 0 0 0 2px rgba(18, 18, 20, 0.08);
}

.form-field-group textarea {
  resize: vertical;
}

/* Submit CTA */
.btn-editorial-submit-wa {
  width: 100%;
  padding: 11px 20px;
  background: var(--text-charcoal);
  border: none;
  border-radius: 10px;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.94rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.25s var(--ease-editorial);
  margin-top: 4px;
}

.btn-editorial-submit-wa:hover {
  background: #25D366;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.wa-icon-white {
  width: 18px;
  height: 18px;
}

.form-feedback {
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
}

.form-feedback.success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-feedback.error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.inquiry-direct-hotline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 7px 14px;
  background: #FFFFFF;
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  font-size: 0.78rem;
}

.hotline-prompt {
  color: var(--text-muted);
}

.hotline-link {
  font-weight: 700;
  color: var(--text-charcoal);
  text-decoration: none;
  font-family: var(--font-sans);
}

.hotline-link:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   HORIZONTAL PROJECTS SHOWCASE & CERTIFICATE
   ========================================================================== */
.projects-editorial-section,
.certificate-editorial-section {
  position: relative;
  background: var(--bg-alabaster);
  z-index: 10;
  padding: 70px 20px;
}

.editorial-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.projects-horizontal-track {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 8vw;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.projects-horizontal-track::-webkit-scrollbar {
  display: none;
}

.project-horizontal-card {
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: center;
  border-radius: 14px;
  box-shadow: var(--shadow-plate);
  transition: transform 0.35s var(--ease-editorial);
}

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

.project-horizontal-card img {
  max-width: 76vw;
  max-height: 60vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--hairline-strong);
  background: var(--bg-surface);
}

/* Certificate */
.certificate-image-wrapper {
  margin: 28px auto 0;
  max-width: 680px;
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  padding: 8px;
  background: #FFFFFF;
  box-shadow: var(--shadow-plate);
  transition: transform 0.35s ease;
}

.certificate-image-wrapper:hover {
  transform: scale(1.015);
}

.certificate-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ==========================================================================
   FOOTER: SOPHISTICATED ARCHITECTURAL FINALE
   ========================================================================== */
.site-footer {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  color: var(--text-body);
  padding: 60px 20px 28px;
  z-index: 10;
  border-top: 1px solid var(--hairline-strong);
}

.footer-top-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline);
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent-gold);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-charcoal);
  letter-spacing: 0.8px;
}

.footer-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent-gold);
}

.footer-tagline-quote {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-charcoal);
  border-left: 2px solid var(--accent-gold);
  padding-left: 10px;
  margin-bottom: 14px;
}

.footer-summary-text {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-certification-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cert-pill {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-bronze);
  background: var(--accent-gold-soft);
  padding: 3px 10px;
  border-radius: 9999px;
}

.footer-section-title {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-link-btn:hover {
  color: var(--text-charcoal);
}

.footer-nav-list span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.84rem;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-row strong {
  display: block;
  color: var(--text-charcoal);
  margin-bottom: 2px;
}

.footer-contact-row p,
.footer-phone-anchor {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-phone-anchor:hover {
  color: var(--text-charcoal);
}

.btn-footer-wa-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 18px;
  background: var(--text-charcoal);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.btn-footer-wa-chat:hover {
  background: #25D366;
  transform: translateY(-1px);
}

.footer-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.footer-tagline-small {
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

/* ==========================================================================
   FLOATING QUICK WHATSAPP CTA
   ========================================================================== */
.floating-wa-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
}

.floating-wa-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease-editorial);
  position: relative;
  z-index: 2;
  text-decoration: none;
}

.floating-wa-link svg {
  width: 24px;
  height: 24px;
}

.floating-wa-link:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
}

.floating-wa-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: waPulse 2.4s infinite;
  z-index: 1;
}

@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.floating-tooltip {
  display: none;
  position: absolute;
  right: 58px;
  background: var(--text-charcoal);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
}

.floating-wa-widget:hover .floating-tooltip {
  display: block;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .story-section {
    padding: 76px 20px 20px;
  }

  .asym-editorial-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .asym-header-col {
    padding: 20px;
  }

  .asym-pillars-flow,
  .asym-services-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

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

  .chapter-nav {
    display: none; /* Hide HUD on smaller screens to prevent clutter */
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 8px;
    padding: 0 10px;
  }

  .header-inner {
    justify-content: space-between;
  }

  .desktop-nav {
    display: none; /* Mobile cleans up to focus on brand and CTA */
  }

  .nav-pill-divider {
    display: none;
  }

  .call-text {
    display: none;
  }

  .btn-header-call {
    padding: 7px 10px;
  }

  .story-section {
    padding: 72px 14px 18px;
    justify-content: flex-start; /* Start from top on mobile so scrolling works naturally */
  }

  .editorial-hero-wrapper {
    margin: 0 auto;
  }

  .hero-actions-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 8px;
  }

  .btn-editorial-primary,
  .btn-editorial-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-spec-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 16px;
    width: 100%;
  }

  .spec-hairline {
    display: none;
  }

  .asym-pillars-flow,
  .asym-services-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .editorial-inquiry-plate {
    padding: 20px 16px;
    max-height: calc(100vh - 90px);
  }

  .form-duo-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .footer-bottom-strip {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
