/* ==========================================================================
   Enterprise Door & Supply: premium design layer (2026-11)
   Loaded after style.css. Tokens + global type, buttons, header, footer,
   forms. Block-level restyles live in each block's style.css / code.php.
   ========================================================================== */

:root {
  --ed-ink: #0c0d2a;          /* deep navy-black, dark sections */
  --ed-navy: #212060;         /* brand primary */
  --ed-navy-2: #2c2b78;
  --ed-teal: #00c2ab;         /* brand secondary: accents on dark, rules, hovers */
  --ed-teal-ink: #00806f;     /* teal dark enough for small text on light */
  --ed-stone: #f5f3ef;        /* warm off-white sections */
  --ed-stone-2: #ebe8e1;
  --ed-line: #e2dfd8;
  --ed-line-dark: rgba(255, 255, 255, .14);
  --ed-text: #3d4054;
  --ed-muted: #6c6f82;
  --ed-white: #ffffff;

  --ed-font: "Montserrat", var(--font1, sans-serif), sans-serif;

  --ed-container: 1320px;
  --ed-gutter: 40px;
  --ed-section: 128px;
  --ed-radius: 4px;
  --ed-radius-lg: 10px;
  --ed-ease: cubic-bezier(.22, .61, .36, 1);
  --ed-ease-out: cubic-bezier(.16, 1, .3, 1);
  --ed-shadow: 0 1px 2px rgba(12, 13, 42, .04), 0 12px 32px -12px rgba(12, 13, 42, .14);
  --ed-shadow-lg: 0 2px 4px rgba(12, 13, 42, .04), 0 32px 64px -24px rgba(12, 13, 42, .28);
  --ed-header-h: 96px;
}

@media (max-width: 1199px) {
  :root { --ed-section: 96px; --ed-header-h: 76px; }
}

@media (max-width: 767px) {
  :root { --ed-gutter: 22px; --ed-section: 72px; --ed-header-h: 68px; }
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ed-font);
  color: var(--ed-text);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--ed-white);
}

body, p, ul, li { font-family: var(--ed-font); font-weight: 400; }
p { color: var(--ed-text); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ed-font);
  color: var(--ed-navy);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: 60px; }
h2 { font-size: 44px; }
h3 { font-size: 28px; letter-spacing: -0.015em; }
h4 { font-size: 22px; letter-spacing: -0.01em; }
h5 { font-size: 18px; letter-spacing: 0; }

@media (max-width: 991px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  h1 { font-size: 36px; }
  h2 { font-size: 29px; }
  h3 { font-size: 22px; }
  h4 { font-size: 19px; }
}

a { color: var(--ed-navy); transition: color .3s var(--ed-ease); }
strong, b { font-weight: 600; }

::selection { background: var(--ed-navy); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ed-stone); box-shadow: none; -webkit-box-shadow: none; }
::-webkit-scrollbar-thumb { background: #b9b7c9; border-radius: 10px; border: 2px solid var(--ed-stone); }

:focus-visible { outline: 2px solid var(--ed-teal); outline-offset: 3px; }

img { height: auto; }

/* Containers: wider, calmer gutters */
.container {
  width: 100%;
  max-width: calc(var(--ed-container) + (var(--ed-gutter) * 2));
  padding-left: var(--ed-gutter);
  padding-right: var(--ed-gutter);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.container-fluid { max-width: none; padding-left: 0; padding-right: 0; }

/* ---------- Shared primitives ---------- */
.ed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ed-teal-ink);
  margin: 0 0 22px;
}

.ed-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.ed-dark .ed-eyebrow, .ed-eyebrow.is-light { color: var(--ed-teal); }

.ed-lede { font-size: 19px; line-height: 1.7; color: var(--ed-text); }

@media (max-width: 767px) { .ed-lede { font-size: 17px; } }

/* Buttons. .btn is the theme's existing class, so every block gets the new look */
.btn, .ed-btn {
  --btn-bg: var(--ed-navy);
  --btn-fg: #fff;
  --btn-bd: var(--ed-navy);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 56px;
  width: auto;
  min-width: 0;
  padding: 0 30px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--ed-radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ed-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ed-ease), border-color .45s var(--ed-ease), background-color .45s var(--ed-ease);
}

.btn::before, .ed-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ed-teal);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .6s var(--ed-ease-out);
}

.btn::after, .ed-btn::after {
  content: "";
  width: 16px;
  height: 10px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14.5M10.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14.5M10.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .45s var(--ed-ease-out);
}

.btn:hover, .ed-btn:hover, .btn:focus-visible, .ed-btn:focus-visible {
  color: var(--ed-ink);
  border-color: var(--ed-teal);
  background: var(--btn-bg);
}

.btn:hover::before, .ed-btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover::after, .ed-btn:hover::after { transform: translateX(4px); }
.btn i { display: none; }

.btn.btn-secondary, .ed-btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ed-navy);
  --btn-bd: rgba(33, 32, 96, .28);
}

.btn.btn-tertiary { --btn-bg: var(--ed-ink); --btn-bd: var(--ed-ink); }
.btn.btn-white, .ed-btn--light { --btn-bg: #fff; --btn-fg: var(--ed-navy); --btn-bd: #fff; }
.ed-btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }

.btn.btn-secondary:hover, .btn.btn-white:hover, .ed-btn--light:hover, .ed-btn--ghost-light:hover, .ed-btn--outline:hover {
  color: var(--ed-ink);
  background: var(--btn-bg);
}

/* Text link with animated rule */
.ed-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ed-navy);
  text-decoration: none;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ed-ease-out), color .3s;
}

.ed-link::after {
  content: "";
  width: 16px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14.5M10.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14.5M10.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .45s var(--ed-ease-out);
}

.ed-link:hover { background-size: 30% 1px; color: var(--ed-teal-ink); }
.ed-link:hover::after { transform: translateX(4px); }
.ed-dark .ed-link { color: #fff; }
.ed-dark .ed-link:hover { color: var(--ed-teal); }

/* Round arrow buttons used by sliders */
.ed-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(33, 32, 96, .2);
  background: transparent;
  color: var(--ed-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .35s var(--ed-ease), color .35s, border-color .35s;
}

.ed-arrow:hover { background: var(--ed-navy); border-color: var(--ed-navy); color: #fff; }
.ed-dark .ed-arrow { border-color: rgba(255, 255, 255, .3); color: #fff; }
.ed-dark .ed-arrow:hover { background: #fff; color: var(--ed-navy); }

/* Image hover zoom used by cards */
.ed-zoom { overflow: hidden; }
.ed-zoom img { transition: transform 1.2s var(--ed-ease-out); }
.ed-zoom:hover img, a:hover .ed-zoom img { transform: scale(1.045); }

/* Dark sections: colour every text node (theme sets p/li colours explicitly) */
.ed-dark, .ed-dark h1, .ed-dark h2, .ed-dark h3, .ed-dark h4, .ed-dark h5, .ed-dark h6,
.ed-dark p, .ed-dark li, .ed-dark span, .ed-dark strong, .ed-dark em, .ed-dark label { color: #fff; }
.ed-dark p, .ed-dark li { color: rgba(255, 255, 255, .74); }
.ed-dark a:not(.btn):not(.ed-btn) { color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.ed-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .45s var(--ed-ease), border-color .45s var(--ed-ease), box-shadow .45s var(--ed-ease), transform .5s var(--ed-ease-out);
}

.admin-bar .ed-header { top: 32px; }

.ed-header.is-scrolled { border-bottom-color: var(--ed-line); box-shadow: 0 10px 30px -20px rgba(12, 13, 42, .25); }

.ed-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--ed-header-h);
  transition: height .45s var(--ed-ease);
}

.ed-header.is-scrolled .ed-header__inner { height: calc(var(--ed-header-h) - 18px); }

.ed-header__logo { display: block; flex: none; line-height: 0; }

.ed-header__logo img {
  width: 230px;
  height: auto;
  display: block;
  transition: filter .45s var(--ed-ease), width .45s var(--ed-ease);
}

.ed-header.is-scrolled .ed-header__logo img { width: 206px; }

.ed-header__nav { display: flex; align-items: center; gap: 36px; }

/* Overlay mode: header floats over a hero until scrolled */
body.ed-has-hero .ed-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

body.ed-has-hero .ed-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -40px;
  background: linear-gradient(180deg, rgba(8, 9, 30, .55), rgba(8, 9, 30, 0));
  pointer-events: none;
  transition: opacity .45s var(--ed-ease);
}

body.ed-has-hero .ed-header:not(.is-scrolled) .ed-header__logo img { filter: brightness(0) invert(1); }

body.ed-has-hero .ed-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
}

body.ed-has-hero .ed-header.is-scrolled::before { opacity: 0; }

/* Primary menu (walker markup: ul.main-navigation > li.dropdown > a.dropdown-toggle + ul.dropdown-menu) */
.ed-header .menutop ul { margin: 0; }

.ed-header .menutop > div > ul,
.ed-header .menutop > ul { display: flex; align-items: center; gap: 4px; padding: 0; }

.ed-header .menutop ul li a {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ed-navy);
}

.ed-header .menutop > div > ul > li > a,
.ed-header .menutop > ul > li > a {
  position: relative;
  height: 44px;
  padding: 0 14px;
  gap: 6px;
}

.ed-header .menutop > div > ul > li > a::after,
.ed-header .menutop > ul > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ed-ease-out);
}

.ed-header .menutop > div > ul > li:hover > a::after,
.ed-header .menutop > ul > li:hover > a::after,
.ed-header .menutop li.current-menu-item > a::after,
.ed-header .menutop li.current-menu-ancestor > a::after,
.ed-header .menutop li.current-menu-parent > a::after { transform: scaleX(1); transform-origin: left; }

.ed-header .menutop ul li a:hover { color: var(--ed-navy); }
.ed-header .menutop a.dropdown-toggle i { padding: 0; font-size: 10px; opacity: .55; transition: transform .35s var(--ed-ease); }
.ed-header .menutop li.dropdown:hover > a.dropdown-toggle i { transform: rotate(180deg); }

body.ed-has-hero .ed-header:not(.is-scrolled) .menutop > div > ul > li > a,
body.ed-has-hero .ed-header:not(.is-scrolled) .menutop > ul > li > a,
body.ed-has-hero .ed-header:not(.is-scrolled) .ed-header__phone { color: #fff; }

/* Dropdown panel: fade + lift instead of display toggling */
.ed-header ul.dropdown-menu,
.ed-header .dropdown:hover ul.dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 2px;
  min-width: 280px;
  padding: 10px;
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius-lg);
  box-shadow: var(--ed-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s var(--ed-ease), transform .45s var(--ed-ease-out), visibility 0s linear .3s;
  z-index: 20;
}

.ed-header ul.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.ed-header .dropdown:hover > ul.dropdown-menu,
.ed-header .dropdown:focus-within > ul.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s var(--ed-ease), transform .45s var(--ed-ease-out), visibility 0s;
}

.ed-header .dropdown-menu li a,
.ed-header .menu-depth-2 li a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  background: transparent !important;
  color: var(--ed-navy) !important;
  border: 0 !important;
  border-radius: 6px;
  padding: 11px 14px !important;
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0;
  transition: background .25s var(--ed-ease), color .25s, padding .35s var(--ed-ease-out);
}

.ed-header .dropdown-menu li a:hover,
.ed-header .menu-depth-2 li a:hover {
  background: var(--ed-stone) !important;
  color: var(--ed-navy) !important;
  padding-left: 18px !important;
}

.ed-header .dropdown-menu a i.fa-caret-right { float: none; margin: 0; font-size: 10px; opacity: .5; }

.ed-header ul.dropdown-menu.menu-depth-2 {
  top: -11px !important;
  left: calc(100% + 10px) !important;
  margin: 0 !important;
  min-width: 220px;
}

.ed-header .dropdown-menu li.menu-item-has-children:hover > .menu-depth-2 { display: block !important; opacity: 1; visibility: visible; transform: none; }

.ed-header__actions { display: flex; align-items: center; gap: 22px; }

.ed-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ed-navy);
  text-decoration: none;
  white-space: nowrap;
}

.ed-header__phone svg { width: 15px; height: 15px; flex: none; }
.ed-header__phone:hover { color: var(--ed-teal-ink); }
body.ed-has-hero .ed-header:not(.is-scrolled) .ed-header__phone:hover { color: var(--ed-teal); }

.ed-header .ed-btn { height: 48px; padding: 0 24px; font-size: 12px; }
body.ed-has-hero .ed-header:not(.is-scrolled) .ed-btn { --btn-bg: transparent; --btn-bd: rgba(255, 255, 255, .5); }

/* Mobile burger */
.ed-burger {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--ed-line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.ed-burger span { display: block; width: 18px; height: 1.5px; background: var(--ed-navy); transition: width .35s var(--ed-ease-out); }
.ed-burger span:nth-child(2) { width: 12px; margin-left: 6px; }
.ed-burger:hover span:nth-child(2) { width: 18px; margin-left: 0; }

body.ed-has-hero .ed-header:not(.is-scrolled) .ed-burger { background: transparent; border-color: rgba(255, 255, 255, .45); }
body.ed-has-hero .ed-header:not(.is-scrolled) .ed-burger span { background: #fff; }

@media (max-width: 1360px) {
  .ed-header__phone span { display: none; }
  .ed-header__nav { gap: 22px; }
  .ed-header .menutop > div > ul > li > a, .ed-header .menutop > ul > li > a { padding: 0 10px; }
}

@media (max-width: 1199px) {
  .ed-header .menutop, .ed-header__phone, .ed-header .ed-btn { display: none; }
  .ed-burger { display: inline-flex; }
  .ed-header__logo img, .ed-header.is-scrolled .ed-header__logo img { width: 178px; margin: 0; }
  .admin-bar .ed-header { top: 46px; }
}

@media (max-width: 782px) { .admin-bar .ed-header { top: 0; } }

/* mmenu panel polish */
.mm-menu { --mm-color-background: #fff; --mm-color-text: var(--ed-navy); --mm-color-border: var(--ed-line); --mm-listitem-size: 54px; font-family: var(--ed-font); }
.mm-listitem__text, .mm-navbar__title > span { font-weight: 500; color: var(--ed-navy); }
.mm-navbar img.mobileLogo { padding: 22px 30px; max-width: 240px; }
.mm-iconbar { background: var(--ed-ink); }
.mm-iconbar a,
.mm-iconbar .mm-iconbar__top > a,
.mm-iconbar .mm-iconbar__bottom > a { color: rgba(255, 255, 255, .85); }
.mm-iconbar .mm-iconbar__top > a:hover, .mm-iconbar .mm-iconbar__top > a:focus-visible { color: var(--ed-teal); }

/* Back to top */
#buttonTop {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ed-line);
  background: #fff;
  box-shadow: var(--ed-shadow);
  right: 26px;
  bottom: 26px;
}

#buttonTop::after { content: ""; display: block; width: 100%; height: 100%; background: var(--ed-navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 18V6M7 11l5-5 5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 18V6M7 11l5-5 5 5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center/20px no-repeat; }
#buttonTop:hover { background: var(--ed-navy); }
#buttonTop:hover::after { background: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ed-cta {
  position: relative;
  background: var(--ed-ink);
  padding: var(--ed-section) 0;
  overflow: hidden;
}

.ed-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(0, 194, 171, .14), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(44, 43, 120, .65), transparent 70%);
  pointer-events: none;
}

.ed-cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 96px;
  align-items: start;
}

.ed-cta h2 { font-size: 52px; margin: 0 0 24px; }
.ed-cta__intro { font-size: 18px; max-width: 460px; margin: 0 0 48px; }

.ed-cta__contact { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ed-line-dark); }

.ed-cta__contact li { margin: 0; border-bottom: 1px solid var(--ed-line-dark); }

.ed-cta__contact a, .ed-cta__contact .ed-cta__row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.ed-cta__contact small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5) !important;
}

.ed-cta__contact a::after {
  content: "";
  width: 16px;
  height: 10px;
  background: var(--ed-teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14.5M10.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14.5M10.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .45s var(--ed-ease-out);
}

.ed-cta__contact a:hover::after { transform: translateX(6px); }
.ed-cta__contact a:hover span { color: var(--ed-teal); }
.ed-cta__contact span { transition: color .3s; }

.ed-cta__form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--ed-line-dark);
  border-radius: var(--ed-radius-lg);
  padding: 48px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.ed-cta__form h3 { font-size: 24px; margin: 0 0 8px; }
.ed-cta__form > p { margin: 0 0 32px; font-size: 15px; }

/* Gravity Forms on dark */
.ed-cta .gform_wrapper .gform_fields { gap: 18px 16px !important; }
.ed-cta .gform_wrapper label, .ed-cta .gform_wrapper .gfield_label { display: none !important; }
.ed-cta .gform_wrapper p.gform_required_legend { display: none; }

.ed-cta .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.ed-cta .gform_wrapper textarea,
.ed-cta .gform_wrapper select {
  width: 100%;
  height: 56px !important;
  padding: 0 18px !important;
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: var(--ed-radius) !important;
  color: #fff !important;
  font-family: var(--ed-font) !important;
  font-size: 15px !important;
  box-shadow: none !important;
  transition: border-color .3s, background-color .3s;
}

.ed-cta .gform_wrapper textarea { height: 150px !important; padding: 16px 18px !important; resize: vertical; }
.ed-cta .gform_wrapper ::placeholder { color: rgba(255, 255, 255, .55) !important; font-family: var(--ed-font); font-size: 15px; }

.ed-cta .gform_wrapper input:focus, .ed-cta .gform_wrapper textarea:focus {
  outline: none;
  border-color: var(--ed-teal) !important;
  background: rgba(255, 255, 255, .09) !important;
}

.ed-cta .gform_wrapper .gform_footer { margin: 24px 0 0 !important; padding: 0 !important; }

.ed-cta .gform_wrapper .gform_footer input[type="submit"],
.ed-cta .gform_wrapper .gform_footer button {
  width: 100% !important;
  height: 58px !important;
  border: 0 !important;
  border-radius: var(--ed-radius) !important;
  background: var(--ed-teal) !important;
  color: var(--ed-ink) !important;
  font-family: var(--ed-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .35s var(--ed-ease), color .35s !important;
}

.ed-cta .gform_wrapper .gform_footer input[type="submit"]:hover { background: #fff !important; }
.ed-cta .gform_wrapper .gfield_validation_message, .ed-cta .gform_wrapper .validation_message { background: transparent !important; border: 0 !important; color: #ffb4b4 !important; padding: 6px 0 0 !important; font-size: 13px; }
.ed-cta .gform_wrapper .gform_validation_errors { background: rgba(255, 90, 90, .1) !important; border-color: rgba(255, 140, 140, .4) !important; }
.ed-cta .gform_wrapper .gform_validation_errors h2 { color: #fff !important; font-size: 15px !important; }
.ed-cta .gform_confirmation_message { color: #fff; font-size: 18px; }

/* Recognition band */
.ed-recognition {
  background: var(--ed-stone);
  padding: 56px 0;
  border-bottom: 1px solid var(--ed-line);
}

.ed-recognition__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }

.ed-recognition__label {
  flex: none;
  max-width: 220px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ed-muted);
  line-height: 1.6;
  margin: 0;
}

.ed-recognition__logos { display: flex; align-items: center; justify-content: flex-end; gap: 56px; flex-wrap: wrap; }

.ed-recognition__logos img, .ed-recognition__logos a img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .5s var(--ed-ease), opacity .5s var(--ed-ease);
}

.ed-recognition__logos img:hover, .ed-recognition__logos a:hover img { filter: none; opacity: 1; }

/* Main footer */
.ed-footer { background: var(--ed-ink); color: #fff; padding: 96px 0 0; }

.ed-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 56px;
  padding-bottom: 80px;
}

.ed-footer__brand img { width: 230px; filter: brightness(0) invert(1); display: block; margin-bottom: 28px; }
.ed-footer__brand p { font-size: 15px; line-height: 1.75; max-width: 340px; margin: 0 0 28px; }
.ed-footer__brand address { font-style: normal; font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .74); }
.ed-footer__brand address a { color: #fff; text-decoration: none; }
.ed-footer__brand address a:hover { color: var(--ed-teal); }

.ed-footer h2.ed-footer__heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin: 6px 0 26px;
}

.ed-footer__col ul { list-style: none; margin: 0; padding: 0; }
.ed-footer__col li { margin: 0 0 13px; line-height: 1.4; }
.ed-footer__col a { color: rgba(255, 255, 255, .82) !important; text-decoration: none; font-size: 15px; transition: color .3s, padding .4s var(--ed-ease-out); }
.ed-footer__col a:hover { color: var(--ed-teal) !important; }

.ed-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--ed-line-dark);
}

.ed-footer__bottom p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .55) !important; }
.ed-footer__bottom a { color: rgba(255, 255, 255, .8) !important; text-decoration: none; font-weight: 600; }
.ed-footer__bottom a:hover { color: var(--ed-teal) !important; }

@media (max-width: 1199px) {
  .ed-cta__grid { grid-template-columns: 1fr; gap: 56px; }
  .ed-cta h2 { font-size: 42px; }
  .ed-footer__top { grid-template-columns: 1fr 1fr; }
  .ed-footer__brand { grid-column: 1 / -1; }
  .ed-recognition__inner { flex-direction: column; text-align: center; gap: 28px; }
  .ed-recognition__label { max-width: none; }
  .ed-recognition__logos { justify-content: center; gap: 40px; }
}

@media (max-width: 767px) {
  .ed-cta h2 { font-size: 32px; }
  .ed-cta__intro { font-size: 16px; margin-bottom: 36px; }
  .ed-cta__form { padding: 28px 22px; }
  .ed-cta__contact a, .ed-cta__contact .ed-cta__row { grid-template-columns: 1fr auto; font-size: 16px; padding: 18px 0; }
  .ed-cta__contact small { grid-column: 1 / -1; }
  .ed-cta .gform_wrapper .gform_fields { grid-template-columns: 1fr !important; }
  .ed-cta .gform_wrapper .gfield { grid-column: 1 / -1 !important; }
  .ed-recognition__logos { gap: 28px 36px; }
  .ed-recognition__logos img, .ed-recognition__logos a img { height: 48px; max-width: 110px; }
  .ed-footer { padding-top: 72px; }
  .ed-footer__top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
  .ed-footer__bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Generic page content (classic content, single posts, wysiwyg)
   ========================================================================== */
.ed-prose { font-size: 17px; line-height: 1.8; color: var(--ed-text); }
.ed-prose > * + * { margin-top: 1.1em; }
.ed-prose h2, .ed-prose h3, .ed-prose h4 { margin-top: 1.8em; margin-bottom: .5em; }
.ed-prose a { color: var(--ed-navy); text-decoration: underline; text-decoration-color: rgba(0, 194, 171, .7); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ed-prose a:hover { color: var(--ed-teal-ink); }
.ed-prose ul li { list-style: none; position: relative; padding-left: 26px; margin-bottom: 10px; }
.ed-prose ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--ed-teal); }
.ed-prose img { border-radius: var(--ed-radius); }
.ed-prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 2px solid var(--ed-teal); font-size: 21px; line-height: 1.6; color: var(--ed-navy); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* The menu's own "Contact" item duplicates the header CTA on desktop */
.ed-header .menutop li.btnhead { display: none; }
.ed-recognition__logos img, .ed-recognition__logos a img { height: 76px; max-width: 170px; }
@media (max-width: 767px) { .ed-recognition__logos img, .ed-recognition__logos a img { height: 54px; max-width: 120px; } }

/* Clip sideways overflow without turning html/body into scroll containers (style.css uses overflow-x:hidden !important) */
html, body { overflow-x: clip !important; }

/* Accordions (jobs, FAQs): closed bodies are hidden from first paint. beefup used to hide them only once
   its script ran, so every item rendered open and then snapped shut (layout shift). slideDown/slideUp
   set inline display, which still wins over this rule. */
.beefup:not(.is-open) > .beefup__body { display: none; }

/* Mobile menu (mmenu): the fixed header (z-index 900) sat on top of the open menu, covering its logo
   and the home/phone icon bar. Fade it out while the menu is opening or open. */
body.mm-wrapper_opening .ed-header,
body.mm-wrapper_opened .ed-header { opacity: 0; visibility: hidden; pointer-events: none; }

/* Belt and braces for the scroll lock: browsers that still hold the pre-redesign style.css (cached for a
   year) get ".mm-wrapper { overflow: hidden }" on <body> permanently, which stopped smooth scroll.
   premium.css is new to them, so this undoes it unless the mobile menu is actually open. */
body.mm-wrapper:not(.mm-wrapper_opened) { overflow-y: visible !important; }
