/* D=F Phase 2 brand layer — palette: #000/#090909 bg, #FFFFFF headlines, #CCCCCC body, single accent #E0C060.
   Typography: Inter (headlines + scrolling band), Host Grotesk (body). */

/* 1) Scrolling band: same headline font as the rest of the site (was Bebas Neue) */
.framer-text[style*="Bebas Neue"],
[style*="Bebas Neue"] .framer-text {
  --framer-font-family: "Inter", "Inter Placeholder", sans-serif !important;
  --framer-font-weight: 800 !important;
  --framer-letter-spacing: -0.03em !important;
  font-family: "Inter", "Inter Placeholder", sans-serif !important;
  font-weight: 800 !important;
}

/* 2) Buttons: always above media, never clipped */
[data-framer-name="⬛️ L Button Fill"] { position: relative; z-index: 5; white-space: nowrap; flex-shrink: 0; overflow: visible; }

/* 3) Form submit buttons (e.g. /team-form) in gold */
form button[type="submit"] { background-color: #E0C060 !important; }
form button[type="submit"] .framer-text, form button[type="submit"] { --framer-text-color: #000000 !important; color: #000000 !important; }

/* ===== New homepage sections ===== */
/* The Hero background photo overflows ~470px below the Hero (fading to black). Sit above it and fade it out. */
#dfx-sections { position: relative; z-index: 6; padding-top: 120px;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0) 0, rgba(9, 9, 9, .88) 150px, #090909 280px); }
@media (max-width: 809px) { #dfx-sections { padding-top: 72px; } }
.dfx { box-sizing: border-box; width: 100%; padding: 0 40px; color: #CCCCCC; font-family: "Host Grotesk", "Host Grotesk Placeholder", Helvetica, Arial, sans-serif; }
.dfx *, .dfx *::before, .dfx *::after { box-sizing: border-box; }
.dfx-inner { max-width: 1360px; margin: 0 auto; }
.dfx h2, .dfx h3, .dfx h4 { font-family: "Inter", "Inter Placeholder", sans-serif; color: #FFFFFF; text-transform: uppercase; margin: 0; }
.dfx h2 { font-size: 48px; font-weight: 700; line-height: 0.9; letter-spacing: -0.05em; }
.dfx h3 { font-size: 28px; font-weight: 700; line-height: 0.95; letter-spacing: -0.05em; }
.dfx h4 { font-size: 20px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.dfx p { margin: 0; font-size: 18px; line-height: 1.55; color: #CCCCCC; }
.dfx-lead { font-size: 22px !important; line-height: 1.35 !important; color: #CCCCCC; margin-top: 18px !important; max-width: 820px; }
.dfx-strong { color: #FFFFFF !important; font-weight: 600; }

.dfx-btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 15px 20px; background: #E0C060; color: #000000 !important;
  font-family: "Host Grotesk", "Host Grotesk Placeholder", sans-serif; font-size: 14px; letter-spacing: -0.04em; text-decoration: none; border: 0; border-radius: 0;
  white-space: nowrap; cursor: pointer; position: relative; z-index: 5; transition: filter .15s ease; }
.dfx-btn:hover { filter: brightness(1.08); }
.dfx-btn svg { width: 18px; height: 18px; flex: none; }

/* Work With Me */
.dfx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.dfx-card { display: flex; flex-direction: column; gap: 16px; background: #000000; border: 1px solid #262626; border-top: 3px solid #E0C060; padding: 32px 28px 30px; }
.dfx-num { font-family: "Inter", sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .12em; color: #E0C060; }
.dfx-card .dfx-meta { color: #FFFFFF; font-weight: 600; font-size: 16px; }
.dfx-card .dfx-btn { margin-top: auto; align-self: flex-start; }
.dfx-card p:not(.dfx-meta) { flex: 0 0 auto; }

/* The Restore Protocol */
#restore-protocol { scroll-margin-top: 110px; }
.dfx-intro { margin-top: 24px; max-width: 900px; }
.dfx-block { margin-top: 64px; }
.dfx-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid #262626; }
.dfx-step { display: grid; grid-template-columns: 340px 1fr; gap: 40px; padding: 28px 0; border-bottom: 1px solid #262626; }
.dfx-step h4 { color: #FFFFFF; }
.dfx-step h4 span { color: #E0C060; }
.dfx-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.dfx-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.dfx-list li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.45; color: #CCCCCC; }
.dfx-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: #E0C060; }
.dfx-note { font-size: 14px !important; color: #CCCCCC; margin-top: 6px !important; }
.dfx-commit { margin-top: 64px; border-left: 3px solid #E0C060; padding: 6px 0 6px 28px; max-width: 900px; }
.dfx-commit p { margin-top: 14px; }
.dfx-motto { margin-top: 48px !important; font-family: "Inter", sans-serif; font-weight: 700; font-size: 24px !important; line-height: 1.25 !important; color: #FFFFFF !important; letter-spacing: -0.02em; }
.dfx-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.dfx-cta p { color: #FFFFFF; font-weight: 600; font-size: 16px; }

@media (max-width: 1199px) {
  .dfx { padding: 0 32px; }
  .dfx-cards { grid-template-columns: 1fr; }
  .dfx-step { grid-template-columns: 1fr; gap: 10px; }
  .dfx-two { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 809px) {
  .dfx { padding: 0 24px; }
  .dfx h2 { font-size: 34px; }
  .dfx h3 { font-size: 24px; }
  .dfx h4 { font-size: 18px; }
  .dfx p { font-size: 16px; }
  .dfx-lead { font-size: 19px !important; }
  .dfx-card { padding: 26px 20px 24px; }
  .dfx-block, .dfx-commit { margin-top: 48px; }
  .dfx-motto { font-size: 20px !important; }
}
