/*
Theme Name: Fountain Jobs
Theme URI: https://jobs.fountainelectric.com
Author: Fountain Electric & Services
Author URI: https://fountainelectric.com
Description: Minimal careers page theme for Fountain Electric & Services, powered by Greenhouse.
Version: 1.0.2
License: Proprietary
Text Domain: fountain-jobs
*/

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --color-black:    #0d0d0d;
  --color-charcoal: #1a1a1a;
  --color-steel:    #2c2c2c;
  --color-orange:   #e8500a;
  --color-orange-h: #ff5e10;
  --color-white:    #ffffff;
  --color-offwhite: #f2f2f2;
  --color-muted:    #888888;

  --font-sans: 'Montserrat', sans-serif;

  --max-width: 960px;
  --header-h: 80px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-orange); text-decoration: none; }
a:hover { color: var(--color-orange-h); }

/* ─── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 2px solid var(--color-orange);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo image — hard override to prevent WP global styles from interfering */
.site-header__logo img {
  display: block !important;
  height: 56px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
}

.site-header__back {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-header__back::before {
  content: '←';
  font-size: 1rem;
}

.site-header__back:hover {
  color: var(--color-orange);
}

/* ─── Hero band ──────────────────────────────────────────── */
.site-hero {
  background: var(--color-charcoal);
  padding: 52px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--color-steel);
}

.site-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 14px;
}

.site-hero__headline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
  max-width: 600px;
  margin: 0 auto 16px;
}

.site-hero__sub {
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ─── Main content ───────────────────────────────────────── */
.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ─── Greenhouse embed overrides ─────────────────────────── */
#grnhse_app {
  width: 100%;
}

#grnhse_app a {
  color: var(--color-orange) !important;
}

#grnhse_app a:hover {
  color: var(--color-orange-h) !important;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--color-charcoal);
  border-top: 1px solid var(--color-steel);
  padding: 28px 24px;
  text-align: center;
}

.site-footer p {
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

.site-footer a {
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-steel);
  transition: color 0.2s, border-color 0.2s;
}

.site-footer a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-hero { padding: 36px 20px 32px; }
  .site-main  { padding: 32px 20px 60px; }
}