/* Stack the two lines, left-aligned */
.fh-logo {
  display: inline-block;
  position: relative;
  text-decoration: none;
  line-height: 0.82;
  text-align: left;
  vertical-align: top;
}
.fh-logo > .fh-logo-l1,
.fh-logo > .fh-logo-l2 {
  display: block;
  position: relative;
  z-index: 2; /* stay above the oil */
}

/* Oil layer */
.fh-logo > .fh-oil {
  position: absolute;
  left: 50%;
  top: 50%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
  mix-blend-mode: multiply; /* Ensures it darkens the background */
}
/* Ensure the oil is always dark, even if theme/browser tries to invert it */
.fh-logo > .fh-oil circle { 
  fill: #0a0604 !important; 
}

/* If the browser forces dark mode colors on SVG elements, we reset them */
@media (prefers-color-scheme: dark) {
  .fh-logo > .fh-oil circle {
    fill: #0a0604 !important;
  }
}

/* ── NINJA FORMS BRANDING ───────────────────────────────────*/

.nf-form-cont {
    margin-bottom: 2rem;
}

/* Form Title */
.nf-form-title h3 {
    font-family: 'League Gothic', sans-serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    font-size: 42px !important; /* xxl */
    color: #1A1208 !important;
    margin-bottom: 0.5em !important;
    line-height: 0.9 !important;
}

/* Labels */
.nf-field-label label {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #6B5A3A !important; /* Label color */
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Required Star */
.ninja-forms-req-symbol {
    color: #C44B22 !important; /* Rust */
}

/* Input Fields */
.nf-form-content input.ninja-forms-field,
.nf-form-content textarea.ninja-forms-field {
    background-color: #F2EEE3 !important; /* Card BG */
    border: 1px solid #2E2010 !important; /* Mid */
    color: #1A1208 !important;
    font-family: 'Lora', serif !important;
    font-size: 16px !important;
    padding: 12px 16px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
}

.nf-form-content input.ninja-forms-field:focus,
.nf-form-content textarea.ninja-forms-field:focus {
    border-color: #C9901A !important; /* Gold */
    outline: none !important;
}

/* Submit Button */
.nf-form-content .submit-container input[type="button"],
.nf-form-content .submit-container input[type="submit"],
.nf-form-content .ninja-forms-field.nf-element[type="submit"] {
    background-color: #C44B22 !important; /* Rust */
    color: #FFFFFF !important;
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.01em !important;
    padding: 18px 36px !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
    width: auto !important;
    display: inline-block !important;
    margin-top: 10px !important;
}

.nf-form-content .submit-container input[type="button"]:hover,
.nf-form-content .submit-container input[type="submit"]:hover,
.nf-form-content .ninja-forms-field.nf-element[type="submit"]:hover {
    background-color: #C9901A !important; /* Gold */
}

/* Disabled Submit */
.nf-form-content .ninja-forms-field.nf-element[type="submit"]:disabled {
    background-color: #6B5A3A !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Error Messages */
.nf-error-msg,
.nf-error-wrap .nf-error-msg {
    font-family: 'IBM Plex Mono', monospace !important;
    font-size: 10px !important;
    color: #C44B22 !important; /* Rust */
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-top: 6px !important;
    line-height: 1.4 !important;
}

/* Field with error */
.nf-error .ninja-forms-field {
    border: 1px solid #C44B22 !important;
}

/* Required fields info at top */
.nf-form-fields-required {
    display: none !important;
}

/* Success/Response Messages */
.nf-response-msg {
    font-family: 'Lora', serif !important;
    font-size: 18px !important;
    color: #1A1208 !important;
    padding: 20px !important;
    background: #F2EEE3 !important;
    border-left: 4px solid #C9901A !important;
    margin-bottom: 20px !important;
}

/* ── PAGE SPECIFIC OVERRIDES ───────────────────────────────*/

body.home #nf-form-2-cont {
    margin-top: 0 !important;
}

body.home #nf-form-2-cont .nf-field-container,
body.home #nf-form-2-cont .nf-field,
body.home #nf-form-2-cont .field-wrap,
body.home #nf-form-2-cont .nf-field-label,
body.home #nf-form-2-cont .nf-field-label label,
body.home #nf-form-2-cont .nf-after-field {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* ── UTILITY HELPERS ───────────────────────────────────────*/

.no-top-margin { margin-top: 0 !important; }
.no-bottom-margin { margin-bottom: 0 !important; }
.no-margin { margin: 0 !important; }

.no-top-padding { padding-top: 0 !important; }
.no-bottom-padding { padding-bottom: 0 !important; }
.no-padding { padding: 0 !important; }