/* D Final Solution — shared header/footer styling. Header typography follows solution.php. */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --df-font-body: "Inter", Arial, sans-serif;
  --df-font-mono: "DM Mono", monospace;
  --df-paper: #f4f3ee;
  --df-ink: #111111;
  --df-line: #c9c8c0;
}

.df-global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(244, 243, 238, .96);
  border-bottom: 1px solid var(--df-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--df-ink);
  font-family: var(--df-font-body);
  box-sizing: border-box;
}
.df-global-header *, .df-global-header *::before, .df-global-header *::after { box-sizing: border-box; }
.df-global-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.df-global-header .df-global-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 0;
  padding: 0;
}
.df-global-header .site-brand { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; line-height: 1; }
.df-global-header .site-brand img { display: block; width: 230px !important; height: 50px !important; max-width: 100%; object-fit: contain; }
.df-global-header .df-global-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.df-global-header .df-global-nav-links a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--df-ink) !important;
  font-family: var(--df-font-mono) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap;
  opacity: 1;
}
.df-global-header .df-global-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 1px;
  background: var(--df-ink);
  transition: width 180ms cubic-bezier(.2,.7,.2,1);
}
.df-global-header .df-global-nav-links a:hover::after,
.df-global-header .df-global-nav-links a:focus-visible::after,
.df-global-header .df-global-nav-links a.active::after { width: 100%; }
.df-global-header .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--df-ink);
  border-radius: 0;
  background: var(--df-ink);
  color: #fff !important;
  font-family: var(--df-font-mono) !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap;
  transition: transform 180ms cubic-bezier(.2,.7,.2,1), background 180ms ease;
}
.df-global-header .nav-cta:hover { color: #fff !important; background: #292929; transform: translateY(-2px); }
.df-global-header .mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--df-line);
  border-radius: 0;
  background: transparent;
  color: var(--df-ink);
  font-family: var(--df-font-mono);
  font-size: 20px;
  cursor: pointer;
}

.df-global-footer {
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 54px 0 28px;
  background: #111;
  color: #fff;
  font-family: var(--df-font-body);
}
.df-global-footer *, .df-global-footer *::before, .df-global-footer *::after { box-sizing: border-box; }
.df-global-footer a { color: inherit; text-decoration: none; }
.df-global-footer .df-global-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(130px, 1fr));
  gap: 32px;
  align-items: start;
  width: 100%;
}
.df-global-footer .df-global-footer-brand,
.df-global-footer .df-global-footer-column { min-width: 0; }
.df-global-footer .df-global-footer-brand img { display: block; max-width: 100%; height: auto; object-fit: contain; }
.df-global-footer .df-global-footer-brand p { margin: 14px 0 0; color: rgba(255,255,255,.78); }
.df-global-footer .df-global-footer-column a { display: inline-block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.df-global-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.7;
}
.df-global-footer .footer-bottom span { min-width: 0; }
.df-global-footer .footer-bottom a { color: #fff; text-decoration: none; }
.df-global-footer .footer-bottom a:hover { text-decoration: underline; }
.df-global-footer .contact-icons { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 22px; white-space: normal; }
.df-global-footer .contact-icons a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 17px; }
.df-global-footer .contact-icons a:hover { background: #fff; color: #111; }
.df-global-footer .df-global-footer-brand h2 { margin: 0 0 12px; font-size: 22px; }
.df-global-footer .df-global-footer-brand p { max-width: 520px; opacity: .72; line-height: 1.65; }
.df-global-footer .df-global-footer-column { display: flex; flex-direction: column; gap: 9px; }
.df-global-footer .df-global-footer-column h3 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.df-global-footer .df-global-footer-column a { opacity: .72; font-size: 13px; }
.df-global-footer .df-global-footer-column a:hover { opacity: 1; }

@media (max-width: 1050px) {
  .df-global-header .df-global-nav { gap: 18px; }
  .df-global-header .site-brand img { width: 195px !important; height: 46px !important; }
  .df-global-header .df-global-nav-links { gap: 16px; }
  .df-global-header .df-global-nav-links a { font-size: 10px !important; }
  .df-global-header .nav-cta { padding: 0 12px; font-size: 9px !important; }
}
@media (max-width: 800px) {
  .df-global-header .df-global-nav { min-height: 70px; flex-wrap: wrap; }
  .df-global-header .site-brand img { width: 200px !important; height: 45px !important; }
  .df-global-header .mobile-toggle { display: inline-flex; margin-left: auto; }
  .df-global-header .df-global-nav-links { display: none; width: 100%; order: 4; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 10px 0 16px; }
  .df-global-header .df-global-nav-links a { width: 100%; padding: 10px 0; font-size: 11px !important; }
  .df-global-header .nav-cta { margin-left: auto; min-height: 38px; }
  .df-global-footer .df-global-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .df-global-footer .df-global-footer-brand { grid-column: 1 / -1; }
  .df-global-footer .footer-bottom { align-items: flex-start; }
}
@media (max-width: 560px) {
  .df-global-container { width: calc(100% - 28px); }
  .df-global-header .df-global-nav { min-height: 68px; gap: 10px; }
  .df-global-header .site-brand img { width: 170px !important; height: 42px !important; }
  .df-global-header .nav-cta { order: 3; margin: 0 0 12px; }
  .df-global-header .mobile-toggle { order: 2; }
  .df-global-header .df-global-nav-links { order: 4; }
  .df-global-footer .df-global-footer-main { grid-template-columns: 1fr; gap: 28px; }
  .df-global-footer .df-global-footer-brand { grid-column: auto; }
  .df-global-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
