/* ==========================================================================
   VANGUARD ELECTRICAL ENGINEERING BUREAU — STYLESHEET
   Pure CSS Architectural & Editorial Design System
   Inspired by Swiss Grid, Modernist Typography & High-Voltage Precision
   ========================================================================== */

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

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Color Palette - Light Editorial Theme */
  --bg-page: #fbfbf9;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f4f4f0;
  --text-main: #121212;
  --text-muted: #666664;
  --text-light: #949490;
  --border-hairline: #e3e3dd;
  --border-dark: #222222;

  /* Dark Contrast Sections */
  --dark-bg: #090909;
  --dark-surface: #141414;
  --dark-text: #f5f5f2;
  --dark-muted: #8c8c88;
  --dark-border: #262626;

  /* Accent & Interactive */
  --accent-gold: #c29b62;
  --accent-amber: #e59838;
  --accent-copper: #c86d3b;

  /* Spacing & Layout */
  --container-max: 1440px;
  --page-padding: clamp(1.25rem, 4vw, 3.5rem);
  --section-padding-y: clamp(4rem, 8vw, 8rem);
  --grid-gap: clamp(1.5rem, 3vw, 3rem);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

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

.container-wide {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
}

/* ==========================================================================
   TOP BAR / NAVIGATION (Strict 3-zone contract)
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(251, 251, 249, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

/* Brand Wordmark */
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
}

.brand-wordmark span:last-child {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* Nav Links Zone */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

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

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

/* Top Nav CTA & Mobile Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-nav-quote {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  background-color: var(--text-main);
  color: var(--bg-surface);
  border: 1px solid var(--text-main);
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-nav-quote:hover {
  background-color: transparent;
  color: var(--text-main);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-hairline);
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 99;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  color: var(--text-main);
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 0.75rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 6.25rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-wrap: balance;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-subcolumns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
}

.hero-subcol {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Hero Media Display */
.hero-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 720px;
  overflow: hidden;
  background-color: #1a1a18;
  border: 1px solid var(--border-hairline);
}

.hero-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-media-wrapper:hover img {
  transform: scale(1.015);
}

.hero-media-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  pointer-events: none;
}

.hero-media-caption span {
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.6rem;
}

/* ==========================================================================
   ABOUT US SECTION (Swiss Multi-Column Architecture)
   ========================================================================== */
.about-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  border-top: 1px solid var(--border-hairline);
}

.editorial-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.meta-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 0.75rem;
  border-right: 1px solid var(--border-hairline);
  padding-right: 2rem;
}

.meta-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.meta-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 500;
}

.meta-value {
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.45;
}

.editorial-content-column {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 4rem);
}

.editorial-manifesto {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-main);
  text-wrap: balance;
}

.editorial-manifesto em {
  font-style: italic;
}

/* Awards & Credentials Sub-Grid */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
}

.credential-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.credential-heading {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 600;
}

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

.credential-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.credential-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   STATEMENT & REGIONAL DIRECTORY SECTION
   ========================================================================== */
.statement-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  border-top: 1px solid var(--border-hairline);
}

.giant-statement-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5.2vw, 4.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-main);
  text-wrap: balance;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* Regional Table / Directory */
.directory-table {
  width: 100%;
  border-collapse: collapse;
}

.directory-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.8125rem;
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.directory-row:first-child {
  border-top: 1px solid var(--border-hairline);
}

.directory-row:hover {
  background-color: var(--bg-surface-subtle);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.dir-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dir-location {
  font-weight: 600;
  color: var(--text-main);
}

.dir-address {
  color: var(--text-muted);
}

.dir-action {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: transform 0.15s ease, color 0.15s ease;
}

.directory-row:hover .dir-action {
  transform: translate(3px, -3px);
  color: var(--text-main);
}

/* ==========================================================================
   TECHNICAL BLUEPRINT & SCHEMATICS SECTION
   ========================================================================== */
.blueprint-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  border-top: 1px solid var(--border-hairline);
  background-color: #fafaf7;
}

.blueprint-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.blueprint-kicker {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-main);
}

.blueprint-canvas-box {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem) auto;
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.blueprint-svg {
  width: 100%;
  height: auto;
  display: block;
}

.blueprint-narrative {
  max-width: 1100px;
  margin: 0 auto;
}

.blueprint-narrative-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 2rem;
  text-wrap: balance;
}

.blueprint-narrative-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICE CATALOG SECTION
   ========================================================================== */
.services-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  border-top: 1px solid var(--border-hairline);
}

.section-intro-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-index-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 600;
}

.section-counter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Service Accordion / Table */
.services-catalog-list {
  display: flex;
  flex-direction: column;
}

.service-card {
  border-bottom: 1px solid var(--border-hairline);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  transition: background-color 0.2s ease, padding 0.2s ease;
}

.service-card:hover {
  background-color: var(--bg-surface-subtle);
  padding-left: clamp(1rem, 2vw, 1.5rem);
  padding-right: clamp(1rem, 2vw, 1.5rem);
}

.service-card-header {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  cursor: pointer;
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-light);
  font-weight: 500;
}

.service-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  color: var(--text-main);
  transition: transform 0.2s ease;
}

.service-expand-icon {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card.expanded .service-expand-icon {
  transform: rotate(45deg);
}

.service-card-body {
  display: none;
  grid-template-columns: 80px 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-hairline);
}

.service-card.expanded .service-card-body {
  display: grid;
}

.service-desc {
  grid-column: 2;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.service-deliverables {
  grid-column: 3;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-main);
}

.service-deliverables li {
  position: relative;
  padding-left: 1.2rem;
}

.service-deliverables li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-light);
}

/* ==========================================================================
   SELECTED PROJECTS GALLERY (Matches Screenshot Asymmetrical Aesthetic)
   ========================================================================== */
.gallery-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  border-top: 1px solid var(--border-hairline);
}

.gallery-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.gallery-headline sup {
  font-family: var(--font-sans);
  font-size: 0.45em;
  font-weight: 500;
  color: var(--text-muted);
  vertical-align: super;
}

/* Gallery Filter Tabs */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-hairline);
}

.filter-tab {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  border-radius: 2px;
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.filter-tab:hover {
  color: var(--text-main);
  border-color: var(--border-hairline);
}

.filter-tab.active {
  background-color: var(--text-main);
  color: var(--bg-surface);
  border-color: var(--text-main);
}

/* Project Cards Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
  row-gap: clamp(3rem, 6vw, 5rem);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Asymmetric Column Spans matching screenshot */
.project-card.col-span-7 {
  grid-column: span 7;
}

.project-card.col-span-5 {
  grid-column: span 5;
}

.project-card.col-span-6 {
  grid-column: span 6;
}

.project-card.col-span-12 {
  grid-column: span 12;
}

.project-card-image-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #202020;
  margin-bottom: 1rem;
  position: relative;
  border: 1px solid var(--border-hairline);
}

.project-card.tall .project-card-image-box {
  aspect-ratio: 4 / 3;
}

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

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

.project-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8125rem;
  border-top: 1px solid var(--border-hairline);
  padding-top: 0.75rem;
}

.project-name {
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

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

.project-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ==========================================================================
   RADIAL COMPASS / SPIDER DIAL SECTION (Matches screenshot geometric dial)
   ========================================================================== */
.radial-dial-section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--border-hairline);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-page);
}

.radial-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 480px;
}

.radial-svg-art {
  width: min(560px, 90vw);
  height: min(560px, 90vw);
  display: block;
}

.radial-center-lockup {
  position: absolute;
  text-align: center;
  pointer-events: none;
  max-width: 320px;
}

.radial-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.radial-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ==========================================================================
   DARK SECTION: WHY CHOOSE US & NUMBERS
   (Matches the stark black block from the screenshot)
   ========================================================================== */
.dark-experience-section {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  position: relative;
}

.dark-intro-block {
  max-width: 960px;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.dark-manifesto-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.dark-manifesto-sub {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--dark-muted);
  max-width: 640px;
}

/* Giant Typographic Numbers in Dark Mode */
.dark-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: 3.5rem;
  border-top: 1px solid var(--dark-border);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

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

.dark-stat-number {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--dark-text);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.dark-stat-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.25rem;
}

.dark-stat-sub {
  font-size: 0.72rem;
  color: var(--dark-muted);
  line-height: 1.4;
}

/* Engineering Team & Craftsmanship Bento Grid */
.craftsmanship-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 4rem;
}

.craft-card {
  border: 1px solid var(--dark-border);
  padding: 2rem;
  background-color: var(--dark-surface);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.craft-card-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dark-muted);
}

.craft-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dark-text);
}

.craft-card-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--dark-muted);
}

/* ==========================================================================
   CLIENT BRANDS / SOCIAL PROOF (Round Badges matching screenshot)
   ========================================================================== */
.clients-section {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  border-top: 1px solid var(--dark-border);
  text-align: center;
}

.clients-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark-text);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.clients-badges-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 1000px;
  margin: 0 auto;
}

.client-badge-circle {
  width: clamp(84px, 10vw, 112px);
  height: clamp(84px, 10vw, 112px);
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-muted);
  transition: all 0.25s ease;
  background-color: rgba(255, 255, 255, 0.02);
}

.client-badge-circle:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--dark-text);
  transform: translateY(-2px);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  border-top: 1px solid var(--border-hairline);
  background-color: var(--bg-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem;
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-page);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.testimonial-quote::before {
  content: '“';
  font-size: 2.5rem;
  line-height: 0;
  display: block;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-family: var(--font-serif);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--border-hairline);
  padding-top: 1.25rem;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

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

.author-company {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-light);
}

/* ==========================================================================
   REQUEST A QUOTE SECTION (Clean Minimalist Architectural Intake)
   ========================================================================== */
.quote-section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  border-top: 1px solid var(--border-hairline);
  background-color: #fafaf7;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.quote-info-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quote-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-main);
}

.quote-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.quote-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.8125rem;
}

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

.quote-contact-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.quote-contact-val {
  font-weight: 500;
  color: var(--text-main);
}

/* Quote Form Container */
.quote-form-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-field.full {
  grid-column: span 2;
  margin-bottom: 0;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--bg-page);
  border: 1px solid var(--border-hairline);
  border-radius: 0px;
  font-size: 0.875rem;
  color: var(--text-main);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--text-main);
  background-color: #ffffff;
}

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

/* Category Selection Pills (Interactive Segmented Choice) */
.service-type-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-type-btn {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-page);
  color: var(--text-muted);
  transition: all 0.18s ease;
}

.service-type-btn.selected {
  background-color: var(--text-main);
  color: var(--bg-surface);
  border-color: var(--text-main);
}

.form-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
}

.form-estimate-note {
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.4;
}

.btn-submit-quote {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  background-color: var(--text-main);
  color: var(--bg-surface);
  border: 1px solid var(--text-main);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-submit-quote:hover {
  background-color: transparent;
  color: var(--text-main);
}

/* Form Success Notice */
.form-success-alert {
  display: none;
  background-color: #f0f7f2;
  border: 1px solid #c7e3cf;
  padding: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #1b4d29;
}

.form-success-alert.show {
  display: block;
}

/* ==========================================================================
   FOOTER (Matches screenshot with multi-column table & giant KNKO wordmark)
   ========================================================================== */
.bureau-footer {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: 2rem;
  border-top: 1px solid var(--dark-border);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--dark-border);
}

.footer-col-title {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-muted);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--dark-text);
}

.footer-links-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-brand-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.footer-brand-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--dark-muted);
  max-width: 320px;
}

/* GIANT FOOTER WORDMARK (Matches KNKO in screenshot) */
.footer-giant-wordmark-container {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--dark-border);
}

.giant-footer-wordmark {
  font-family: var(--font-sans);
  font-size: clamp(4.5rem, 17.5vw, 19rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #ffffff;
  user-select: none;
  display: block;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  font-size: 0.72rem;
  color: var(--dark-muted);
}

.footer-bottom-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   MODAL / LIGHTBOX (Project Detail Showcase)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background-color: var(--bg-surface);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-hairline);
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-hairline);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background-color: var(--text-main);
  color: var(--bg-surface);
}

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

.modal-project-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 2rem;
  background-color: #202020;
}

.modal-project-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  margin: 1.5rem 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.8125rem;
}

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

.modal-spec-lbl {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

.modal-spec-val {
  font-weight: 600;
  color: var(--text-main);
}

.modal-project-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Fully Responsive Pure CSS)
   ========================================================================== */
@media (max-width: 1024px) {
  .editorial-layout {
    grid-template-columns: 1fr;
  }

  .meta-column {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
    padding-right: 0;
    padding-bottom: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
  }

  .directory-row {
    grid-template-columns: 140px 1fr 1fr auto;
  }

  .project-card.col-span-7,
  .project-card.col-span-5 {
    grid-column: span 6;
  }

  .dark-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
  }

  .craftsmanship-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav-quote {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-subcolumns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .directory-row {
    grid-template-columns: 1fr auto;
    row-gap: 0.35rem;
  }

  .dir-address {
    grid-column: span 2;
  }

  .blueprint-narrative-columns {
    grid-template-columns: 1fr;
  }

  .service-card-header {
    grid-template-columns: 40px 1fr auto;
  }

  .service-card-body {
    grid-template-columns: 1fr;
  }

  .service-desc, .service-deliverables {
    grid-column: 1;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card.col-span-7,
  .project-card.col-span-5,
  .project-card.col-span-6,
  .project-card.col-span-12 {
    grid-column: span 1;
  }

  .form-group-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: span 1;
  }

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

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
