/* 
   RAMA + ARCHITECTURAL STUDIO - CUSTOM VISUAL CLONE
   VANILLA ARCHITECTURAL STYLESHEET
   100% Core HTML & CSS - No Frameworks - No JavaScript
*/

/* ==========================================
   0. Custom Variables & Design Tokens
   ========================================== */
:root {
  /* Warm Luxury Paper Canvas & Crisp Architectural Slate Darks */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;       /* Ultra clean warm-white slate grey mix */
  --bg-darken: #f1f5f9;          /* Slightly deeper slate grey */
  --bg-accent-dark: #0f172a;     /* Deep slate blue/black luxury brand slate */
  --bg-above-header: rgba(183, 183, 183, 0.12);
  
  --text-primary: #0f172a;       /* Elegant high-contrast deep slate */
  --text-secondary: #334155;     /* Professional readable slate-700 */
  --text-muted: #64748b;         /* Readable muted slate-500 */
  --text-light: #ffffff;
  
  --accent-gold: #b59f3d;        /* Refined premium champagne brass gold */
  --accent-gold-hover: #d1ba54;  /* Hover warm gold and brass highlight */
  
  --line-color: rgba(15, 23, 42, 0.08);
  --line-color-white: rgba(255, 255, 255, 0.08);
  
  /* Font Families based on exact live preloads */
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* ==========================================
   1. System Baseline & Typography Resets
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px; /* Optimized core modern standard UI base scale */
  line-height: 1.625; /* Highly readable body leading */
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

::selection {
  background-color: var(--text-primary);
  color: var(--text-light);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

ul {
  list-style: none;
}

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

button, .button {
  font-family: var(--font-sans);
  border: none;
  background: none;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Typography styles matching exact branding definitions */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: normal;
}

h1, h2 {
  letter-spacing: -0.028em; /* Slightly negative tracking for premium display headers */
  font-weight: 700;
}

h3, h4 {
  letter-spacing: -0.015em;
  font-weight: 600;
}

/* ==========================================
   2. Absolute Transparent Header Bar
   ========================================== */
.app-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: rgba(15, 23, 42, 0.45); /* Refined modern translucent overlay */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner-container {
  max-width: 1920px; /* Standardised design-limit grid container */
  margin: 0 auto;
  padding: 16px 32px; /* Strict 8pt grid metrics */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Site Branding & Custom Bevel logo alignment */
.site-branding {
  display: flex;
  align-items: center;
  gap: 16px; /* Optimized core 8px increment */
}

.site-logo {
  width: 60px; /* Aligned to grid factor */
  height: auto;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo-link:hover .site-logo {
  transform: scale(1.05) rotate(-1.5deg);
}

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

.brand-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #ffffff !important;
}

.brand-title a,
.brand-title label {
  color: #ffffff !important;
  cursor: pointer;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-top: 4px;
}

/* Desktop Navigation Menu Links */
.navigation-menu-bar {
  display: flex;
  align-items: center;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 32px; /* Aligned gap metric to 8pt system */
}

.nav-item {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 0;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.nav-item:hover {
  color: var(--text-light);
}

/* Modern clean indicator dots */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: width;
}

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

/* Mobile checkbox design elements */
.menu-toggle-checkbox {
  display: none;
}

.menu-toggle-label {
  display: none;
  cursor: pointer;
  padding: 10px;
}

/* ==========================================
   3. Hero Background Slideshow Loop (Pure CSS)
   ========================================== */
.hero-slideshow-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Elementor full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slides container grid stack */
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  animation: slideTransition 24s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

/* Slideshow URLs */
.slide-1 {
  background-image: url('https://ramadesignstudio.com/wp-content/uploads/2021/08/brookfield-place-toronto-ontario-4313908.jpg');
}

.slide-2 {
  background-image: url('https://ramadesignstudio.com/wp-content/uploads/2021/08/garage-floors-balconies-plants-1149542.jpg');
  animation-delay: 6s;
}

.slide-3 {
  background-image: url('https://ramadesignstudio.com/wp-content/uploads/2021/08/works-plan-construction-site-3480187.jpg');
  animation-delay: 12s;
}

.slide-4 {
  background-image: url('https://ramadesignstudio.com/wp-content/uploads/2021/08/settlement-villa-rendering-1026491.jpg');
  animation-delay: 18s;
}

/* CSS transition timing sequence */
@keyframes slideTransition {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  8% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  33% {
    opacity: 0;
    transform: scale(1.0);
  }
  100% {
    opacity: 0;
  }
}

/* Subtle darkened filter overlay */
.slideshow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.3) 100%);
  z-index: 2;
}

/* Foreground banner content details */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--text-light);
  padding: 0 24px; /* Grid aligned */
  max-width: 896px; /* 8px aligned (112 * 8) */
}

.welcome-pre {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 16px; /* Multiples of 8 */
  text-transform: capitalize;
  opacity: 0.95;
  color: #ffffff !important;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
  animation: heroFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.welcome-main {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: capitalize;
  color: #ffffff !important;
  letter-spacing: -0.038em; /* Elegantly tighter display letter spacing */
  text-shadow: 0 6px 16px rgba(15, 23, 42, 0.45);
  animation: heroFadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ==========================================
   4. Welcome Context Panel
   ========================================== */
.welcome-intro-section {
  background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://ramadesignstudio.com/wp-content/uploads/2021/08/brookfield-place-toronto-ontario-4313908.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 128px 32px; /* Strict 8-point system */
  border-bottom: 1px solid var(--line-color);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.intro-container {
  max-width: 960px; /* Core responsive width (120 * 8) */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px; /* 32px strict spacing */
}

.glow-tag {
  font-size: 3rem;
  color: #ffffff;
  font-weight: 700;
  text-transform: capitalize;
  margin: 0 0 16px 0; /* 16px vertical spatial gap */
  padding: 0;
  letter-spacing: -0.025em;
  text-align: center;
}

.glow-tag::before {
  display: none;
}

.intro-text-block {
  display: flex;
  flex-direction: column;
  gap: 32px; /* 32px block gap */
  align-items: center;
}

.intro-paragraph-bold {
  font-size: 1.3125rem; /* ~21px elegant scale */
  font-weight: 500; /* Sophisticated medium weight instead of heavy bolding */
  line-height: 1.625;
  color: #ffffff;
  max-width: 896px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.intro-paragraph-standard {
  font-size: 1.0625rem; /* ~17px readable copy */
  font-weight: 400;
  line-height: 1.75; /* Improved line height for optimal reading flow */
  color: rgba(255, 255, 255, 0.85); /* Highly legible on high contrast backdrops */
  max-width: 800px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   5. What We Do Best Section
   ========================================== */
.what-we-do-best-section {
  background-color: var(--bg-primary);
  padding: 96px 32px; /* Precision 8-point grid padding (12 * 8, 4 * 8) */
  border-bottom: 1px solid var(--line-color);
}

.section-container {
  max-width: 1440px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px; /* Strict multiple of 8 (8 * 8) */
}

.header-heading {
  font-size: 2.5rem; /* Highly balanced display hierarchy scale */
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px; /* Strict multiple of 8 (2 * 8) */
  letter-spacing: -0.03em; /* Slightly condensed elegant letter spacing */
}

.header-subtitle {
  font-size: 1.125rem; /* ~18px subtitle font-size */
  font-weight: 500;
  color: var(--text-muted);
}

/* Grid of Specialties */
.specialties-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px; /* Strict multiple of 8 (4 * 8) */
  margin-bottom: 64px; /* Multiple of 8 (8 * 8) */
}

.specialty-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--line-color);
  border-radius: 8px; /* Elegant subtle rounded border style */
  padding: 48px 32px; /* Generous proportional breathing room (6 * 8, 4 * 8) */
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.specialty-card:hover {
  transform: translateY(-8px); /* Clean floating offset multiplier (8px) */
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05); /* Premium soft depth shadow */
  border-color: var(--accent-gold);
}

.card-media-wrapper {
  margin: 0 auto 24px; /* Integrated bottom spacing factor */
  width: 144px; /* Solid grid division (18 * 8) */
  height: 144px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid var(--line-color);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.specialty-card:hover .card-media-wrapper {
  border-color: var(--accent-gold);
  transform: scale(1.04) rotate(2deg);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  font-size: 1.125rem; /* ~18px matching premium baseline cards */
  font-weight: 700;
  margin-bottom: 16px; /* Precision gap spacing */
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.card-description {
  font-size: 0.9375rem; /* ~15px body copy */
  line-height: 1.625;
  color: var(--text-secondary);
}

.card-description strong {
  color: var(--text-primary);
}

/* Beautiful highlight divider banner */
.specialties-inline-banner {
  border-top: 1px dashed var(--line-color);
  border-bottom: 1px dashed var(--line-color);
  padding: 40px 16px; /* 8-point system */
  text-align: center;
  margin-top: 48px; /* 8-point system */
}

.banner-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 450;
  color: var(--text-primary);
}

/* ==========================================
   6. Our End-To-End Solutions Section
   ========================================== */
.end-to-end-solutions-section {
  background-color: var(--bg-secondary);
  padding: 96px 32px; /* Uniform section padding factors */
  border-bottom: 1px solid var(--line-color);
}

.solutions-header {
  text-align: center;
  margin-bottom: 64px; /* 8px aligned (8 * 8) */
}

.solutions-subtitle {
  font-size: 2.25rem; /* Standardized elegant display title font-size */
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  padding-bottom: 16px; /* Strict 8px increment (2 * 8) */
  letter-spacing: -0.02em;
}

.solutions-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px; /* Clean multiple of 8 */
  height: 3px;
  background-color: var(--accent-gold);
}

/* Bento grid Solutions cards */
.solutions-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px; /* Multiple of 8 (4 * 8) */
  margin-bottom: 64px; /* Multiple of 8 (8 * 8) */
}

.solution-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--line-color);
  border-radius: 8px; /* Elegant clean rounded corners matching specialties */
  padding: 40px 24px; /* Integrated internal bounds (5 * 8, 3 * 8) */
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02), 0 2px 4px -1px rgba(15, 23, 42, 0.01);
  will-change: transform;
}

.solution-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-8px); /* Uniform hover shift height factor */
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05); /* Premium depth shadow */
}

.solution-media {
  width: 100%;
  height: 192px; /* Divisible by 8 (24 * 8) */
  overflow: hidden;
  border-radius: 6px; /* Softer interior rounding */
  background-color: var(--bg-secondary);
  margin-bottom: 24px; /* Clean 8px multiple (3 * 8) */
  border: 1px solid var(--line-color);
  position: relative;
}

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

.solution-card:hover .solution-img {
  transform: scale(1.04);
}

.solution-title {
  font-size: 1.125rem; /* Consistent display card headers */
  font-weight: 700;
  margin-bottom: 16px; /* Aligned multiplier boundary */
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

/* Accordion styled details tag markup */
.solution-accordion {
  border-top: 1px solid var(--line-color);
  margin-top: auto;
}

.accordion-trigger {
  padding: 16px 0 8px; /* Strict grid boundaries */
  font-weight: 600;
  font-size: 0.8125rem; /* ~13px refined uppercase tracker */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-trigger::-webkit-details-marker {
  display: none;
}

.click-text {
  transition: color 0.2s ease;
}

.chevron-icon {
  transition: transform 0.3s ease;
  color: var(--accent-gold);
}

.solution-accordion[open] .chevron-icon {
  transform: rotate(180deg);
}

/* List details */
.accordion-content {
  padding: 16px 0 8px; /* 8px multiples */
  animation: fadeDownAccordion 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

@keyframes fadeDownAccordion {
  from {
    opacity: 0;
    transform: translateY(-8px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Strict factor multiple */
}

.check-list li {
  font-size: 0.875rem; /* Standard readable base size */
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

/* Custom detailed lists on Solution Card 2 */
.nested-services-list {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Aligned spacing block */
}

.nested-services-list li strong {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px; /* Tight functional detail gap */
}

.nested-services-list li p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Solutions Divider phrase */
.solutions-inline-banner {
  border-top: 1px dashed var(--line-color);
  border-bottom: 1px dashed var(--line-color);
  padding: 40px 10px;
  text-align: center;
}

/* ==========================================
   7. Featured Articles Post Grid
   ========================================== */
.featured-articles-section {
  background-color: var(--bg-primary);
  padding: 96px 32px; /* Precision 8px grid padding (12 * 8, 4 * 8) */
  border-bottom: 1px solid var(--line-color);
}

.articles-header {
  max-width: 1440px;
  margin: 0 auto 48px; /* Strict multiple of 8 (6 * 8) */
}

.articles-title {
  font-size: 2.25rem; /* Standardized elegant page/section display heading */
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

/* Portrait Grid Columns */
.articles-cards-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px; /* Multiple of 8 (4 * 8) */
}

.article-grid-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--line-color);
  border-radius: 8px; /* Standardised card border radius */
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02), 0 2px 4px -1px rgba(15, 23, 42, 0.01);
  will-change: transform;
}

.article-grid-card:hover {
  transform: translateY(-8px); /* Aligned hover push height factor */
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05); /* Soft premium shadow */
  border-color: var(--accent-gold);
}

.article-thumbnail-wrapper {
  overflow: hidden;
  height: 256px; /* Optimized height factor to follow 8pt grid block (32 * 8) */
  width: 100%;
  position: relative;
  border-bottom: 1px solid var(--line-color);
  background-color: var(--bg-darken);
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.article-grid-card:hover .article-img {
  transform: scale(1.04);
}

/* Overlay hover visual indicators */
.article-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.45); /* Refined translucent dark slate tint */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.article-grid-card:hover .article-hover-overlay {
  opacity: 1;
}

.arrow-overlay-icon {
  color: var(--text-light);
  transform: translateX(-16px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-grid-card:hover .arrow-overlay-icon {
  transform: translateX(0);
}

/* Post text container wrapper */
.article-content-wrapper {
  padding: 32px 24px; /* Integrated modern card interior paddings (4 * 8, 3 * 8) */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-title-heading {
  font-size: 1.0625rem; /* ~17px clean heading font-size */
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px; /* Aligned multiplier detail (2 * 8) */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-title-heading a:hover {
  color: var(--accent-gold);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px; /* Strict spacing (1 * 8) */
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px; /* Aligned multiplier detail (2 * 8) */
}

.article-meta span {
  white-space: nowrap;
}

.meta-dot {
  color: var(--accent-gold);
}

.article-excerpt {
  font-size: 0.875rem; /* ~14px body copy font size */
  color: var(--text-secondary);
  line-height: 1.625;
  margin-bottom: 24px; /* Strict hierarchy margin spacing (3 * 8) */
}

.read-more-btn {
  font-size: 0.8125rem; /* ~13px label button design size */
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  align-self: flex-start;
}

.read-more-btn:hover {
  color: var(--text-primary);
}

/* Center load button container */
.load-more-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 64px; /* Strict multiple of 8 (8 * 8) */
}

.load-more-grid-btn {
  font-size: 0.8125rem; /* Standardized button sizing */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--accent-gold);
  color: var(--text-light);
  padding: 16px 32px; /* Precision multiples of 8 */
  border-radius: 9999px; /* Standard pill format */
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.load-more-grid-btn:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(181, 159, 61, 0.2);
}

.load-more-grid-btn:active {
  transform: translateY(0);
}

/* ==========================================
   8. Consultation Message Section
   ========================================== */
.consultation-promo-section {
  background-color: var(--bg-accent-dark);
  color: var(--text-light);
  padding: 96px 32px; /* Precision padding metrics (12 * 8, 4 * 8) */
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Simulated architectural backdrop styling */
.consultation-promo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 24px 24px; /* Grid multiples of 8 */
  opacity: 0.6;
}

.promo-container {
  position: relative;
  z-index: 5;
  max-width: 800px; /* Aligned (100 * 8) */
  margin: 0 auto;
}

.promo-title {
  color: var(--text-light);
  font-size: 2.25rem; /* Consistent section title sizing */
  font-weight: 700;
  margin-bottom: 16px; /* Aligned multiple (2 * 8) */
  letter-spacing: -0.02em;
}

.promo-description {
  font-size: 1.0625rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px; /* Strict grid division gap (4 * 8) */
  font-weight: 300;
}

.message-action-btn {
  font-size: 0.8125rem; /* Consistent uppercase button design label */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--accent-gold);
  color: var(--text-light);
  padding: 16px 32px; /* Consistent size factor multiples */
  border-radius: 9999px; /* Standard pill format */
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.message-action-btn:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(181, 159, 61, 0.2);
}

.message-action-btn:active {
  transform: translateY(0);
}

/* ==========================================
   9. Biblical Wisdom Wisdom Segment
   ========================================== */
.builders-wisdom-quote-section {
  background-color: var(--bg-primary);
  padding: 96px 32px; /* Aligned boundary spacings (12 * 8, 4 * 8) */
  text-align: center;
}

.quote-container {
  max-width: 896px; /* Aligned grid spacing (112 * 8) */
  margin: 0 auto;
}

.quote-box {
  border: 1px solid var(--line-color);
  background-color: var(--bg-secondary);
  padding: 48px 32px; /* Strict proportional grid (6 * 8, 4 * 8) */
  border-radius: 8px; /* Elegant subtle rounded block */
  position: relative;
}

.quote-box::after {
  content: '';
  position: absolute;
  top: 8px; /* 8px aligned (1 * 8) */
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px dashed var(--line-color);
  border-radius: 4px;
  pointer-events: none;
}

.quote-header-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.bible-verse-coordinates {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 25px;
}

.bible-verse-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 auto 30px;
  max-width: 750px;
}

.closing-glory {
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
}

/* ==========================================
   10. Bottom Copyright Alignment
   ========================================== */
.app-baseline-footer {
  background-color: var(--bg-accent-dark);
  color: var(--text-light);
  padding: 40px 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.copyright-meta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.footer-copy-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.bold-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-light);
}

/* ==========================================
   11. CSS Media Breakpoint Definitions
   ========================================== */

/* Large screens viewport scaling adjustments */
@media screen and (max-width: 1440px) {
  .specialties-cards-grid,
  .solutions-cards-grid,
  .articles-cards-grid {
    gap: 20px;
  }
}

/* Tablet Screens layout scaling (Medium limits) */
@media screen and (max-width: 1200px) {
  html {
    font-size: 14px;
  }

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

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

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

/* Medium-Small viewport break scales */
@media screen and (max-width: 900px) {
  .intro-container {
    gap: 20px;
  }

  .glow-tag {
    font-size: 2.4rem;
  }

  .intro-paragraph-bold {
    font-size: 1.2rem;
  }

  .intro-paragraph-standard {
    font-size: 1rem;
  }
}

/* Small Viewports Mobile Drawer Navigation (CSS Hack) */
@media screen and (max-width: 767px) {
  .header-inner-container {
    padding: 10px 20px;
  }

  /* Reveal menu activation checkbox trigger label */
  .menu-toggle-label {
    display: block;
    position: relative;
    width: 26px;
    height: 20px;
    z-index: 1001;
  }

  .hamburger-bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--text-light);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
  }

  .hamburger-bar::before,
  .hamburger-bar::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2.5px;
    background-color: var(--text-light);
    transition: transform 0.3s ease, top 0.3s ease;
  }

  .hamburger-bar::before {
    top: -8px;
  }

  .hamburger-bar::after {
    top: 8px;
  }

  /* Translate navigation list links to absolute sliding curtain drawer */
  .navigation-menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
  }

  .nav-links-list {
    flex-direction: column;
    gap: 35px;
    text-align: center;
  }

  .nav-item {
    font-size: 1.4rem;
  }

  /* Hack checkbox states trigger transform logic */
  .menu-toggle-checkbox:checked ~ .navigation-menu-bar {
    transform: translateX(0);
  }

  .menu-toggle-checkbox:checked ~ .menu-toggle-label .hamburger-bar {
    background-color: transparent;
  }

  .menu-toggle-checkbox:checked ~ .menu-toggle-label .hamburger-bar::before {
    transform: rotate(45deg);
    top: 0;
  }

  .menu-toggle-checkbox:checked ~ .menu-toggle-label .hamburger-bar::after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* Fluid Single Column Layout conversions for mobile devices */
  .specialties-cards-grid,
  .solutions-cards-grid,
  .articles-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .welcome-intro-section,
  .what-we-do-best-section,
  .end-to-end-solutions-section,
  .featured-articles-section,
  .consultation-promo-section,
  .builders-wisdom-quote-section {
    padding: 65px 20px;
  }

  .header-heading,
  .solutions-subtitle,
  .articles-title,
  .promo-title {
    font-size: 2rem;
  }

  .welcome-main {
    font-size: 2.8rem;
  }

  /* Responsive refinements for secondary pages */
  .archive-inner-wrap {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .hover-accordion-wrapper {
    flex-direction: column !important;
    height: auto !important;
  }

  .accordion-panel {
    height: 180px !important;
  }

  .accordion-panel:hover, .accordion-panel:focus {
    height: 320px !important;
  }

  .contact-grid-container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* ==========================================
   12. Pure CSS Active Page Routing Engine
   ========================================== */
.route-switch-trigger {
  display: none !important;
}

.page-view {
  display: none;
  animation: pageViewFadeIn 0.65s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity, filter;
}

@keyframes pageViewFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Tab toggling based on selected radio */
#route-home:checked ~ .page-viewport #home-view-pane,
#route-articles:checked ~ .page-viewport #articles-view-pane,
#route-about:checked ~ .page-viewport #about-view-pane,
#route-contact:checked ~ .page-viewport #contact-view-pane {
  display: block;
}

/* Selected menu headers active labels state updates */
#route-home:checked ~ #masthead .home-nav,
#route-articles:checked ~ #masthead .articles-nav,
#route-about:checked ~ #masthead .about-nav,
#route-contact:checked ~ #masthead .contact-nav {
  color: var(--text-light);
}

#route-home:checked ~ #masthead .home-nav::after,
#route-articles:checked ~ #masthead .articles-nav::after,
#route-about:checked ~ #masthead .about-nav::after,
#route-contact:checked ~ #masthead .contact-nav::after {
  width: 100%;
}

/* ==========================================
   13. Secondary Subpages Banner Header
   ========================================== */
.banner-header-section {
  position: relative;
  width: 100%;
  height: 48vh;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 22, 39, 0.72) 0%, rgba(1, 22, 39, 0.5) 100%);
  z-index: 1;
}

.banner-header-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 20px;
}

.banner-header-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-light);
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* ==========================================
   14. Articles Page Layouts (Two Columns)
   ========================================== */
.archive-container-section {
  background-color: var(--bg-primary);
  padding: 80px 32px; /* Precision multiple of 8 (10 * 8) */
}

.archive-inner-wrap {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px; /* Strict multiple of 8 (6 * 8) */
}

/* Left main scroll column */
.archive-main-column {
  display: flex;
  flex-direction: column;
  gap: 32px; /* Multiple of 8 (4 * 8) */
}

/* Trending article badge text ticker row */
.trending-ticker-container {
  display: flex;
  align-items: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--line-color);
  padding: 16px 24px; /* Strict multiples of 8 (2 * 8, 3 * 8) */
  overflow: hidden;
  border-radius: 4px;
}

.ticker-badge {
  background-color: var(--text-primary);
  color: var(--text-light);
  padding: 8px 16px; /* Strict grid offsets */
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 16px; /* Strict multiple of 8 */
}

.ticker-scroller-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker-items-scroller {
  display: flex;
  gap: 32px; /* Multiple of 8 (4 * 8) */
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-primary);
  animation: scrollTickerLine 16s linear infinite;
  white-space: nowrap;
}

@keyframes scrollTickerLine {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.bullet-ticker {
  color: var(--accent-gold);
  margin-right: 8px;
}

/* Articles grid details */
.posts-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px; /* Multiple of 8 (4 * 8) */
}

.article-archive-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--line-color);
  border-radius: 8px; /* Balanced rounded subpage card style */
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02), 0 2px 4px -1px rgba(15, 23, 42, 0.01);
  will-change: transform;
}

.article-archive-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.archive-thumbnail-box {
  position: relative;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  background-color: var(--bg-darken);
  border-right: 1px solid var(--line-color);
}

.archive-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-card-category {
  position: absolute;
  top: 16px; /* Aligned top multiple */
  left: 16px;
  background-color: rgba(15, 23, 42, 0.85);
  color: var(--text-light);
  padding: 4px 12px;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.archive-content-box {
  padding: 32px; /* Strict 8px increment (4 * 8) */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.archive-card-heading {
  font-size: 1.3125rem; /* ~21px clean heading hierarchy */
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.archive-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem; /* ~12px meta label scale */
  color: var(--text-muted);
  margin-bottom: 16px; /* Strict 8px multiple (2 * 8) */
}

.meta-separator {
  color: var(--accent-gold);
}

.archive-card-excerpt {
  font-size: 0.875rem; /* ~14px body copy readability */
  line-height: 1.625;
  color: var(--text-secondary);
  margin-bottom: 24px; /* Strict hierarchy gap multiplier (3 * 8) */
}

.archive-card-readmore {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.archive-card-readmore:hover {
  color: var(--text-primary);
}

/* ==========================================
   Project Portfolio Grouping & Intro Card Styles
   ========================================== */
.banner-header-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  margin-top: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.explore-intro-feature-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background-color: var(--bg-secondary);
  border: 1px solid var(--line-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02), 0 2px 4px -1px rgba(15, 23, 42, 0.01);
}

.explore-intro-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.explore-intro-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  text-transform: capitalize;
}

.explore-intro-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.explore-intro-image-box {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background-color: var(--bg-darken);
}

.explore-intro-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.explore-intro-feature-card:hover .explore-intro-img {
  transform: scale(1.05);
}

.portfolio-sector-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 40px;
  margin-bottom: 56px;
  border-top: 1px solid var(--line-color);
  scroll-margin-top: 100px; /* Smooth scroll offset for header sticky menu */
}

/* Let's prevent first sector top border redundance */
.portfolio-sector-group:first-of-type {
  border-top: none;
  padding-top: 8px;
}

.sector-group-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.sector-group-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background-color: var(--accent-gold);
}

@media (max-width: 991px) {
  .explore-intro-feature-card {
    grid-template-columns: 1fr;
  }
  .explore-intro-image-box {
    min-height: 220px;
  }
}

/* Archive column sidebar widget details */
.archive-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-widget {
  background-color: var(--bg-secondary);
  border: 1px solid var(--line-color);
  padding: 30px;
}

.search-form-wrapper {
  display: flex;
  gap: 10px;
}

.sidebar-search-input {
  width: 100%;
  height: 48px;
  background-color: var(--bg-primary);
  border: 1px solid var(--line-color);
  padding: 0 15px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-primary);
}

.sidebar-search-input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.sidebar-search-btn {
  background-color: var(--accent-gold);
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 18px;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.sidebar-search-btn:hover {
  background-color: var(--accent-gold-hover);
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-gold);
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-list li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.widget-list li a:hover {
  color: var(--accent-gold);
}

.widget-count {
  color: var(--text-muted);
}

/* Recent content list details */
.recent-articles-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recent-articles-sidebar-list li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-bottom: 1px solid var(--line-color);
  padding-bottom: 15px;
}

.recent-articles-sidebar-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-item-link {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

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

.recent-item-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}


/* ==========================================
   15. About Us Page Design Principles Block
   ========================================== */
.about-statement-section {
  background-color: var(--bg-primary);
  padding: 96px 32px; /* Precision multiples of 8 */
  text-align: center;
}

.about-statement-container {
  max-width: 960px; /* 8px aligned container (120 * 8) */
  margin: 0 auto;
}

.statement-subtitle {
  font-size: 0.875rem; /* ~14px elegant label size */
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  margin-bottom: 24px; /* Strict 8px grid (3 * 8) */
}

.statement-headline {
  font-family: var(--font-sans);
  font-size: clamp(1.375rem, 3.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 32px; /* Strict 8px grid (4 * 8) */
  letter-spacing: -0.02em;
}

.statement-divider {
  width: 80px; /* divisible by 8 */
  height: 2px;
  background-color: var(--accent-gold);
  border: none;
  margin: 0 auto 32px; /* Precision margin factor (4 * 8) */
}

.statement-subtext {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  line-height: 1.625;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ==========================================
   16. Hover Horizontal Image Accordion
   ========================================== */
.hover-accordion-section {
  background-color: var(--bg-secondary);
  padding: 80px 32px; /* Multiple of 8 spacing bounds */
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

.hover-accordion-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  height: 520px; /* divisible by 8 */
  gap: 16px; /* Strict 8px multiple (2 * 8) */
  overflow: hidden;
}

.accordion-panel {
  flex: 1;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: flex 0.75s cubic-bezier(0.25, 1, 0.33, 1), transform 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 40px; /* Multiple of 8 (5 * 8) */
  will-change: flex;
}

.accordion-panel:hover, .accordion-panel:focus {
  flex: 3;
}

.panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.25) 100%);
  z-index: 1;
}

.panel-content {
  position: relative;
  z-index: 5;
  width: 100%;
}

.panel-title {
  color: var(--accent-gold);
  font-size: 1.375rem; /* ~22px balanced label tracker size */
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px; /* Strict multiple of 8 (2 * 8) */
}

.panel-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.625;
  opacity: 0;
  transform: translateY(16px); /* Align transform offset to 8px scale */
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  max-width: 650px;
  will-change: transform, opacity;
}

.accordion-panel:hover .panel-desc {
  opacity: 1;
  transform: translateY(0);
}

/* CTA link sections on about bottom */
.cta-banner-section {
  background-color: var(--bg-primary);
  padding: 80px 32px; /* Multiple of 8 boundary spacing */
  text-align: center;
}

.cta-inner-block {
  max-width: 800px;
  margin: 0 auto;
  border: 1px dashed var(--line-color);
  padding: 40px; /* divisible by 8 */
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 25px;
}

.cta-button-wrap {
  display: inline-block;
}

.cta-action-button {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--accent-gold);
  color: var(--text-light);
  padding: 16px 36px;
  border-radius: 100px;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cta-action-button:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193, 175, 73, 0.25);
}

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


/* ==========================================
   17. Contact Us Form and Layouts REPLICA
   ========================================== */
.contact-details-form-section {
  background-color: var(--bg-primary);
  padding: 96px 32px; /* Precision 8-point grid bounds (12 * 8, 4 * 8) */
}

.contact-grid-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; /* Multiple of 8 (10 * 8) */
}

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

.contact-section-heading {
  font-size: 2.25rem; /* Consistent display title sizing */
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 16px; /* Strict 8px aligned spacing */
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

.contact-section-subtext {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 32px; /* Strict multiple of 8 (4 * 8) */
  line-height: 1.625;
}

.contact-details-icon-list {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Strict multiple of 8 (3 * 8) */
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 16px; /* Strict 8px aligned gap (2 * 8) */
}

.align-start-detail {
  align-items: flex-start;
}

.detail-icon {
  background-color: var(--bg-secondary);
  border: 1px solid var(--line-color);
  width: 48px; /* divisible by 8 */
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.detail-text {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
}

.detail-text a:hover {
  color: var(--accent-gold);
}

/* WPForms column inputs styles */
.contact-form-column {
  display: flex;
  flex-direction: column;
}

.precision-wpforms-replica {
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--line-color);
  border-radius: 8px; /* Standardised subtle rounding */
  padding: 48px 40px; /* Strict multiples of 8 (6 * 8, 5 * 8) */
  width: 100%;
}

.form-rows-stack {
  display: flex;
  flex-direction: column;
  gap: 24px; /* divisible by 8 */
}

.form-group-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px; /* divisible by 8 */
}

.form-field-label {
  font-size: 0.875rem; /* ~14px base typography label */
  font-weight: 700;
  color: var(--text-primary);
}

.required-star {
  color: #cf2e2e;
}

.wpform-text-input,
.wpform-text-area {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--line-color);
  border-radius: 4px; /* Softer form elements */
  padding: 12px 16px; /* Consistent form element spacing (12px, 16px) */
  font-family: var(--font-sans);
  font-size: 0.9375rem; /* ~15px base inputs */
  color: var(--text-primary);
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wpform-text-input:focus,
.wpform-text-area:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(181, 159, 61, 0.15);
}

.wpform-submit-btn {
  background-color: var(--accent-gold);
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px 36px;
  border-radius: 100px;
  display: inline-block;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.wpform-submit-btn:hover {
  background-color: var(--accent-gold-hover);
}

/* Success notification screen overlays */
.submission-success-notification {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-accent-dark);
  z-index: 10;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  animation: fadeInAlert 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInAlert {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.success-alert-box {
  text-align: center;
  color: var(--text-light);
  max-width: 400px;
  animation: scaleAlert 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleAlert {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.checkmark-animation {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
  background-color: rgba(255,255,255,0.05);
  width: 100px;
  height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
}

.success-alert-title {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.success-alert-body {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  line-height: 1.6;
}

.close-success-alert-btn {
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.close-success-alert-btn:hover {
  background-color: var(--accent-gold);
  color: var(--bg-accent-dark);
}


/* ==========================================
   19. Google Sites About Us Integration Elements
   ========================================== */
.about-g-who-we-are {
  background-color: var(--bg-secondary);
  padding: 80px 32px;
  border-bottom: 1px solid var(--line-color);
}

.about-g-container {
  max-width: 1440px;
  margin: 0 auto;
}

.about-g-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 991px) {
  .about-g-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-g-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-g-section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding-left: 16px;
}

.about-g-section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background-color: var(--accent-gold);
}

.about-g-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-g-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.about-g-quote {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
  padding-left: 20px;
}

.about-g-image-col {
  width: 100%;
}

.about-g-image-wrapper {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-g-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.33, 1);
}

.about-g-image-wrapper:hover .about-g-img {
  transform: scale(1.05);
}

/* Vision & Mission Split Grid */
.about-g-vision-mission {
  background-color: var(--bg-primary);
  padding: 80px 32px;
  border-bottom: 1px solid var(--line-color);
}

.about-g-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 991px) {
  .about-g-split-grid {
    grid-template-columns: 1fr;
  }
}

.about-g-split-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--line-color);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-g-split-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-g-split-image-box {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.about-g-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-g-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0) 100%);
}

.about-g-card-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: var(--accent-gold);
  color: var(--bg-accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  text-transform: uppercase;
}

.about-g-split-content {
  padding: 32px;
}

.about-g-card-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.about-g-card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.about-g-card-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Core Pillars Column Block */
.about-g-pillars {
  background-color: var(--bg-secondary);
  padding: 96px 32px;
}

.about-g-center-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.about-g-headline {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 12px;
  margin-bottom: 24px;
}

.about-g-divider {
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
  margin: 0 auto;
}

.about-g-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.about-g-pillar-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--line-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-g-pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-g-pillar-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.about-g-pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.about-g-pillar-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.about-g-pillar-title {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.about-g-pillar-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

