/*
 * Delta Engineering Services — global brand typography
 * Loaded through shared header.php so every PHP page uses the same type system.
 * Font families are standardized; existing page-specific sizes and spacing are
 * intentionally retained to avoid disrupting legacy page layouts.
 */
:root {
    --de-font-heading: "Archivo Expanded", "Arial", sans-serif;
    --de-font-body: "Public Sans", "Segoe UI", Arial, sans-serif;
    --de-font-technical: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

/* Body copy, navigation, links and form controls */
html body,
html body button,
html body input,
html body select,
html body textarea {
    font-family: var(--de-font-body) !important;
}

/* Headings share the homepage's strong architectural voice.
   Keep each page's existing font size, margins and line-height. */
html body h1,
html body h2,
html body h3,
html body h4,
html body .page-title,
html body .section-title {
    font-family: var(--de-font-heading) !important;
    font-weight: 700;
}

/* Shared Delta navigation and CTA */
html body .de-nav,
html body .de-nav a,
html body .de-nav button,
html body .de-nav-cta,
html body .de-nav-cta-text {
    font-family: var(--de-font-body) !important;
}

/* Reusable technical label style for project IDs, categories, dimensions,
   section markers and engineering annotations. */
.de-technical-label,
.de-project-category,
.de-project-meta,
.de-section-eyebrow,
.de-eyebrow,
.de-model-heading,
.de-model-foot,
.de-hero-meta,
.de-hero-bottomline,
.de-card-number {
    font-family: var(--de-font-technical) !important;
    letter-spacing: .08em;
}

/* Buttons and interactive elements use the same body family. */
html body button,
html body .btn,
html body .button,
html body input[type="submit"],
html body input[type="button"],
html body .de-btn-primary,
html body .de-btn-text {
    font-family: var(--de-font-body) !important;
}

/* Preserve icon font glyphs from Font Awesome and theme icon packs. */
html body [class^="fa"],
html body [class*=" fa-"],
html body [class^="icon-"],
html body [class*=" icon-"],
html body .fa,
html body .fa:before,
html body .fa:after {
    font-family: FontAwesome !important;
}

/* Keep code and engineering values monospaced where explicitly marked. */
html body code,
html body pre,
html body .de-technical-value {
    font-family: var(--de-font-technical) !important;
}

/* Accessible focus treatment consistent with the Delta accent. */
html body a:focus-visible,
html body button:focus-visible,
html body input:focus-visible,
html body select:focus-visible,
html body textarea:focus-visible {
    outline: 2px solid #c85a28;
    outline-offset: 3px;
}
