/* ============================================================
   Azimuth 180 Solar Electric - site stylesheet
   Palette and type are fixed. Do not add colors.
   navy #1B3A6B · navy-deep #10254A · sky #8FCDEE
   sky-bright #4FA8DC · pale #EAF4FB · slate #4A5568
   ============================================================ */

:root {
  --navy: #1B3A6B;
  --navy-deep: #10254A;
  --sky: #8FCDEE;
  --sky-bright: #4FA8DC;
  --pale: #EAF4FB;
  --slate: #4A5568;
  --white: #FFFFFF;
  --hairline: rgba(27, 58, 107, 0.16);
  --hairline-soft: rgba(27, 58, 107, 0.10);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --container: 1120px;
}

/* ---------- reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, figure { margin: 0; }
a { color: var(--sky-bright); }
::selection { background: var(--sky); color: var(--navy-deep); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
[id] { scroll-margin-top: 96px; }

:focus-visible { outline: 2px solid var(--sky-bright); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 18px;
  font: 600 14px var(--font-body); text-decoration: none; border-radius: 0 0 3px 3px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

.container { max-width: var(--container); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 10px 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) {
  font: 500 15px var(--font-body); color: var(--slate);
  text-decoration: none; padding: 6px 0;
}
.nav-links > a:not(.btn):hover { color: var(--navy); }
.nav-links > a[aria-current="page"] {
  color: var(--navy); font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--sky-bright);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: 600 15px/1 var(--font-body);
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-light { background: var(--sky); color: var(--navy-deep); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: rgba(143, 205, 238, 0.45); color: #fff; }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 11px 20px; font-size: 14px; white-space: nowrap; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn .arrow { margin-left: 8px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.hero-lattice {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: clamp(64px, 8vw, 110px) 24px;
  text-align: center;
}
.hero-home .hero-inner { padding-bottom: clamp(210px, 24vw, 320px); }
.hero h1 {
  font: 700 clamp(44px, 6.2vw, 82px)/0.98 var(--font-display);
  letter-spacing: 0.005em;
  color: #fff;
  max-width: 920px;
  margin: 0 auto;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin: 22px auto 0;
}
.hero-ctas {
  margin-top: 38px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
}
.eyebrow {
  display: block;
  font: 500 13px var(--font-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 22px;
}
.bearing {
  position: absolute; bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: max(100%, 980px);
  height: auto;
  pointer-events: none;
}
.deg-label {
  font: 500 15px var(--font-mono);
  fill: rgba(143, 205, 238, 0.55);
  letter-spacing: 0.08em;
}
.deg-label-180 {
  font: 500 34px var(--font-mono);
  fill: var(--sky);
  letter-spacing: 0.04em;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-inner { animation: heroFade 0.8s ease-out both; }
  @keyframes heroFade {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- tick divider (section rule) ---------- */
.tick-divider {
  max-width: var(--container);
  margin: 0 auto;
  height: 9px;
  background-image:
    linear-gradient(to bottom, var(--hairline) 0 1px, transparent 1px),
    repeating-linear-gradient(to right, var(--hairline) 0 1px, transparent 1px 28px);
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 96px) 24px; }
.band-pale { background: var(--pale); }
.band-dark { background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); }
h2 {
  font: 700 clamp(30px, 3.6vw, 42px)/1.05 var(--font-display);
  color: var(--navy);
}
.band-dark h2 { color: #fff; }
.section-sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--slate);
  max-width: 580px;
}
.center { text-align: center; }
.center .section-sub, .center .prose p { margin-left: auto; margin-right: auto; }
.prose p { margin-top: 18px; line-height: 1.7; max-width: 720px; }
.band-dark .prose p { color: rgba(255, 255, 255, 0.85); }

/* editorial two-column (heading left, text right) */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }

/* ---------- stat bar ---------- */
.stats { background: var(--pale); }
.stats-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  list-style: none; padding: 0;
}
.stat { padding: 38px 20px; text-align: center; border-left: 1px solid var(--hairline-soft); }
.stat:first-child { border-left: 0; }
.stat-figure { font: 500 clamp(24px, 2.3vw, 31px) var(--font-mono); color: var(--navy); }
.stat-label {
  margin-top: 8px;
  font: 600 11.5px var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate);
}

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 22px; margin-top: 44px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 30px 26px;
}
.card h3 { font: 600 19px/1.3 var(--font-body); color: var(--navy); margin: 18px 0 10px; }
.card p { font-size: 15.5px; line-height: 1.65; }
.card-diamonds { display: block; }

/* ---------- career progression ---------- */
.prog-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 44px;
}
.prog-step {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 28px 26px;
}
.prog-num {
  font: 500 13px var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--sky-bright);
}
.prog-title {
  margin-top: 12px;
  font: 600 25px/1.1 var(--font-display);
  color: var(--navy);
}
.prog-title .arrow { color: var(--sky-bright); }
.prog-step p { margin-top: 10px; font-size: 15.5px; }
.prog-arrow {
  align-self: center;
  font: 600 26px var(--font-display);
  color: var(--sky-bright);
}
.prog-note {
  margin-top: 32px;
  text-align: center;
  font: 500 14.5px var(--font-mono);
  color: var(--navy);
}

/* ---------- benefits strip ---------- */
.benefits-line {
  margin: 20px auto 0;
  max-width: 880px;
  text-align: center;
  font: 500 17px/2.1 var(--font-body);
  color: var(--navy);
}

/* ---------- position cards ---------- */
.pos-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: border-color 0.15s ease;
}
.pos-card:hover { border-color: var(--sky-bright); }
.tier-badge {
  display: inline-block;
  align-self: flex-start;
  font: 500 12px var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--navy);
  background: rgba(143, 205, 238, 0.16);
  border: 1px solid var(--sky-bright);
  border-radius: 2px;
  padding: 5px 10px;
}
.pos-title { margin-top: 18px; font: 600 27px/1.05 var(--font-display); color: var(--navy); }
.pos-pay { margin-top: 8px; font: 500 15px var(--font-mono); color: var(--navy); }
.pos-type {
  margin-top: 6px;
  font: 600 11.5px var(--font-body);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate);
}
.pos-summary { margin: 14px 0 24px; font-size: 15.5px; line-height: 1.65; flex: 1; }

/* ---------- job pages ---------- */
.job-hero .hero-inner { text-align: left; padding: clamp(56px, 7vw, 84px) 24px; }
.job-hero h1 { margin: 18px 0 0; font-size: clamp(42px, 5.4vw, 68px); }
.job-hero .tier-badge {
  color: var(--sky);
  border-color: var(--sky-bright);
  background: rgba(143, 205, 238, 0.10);
}
.job-meta {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px;
}
.job-pay { font: 500 17px var(--font-mono); color: var(--sky); }
.job-type {
  font: 600 12px var(--font-body);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.job-hero .btn { margin-top: 30px; }

.job-main { max-width: 840px; margin: 0 auto; padding: clamp(56px, 7vw, 80px) 24px; }
.job-main h2 { font-size: clamp(27px, 3vw, 34px); }
.job-section { margin-top: 56px; }
.job-section:first-child { margin-top: 0; }
.job-main p { margin-top: 16px; line-height: 1.7; }
.job-list { list-style: none; padding: 0; margin: 18px 0 0; }
.job-list li {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
  font-size: 16.5px; line-height: 1.6;
}
.job-list li::before {
  content: "";
  position: absolute; left: 2px; top: 9px;
  width: 9px; height: 9px;
  background: var(--sky-bright);
  transform: skewX(-16deg);
}
.prog-line { margin-top: 16px; font: 500 15px/1.9 var(--font-mono); color: var(--navy); }
.job-benefits { margin-top: 16px; font: 500 16px/2 var(--font-body); color: var(--navy); }
.job-divider { margin: 64px auto; }

/* ---------- application form ---------- */
.form-card {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: clamp(28px, 4vw, 44px);
}
.form-card .section-sub { max-width: none; }
.field { margin-top: 24px; }
.field-label, .field legend {
  display: block;
  font: 600 14.5px/1.45 var(--font-body);
  color: var(--navy);
  margin-bottom: 9px;
  padding: 0;
}
.field-hint { font: 400 13.5px var(--font-body); color: var(--slate); margin-top: 6px; }
.text-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(27, 58, 107, 0.3);
  border-radius: 2px;
  font: 400 16px var(--font-body);
  color: var(--navy-deep);
  background: #fff;
}
.text-input:focus-visible { outline: 2px solid var(--sky-bright); outline-offset: 0; border-color: var(--sky-bright); }
fieldset.field { border: 0; padding: 0; margin-left: 0; margin-right: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg-opt { position: relative; }
.seg-opt input {
  position: absolute; inset: 0;
  opacity: 0; margin: 0;
  cursor: pointer;
}
.seg-opt span {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(27, 58, 107, 0.3);
  border-radius: 2px;
  font: 500 15px var(--font-mono);
  color: var(--slate);
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.seg-opt:hover span { border-color: var(--sky-bright); }
.seg-opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--sky-bright); outline-offset: 2px; }
.file-input {
  width: 100%;
  padding: 12px;
  border: 1px dashed rgba(27, 58, 107, 0.4);
  border-radius: 2px;
  background: var(--pale);
  font: 400 14px var(--font-body);
  color: var(--slate);
}
.file-input::file-selector-button {
  font: 600 13.5px var(--font-body);
  color: #fff; background: var(--navy);
  border: 0; border-radius: 2px;
  padding: 9px 16px;
  margin-right: 14px;
  cursor: pointer;
}
.file-input:focus-visible { outline: 2px solid var(--sky-bright); outline-offset: 2px; }
.inline-error {
  display: none;
  margin-top: 10px;
  padding: 10px 14px;
  border-left: 3px solid var(--navy-deep);
  background: var(--pale);
  font: 600 14px/1.5 var(--font-body);
  color: var(--navy-deep);
}
.inline-error.show { display: block; }
.form-submit { margin-top: 34px; }
.form-status {
  display: none;
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--navy-deep);
  background: var(--pale);
  font-size: 15px; line-height: 1.6;
  color: var(--navy-deep);
}
.form-status.show { display: block; }
.form-status strong { display: block; font-size: 16px; margin-bottom: 4px; }
.form-status a { color: var(--navy); font-weight: 600; }
.form-success h3 {
  font: 700 34px var(--font-display);
  color: var(--navy);
  margin-top: 18px;
}
.form-success p { margin-top: 12px; max-width: 560px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 24px 36px;
  font-size: 15px; line-height: 1.7;
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 40px;
}
.footer-brand { font: 700 24px var(--font-display); color: #fff; }
.footer-lockup {
  margin-top: 6px;
  font: 500 11px var(--font-mono);
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sky);
}
.footer-address { margin-top: 22px; font-style: normal; }
.footer-address a { color: var(--sky); text-decoration: none; }
.footer-address a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.footer-nav a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--sky); }
.footer-dot { color: rgba(255, 255, 255, 0.35); }
.footer-copy {
  max-width: var(--container);
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 860px) {
  .prog-grid { grid-template-columns: 1fr; }
  .prog-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 700px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--hairline-soft); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--hairline-soft); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .nav { padding: 10px 16px; gap: 8px 12px; flex-wrap: wrap; }
  .brand img { height: 46px; }
  .nav-links { gap: 14px; margin-left: auto; }
  .nav-links > a:not(.btn) { font-size: 14px; }
  .btn-sm { padding: 10px 14px; font-size: 13px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .seg-opt span { padding: 10px 18px; }
}
