/* Dingfelder Enterprises front door: RESPECT and BETTER DAYS.
   Scoped so existing engineering and business pages retain their styles. */
.de-home-foundation {
  --foundation-gold: #ffd15a;
  --foundation-cyan: #7ddfe6;
  --foundation-green: #8eeac2;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(820px, max(560px, calc(100svh - 112px)));
  padding: clamp(2.7rem, 7vh, 5.7rem) 0;
  background:
    radial-gradient(ellipse at 78% 16%, rgba(125,223,230,.15), transparent 36%),
    radial-gradient(ellipse at 16% 75%, rgba(255,209,90,.12), transparent 45%),
    linear-gradient(118deg, #06101e 5%, #0b2033 56%, #071523 100%);
  border-bottom: 1px solid rgba(255,209,90,.34);
}
.de-home-foundation::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .42;
  background:
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(125,223,230,.052) 120px),
    repeating-linear-gradient(0deg, transparent 0 119px, rgba(125,223,230,.043) 120px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.de-home-foundation::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--foundation-gold), #58a6ff, var(--foundation-green));
}
.de-home-foundation__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: clamp(1.8rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.de-home-foundation__eyebrow {
  color: var(--foundation-gold);
  font-size: clamp(.72rem, 1vw, .84rem);
  font-weight: 950;
  letter-spacing: .19em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}
.de-home-foundation__title {
  color: #fff;
  font-size: clamp(3.5rem, 7.35vw, 8rem);
  line-height: .93;
  letter-spacing: -.075em;
  font-weight: 1000;
  margin: 0 0 1.4rem;
  max-width: 11ch;
}
.de-home-foundation__title span {
  display: block;
  color: var(--foundation-gold);
}
.de-home-foundation__promise {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 850;
  line-height: 1.35;
  color: #f3f8ff;
  margin: 0 0 .8rem;
  max-width: 32ch;
}
.de-home-foundation__intro {
  color: #cddfea;
  font-size: clamp(.99rem, 1.25vw, 1.12rem);
  line-height: 1.7;
  max-width: 57ch;
  margin: 0;
}
.de-home-foundation__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.7rem;
}
.de-home-foundation__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.055);
  color: #edf7ff;
  text-align: center;
  font-size: .94rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.de-home-foundation__button--primary {
  color: #071321;
  border-color: #ffe18e;
  background: linear-gradient(130deg, #ffe39a, #ffc547);
  box-shadow: 0 15px 35px rgba(255,197,71,.16);
}
.de-home-foundation__button:hover {transform: translateY(-2px)}
.de-home-foundation__button:focus-visible {
  outline: 3px solid var(--foundation-cyan);
  outline-offset: 4px;
}
.de-home-foundation__side {
  position: relative;
  border: 1px solid rgba(125,223,230,.25);
  background: linear-gradient(155deg,rgba(255,255,255,.068),rgba(255,255,255,.017));
  border-radius: clamp(19px, 2.6vw, 32px);
  padding: clamp(1.3rem, 3.3vw, 3rem);
  box-shadow: 0 28px 65px rgba(0,0,0,.2);
}
.de-home-foundation__side::before {
  content:"";
  position:absolute;
  width:56px;
  height:4px;
  border-radius:100px;
  background:var(--foundation-green);
  top:0;
  left:clamp(1.3rem, 3.3vw, 3rem);
}
.de-home-foundation__side-label {
  color: var(--foundation-green);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .74rem;
  font-weight: 950;
  margin: 0 0 1.15rem;
}
.de-home-foundation__line {
  border-top: 1px solid rgba(255,255,255,.13);
  padding: 1.05rem 0;
  margin: 0;
}
.de-home-foundation__line:first-of-type {border-top: 0;padding-top: .2rem}
.de-home-foundation__line strong {
  display:block;
  color:#fff;
  font-size:clamp(1.03rem, 1.65vw, 1.35rem);
  line-height: 1.3;
}
.de-home-foundation__line small {
  display:block;
  color:#bcd0e3;
  font-size:.92rem;
  line-height:1.5;
  margin-top:.4rem;
}
.de-home-foundation__closing {
  border-top:1px solid rgba(255,209,90,.3);
  padding-top:1.15rem;
  color:var(--foundation-gold);
  font-weight:900;
  font-size:1rem;
  line-height:1.45;
  margin:.35rem 0 0;
}
.de-home-foundation__discover {
  position:absolute;
  bottom:1.3rem;
  left:50%;
  transform:translateX(-50%);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.07em;
  color:rgba(224,236,250,.8);
}
.de-home-foundation__discover:hover {color:#fff;text-decoration:underline}
.de-home-original-hero .de-home-original-hero__title {
  font-size: clamp(3rem,6vw,5.6rem);
  max-width: 10ch;
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: .35rem 0 1rem;
  font-weight: 950;
  color: #fff;
}
@media(max-width:900px) {
  .de-home-foundation {min-height:0;padding:3.3rem 0 4rem}
  .de-home-foundation__grid {grid-template-columns:1fr;gap:2.6rem}
  .de-home-foundation__side {max-width:780px}
  .de-home-foundation__discover {position:static;display:block;text-align:center;transform:none;margin-top:1.5rem}
}
@media(max-width:580px) {
  .de-home-foundation{padding:2.5rem 0 3rem}
  .de-home-foundation__eyebrow{letter-spacing:.11em;margin-bottom:.85rem}
  .de-home-foundation__title{font-size:clamp(3.45rem,15.3vw,5.2rem);margin-bottom:1rem}
  .de-home-foundation__grid{gap:2rem}
  .de-home-foundation__actions{align-items:stretch}
  .de-home-foundation__button{width:100%}
  .de-home-foundation__side{padding:1.2rem}
  .de-home-original-hero .de-home-original-hero__title{font-size:clamp(2.55rem,13vw,4rem);max-width:9.5ch}
}
@media(prefers-reduced-motion:reduce) {
  .de-home-foundation__button{transition:none}
  .de-home-foundation__button:hover{transform:none}
}
