/*
Theme Name:  Exterior Corp Ads LP Test
Theme URI:   https://exteriorcorpgroup.com
Description: Exterior Corp theme plus the Meta-campaign landing pages (/lp/roofing-cladding/,
             /lp/commercial-fabrications/, /lp/decorative-finishes/ and their thank-you pages).
             Creates its /lp/ pages on activation and its WPForms forms once WPForms Pro is active.
             Settings → EC Landing Pages: GoHighLevel webhook, Meta pixel + Conversions API.
             Built by Healey Commerce (healeycommerce.com.au).
Version:     1.3.0
Author:      Healey Commerce
Author URI:  https://healeycommerce.com.au
Text Domain: exterior-corp
*/

/* =============================================
   SELF-HOSTED FONTS
   Files: assets/fonts/  (woff2, latin subset)
   font-display: swap — text visible during load
============================================= */

/* Barlow Regular 400 */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Barlow-Regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Barlow SemiBold 600 */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Barlow-SemiBold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Barlow Condensed ExtraBold 800 */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/BarlowCondensed-ExtraBold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Barlow Condensed Black 900 */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/BarlowCondensed-Black.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* =============================================
   EXTERIOR CORP — CSS CUSTOM PROPERTIES
   Healey Commerce — 2026-05-31
   Stack: WordPress custom theme
============================================= */

:root {

  /* BRAND COLOURS */
  --ec-black:        #1C1C1C;
  --ec-charcoal:     #2A2A2A;
  --ec-deep:         #141414;
  --ec-orange:       #E86200;
  --ec-orange-hover: #FF7220;
  --ec-orange-press: #CC5700;
  --ec-white:        #FFFFFF;
  --ec-grey-mid:     #8A8A8A;
  --ec-grey-dark:    #3D3D3D;
  --ec-grey-light:   #F2F2F2;

  /* SEMANTIC ALIASES */
  --color-bg:           var(--ec-black);
  --color-surface:      var(--ec-charcoal);
  --color-surface-deep: var(--ec-deep);
  --color-accent:       var(--ec-orange);
  --color-accent-hover: var(--ec-orange-hover);
  --color-accent-press: var(--ec-orange-press);
  --color-text:         var(--ec-white);
  --color-text-muted:   var(--ec-grey-mid);
  --color-text-inverse: var(--ec-black);
  --color-border:       rgba(255, 255, 255, 0.08);
  --color-border-mid:   rgba(255, 255, 255, 0.14);
  --color-divider:      var(--ec-orange);
  --color-overlay:      rgba(28, 28, 28, 0.85);

  /* TYPOGRAPHY */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', 'Arial', sans-serif;

  --text-hero:    clamp(3.5rem, 8vw, 6.5rem);
  --text-display: 3.75rem;
  --text-h2:      2.75rem;
  --text-h3:      2rem;
  --text-h4:      1.25rem;
  --text-body-lg: 1.125rem;
  --text-body:    1rem;
  --text-sm:      0.875rem;
  --text-label:   0.6875rem;

  --leading-none:    1;
  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.6;

  --tracking-label:   0.18em;
  --tracking-heading: -0.01em;
  --tracking-body:    0;
  --tracking-btn:     0.08em;

  /* SPACING */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --section-py:       var(--space-24);
  --section-py-hero:  var(--space-32);
  --section-py-tight: var(--space-16);

  /* LAYOUT */
  --container-max:   1400px;
  --container-px:    var(--space-6);
  --container-px-md: var(--space-10);
  --container-px-lg: var(--space-16);

  /* RADIUS */
  --radius-none: 0;
  --radius-sm:   4px;
  --radius-pill: 9999px;

  /* SHADOWS */
  --shadow-card:         0 1px 0 rgba(255,255,255,0.05) inset, 0 24px 48px rgba(0,0,0,0.5);
  --shadow-card-hover:   0 1px 0 rgba(255,255,255,0.08) inset, 0 32px 64px rgba(0,0,0,0.65);
  --shadow-button:       0 4px 20px rgba(232,98,0,0.35);
  --shadow-button-hover: 0 6px 28px rgba(232,98,0,0.50);
  --shadow-nav:          0 1px 0 rgba(255,255,255,0.06) inset, 0 8px 32px rgba(0,0,0,0.4);
  --shadow-modal:        0 32px 80px rgba(0,0,0,0.7);

  /* MOTION */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.87, 0, 0.13, 1);
  --duration-fast:  150ms;
  --duration-base:  280ms;
  --duration-enter: 600ms;

  /* Z-INDEX */
  --z-base:         0;
  --z-raised:       10;
  --z-sticky:       100;
  --z-overlay:      200;
  --z-modal:        300;
  --z-floating-cta: 400;
  --z-toast:        500;
}

/* MOBILE TYPE SCALE */
@media (max-width: 767px) {
  :root {
    --text-display:     2.5rem;
    --text-h2:          2rem;
    --text-h3:          1.5rem;
    --section-py:       var(--space-16);
    --section-py-hero:  var(--space-20);
    --container-px:     var(--space-4);
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* =============================================
   RESET & BASE
============================================= */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* HEADINGS */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-tight);
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: var(--leading-snug);
}


/* =============================================
   LAYOUT UTILITIES
============================================= */

.ec-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px-lg);
  padding-right: var(--container-px-lg);
}

@media (max-width: 1024px) {
  .ec-container {
    padding-left: var(--container-px-md);
    padding-right: var(--container-px-md);
  }
}

@media (max-width: 767px) {
  .ec-container {
    padding-left: var(--container-px);
    padding-right: var(--container-px);
  }
}

.ec-container--narrow {
  max-width: 900px;
}


/* =============================================
   BRAND DEVICES
============================================= */

.ec-rule {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  border: none;
  margin: 0;
}

.ec-rule--short {
  width: 64px;
}

.ec-label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-4);
}

.ec-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: rgba(232, 98, 0, 0.12);
  border: 1px solid rgba(232, 98, 0, 0.25);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.ec-ghost-stat {
  font-family: var(--font-display);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.ec-bullet-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-6);
}

.ec-bullet-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

.ec-bullet-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .ec-bullet-list {
    grid-template-columns: 1fr;
  }
}


/* =============================================
   BUTTONS
============================================= */

.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 18px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: var(--tracking-btn);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    background var(--duration-base) var(--ease-out-expo),
    box-shadow var(--duration-base) var(--ease-out-expo),
    transform var(--duration-fast);
  -webkit-font-smoothing: antialiased;
}

.ec-btn--primary {
  background: var(--color-accent);
  color: var(--ec-white);
  box-shadow: var(--shadow-button);
}

.ec-btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-button-hover);
  transform: translateY(-1px);
}

.ec-btn--primary:active {
  background: var(--color-accent-press);
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(232,98,0,0.3);
}

.ec-btn--primary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.ec-btn--ghost {
  background: transparent;
  color: var(--ec-white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.ec-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.ec-btn--ghost:active {
  background: rgba(255, 255, 255, 0.10);
  transform: scale(0.98);
}

.ec-btn--ghost:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

.ec-btn__icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.ec-btn--primary:hover .ec-btn__icon-wrap {
  transform: translate(2px, -1px);
}

.ec-btn--full {
  width: 100%;
}

.ec-btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Vertical breathing room — all buttons get top + bottom space */
/* Excluded: hero (handled by its own layout), nav pill, floating CTA */
.ec-btn {
  margin-block: var(--space-5);
}

.ec-hero .ec-btn,
.ec-nav .ec-btn,
.ec-floating-cta .ec-btn,
.ec-mobile-menu .ec-btn {
  margin-block: 0;
}

.ec-mobile-menu .ec-btn {
  margin-top: var(--space-6); /* controlled spacing above CTA — replaces margin-block */
}

.ec-text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ec-text-link:hover {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* =============================================
   NAVIGATION
============================================= */

.ec-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--color-bg);
  border-bottom: 2px solid var(--color-divider);
  transition: box-shadow var(--duration-base) var(--ease-out-expo);
}

.ec-nav.is-scrolled {
  box-shadow: var(--shadow-nav);
}

.ec-nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px-lg);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

@media (max-width: 1024px) {
  .ec-nav__inner {
    padding: 0 var(--container-px-md);
  }
}

@media (max-width: 767px) {
  .ec-nav__inner {
    padding: 0 var(--container-px);
    height: 64px;
  }
}

.ec-nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.ec-nav__logo-img {
  height: 56px;
  width: auto;
  display: block;
}

/* Desktop: logo 2× larger, nav taller to match */
@media (min-width: 1025px) {
  .ec-nav__inner {
    height: 100px;
  }
  .ec-nav__logo-img {
    height: 88px;
  }
}

.ec-nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
}

.ec-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.ec-nav__link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
  position: relative;
}

.ec-nav__link:hover,
.ec-nav__link.is-active {
  color: var(--color-accent);
}

.ec-nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-shrink: 0;
}

.ec-nav__phone {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
  white-space: nowrap;
}

.ec-nav__phone:hover {
  color: var(--color-accent);
}

/* Smaller CTA size specifically in nav */
.ec-nav__cta {
  padding: 8px 16px;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

@media (max-width: 1023px) {
  .ec-nav__links,
  .ec-nav__phone {
    display: none;
  }
}

.ec-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  position: relative;
}

@media (max-width: 1023px) {
  .ec-hamburger {
    display: flex;
  }
}

.ec-hamburger__line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  border-radius: 0;
  transform-origin: center;
  transition:
    transform var(--duration-base) var(--ease-out-expo),
    opacity var(--duration-fast);
}

.ec-hamburger.is-open .ec-hamburger__line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.ec-hamburger.is-open .ec-hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.ec-hamburger.is-open .ec-hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* =============================================
   MOBILE MENU
============================================= */

.ec-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(28, 28, 28, 0.96);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;          /* was: center — centering clips content on small phones */
  overflow-y: auto;                     /* allows scroll if content exceeds viewport height */
  padding: 76px var(--space-8) var(--space-8); /* top: just clears 70px nav bar; bottom tightened so all fits */
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out-expo);
}

@supports (backdrop-filter: blur(8px)) {
  .ec-mobile-menu {
    background: rgba(28, 28, 28, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

.ec-mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ec-mobile-menu__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ec-mobile-menu__item {
  overflow: hidden;
}

.ec-mobile-menu__link {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--tracking-heading);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-1) 0;
  transition: color var(--duration-base) var(--ease-out-expo);
  transform: translateY(24px);
  opacity: 0;
  transition:
    color var(--duration-base) var(--ease-out-expo),
    transform var(--duration-enter) var(--ease-out-expo),
    opacity var(--duration-enter) var(--ease-out-expo);
}

.ec-mobile-menu.is-open .ec-mobile-menu__link {
  transform: translateY(0);
  opacity: 1;
}

.ec-mobile-menu.is-open .ec-mobile-menu__item:nth-child(1) .ec-mobile-menu__link { transition-delay: 80ms; }
.ec-mobile-menu.is-open .ec-mobile-menu__item:nth-child(2) .ec-mobile-menu__link { transition-delay: 140ms; }
.ec-mobile-menu.is-open .ec-mobile-menu__item:nth-child(3) .ec-mobile-menu__link { transition-delay: 200ms; }
.ec-mobile-menu.is-open .ec-mobile-menu__item:nth-child(4) .ec-mobile-menu__link { transition-delay: 260ms; }

.ec-mobile-menu__link:hover,
.ec-mobile-menu__link.is-active {
  color: var(--color-accent);
}

.ec-mobile-menu__phones {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ec-mobile-menu__phone-label {
  font-size: var(--text-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.ec-mobile-menu__phone {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.ec-mobile-menu__phone span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}


/* =============================================
   FOOTER
============================================= */

.ec-footer {
  background: var(--color-surface-deep);
  border-top: 2px solid var(--color-divider);
  padding: var(--space-16) 0 var(--space-10);
}

.ec-footer__grid {
  display: grid;
  grid-template-columns: 30fr 25fr 45fr;
  gap: var(--space-12);
  align-items: flex-start;
}

@media (max-width: 900px) {
  .ec-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.ec-footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

/* Text-based brand name in footer */
.ec-footer__brand-name {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  margin-bottom: var(--space-5);
  transition: opacity var(--duration-fast);
}

.ec-footer__brand-name:hover {
  opacity: 0.85;
}

.ec-footer__brand-word {
  color: var(--color-text);
}

.ec-footer__brand-accent {
  color: var(--color-accent);
}

.ec-footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
}

.ec-footer__crg {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

.ec-footer__col-label {
  display: block;
  font-size: var(--text-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.ec-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.ec-footer__nav-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ec-footer__nav-link:hover {
  color: var(--color-accent);
}

.ec-footer__contact-phone {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.ec-footer__contact-name {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ec-footer__phone-link {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ec-footer__phone-link:hover {
  color: var(--color-accent);
}

.ec-footer__email,
.ec-footer__address {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

.ec-footer__email a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ec-footer__email a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.ec-footer__bottom {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.ec-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}

.ec-footer__copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

.ec-footer__credit {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.5;
}

.ec-footer__credit a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast), opacity var(--duration-fast);
}

.ec-footer__credit a:hover {
  color: var(--color-accent);
  opacity: 1;
}

/* Contact page dual-form-tabs spacing */
.ec-dual-tabs-section {
  padding-top: var(--space-16);
  padding-bottom: var(--section-py);
}

@media (max-width: 767px) {
  .ec-dual-tabs-section {
    padding-top: var(--space-10);
  }
}


/* =============================================
   FLOATING CTA
============================================= */

.ec-floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-floating-cta);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo);
}

.ec-floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 767px) {
  .ec-floating-cta {
    bottom: 20px;
    right: 16px;
  }
}


/* =============================================
   HERO — HOMEPAGE
============================================= */

.ec-hero {
  display: flex;
  min-height: 100dvh;
  position: relative;
  background: var(--color-bg);
  padding-top: 72px;
}

/* Inner split wrapper (front-page.php uses .ec-hero__split) */
.ec-hero__split {
  display: flex;
  width: 100%;
}

.ec-hero__left,
.ec-hero__content {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-32) var(--container-px-lg);
  position: relative;
  z-index: 2;
}

.ec-hero__right,
.ec-hero__image-pane {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.ec-hero__image,
.ec-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ec-hero__gradient,
.ec-hero__img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--ec-black) 0%,
    rgba(28, 28, 28, 0.7) 25%,
    rgba(28, 28, 28, 0.2) 50%,
    transparent 65%
  );
  pointer-events: none;
}

.ec-hero__tag {
  margin-bottom: var(--space-5);
}

.ec-hero__heading {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-tight);
  color: var(--color-text);
  max-width: 680px;
}

.ec-hero__subtext,
.ec-hero__sub {
  font-size: var(--text-body-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 520px;
  margin-top: var(--space-5);
  margin-bottom: var(--space-8);
}

.ec-hero__ctas {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: 0;
  flex-wrap: wrap;
}

.ec-hero__phones {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.ec-hero__phones a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ec-hero__phones a:hover,
.ec-hero__phone-link:hover {
  color: var(--color-accent);
}

.ec-hero__phone-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ec-hero__phones-sep {
  color: var(--ec-grey-dark);
}

@media (max-width: 900px) {
  .ec-hero {
    min-height: auto;
  }

  .ec-hero__split {
    flex-direction: column;
  }

  .ec-hero__left,
  .ec-hero__content {
    flex: none;
    order: 2;
    padding: var(--space-10) var(--container-px);
  }

  .ec-hero__right,
  .ec-hero__image-pane {
    flex: none;
    order: 1;
    aspect-ratio: 4/3;
    width: 100%;
  }

  .ec-hero__gradient,
  .ec-hero__img-gradient {
    background: linear-gradient(
      to bottom,
      transparent 50%,
      var(--ec-black) 100%
    );
  }

  .ec-hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =============================================
   TRUST STRIP
============================================= */

.ec-trust-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
}

.ec-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ec-trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0 var(--space-10);
  border-right: 1px solid var(--color-border);
}

.ec-trust-strip__item:last-child {
  border-right: none;
}

.ec-trust-strip__icon {
  font-size: 28px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.ec-trust-strip__stat {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  display: block;
}

.ec-trust-strip__desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
  line-height: var(--leading-normal);
}

@media (max-width: 767px) {
  .ec-trust-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ec-trust-strip__item {
    padding: var(--space-4) var(--space-4);
    border-right: none;
  }

  .ec-trust-strip__item:nth-child(1),
  .ec-trust-strip__item:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }
}

/* Trust strip inner grid alias */
.ec-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 767px) {
  .ec-trust-strip__inner {
    grid-template-columns: 1fr 1fr;
  }
}


/* =============================================
   SERVICES GRID
============================================= */

.ec-services {
  background: var(--color-bg);
  padding: var(--section-py) 0;
}

.ec-services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.ec-services__heading {
  font-size: var(--text-h2);
}

.ec-services__subtext,
.ec-services__sub {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 400px;
  text-align: right;
}

.ec-services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--ec-grey-dark);
}

@media (max-width: 1023px) {
  .ec-services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 599px) {
  .ec-services__grid {
    grid-template-columns: 1fr;
  }

  .ec-services__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ec-services__subtext,
  .ec-services__sub {
    text-align: left;
  }
}

.ec-service-card {
  background: var(--color-surface);
  padding: var(--space-10) var(--space-8);
  border-left: 3px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  transition: background var(--duration-base) var(--ease-out-expo);
}

.ec-service-card:hover {
  background: #323232;
}

.ec-service-card__icon {
  font-size: 36px;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.ec-service-card__name {
  font-size: var(--text-h3);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.ec-service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-5);
  flex: 1;
}

.ec-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--duration-base) var(--ease-out-expo);
}

.ec-service-card:hover .ec-service-card__link {
  gap: var(--space-3);
}


/* =============================================
   FEATURED PROJECTS
============================================= */

.ec-featured {
  background: var(--color-bg);
  padding: var(--section-py) 0;
}

.ec-featured__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.ec-featured__heading {
  font-size: var(--text-h2);
}

.ec-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

@media (max-width: 899px) {
  .ec-featured__grid {
    grid-template-columns: 1fr;
  }
}

.ec-project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-surface);
}

.ec-project-card__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ec-project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms var(--ease-out-expo);
  display: block;
}

.ec-project-card:hover .ec-project-card__img {
  transform: scale(1.04);
}

.ec-project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,0.95) 0%, rgba(28,28,28,0.4) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 350ms var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ec-project-card:hover .ec-project-card__overlay {
  opacity: 1;
}

.ec-project-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  transform: translateY(12px);
  opacity: 0;
  transition:
    opacity 350ms var(--ease-out-expo),
    transform 350ms var(--ease-out-expo);
}

.ec-project-card:hover .ec-project-card__info {
  transform: translateY(0);
  opacity: 1;
}

/* Overlay content wrapper used in front-page.php */
.ec-project-card__overlay-content {
  padding: var(--space-6);
  transform: translateY(12px);
  opacity: 0;
  transition:
    opacity 350ms var(--ease-out-expo),
    transform 350ms var(--ease-out-expo);
}

.ec-project-card:hover .ec-project-card__overlay-content {
  transform: translateY(0);
  opacity: 1;
}

@media (hover: none) {
  .ec-project-card__overlay-content {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.ec-project-card__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  display: block;
}

.ec-project-card__location {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 4px;
}

.ec-project-card__scope {
  font-size: 0.8125rem;
  color: var(--color-accent);
  display: block;
  margin-top: 4px;
}

/* Touch: permanent partial overlay */
@media (hover: none) {
  .ec-project-card__overlay {
    opacity: 0.4;
  }

  .ec-project-card__info {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.ec-featured__footer {
  text-align: center;
  margin-top: var(--space-10);
}


/* =============================================
   ABOUT SNIPPET (HOMEPAGE)
============================================= */

.ec-about-snippet {
  background: var(--color-bg);
  padding: var(--section-py) 0;
  border-top: 2px solid var(--color-border);
}

.ec-about-snippet__grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: var(--space-20);
  align-items: center;
}

@media (max-width: 899px) {
  .ec-about-snippet__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.ec-about-snippet__heading {
  font-size: var(--text-h2);
  margin-bottom: var(--space-6);
}

.ec-about-snippet__body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 460px;
  margin-bottom: var(--space-5);
}

.ec-value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

@media (max-width: 599px) {
  .ec-value-cards {
    grid-template-columns: 1fr;
  }
}

.ec-value-card {
  background: var(--color-surface);
  padding: 28px 24px;
  border-top: 2px solid var(--color-accent);
}

.ec-value-card__icon {
  font-size: 28px;
  color: var(--color-accent);
}

.ec-value-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  margin-top: var(--space-4);
}

.ec-value-card__body {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  margin-top: var(--space-3);
}


/* =============================================
   SECTORS STRIP
============================================= */

.ec-sectors {
  background: var(--color-surface);
  padding: var(--section-py-tight) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.ec-sectors__heading {
  font-size: var(--text-h3);
  margin-bottom: var(--space-10);
}

.ec-sectors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ec-sectors__col {
  padding: var(--space-8) var(--space-8);
  border-right: 1px solid var(--color-border);
}

.ec-sectors__col:first-child {
  padding-left: 0;
}

.ec-sectors__col:last-child {
  border-right: none;
  padding-right: 0;
}

/* Class used in templates — alias for ec-sectors__sector-name */
.ec-sectors__sector-name,
.ec-sectors__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  display: block;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent);
}

/* Force bullet lists inside sectors to single column */
.ec-sectors .ec-bullet-list {
  grid-template-columns: 1fr;
}

.ec-sectors__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ec-sectors__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.ec-sectors__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .ec-sectors__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ec-sectors__col {
    padding: var(--space-6) 0;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .ec-sectors__col:nth-child(odd) {
    padding-right: var(--space-6);
  }
}

@media (max-width: 599px) {
  .ec-sectors__grid {
    grid-template-columns: 1fr;
  }

  .ec-sectors__col:nth-child(odd) {
    padding-right: 0;
  }
}


/* =============================================
   CTA BAND (REUSABLE)
============================================= */

.ec-cta-band {
  background: var(--color-surface-deep);
  padding: var(--section-py) 0;
  text-align: center;
}

.ec-cta-band__heading {
  font-size: var(--text-h2);
  max-width: 700px;
  margin: 0 auto;
}

.ec-cta-band__body {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

.ec-cta-band__btn-wrap {
  margin-top: var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.ec-cta-band .ec-btn--primary {
  box-shadow: var(--shadow-button), 0 0 60px rgba(232,98,0,0.12);
}

.ec-cta-band__phone-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.ec-cta-band__phone-note a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.ec-cta-band__phone-note a:hover {
  color: var(--color-accent);
}


/* =============================================
   CONTACT TEASER
============================================= */

.ec-contact-teaser {
  background: var(--color-bg);
  padding: var(--section-py-tight) 0;
  border-top: 1px solid var(--color-border);
}

.ec-contact-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

@media (max-width: 767px) {
  .ec-contact-teaser__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
}

.ec-contact-teaser__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  display: block;
  margin-bottom: var(--space-2);
}

.ec-contact-teaser__number {
  font-size: 1.125rem;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  margin-bottom: var(--space-6);
  transition: color var(--duration-fast);
}

.ec-contact-teaser__number:hover {
  color: var(--color-accent);
}

.ec-contact-teaser__email {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  margin-top: var(--space-5);
  display: block;
  transition: color var(--duration-fast);
}

.ec-contact-teaser__email:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.ec-contact-teaser__prompt-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.ec-contact-teaser__prompt-body {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}


/* =============================================
   INNER PAGE HERO
============================================= */

.ec-inner-hero {
  background: var(--color-bg);
  padding: 120px 0 64px;
  border-bottom: 2px solid var(--color-divider);
}

.ec-inner-hero__heading {
  font-size: var(--text-display);
  max-width: 800px;
}

.ec-inner-hero__subtext,
.ec-inner-hero__sub {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-top: var(--space-5);
  line-height: var(--leading-relaxed);
}

/* Split layout — modifier on section OR inner div */
.ec-inner-hero--split,
.ec-inner-hero__split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
}

.ec-inner-hero__copy {
  flex: 1;
  min-width: 0;
}

/* Ghost stat — CSS aliases cover both naming conventions */
.ec-inner-hero__stat-ghost,
.ec-inner-hero__ghost-num {
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(232, 98, 0, 0.12);
  line-height: 1;
  user-select: none;
  display: block;
  text-align: right;
  white-space: nowrap;
}

.ec-inner-hero__stat-label,
.ec-inner-hero__ghost-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: right;
  display: block;
  margin-top: var(--space-2);
}

.ec-inner-hero__ghost-stat {
  flex-shrink: 0;
  text-align: right;
}

/* Project hero thumbnail strip */
.ec-hero-thumbs {
  display: flex;
  align-items: center;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.ec-hero-thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-bg);
  flex-shrink: 0;
  margin-left: -10px;
}

.ec-hero-thumb:first-child {
  margin-left: 0;
}

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

.ec-hero-thumb--more {
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.ec-hero-thumbs__label {
  margin-left: var(--space-4);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
}

@media (max-width: 767px) {
  .ec-inner-hero--split,
  .ec-inner-hero__split {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }

  .ec-inner-hero__stat-ghost,
  .ec-inner-hero__ghost-num {
    font-size: 4rem;
  }

  .ec-inner-hero__ghost-stat {
    text-align: left;
  }

  .ec-inner-hero__stat-label,
  .ec-inner-hero__ghost-label {
    text-align: left;
  }

  .ec-hero-thumb {
    width: 44px;
    height: 44px;
    margin-left: -8px;
  }
}


/* =============================================
   SERVICE PILLARS (SERVICES PAGE)
============================================= */

.ec-service-pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.ec-service-pillar--alt {
  /* image right, content left — default order */
}

.ec-service-pillar__image-pane,
.ec-service-pillar__img-pane {
  position: relative;
  overflow: hidden;
}

.ec-service-pillar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ec-service-pillar__content-pane,
.ec-service-pillar__content {
  padding: var(--container-px-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-bg);
}

.ec-service-pillar--alt-bg .ec-service-pillar__content-pane {
  background: var(--color-surface);
}

.ec-service-pillar__rule {
  margin-bottom: var(--space-6);
}

.ec-service-pillar__heading {
  font-size: var(--text-h2);
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
}

.ec-service-pillar__body {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 480px;
  margin-bottom: var(--space-6);
}

.ec-service-pillar__cta {
  margin-top: var(--space-8);
}

.ec-partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(232, 98, 0, 0.10);
  border: 1px solid rgba(232, 98, 0, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

@media (max-width: 899px) {
  .ec-service-pillar {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ec-service-pillar__image-pane {
    aspect-ratio: 16/9;
    order: -1;
  }

  .ec-service-pillar__content-pane,
  .ec-service-pillar__content {
    padding: var(--space-10) var(--container-px);
  }
}


/* =============================================
   FABRICATION BANNER (PATTERN BREAK)
============================================= */

.ec-fab-banner {
  background: var(--color-bg);
  padding: var(--space-16) 0;
  border-top: 2px solid var(--color-divider);
  border-bottom: 2px solid var(--color-divider);
}

.ec-fab-banner__grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: var(--space-16);
  align-items: center;
}

@media (max-width: 767px) {
  .ec-fab-banner__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.ec-fab-banner__ghost {
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  position: absolute;
  top: -0.2em;
  left: 0;
  user-select: none;
  pointer-events: none;
}

.ec-fab-banner__left {
  position: relative;
}

.ec-fab-banner__heading {
  font-size: var(--text-h2);
  position: relative;
}

.ec-fab-banner__body {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 520px;
  margin-top: var(--space-5);
  position: relative;
}

.ec-fab-types {
  list-style: none;
}

.ec-fab-types__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-text);
  cursor: default;
  transition: background var(--duration-fast);
}

.ec-fab-types__item:first-child {
  border-top: none;
}

.ec-fab-types__item:hover {
  background: rgba(232, 98, 0, 0.06);
  color: var(--color-accent);
}

.ec-fab-types__arrow {
  color: var(--color-accent);
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.ec-fab-types__item:hover .ec-fab-types__arrow {
  transform: translateX(4px);
}

.ec-fab-banner__note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}


/* =============================================
   PROJECTS GALLERY PAGE
============================================= */

.ec-gallery {
  background: var(--color-bg);
  padding: var(--section-py) 0;
}

.ec-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

@media (max-width: 899px) {
  .ec-gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 599px) {
  .ec-gallery__grid {
    grid-template-columns: 1fr;
  }
}

.ec-gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--color-surface);
}

.ec-gallery-card__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ec-gallery-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 500ms var(--ease-out-expo);
}

.ec-gallery-card:hover .ec-gallery-card__img {
  transform: scale(1.04);
}

.ec-gallery-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(20,20,20,1) 0%, rgba(20,20,20,0.65) 50%, transparent 82%);
  padding: var(--space-5) var(--space-6) var(--space-6);
  opacity: 0.92;
  transition: opacity 350ms var(--ease-out-expo);
}

.ec-gallery-card:hover .ec-gallery-card__overlay {
  opacity: 1;
}

@media (hover: none) {
  .ec-gallery-card__overlay {
    opacity: 1;
  }
}

.ec-gallery-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  display: block;
}

.ec-gallery-card__location {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 3px;
}

.ec-gallery-card__scope {
  font-size: 0.75rem;
  color: var(--color-accent);
  display: block;
  margin-top: 3px;
}

.ec-gallery-card--cta {
  background: var(--color-surface);
  border: 3px dashed rgba(232, 98, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  text-align: center;
  gap: var(--space-4);
}

.ec-gallery-card--cta:hover {
  border-color: rgba(232, 98, 0, 0.5);
}

.ec-gallery-card--cta .ec-gallery-card__cta-heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-muted);
  max-width: 20ch;
}


/* =============================================
   ABOUT HERO (FULL-BLEED IMAGE)
============================================= */

.ec-about-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.ec-about-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ec-about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,28,1) 0%, rgba(28,28,28,0.5) 50%, rgba(28,28,28,0.2) 100%);
}

.ec-about-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: var(--space-16);
  padding-top: 120px;
}

.ec-about-hero__heading {
  font-size: var(--text-display);
  max-width: 700px;
  margin-top: var(--space-6);
}

.ec-about-hero__subtext {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

@media (max-width: 767px) {
  .ec-about-hero {
    min-height: 50vh;
  }

  .ec-about-hero__content {
    padding-bottom: var(--space-8);
  }
}


/* =============================================
   STORY SECTION (ABOUT PAGE)
============================================= */

.ec-story {
  background: var(--color-bg);
  padding: var(--section-py) 0;
}

.ec-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: flex-start;
}

@media (max-width: 899px) {
  .ec-story__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.ec-story__heading {
  font-size: var(--text-h2);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.ec-story__para {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.ec-story__para + .ec-story__para {
  margin-top: var(--space-5);
}

.ec-story__right {
  position: relative;
}

.ec-story__ghost-stat {
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  position: absolute;
  top: -0.15em;
  left: -0.05em;
  user-select: none;
  pointer-events: none;
}

.ec-story__experience {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-8);
  position: relative;
}

.ec-story__highlights,
.ec-story__items {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Ghost label above items */
.ec-story__ghost-wrap {
  position: relative;
  overflow: hidden;
  height: 0;
  pointer-events: none;
}

.ec-story__ghost-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  display: block;
}

.ec-story__highlight,
.ec-story__item {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ec-story__highlight:last-child,
.ec-story__item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.ec-story__highlight-label,
.ec-story__item-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
}

.ec-story__highlight-value,
.ec-story__item-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: var(--leading-tight);
}

/* Make the highlights panel visually distinct */
.ec-story__highlights {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
}

@media (max-width: 767px) {
  .ec-story__highlights {
    padding: var(--space-6);
  }
}

@media (max-width: 767px) {
  .ec-story__ghost-stat {
    font-size: 5rem;
  }
}


/* =============================================
   VALUES SECTION (LIGHT BG)
============================================= */

.ec-values {
  background: var(--ec-grey-light);
  padding: var(--section-py) 0;
}

.ec-values__heading {
  font-size: var(--text-h2);
  color: var(--ec-black);
  margin-bottom: var(--space-10);
}

.ec-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

@media (max-width: 767px) {
  .ec-values__grid {
    grid-template-columns: 1fr;
  }
}

.ec-values__card {
  background: var(--ec-white);
  padding: 48px 36px;
  border-top: 3px solid var(--color-accent);
}

.ec-values__card-icon {
  font-size: 36px;
  color: var(--color-accent);
}

.ec-values__card-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ec-black);
  margin-top: var(--space-6);
}

.ec-values__card-body {
  font-size: var(--text-sm);
  color: #5A5A5A;
  line-height: var(--leading-relaxed);
  margin-top: var(--space-3);
}


/* =============================================
   TEAM CARDS (ABOUT PAGE)
============================================= */

.ec-team {
  background: var(--color-bg);
  padding: var(--section-py) 0;
}

.ec-team__header {
  margin-bottom: var(--space-10);
}

.ec-team__heading {
  font-size: var(--text-h2);
  margin-top: var(--space-4);
}

.ec-team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

@media (max-width: 767px) {
  .ec-team__grid {
    grid-template-columns: 1fr;
  }
}

.ec-team-card {
  background: var(--color-surface);
  overflow: hidden;
}

.ec-team-card__photo {
  aspect-ratio: 4/3;
  background: var(--ec-grey-dark);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ec-team-card__photo-placeholder {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--ec-grey-mid);
  text-transform: uppercase;
}

.ec-team-card__content {
  padding: var(--space-8);
}

.ec-team-card__name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  display: block;
}

.ec-team-card__role {
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}

.ec-team-card__sector {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: var(--space-5);
}

.ec-team-card__phone {
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  transition: color var(--duration-fast);
}

.ec-team-card__phone:hover {
  color: var(--color-accent);
  text-decoration: underline;
}


/* =============================================
   CREDENTIALS BAR
============================================= */

.ec-credentials {
  background: var(--color-surface);
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Grid aliases — HTML uses __inner and __stat/__value/__label */
.ec-credentials__grid,
.ec-credentials__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.ec-credentials__item,
.ec-credentials__stat {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0 var(--space-6);
  border-right: 1px solid var(--color-border);
}

.ec-credentials__item:first-child,
.ec-credentials__stat:first-child { padding-left: 0; }

.ec-credentials__item:last-child,
.ec-credentials__stat:last-child { border-right: none; }

.ec-credentials__icon {
  font-size: 28px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* __stat used as value text in legacy __grid markup */
.ec-credentials__grid .ec-credentials__stat {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  display: block;
  padding: 0;
  border-right: none;
}

/* __value / __label used inside __inner markup (about page) */
.ec-credentials__value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  display: block;
}

.ec-credentials__label,
.ec-credentials__desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .ec-credentials__grid,
  .ec-credentials__inner {
    grid-template-columns: 1fr 1fr;
  }

  .ec-credentials__item,
  .ec-credentials__stat {
    padding: var(--space-4);
    border-right: none;
  }

  /* 5 items in 2-col: rows 1 & 2 (items 1-4) need bottom border */
  .ec-credentials__item:nth-child(1),
  .ec-credentials__item:nth-child(2),
  .ec-credentials__item:nth-child(3),
  .ec-credentials__item:nth-child(4),
  .ec-credentials__stat:nth-child(1),
  .ec-credentials__stat:nth-child(2),
  .ec-credentials__stat:nth-child(3),
  .ec-credentials__stat:nth-child(4) {
    border-bottom: 1px solid var(--color-border);
  }
}


/* =============================================
   CONTACT PAGE
============================================= */

.ec-quick-contact {
  background: var(--color-surface);
  padding: var(--space-10) 0;
}

.ec-quick-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ec-quick-contact__col {
  padding: 0 var(--space-10);
  border-right: 1px solid var(--color-border);
}

.ec-quick-contact__col:first-child { padding-left: 0; }
.ec-quick-contact__col:last-child { border-right: none; }

.ec-quick-contact__col-label {
  font-size: var(--text-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-4);
}

.ec-quick-contact__phone {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  margin-bottom: var(--space-2);
  transition: color var(--duration-fast);
}

.ec-quick-contact__phone:hover { color: var(--color-accent); }

.ec-quick-contact__email {
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  transition: color var(--duration-fast);
}

.ec-quick-contact__email:hover { color: var(--color-accent); }

.ec-quick-contact__note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

@media (max-width: 767px) {
  .ec-quick-contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .ec-quick-contact__col {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-8);
  }

  .ec-quick-contact__col:last-child { border-bottom: none; }
}

.ec-contact-forms {
  background: var(--color-bg);
  padding: var(--section-py) 0;
}


/* =============================================
   FORMS
============================================= */

.ec-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.ec-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ec-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 599px) {
  .ec-form-row { grid-template-columns: 1fr; }
}

.ec-form-label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  display: block;
}

.ec-form-input,
.ec-form-select,
.ec-form-textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  padding: 14px 16px;
  width: 100%;
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.ec-form-input::placeholder,
.ec-form-textarea::placeholder {
  color: var(--ec-grey-mid);
}

.ec-form-input:hover,
.ec-form-select:hover,
.ec-form-textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.ec-form-input:focus,
.ec-form-select:focus,
.ec-form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(232, 98, 0, 0.15);
}

.ec-form-input.has-error,
.ec-form-select.has-error,
.ec-form-textarea.has-error {
  border-color: #E84040;
}

.ec-form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238A8A8A' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.ec-form-select option {
  background: var(--ec-charcoal);
  color: var(--ec-white);
}

.ec-form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: var(--leading-relaxed);
}

.ec-form-error {
  font-size: 0.8125rem;
  color: #E84040;
  min-height: 1.2em;
}

.ec-form-submit {
  margin-top: var(--space-4);
}

.ec-form-file-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.ec-form-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ec-form-file-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 20px;
  border: 1px solid var(--color-border-mid);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: color var(--duration-fast), border-color var(--duration-fast);
}

.ec-form-file-label:hover,
.ec-form-file-input:focus + .ec-form-file-label {
  color: var(--color-text);
  border-color: var(--color-accent);
  outline: none;
}

.ec-form-file-name {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}


/* =============================================
   TABS (CONTACT FORMS)
============================================= */

.ec-tabs__list,
.ec-tab-bar {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}

.ec-tab-btn {
  position: relative;
  padding: var(--space-5) var(--space-8);
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: var(--tracking-btn);
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--duration-base) var(--ease-out-expo);
  white-space: nowrap;
  border-radius: 0;
  -webkit-font-smoothing: antialiased;
}

.ec-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.ec-tab-btn:hover {
  color: var(--color-text);
}

.ec-tab-btn.is-active {
  color: var(--color-text);
}

.ec-tab-btn.is-active::after {
  transform: scaleX(1);
}

.ec-tab-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.ec-tab-panel {
  display: none;
}

.ec-tab-panel.is-active {
  display: block;
  animation: ec-fade-in var(--duration-base) var(--ease-out-expo);
}

@keyframes ec-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 599px) {
  .ec-tab-btn {
    padding: var(--space-4) var(--space-4);
    font-size: 0.875rem;
    flex: 1;
    text-align: center;
  }
}


/* =============================================
   SCROLL REVEAL
============================================= */

@media (prefers-reduced-motion: no-preference) {
  .ec-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity var(--duration-enter) var(--ease-out-expo),
      transform var(--duration-enter) var(--ease-out-expo);
  }

  .ec-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .ec-reveal:nth-child(1) { transition-delay: 0ms; }
  .ec-reveal:nth-child(2) { transition-delay: 80ms; }
  .ec-reveal:nth-child(3) { transition-delay: 160ms; }
  .ec-reveal:nth-child(4) { transition-delay: 240ms; }
}


/* =============================================
   HERO LOAD ANIMATIONS
============================================= */

@media (prefers-reduced-motion: no-preference) {
  .ec-hero__tag,
  .ec-hero__heading,
  .ec-hero__subtext,
  .ec-hero__sub,
  .ec-hero__ctas,
  .ec-hero__phones {
    opacity: 0;
    transform: translateY(16px);
    animation: ec-hero-in var(--duration-enter) var(--ease-out-expo) forwards;
  }

  .ec-hero__heading                   { animation-delay: 100ms; }
  .ec-hero__subtext, .ec-hero__sub    { animation-delay: 200ms; }
  .ec-hero__ctas                      { animation-delay: 300ms; }
  .ec-hero__phones                    { animation-delay: 400ms; }

  @keyframes ec-hero-in {
    to { opacity: 1; transform: translateY(0); }
  }
}


/* =============================================
   UTILITY
============================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.ec-mt-cta { margin-top: var(--space-8); }
.ec-text-center { text-align: center; }

.ec-footer__licence {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  letter-spacing: 0.06em;
}


/* =============================================
   SERVICES LANDING PAGE — SECTOR CARD GRID
   Phase 2 rebuild: 5 sectors, Option B
============================================= */

.ec-services-intro {
  padding: var(--section-py) 0 var(--space-16);
}

.ec-services-intro__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--tracking-heading);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.ec-services-intro__body {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: var(--leading-relaxed);
}

/* Grid: flex-wrap + justify-content: center so last row centres naturally */
.ec-sector-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5);
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.ec-sector-grid .ec-sector-card {
  flex: 0 1 100%; /* mobile: full width */
}

@media (min-width: 640px) {
  .ec-sector-grid .ec-sector-card {
    flex: 0 1 calc(50% - var(--space-5) / 2); /* tablet: 2-col */
  }
}

@media (min-width: 1025px) {
  .ec-sector-grid .ec-sector-card {
    flex: 0 1 calc(33.333% - (var(--space-5) * 2 / 3)); /* desktop: 3-col, last row centres */
  }
}

/* Sector card — full card is a link */
.ec-sector-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-8);
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color 300ms var(--ease-out-expo),
    transform 300ms var(--ease-out-expo);
}

.ec-sector-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 350ms var(--ease-out-expo);
}

.ec-sector-card:hover {
  border-color: var(--color-accent);
}

.ec-sector-card:hover::before {
  transform: scaleY(1);
}

.ec-sector-card__eyebrow {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.ec-sector-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--tracking-heading);
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.ec-sector-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  flex-grow: 1;
  margin-bottom: var(--space-8);
}

.ec-sector-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
  margin-top: auto;
}

.ec-sector-card__rep {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.ec-sector-card__arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 1.125rem;
  flex-shrink: 0;
  transition:
    background 300ms var(--ease-out-expo),
    border-color 300ms var(--ease-out-expo),
    color 300ms var(--ease-out-expo);
}

.ec-sector-card:hover .ec-sector-card__arrow {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
}


/* =============================================
   SECTOR SUB-PAGE — CAPABILITY SECTION
============================================= */

.ec-sector-scope {
  padding: var(--section-py) 0;
}

.ec-sector-scope__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 768px) {
  .ec-sector-scope__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--space-16);
  }
}

.ec-sector-scope__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--tracking-heading);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.ec-sector-scope__body {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.ec-sector-scope__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ec-sector-scope__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subcategory list on sector pages */
.ec-subcategory-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ec-subcategory-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.ec-subcategory-list__item:first-child {
  border-top: 1px solid var(--color-border);
}

.ec-subcategory-list__item i {
  color: var(--color-accent);
  font-size: 1rem;
  flex-shrink: 0;
}


/* =============================================
   REP CONTACT BLOCK
   Used at the bottom of each sector sub-page
============================================= */

.ec-rep-contact {
  background: var(--color-surface);
  border-top: 2px solid var(--color-accent);
  padding: var(--space-12) 0;
}

.ec-rep-contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .ec-rep-contact__inner {
    grid-template-columns: auto 1fr auto;
    gap: var(--space-10);
  }
}

.ec-rep-contact__photo {
  width: 80px;
  height: 80px;
  border-radius: 0;
  overflow: hidden;
  background: var(--color-divider);
  flex-shrink: 0;
}

.ec-rep-contact__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ec-rep-contact__photo-initials {
  width: 80px;
  height: 80px;
  background: var(--color-surface-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}

.ec-rep-contact__label {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.ec-rep-contact__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--tracking-heading);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.ec-rep-contact__role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ec-rep-contact__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ec-rep-contact__phone {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color var(--duration-fast);
}

.ec-rep-contact__phone:hover { color: var(--color-accent); }

.ec-rep-contact__email {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color var(--duration-fast);
}

.ec-rep-contact__email:hover { color: var(--color-accent); }


/* =============================================
   TEAM GRID — 4 MEMBERS (2 × 2)
   Extends existing .ec-team__grid
============================================= */

/* The existing 2-col grid handles 4 cards naturally — 2+2.
   Only override needed is on desktop to keep it at 2 cols (not 4). */
@media (min-width: 768px) {
  .ec-team__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* =============================================
   CLEARLUX COLOUR SWATCHES
   Used on: page-decorative-finishes.php
   Prefix: .cl- (scoped, no conflict with ec-)
============================================= */

.cl-swatches-section {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--color-border);
}

.cl-swatches__header {
  margin-bottom: 3rem;
}

.cl-swatches__eyebrow {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.75rem;
}

.cl-swatches__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-text);
}

.cl-swatches__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 0.875rem;
  max-width: 520px;
  line-height: 1.6;
}

/* Grid */
.cl-swatches__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
}

/* Swatch card */
.cl-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  outline: none;
}

.cl-swatch__circle-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.cl-swatch__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cl-swatch__ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: border-color 320ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cl-swatch__labels {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.cl-swatch__code {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cl-swatch__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.1;
  transition: color 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover */
.cl-swatch:hover .cl-swatch__img { transform: scale(1.05); }
.cl-swatch:hover .cl-swatch__ring { border-color: rgba(232,98,0,.35); }
.cl-swatch:hover .cl-swatch__code { color: var(--color-accent); }

/* Active / selected */
.cl-swatch.is-active .cl-swatch__ring { border-color: var(--color-accent); }
.cl-swatch.is-active .cl-swatch__code { color: var(--color-accent); }
.cl-swatch.is-active .cl-swatch__name { color: var(--color-accent); }
.cl-swatch.is-active .cl-swatch__img  { transform: scale(1.03); }

/* Focus visible */
.cl-swatch:focus-visible .cl-swatch__ring {
  border-color: var(--color-accent);
  outline: 2px solid var(--color-accent);
  outline-offset: 7px;
  border-radius: 50%;
}

/* Selected info bar */
.cl-swatches__selection {
  margin-top: 3rem;
  padding: 1.25rem 1.75rem;
  background: var(--color-surface);
  border-top: 2px solid var(--color-accent);
  border: 1px solid var(--color-border);
  border-top-width: 2px;
  border-top-color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms cubic-bezier(0.16,1,0.3,1), transform 400ms cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}

.cl-swatches__selection.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cl-swatches__sel-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}

.cl-swatches__sel-text  { flex: 1; }

.cl-swatches__sel-code {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.2rem;
}

.cl-swatches__sel-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

.cl-swatches__sel-cta {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.25rem;
  transition: background 280ms, border-color 280ms, color 280ms;
  white-space: nowrap;
}

.cl-swatches__sel-cta:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-inverse);
}

/* Responsive */
@media (max-width: 1023px) {
  .cl-swatches__grid { grid-template-columns: repeat(3, 1fr); }
  .cl-swatch__circle-wrap { width: 120px; height: 120px; }
}

@media (max-width: 639px) {
  .cl-swatches__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .cl-swatch__circle-wrap { width: 105px; height: 105px; }
  .cl-swatches__selection { flex-wrap: wrap; gap: 1rem; }
  .cl-swatches__sel-cta { width: 100%; text-align: center; }
}


/* =============================================================
   WPFORMS — EC THEME OVERRIDES
   !important required — WPForms ships ID-level specificity CSS
   that cannot be beaten without it.
   ============================================================= */

/* Container reset */
.wpforms-container { margin: 0 !important; padding: 0 !important; }

/* Labels */
.wpforms-form .wpforms-field-label,
.wpforms-form .wpforms-field-label-inline {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif) !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--color-text-muted, #8A8A8A) !important;
  margin-bottom: 0.5rem !important;
}

/* Required asterisk */
.wpforms-form .wpforms-required-label { color: #E86200 !important; }

/* All inputs */
.wpforms-form input[type="text"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="email"],
.wpforms-form input[type="date"],
.wpforms-form input[type="number"],
.wpforms-form input[type="url"],
.wpforms-form select,
.wpforms-form textarea {
  background: #333333 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  color: #FFFFFF !important;
  font-family: var(--font-body, 'Barlow', sans-serif) !important;
  font-size: 0.9375rem !important;
  padding: 0.75rem 1rem !important;
  box-shadow: none !important;
  width: 100% !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.wpforms-form input[type="text"]:focus,
.wpforms-form input[type="tel"]:focus,
.wpforms-form input[type="email"]:focus,
.wpforms-form input[type="date"]:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  outline: none !important;
  border-color: #E86200 !important;
  box-shadow: none !important;
}

/* Placeholder */
.wpforms-form input::placeholder,
.wpforms-form textarea::placeholder { color: #8A8A8A !important; opacity: 1 !important; }

/* Select arrow */
.wpforms-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238A8A8A' stroke-width='1.5' stroke-linecap='square'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem !important;
  cursor: pointer !important;
}

/* Field spacing */
.wpforms-form .wpforms-field { margin-bottom: 1.25rem !important; padding: 0 !important; }

/* Submit button */
.wpforms-form .wpforms-submit-container { padding: 0 !important; margin-top: 0.5rem !important; }

.wpforms-form button[type="submit"],
.wpforms-form .wpforms-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 180px !important;
  padding: 0.875rem 2.5rem !important;
  background: #E86200 !important;
  color: #FFFFFF !important;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif) !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: background 250ms, transform 150ms !important;
}

.wpforms-form button[type="submit"]:hover,
.wpforms-form .wpforms-submit:hover { background: #c95800 !important; }
.wpforms-form button[type="submit"]:active,
.wpforms-form .wpforms-submit:active { transform: scale(0.98) !important; }

/* Validation errors */
.wpforms-form label.wpforms-error,
.wpforms-form .wpforms-error-container,
.wpforms-form .wpforms-error-container-full {
  font-family: var(--font-body, 'Barlow', sans-serif) !important;
  font-size: 0.8125rem !important;
  color: #E86200 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin-top: 0.375rem !important;
}

/* Success confirmation */
.wpforms-confirmation-container-full,
.wpforms-confirmation-container {
  background: #2A2A2A !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-top: 2px solid #E86200 !important;
  padding: 2rem !important;
  color: #FFFFFF !important;
  font-family: var(--font-body, 'Barlow', sans-serif) !important;
}

/* Disclaimer below modal submit */
.ec-modal .wpforms-form .wpforms-submit-container::after {
  content: "We'll respond within 1 business day. No spam, ever.";
  display: block;
  font-family: var(--font-body, 'Barlow', sans-serif);
  font-size: 0.875rem;
  color: #8A8A8A;
  text-align: center;
  margin-top: 0.75rem;
}

/* =============================================================
   WPFORMS — CHOICES.JS OVERRIDES
   WPForms uses Choices.js for enhanced select/dropdown fields.
   Native <select> CSS won't apply to these — target .choices__*
   ============================================================= */

/* Outer visible box (replaces the native select) */
.wpforms-form .choices__inner {
  background: #333333 !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  min-height: unset !important;
  padding: 0.625rem 2.5rem 0.625rem 1rem !important;
  font-family: var(--font-body, 'Barlow', sans-serif) !important;
}

/* Selected item text */
.wpforms-form .choices__list--single .choices__item,
.wpforms-form .choices__list--single .choices__placeholder {
  color: #FFFFFF !important;
  font-family: var(--font-body, 'Barlow', sans-serif) !important;
  font-size: 0.9375rem !important;
  padding: 0 !important;
}

.wpforms-form .choices__list--single .choices__placeholder {
  color: #8A8A8A !important;
}

/* Choices.js built-in down arrow */
.wpforms-form .choices[data-type*="select-one"]::after {
  border-color: #8A8A8A transparent transparent transparent !important;
  right: 1rem !important;
  top: 50% !important;
  margin-top: -3px !important;
}

.wpforms-form .choices[data-type*="select-one"].is-open::after {
  border-color: transparent transparent #8A8A8A transparent !important;
  margin-top: -7px !important;
}

/* Dropdown list */
.wpforms-form .choices__list--dropdown,
.wpforms-form .choices__list[aria-expanded] {
  background: #2A2A2A !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 0 !important;
  border-top: none !important;
}

/* Dropdown items */
.wpforms-form .choices__list--dropdown .choices__item,
.wpforms-form .choices__list[aria-expanded] .choices__item {
  color: #FFFFFF !important;
  font-family: var(--font-body, 'Barlow', sans-serif) !important;
  font-size: 0.9375rem !important;
  padding: 0.625rem 1rem !important;
}

/* Hovered / focused option */
.wpforms-form .choices__list--dropdown .choices__item--selectable.is-highlighted,
.wpforms-form .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background: #E86200 !important;
  color: #FFFFFF !important;
}

/* Focus ring on the Choices container */
.wpforms-form .choices.is-focused .choices__inner,
.wpforms-form .choices.is-open .choices__inner {
  border-color: #E86200 !important;
  outline: none !important;
}


/* =============================================================
   DECORATIVE FINISHES — WORK GALLERY
   Before/after pairs + standalone photo grid
   ============================================================= */

.ec-df-gallery {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--color-border, rgba(255,255,255,0.08));
}

.ec-df-gallery__heading {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-text, #FFFFFF);
  margin: var(--space-2) 0 var(--space-10);
}

/* Before / After grid — one pair per row */
.ec-ba-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4, 1rem);
  margin-bottom: var(--space-10, 2.5rem);
}

.ec-ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.ec-ba-pair__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-surface, #2A2A2A);
}

.ec-ba-pair__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(0.32,0.72,0,1);
}

.ec-ba-pair__figure:hover img { transform: scale(1.03); }

/* BEFORE / AFTER pill labels */
.ec-ba-pair__label {
  position: absolute;
  top: var(--space-3, 0.75rem);
  left: var(--space-3, 0.75rem);
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  pointer-events: none;
}

.ec-ba-pair__label--before {
  background: rgba(28,28,28,0.75);
  color: var(--color-text-muted, #8A8A8A);
  border: 1px solid rgba(255,255,255,0.1);
}

.ec-ba-pair__label--after {
  background: var(--ec-orange, #E86200);
  color: #FFFFFF;
}

/* Standalone photos grid */
.ec-df-photos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.ec-df-photo {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-surface, #2A2A2A);
}

.ec-df-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(0.32,0.72,0,1);
}

.ec-df-photo:hover img { transform: scale(1.05); }

/* Responsive */
@media (max-width: 767px) {
  .ec-ba-pair { grid-template-columns: 1fr; gap: 2px; }
  .ec-df-photos { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ec-df-photos { grid-template-columns: repeat(3, 1fr); }
}


/* =============================================
   DECORATIVE FINISHES — FEATURE PILLARS
============================================= */

.ec-df-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  margin-top: 2rem;
}

.ec-df-pillar {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.ec-df-pillar__icon {
  font-size: 1.375rem;
  color: var(--ec-orange, #E86200);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ec-df-pillar__title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 0.25rem;
}

.ec-df-pillar__body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ec-grey-mid, #8A8A8A);
  margin: 0;
}

@media (max-width: 767px) {
  .ec-df-pillars {
    grid-template-columns: 1fr;
  }
}


/* =============================================
   INTERIOR FINISHES — PROJECT GALLERY
============================================= */

.ec-interior-gallery {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}

.ec-interior-gallery__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-transform: uppercase;
  margin: 0 0 2rem;
}

.ec-interior-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.ec-interior-gallery__item {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.ec-interior-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.ec-interior-gallery__item:hover img {
  transform: scale(1.04);
}

/* Tablet */
@media (max-width: 1023px) {
  .ec-interior-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .ec-interior-gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
}
