/* ── FONT FALLBACKS ──────────────────────────────────────────
   Metric-matched stand-ins used while the webfonts download. Ratios measured
   from the real fonts, so the fallback occupies the same space and the swap
   does not move layout (no CLS / no "jump" on load).
     Inter vs Arial (mixed case, body copy)      2744.97 / 2618.07 = 104.85%
     Barlow Cond. vs Arial Narrow (UPPERCASE)    1222.60 / 1497.30 =  81.65%
   Barlow is uppercase-only here (headlines, titles, nums), so its ratio is
   measured on caps - the mixed-case ratio would be ~8% wide.
   ──────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 104.85%;
  ascent-override: 92.5%;
  descent-override: 22.9%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Barlow Condensed Fallback';
  src: local('Arial Narrow'), local('Liberation Sans Narrow'), local('Arial');
  size-adjust: 81.65%;
  ascent-override: 122.5%;
  descent-override: 24.5%;
  line-gap-override: 0%;
}

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

:root {
  --edel-dark: #1a1a1a;
  --edel-darker: #111111;
  --edel-panel: #222222;
  --edel-border: #2e2e2e;
  --edel-orange: #E8530A;
  --edel-orange-light: #FF6B1A;
  --edel-orange-dim: rgba(232,83,10,0.12);
  --edel-text: #f0ede8;
  --edel-muted: #a5a19a;
  --edel-subtle: #8a867f;
  font-family: 'Inter', 'Inter Fallback', Arial, sans-serif;
}

.site { background: var(--edel-dark); color: var(--edel-text); width: 100%; }

/* NAV */
.nav {
  background: rgba(17,17,17,0.97);
  border-bottom: 1px solid var(--edel-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 60px;
  position: sticky; top: 0; z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 44px; width: 37.125px; display: block; }   /* 81/96 of 44 */
.nav-brand { display: flex; flex-direction: column; justify-content: space-between; height: 44px; }
.nav-brand-main {
  font-family: 'Montserrat', Arial, sans-serif; font-weight: 900;
  font-size: 40px; line-height: 0.72;
  letter-spacing: 0.0211em;          /* stretches EDEL to the ENGINEERING width */
  color: var(--edel-text);
}
.nav-brand-sub {
  font-family: 'Montserrat', Arial, sans-serif; font-weight: 700;
  font-size: 11px; line-height: 0.72;
  letter-spacing: 0.30em; margin-right: -0.30em;   /* kill the trailing gap */
  color: var(--edel-text);
}
.footer .nav-logo { margin-bottom: 1rem; }

.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-link { font-size: 15px; font-weight: 500; letter-spacing: 0.08em; color: var(--edel-muted); text-transform: uppercase; cursor: pointer; transition: color 0.2s; text-decoration: none; }
.nav-link:hover, .nav-link.active { color: var(--edel-text); }
.nav-cta { background: var(--edel-orange); color: #fff; padding: 7px 18px; font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
html { scroll-behavior: smooth; }

/* NAV DROPDOWN */
.nav-has-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-arrow { font-size: 13px; margin-left: 3px; opacity: 0.6; transition: transform 0.2s; display: inline-block; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: rgba(17,17,17,0.99);
  border: 1px solid var(--edel-border);
  border-top: 2px solid var(--edel-orange);
  min-width: 290px; padding: 6px 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s;
  z-index: 200;
}
.nav-has-dropdown:hover .nav-dropdown { opacity: 1; pointer-events: all; }
.nav-has-dropdown:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  font-size: 15px; font-weight: 500; color: var(--edel-muted);
  text-decoration: none; letter-spacing: 0.02em; white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-item:hover { color: var(--edel-text); background: var(--edel-panel); }
.nav-dropdown-num { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 13px; font-weight: 700; color: var(--edel-orange); letter-spacing: 0.12em; }

/* SEARCH */
.nav-search-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  color: var(--edel-muted); transition: color 0.2s; padding: 0; -webkit-tap-highlight-color: transparent;
}
.nav-search-btn:hover { color: var(--edel-text); }
.nav-search-btn svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-search-btn-mobile {
  display: none; color: var(--edel-text); margin-left: auto; margin-right: 2px;
}
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(10,10,10,0.75);
  padding: 12vh 1.25rem 2rem; justify-content: center; align-items: flex-start;
}
.search-overlay.open { display: flex; }
.search-panel {
  width: 100%; max-width: 560px; background: var(--edel-darker);
  border: 1px solid var(--edel-border); border-top: 2px solid var(--edel-orange);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--edel-border); }
.search-input-icon { width: 20px; height: 20px; stroke: var(--edel-muted); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.search-input { flex: 1; min-width: 0; background: none; border: none; outline: none; font-size: 17px; color: var(--edel-text); font-family: 'Inter', 'Inter Fallback', Arial, sans-serif; }
.search-input::placeholder { color: var(--edel-subtle); }
.search-results { max-height: 60vh; overflow-y: auto; }
.search-hint { padding: 1.5rem 1rem; text-align: center; color: var(--edel-subtle); font-size: 14px; }
.search-result-item { display: block; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--edel-border); transition: background 0.15s; }
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover, .search-result-item:focus { background: var(--edel-panel); }
.search-result-title { font-size: 15px; font-weight: 600; color: var(--edel-text); margin-bottom: 3px; }
.search-result-preview {
  font-size: 13.5px; color: var(--edel-muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* LANGUAGE SWITCHER */
.nav-lang { position: relative; display: flex; align-items: center; }
.nav-lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-family: 'Inter', 'Inter Fallback', Arial, sans-serif; font-size: 15px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--edel-muted); padding: 6px 2px; transition: color 0.2s;
}
.nav-lang-btn:hover, .nav-lang.open .nav-lang-btn { color: var(--edel-text); }
.nav-lang-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-lang-arrow { font-size: 13px; opacity: 0.6; transition: transform 0.2s; }
.nav-lang.open .nav-lang-arrow { transform: rotate(180deg); }
.nav-lang-menu {
  position: absolute; top: 100%; right: 0;
  background: rgba(17,17,17,0.99);
  border: 1px solid var(--edel-border); border-top: 2px solid var(--edel-orange);
  min-width: 150px; padding: 5px 0;
  opacity: 0; pointer-events: none; transition: opacity 0.15s; z-index: 200;
}
.nav-lang.open .nav-lang-menu { opacity: 1; pointer-events: all; }
.nav-lang-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 14px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: 'Inter', 'Inter Fallback', Arial, sans-serif; font-size: 15px; font-weight: 500;
  color: var(--edel-muted); letter-spacing: 0.02em; transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav-lang-item:hover { color: var(--edel-text); background: var(--edel-panel); }
.nav-lang-item.active { color: var(--edel-text); }
.nav-lang-flag { width: 24px; height: 17px; min-width: 24px; border-radius: 3px; object-fit: cover; display: block; box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08); }

/* DRAWER LANGUAGE ROW */
.nav-drawer-lang { display: flex; align-items: center; gap: 10px; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--edel-border); }
.nav-drawer-lang > svg { width: 20px; height: 20px; stroke: var(--edel-muted); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.drawer-lang {
  position: relative; display: block;
  background: none; border: none; padding: 2px; cursor: pointer; text-decoration: none;
}
.drawer-lang-flag { width: 30px; height: 21px; border-radius: 3px; object-fit: cover; display: block; box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08); opacity: 0.55; transition: opacity 0.2s; }
.drawer-lang:hover .drawer-lang-flag { opacity: 0.85; }
.drawer-lang-dot {
  position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; border-radius: 50%;
  background: transparent; transition: background 0.2s, transform 0.2s; transform: translateX(-50%) scale(0);
}
.drawer-lang.active .drawer-lang-flag { opacity: 1; }
.drawer-lang.active .drawer-lang-dot { background: var(--edel-orange); transform: translateX(-50%) scale(1); }

/* HERO */
.hero {
  min-height: 580px;
  background: var(--edel-darker);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--edel-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--edel-border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
}
.hero-bg-accent {
  position: absolute; right: 0; top: 0; bottom: 0; width: 50%;
  background: linear-gradient(135deg, transparent 40%, rgba(232,83,10,0.06) 100%);
}
.hero-content { padding: 5rem 3rem 5rem 2.5rem; position: relative; z-index: 2; }
.hero-content::after {
  content: ""; position: absolute; pointer-events: none;
  left: 470px; top: 50%; width: 400px; height: 386px;
  transform: translateY(-50%) rotate(-8deg);
  background: url('assets/gears-bg.webp') no-repeat center / contain;
  opacity: 0.16; filter: brightness(0.75) contrast(1.1);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--edel-orange-dim); border: 1px solid rgba(232,83,10,0.3);
  padding: 5px 14px; margin-bottom: 1.5rem;
  font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--edel-orange);
}
.hero-eyebrow-dot { width: 5px; height: 5px; background: var(--edel-orange); border-radius: 50%; }
.hero-headline {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif;
  font-size: 68px; font-weight: 800; line-height: 0.92;
  letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-headline .accent { color: var(--edel-orange); }
.hero-sub { font-size: 21px; font-weight: 400; color: #cfcbc3; line-height: 1.55; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 12px; align-items: center; }
.btn-primary { background: var(--edel-orange); color: #fff; text-decoration: none; padding: 13px 28px; font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; border: none; display: inline-flex; align-items: center; gap: 8px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.btn-ghost { background: transparent; color: var(--edel-text); text-decoration: none; padding: 13px 28px; font-size: 15px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; border: 1px solid var(--edel-border); display: inline-flex; align-items: center; gap: 8px; }
.arrow { font-size: 17px; }

/* HERO VISUAL */
.hero-visual { position: relative; z-index: 2; padding: 3rem; display: flex; align-items: center; justify-content: center; }
.hero-3d-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: var(--edel-panel);
  border: 1px solid var(--edel-border);
  position: relative; overflow: hidden;
}
.hero-3d-placeholder iframe {
  width: 100%; height: 100%; border: none; display: block;
}
.hero-3d-corner { position: absolute; width: 18px; height: 18px; border-color: var(--edel-orange); border-style: solid; opacity: 0.7; z-index: 2; pointer-events: none; }
.corner-tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.corner-tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }
.hero-3d-badge {
  position: absolute; bottom: 10px; left: 10px; z-index: 2;
  background: rgba(17,17,17,0.85); border: 1px solid rgba(232,83,10,0.4);
  padding: 5px 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--edel-orange); text-transform: uppercase;
  pointer-events: none;
}

/* STATS BAR */
.stats-bar {
  background: var(--edel-panel); border-top: 1px solid var(--edel-border); border-bottom: 1px solid var(--edel-border);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat-item {
  position: relative; padding: 2.6rem 2rem 1.8rem; overflow: hidden;
  text-align: center;
}
.stat-item::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--edel-border);
}
.stat-item:first-child::before { display: none; }
.stat-num {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif;
  font-size: clamp(80px, 9vw, 140px); font-weight: 800; line-height: 0.85; letter-spacing: -0.02em;
  color: rgba(232, 83, 10, 0.55);
  margin-bottom: -14px;
}
.stat-label {
  position: relative; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--edel-text); margin-top: 2px;
}

/* SECTION HEADERS */
.section { padding: 5rem 2.5rem; }
.section-alt { background: var(--edel-panel); }
.section-dark { background: var(--edel-darker); }
.section-eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--edel-orange); margin-bottom: 0.75rem; }
.section-title {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 42px; font-weight: 800;
  text-transform: uppercase; line-height: 1; letter-spacing: -0.01em; margin-bottom: 1rem;
}
.section-sub { font-size: 17px; color: var(--edel-muted); max-width: 560px; line-height: 1.7; margin-bottom: 3rem; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--edel-border); }
.service-card {
  background: var(--edel-darker); padding: 2.5rem 2rem;
  position: relative; overflow: hidden; cursor: pointer;
  transition: background 0.2s;
}
.service-card:hover { background: #1f1f1f; }
.service-card:hover .service-icon-bg { background: var(--edel-orange); border-color: var(--edel-orange); }
.service-card:hover .service-icon-bg svg { stroke: var(--edel-darker); }
.service-icon-bg { width: 44px; height: 44px; background: var(--edel-panel); border: 1px solid var(--edel-border); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: background 0.2s; }
.service-icon-bg svg { width: 22px; height: 22px; stroke: var(--edel-orange); fill: none; stroke-width: 1.5; }
.service-title { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.service-desc { font-size: 16px; color: var(--edel-muted); line-height: 1.65; margin-bottom: 1.5rem; }
.service-link { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--edel-orange); display: flex; align-items: center; gap: 6px; }
.service-accent { position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--edel-orange); transition: height 0.3s; }
.service-card:hover .service-accent { height: 100%; }

/* ABOUT / SPLIT */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.split-content { padding: 5rem 3rem 5rem 2.5rem; }
.split-visual {
  background: var(--edel-darker);
  border-left: 1px solid var(--edel-border);
  display: flex; align-items: center; justify-content: center; padding: 3rem;
  position: relative; overflow: hidden;
}
.split-visual-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--edel-border) 1px, transparent 1px), linear-gradient(90deg, var(--edel-border) 1px, transparent 1px);
  background-size: 32px 32px; opacity: 0.5;
}
.team-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 2; width: 100%; }
.team-card { background: var(--edel-panel); border: 1px solid var(--edel-border); padding: 1.25rem; }
.team-card-role { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--edel-orange); margin-bottom: 6px; }
.team-card-name { font-size: 16px; font-weight: 600; color: var(--edel-text); margin-bottom: 4px; }
.team-card-spec { font-size: 15px; color: var(--edel-muted); line-height: 1.5; }

.capabilities { display: flex; flex-direction: column; gap: 12px; margin-bottom: 2.5rem; width: fit-content; max-width: 100%; }
.cap-item { display: flex; align-items: center; gap: 12px; padding: 1rem; background: var(--edel-panel); border-left: 3px solid var(--edel-orange); }
.cap-icon { width: 21px; height: 21px; stroke: var(--edel-orange); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.cap-flag { width: 28px; height: 20px; border-radius: 3px; object-fit: cover; flex-shrink: 0; display: block; box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08); }
.cap-title { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.cap-desc { font-size: 16px; color: var(--edel-muted); line-height: 1.5; }

/* CLIENTS */
.clients-section { padding: 4rem 2.5rem; }
.clients-marquee {
  overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding: 0 2.5rem;
  box-sizing: border-box;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  cursor: grab;
  -webkit-user-select: none; user-select: none;
}
.clients-marquee.is-dragging { cursor: grabbing; }
.clients-track {
  display: flex; width: max-content; gap: 1.5rem;
  animation: clients-scroll 34s linear infinite;
}
.clients-marquee.is-dragging .clients-track { animation-play-state: paused; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
}
.client-card {
  flex: 0 0 auto; background: #f4f2ee; border-radius: 16px;
  padding: 1.6rem 2.5rem; min-width: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  white-space: nowrap;
}
.client-logo { height: 54px; width: auto; max-width: 240px; object-fit: contain; display: block; pointer-events: none; -webkit-user-drag: none; }
.client-sector {
  font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: #5a564d; white-space: nowrap;
}

/* PROJECTS */
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--edel-border); }
.project-card { background: var(--edel-panel); padding: 2rem; position: relative; overflow: hidden; cursor: pointer; }
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay { position: absolute; inset: 0; background: rgba(232,83,10,0.05); border: 1px solid rgba(232,83,10,0.2); opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.project-tag { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--edel-orange); margin-bottom: 0.75rem; }
.project-title { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 26px; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; }
.project-client { font-size: 16px; color: var(--edel-muted); margin-bottom: 1rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-pill { padding: 4px 12px; border: 1px solid var(--edel-border); font-size: 14px; letter-spacing: 0.06em; color: var(--edel-muted); text-transform: uppercase; }
.project-card-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.project-3d-area {
  background: var(--edel-darker); border-left: 1px solid var(--edel-border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 2rem;
  min-height: 200px;
}
.project-3d-label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--edel-orange); }
.orbit-rings { position: relative; width: 80px; height: 80px; }
.ring { position: absolute; border-radius: 50%; border: 1px solid; }
.ring-1 { inset: 0; border-color: rgba(232,83,10,0.4); }
.ring-2 { inset: 12px; border-color: rgba(232,83,10,0.25); border-style: dashed; }
.ring-3 { inset: 24px; border-color: rgba(232,83,10,0.5); }
.ring-dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 8px; height: 8px; background: var(--edel-orange); border-radius: 50%; }

/* CONTACT */
.contact-section { padding: 5rem 2.5rem; background: var(--edel-darker); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-tagline { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 48px; font-weight: 800; text-transform: uppercase; line-height: 0.95; margin-bottom: 1.5rem; }
.contact-tagline .orange { color: var(--edel-orange); }
.contact-info { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-info-row { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--edel-border); }
.contact-row { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--edel-muted); }
.contact-row-icon { width: 36px; height: 36px; background: var(--edel-panel); border: 1px solid var(--edel-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row-icon svg { width: 18px; height: 18px; stroke: var(--edel-orange); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-email { color: inherit; text-decoration: none; }
.contact-email:hover { color: var(--edel-orange); }
.form-group { margin-bottom: 1rem; }
.form-label { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--edel-muted); margin-bottom: 6px; display: block; }
.form-input {
  width: 100%; background: var(--edel-panel); border: 1px solid var(--edel-border);
  color: var(--edel-text);
  padding: 11px 14px; font-size: 16px; font-family: 'Inter', 'Inter Fallback', Arial, sans-serif; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.form-input:focus {
  border-color: var(--edel-orange-light);
  background: #262322; box-shadow: 0 0 0 3px rgba(255,107,26,0.22);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-textarea { height: 100px; resize: none; }
.form-select { appearance: none; cursor: pointer; }

/* Contact form — inline validation + success overlay */
.contact-form { position: relative; }
.form-input.invalid { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217,83,79,0.16); }
.field-error { color: #e98080; font-size: 13.5px; margin-top: 5px; }
.form-notice { background: rgba(217,83,79,0.12); border: 1px solid rgba(217,83,79,0.35); color: #eaa; padding: 10px 14px; margin-bottom: 1rem; font-size: 14px; }
.form-sent-overlay {
  position: absolute; inset: -6px; z-index: 5;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: rgba(20,20,20,0.9); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: sentfade 0.25s ease-out;
}
@keyframes sentfade { from { opacity: 0; } to { opacity: 1; } }
.form-sent-card { padding: 1.5rem; }
.form-sent-check {
  width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: var(--edel-orange); color: #fff; font-size: 34px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.form-sent-title {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif;
  font-size: 27px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--edel-text); margin-bottom: 0.5rem;
}
.form-sent-msg { font-size: 16px; color: var(--edel-muted); max-width: 320px; margin: 0 auto; }

/* FOOTER */
.footer { background: #0d0d0d; border-top: 1px solid var(--edel-border); padding: 3rem 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.35fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-grid > div:first-child { position: relative; }
.footer-grid > div:first-child::after {
  content: ""; position: absolute; pointer-events: none;
  left: 245px; top: 50%; width: 150px; height: 145px;
  transform: translateY(-50%) rotate(-6deg);
  background: url('assets/gears-bg.webp') no-repeat center / contain;
  opacity: 0.16; filter: brightness(0.75) contrast(1.1);
}
.footer-brand { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 0.1em; color: var(--edel-text); margin-bottom: 0.75rem; }
.footer-brand span { color: var(--edel-orange); }
.footer-tagline { font-size: 16px; color: var(--edel-muted); line-height: 1.6; max-width: 260px; }
.footer-col-title { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--edel-text); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-link { font-size: 16px; color: var(--edel-muted); cursor: pointer; text-decoration: none; display: flex; align-items: baseline; gap: 9px; transition: color 0.2s; }
.footer-link:hover { color: var(--edel-orange); }
.footer-link-num { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 14px; font-weight: 700; color: var(--edel-orange); letter-spacing: 0.1em; flex-shrink: 0; }
/* Badge is absolutely positioned so it never inflates the footer row. The
   Services column stays the tallest element and sets the height; the badge
   then fills min(column width, Services column height, 250px native). */
.footer-badge { position: relative; min-width: 0; }
.footer-badge img {
  position: absolute; inset: 0; margin: auto;
  display: block;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
}
.footer-bottom { border-top: 1px solid var(--edel-border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 15px; color: var(--edel-subtle); }
.footer-cert { display: flex; gap: 8px; }
.footer-cert-badge { padding: 4px 12px; border: 1px solid var(--edel-border); font-size: 14px; letter-spacing: 0.08em; color: var(--edel-muted); text-transform: uppercase; }

/* SECTION DIVIDER */
.divider { height: 1px; background: var(--edel-border); }
.orange-rule { height: 3px; background: var(--edel-orange); width: 48px; margin: 1.25rem 0 2rem; }

/* HAMBURGER */
.nav-hamburger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 36px; height: 36px; cursor: pointer; background: none; border: none; padding: 4px;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--edel-text);
  transform-origin: center; transform: translateZ(0);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transition: transform 0.22s ease, opacity 0.15s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg) translateZ(0); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0) translateZ(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) translateZ(0); }

/* MOBILE NAV DRAWER */
.nav-drawer {
  display: none; position: fixed; inset: 60px 0 0 0; z-index: 99;
  background: rgba(17,17,17,0.98); padding: 2rem;
  flex-direction: column; gap: 0;
  border-top: 1px solid var(--edel-border);
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-link {
  font-size: 22px; padding: 1rem 0; border-bottom: 1px solid var(--edel-border);
  letter-spacing: 0.06em;
}
.nav-drawer .nav-cta { margin-top: 1.5rem; text-align: center; padding: 14px; font-size: 16px; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1000px) {
  .nav-logo img { height: 36px; width: 30.4px; }
  .nav-brand { height: 36px; }
  .nav-brand-main { font-size: 33px; }
  .nav-brand-sub { font-size: 9px; }
}

@media (max-width: 900px) {
  /* NAV */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-search-btn-mobile { display: flex; }

    /* HERO */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3rem 1.5rem 2rem; }
  .hero-headline { font-size: 52px; }
  .hero-visual { padding: 0 1.25rem 2.5rem; }
  .hero-3d-placeholder { aspect-ratio: 16/9; }

  /* STATS */
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item::before { display: none; }
  .stat-item { border-bottom: 1px solid var(--edel-border); }
  .stat-item:nth-child(odd)::after {
    content: ""; position: absolute; right: 0; top: 24%; bottom: 24%; width: 1px; background: var(--edel-border);
  }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  /* CLIENTS */
  .client-card { min-width: 160px; padding: 1.3rem 1.9rem; }
  .client-logo { height: 42px; }

  /* SECTIONS */
  .section { padding: 3rem 1.25rem; }
  .section-title { font-size: 32px; }
  .contact-tagline { font-size: 36px; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr; }

  /* ABOUT SPLIT */
  .split { grid-template-columns: 1fr; }
  .split-visual { border-left: none; border-top: 1px solid var(--edel-border); min-height: 320px; }
  .split-content { padding: 3rem 1.25rem; }

  /* PROJECTS */
  .projects-grid { grid-template-columns: 1fr; }
  .project-card-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .project-3d-area { border-left: none; border-top: 1px solid var(--edel-border); }

  /* CONTACT */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-section { padding: 3rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }

  /* FOOTER */
  .footer { padding: 2.5rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid > div:first-child::after { display: none; }
  /* Badge fills its grid cell: renders at min(column width, row height), capped
   at the PNG's native 250px so it never upscales into mush. */
.footer-badge { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.footer-badge img {
  display: block;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  aspect-ratio: 1 / 1;
}
.footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-brand { font-size: 24px; }
  .hero-eyebrow { font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════
   SERVICE PAGES
   ══════════════════════════════════════════════════════════ */

/* PAGE HERO */
.svc-hero {
  background: var(--edel-darker);
  border-bottom: 1px solid var(--edel-border);
  position: relative; overflow: hidden;
  padding: 4rem 2.5rem 3.5rem;
}
.svc-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--edel-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--edel-border) 1px, transparent 1px);
  background-size: 48px 48px; opacity: 0.4;
}
.svc-hero-accent {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(135deg, transparent 40%, rgba(232,83,10,0.07) 100%);
}
.svc-hero::after {
  content: ""; position: absolute; pointer-events: none;
  right: max(10px, calc((100% - 1200px) / 2 - 60px)); top: 50%; width: 460px; height: 444px;
  transform: translateY(-50%) rotate(8deg);
  background: url('assets/gears-bg.webp') no-repeat center / contain;
  opacity: 0.16; filter: brightness(0.75) contrast(1.1);
}
.svc-hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--edel-subtle); margin-bottom: 1.75rem; }
.breadcrumb a { color: var(--edel-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--edel-orange); }
.breadcrumb .sep { color: var(--edel-subtle); }
.breadcrumb .current { color: var(--edel-orange); }

.svc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--edel-orange-dim); border: 1px solid rgba(232,83,10,0.3);
  padding: 5px 14px; margin-bottom: 1.5rem;
  font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--edel-orange);
}
.svc-eyebrow-num { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 16px; line-height: 1; }
.svc-title {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif;
  font-size: 58px; font-weight: 800; line-height: 0.95;
  text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 1.25rem;
}
.svc-title .accent { color: var(--edel-orange); }
.svc-lead { font-size: 18px; font-weight: 300; color: var(--edel-muted); line-height: 1.75; text-align: justify; }
.svc-lead strong { color: var(--edel-text); font-weight: 500; }

/* BODY */
.svc-body { padding: 4.5rem 2.5rem; }
.svc-body-inner { max-width: 1200px; margin: 0 auto; }
.svc-intro { font-size: 18px; color: var(--edel-muted); line-height: 1.8; margin-bottom: 3.5rem; text-align: justify; }

.svc-block { margin-bottom: 3.5rem; }
.svc-block:last-child { margin-bottom: 0; }
.svc-block-kicker { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--edel-orange); margin-bottom: 0.6rem; }
.svc-block-title {
  font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 32px; font-weight: 800;
  text-transform: uppercase; line-height: 1.05; letter-spacing: -0.005em; margin-bottom: 0.85rem;
}
.svc-block-intro { font-size: 17px; color: var(--edel-muted); line-height: 1.75; margin-bottom: 2rem; text-align: justify; }

/* CARD GRID */
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--edel-border); border: 1px solid var(--edel-border); }
.svc-cards-3 { grid-template-columns: repeat(3, 1fr); }
.svc-card { background: var(--edel-darker); padding: 2rem 1.75rem; position: relative; overflow: hidden; transition: background 0.2s; }
.svc-card:hover { background: #1f1f1f; }
.svc-card-accent { position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--edel-orange); transition: height 0.3s; }
.svc-card:hover .svc-card-accent { height: 100%; }
.svc-card-icon { width: 42px; height: 42px; background: var(--edel-panel); border: 1px solid var(--edel-border); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; transition: background 0.2s; }
.svc-card:hover .svc-card-icon { background: var(--edel-orange); border-color: var(--edel-orange); }
.svc-card-icon svg { width: 21px; height: 21px; stroke: var(--edel-orange); fill: none; stroke-width: 1.5; }
.svc-card:hover .svc-card-icon svg { stroke: var(--edel-darker); }
.svc-card-title { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 21px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.7rem; }
.svc-card-desc { font-size: 16px; color: var(--edel-muted); line-height: 1.65; }

/* CHECK LIST */
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 1rem; }
.svc-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--edel-muted); line-height: 1.6; }
.svc-list li::before { content: "▸"; color: var(--edel-orange); font-size: 15px; line-height: 1.6; flex-shrink: 0; }
.svc-list strong { color: var(--edel-text); font-weight: 600; }
.svc-list-tight li { flex-wrap: nowrap; }
.svc-list-tight strong { flex-shrink: 0; white-space: nowrap; }
.svc-list-tight span { flex: 1; }
@media (max-width: 640px) {
  /* Below ~640px the leftover space next to the nowrap term is too
     narrow for the description — it wraps into a tall ragged column
     hanging off to the right. Force the description onto its own
     full-width line instead. */
  .svc-list-tight li { flex-wrap: wrap; row-gap: 2px; }
  .svc-list-tight span { flex: 1 1 100%; }
}

/* FEATURE ROWS (left orange bar) */
.svc-features { display: flex; flex-direction: column; gap: 12px; }
.svc-feature { display: flex; align-items: flex-start; gap: 14px; padding: 1.15rem 1.25rem; background: var(--edel-panel); border-left: 3px solid var(--edel-orange); }
.svc-feature-title { font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.svc-feature-desc { font-size: 16px; color: var(--edel-muted); line-height: 1.6; }

/* INDUSTRY TILES */
.svc-industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--edel-border); border: 1px solid var(--edel-border); }
.svc-industry { background: var(--edel-panel); padding: 1.75rem 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; transition: background 0.2s; }
.svc-industry:hover { background: #262626; }
.svc-industry svg { width: 26px; height: 26px; stroke: var(--edel-orange); fill: none; stroke-width: 1.4; }
.svc-industry-name { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 17px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--edel-text); line-height: 1.2; }

/* SPEC STRIP */
.svc-specs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--edel-panel); border: 1px solid var(--edel-border); }
.svc-spec { padding: 1.5rem 1.75rem; border-right: 1px solid var(--edel-border); }
.svc-spec:last-child { border-right: none; }
.svc-spec-num { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 30px; font-weight: 800; color: var(--edel-orange); line-height: 1; }
.svc-spec-label { font-size: 15px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--edel-muted); margin-top: 5px; }

/* STANDARDS PILLS */
.svc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.svc-pill { padding: 6px 14px; border: 1px solid var(--edel-border); background: var(--edel-panel); font-size: 15px; letter-spacing: 0.06em; color: var(--edel-muted); text-transform: uppercase; }

/* PROJECT GALLERY */
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--edel-border); border: 1px solid var(--edel-border); margin-top: 2rem; }
.project-gallery-item { position: relative; overflow: hidden; background: var(--edel-darker); }
.project-gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.project-gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #fff; font-size: 14px; line-height: 1.5; padding: 2rem 1rem 0.85rem;
}
@media (max-width: 900px) {
  .project-gallery { grid-template-columns: 1fr; }
}

/* FEATURED PROJECT (text + 3D side by side) */
.project-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--edel-border); border: 1px solid var(--edel-border); }
.project-featured-info { background: var(--edel-panel); padding: 2.5rem; }
.project-featured .project-title { font-size: 36px; }
@media (max-width: 900px) {
  .project-featured { grid-template-columns: 1fr; }
}

/* COMING SOON / STUB */
.svc-stub { padding: 5rem 2.5rem; text-align: center; }
.svc-stub-inner { max-width: 560px; margin: 0 auto; }
.svc-stub-mark { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 92px; font-weight: 800; color: var(--edel-subtle); line-height: 1; margin-bottom: 1rem; }
.svc-stub-title { font-family: 'Barlow Condensed', 'Barlow Condensed Fallback', 'Arial Narrow', sans-serif; font-size: 30px; font-weight: 800; text-transform: uppercase; margin-bottom: 1rem; }
.svc-stub-text { font-size: 17px; color: var(--edel-muted); line-height: 1.75; margin-bottom: 2rem; }

@media (max-width: 900px) {
  .svc-hero { padding: 2.5rem 1.25rem 2.25rem; }
  .svc-hero::after { width: 300px; height: 290px; right: -80px; opacity: 0.13; }
  .hero-content::after { width: 300px; height: 290px; left: auto; right: -70px; top: auto; bottom: -30px; transform: rotate(-8deg); opacity: 0.13; }
  .svc-title { font-size: 40px; }
  .svc-lead { font-size: 17px; }
  .svc-body { padding: 3rem 1.25rem; }
  .svc-block-title { font-size: 26px; }
  .svc-cards, .svc-cards-3 { grid-template-columns: 1fr; }
  .svc-industries { grid-template-columns: 1fr 1fr; }
  .svc-specs { grid-template-columns: 1fr; }
  .svc-spec { border-right: none; border-bottom: 1px solid var(--edel-border); }
  .svc-spec:last-child { border-bottom: none; }
  .svc-stub { padding: 3rem 1.25rem; }
}

@media (max-width: 480px) {
  .svc-title { font-size: 32px; }
  .svc-industries { grid-template-columns: 1fr; }
}

/* Stacked footer: no sibling column to take height from, so size normally */
@media (max-width: 900px) {
  .footer-badge { position: static; display: flex; align-items: center; justify-content: center; }
  .footer-badge img { position: static; max-height: 250px; }
}
