/* ==========================================================================
   The new site's additions to et-2026.css (the current site's design, kept as is).
   - Rubik, served from this site (the current site loads it from Google Fonts). Same files Google
     serves for Latin text; "Rubik Fallback" in et-2026.css keeps the layout from shifting.
   - Inner pages (sign-in, profile, apply, referrals, benefits ...) in the same style as the home
     and job pages, replacing the current site's older theme.
   ========================================================================== */

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/rubik-latin-italic-300.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Inner pages ------------------------------------------------------------ */
.et-page { padding: 36px 0 24px; color: var(--et-text); font-family: var(--et-font); }
.et-page .et-wrap { max-width: 1000px; }
.et-page-narrow .et-wrap { max-width: 720px; }
.et-page h1 { font: 600 34px/1.2 var(--et-font); color: var(--et-ink); margin: 6px 0 14px; letter-spacing: -.3px; }
.et-page h2 { font: 500 23px/1.3 var(--et-font); color: var(--et-ink); margin: 32px 0 12px; }
.et-page h3 { font: 500 18px/1.4 var(--et-font); color: var(--et-navy); margin: 22px 0 8px; }
.et-page p, .et-page li { font-size: 16.5px; line-height: 1.7; }
.et-page p { margin: 0 0 14px; }
.et-page ul { margin: 0 0 16px; padding-left: 22px; }
.et-page a { color: var(--et-navy); }
.et-page .et-eyebrow { color: var(--et-navy); }
.et-lead { font-size: 18px; color: var(--et-muted); }
.et-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.et-page-grid .et-side-box { text-align: center; }
.et-page-grid .et-side-box img { max-width: 100%; height: auto; }
.et-muted { color: var(--et-muted); }

/* ---- Forms ---------------------------------------------------------------------- */
.et-form { margin: 18px 0 0; }
.et-form fieldset { border: 1px solid var(--et-line); border-radius: 12px; padding: 18px 22px 8px; margin: 0 0 22px; }
.et-form legend { font: 500 13px var(--et-font); letter-spacing: .1em; text-transform: uppercase; color: var(--et-navy); padding: 0 6px; }
.et-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.et-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.et-field-wide { grid-column: 1 / -1; }
.et-field label, .et-field .et-label { font-size: 14.5px; font-weight: 500; color: var(--et-ink); }
.et-field .et-req { color: var(--et-btn); }
.et-field input[type=text], .et-field input[type=email], .et-field input[type=tel], .et-field input[type=url],
.et-field input[type=file], .et-field select, .et-field textarea {
  width: 100%; box-sizing: border-box; min-height: 46px; border: 1px solid #A9B8C7; border-radius: 8px;
  padding: 10px 12px; font: 16px var(--et-font); color: var(--et-text); background: #fff;
}
.et-field input[type=file] { padding: 9px 10px; }
.et-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.et-field input:focus, .et-field select:focus, .et-field textarea:focus { border-color: var(--et-navy); outline: 3px solid rgba(14, 73, 113, .18); outline-offset: 0; }
.et-field [aria-invalid=true] { border-color: #B42318; }
.et-field-error { color: #B42318; font-size: 14px; }
.et-hint { color: var(--et-muted); font-size: 14px; }
.et-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; margin: 0 0 12px; }
.et-check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; }
.et-inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.et-inline-form .et-field { flex: 1 1 280px; margin: 0; }
.et-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 8px 0 0; }
.et-btn-plain { background: none; border: 0; color: var(--et-navy); font: 500 16px var(--et-font); text-decoration: underline; cursor: pointer; padding: 8px 4px; }
.et-btn.et-busy { opacity: .7; cursor: progress; }
.et-code input { font-size: 22px; letter-spacing: .3em; max-width: 220px; text-align: center; }

/* ---- Notices ------------------------------------------------------------------- */
.et-notice { border-radius: 10px; padding: 14px 18px; margin: 0 0 20px; font-size: 15.5px; line-height: 1.55; border: 1px solid; }
.et-notice-info { background: #EAF2F8; border-color: #C3D9EA; color: #0A3654; }
.et-notice-ok { background: #E7F6EC; border-color: #B7E1C4; color: #14532D; }
.et-notice-error { background: #FDECEA; border-color: #F5C2BE; color: #7A1A12; }
.et-notice a { color: inherit; font-weight: 500; }
.et-notice ul { margin: 6px 0 0; }

/* ---- Lists on inner pages ------------------------------------------------------ */
.et-list-plain { list-style: none; padding: 0; margin: 0 0 18px; }
.et-list-plain li { border: 1px solid var(--et-line); border-radius: 10px; padding: 12px 16px; margin: 0 0 10px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.et-quote { border-left: 4px solid var(--et-orange); background: var(--et-soft); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 0 0 18px; }
.et-quote p { margin: 0 0 8px; white-space: pre-line; }
.et-quote footer { font-size: 14.5px; color: var(--et-muted); }
.et-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0 0 22px; font-size: 16px; }
.et-dl dt { color: #6B7886; }
.et-dl dd { margin: 0; color: var(--et-ink); }

@media (max-width: 900px) {
  .et-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .et-fields { grid-template-columns: 1fr; }
  .et-page h1 { font-size: 27px; }
  .et-dl { grid-template-columns: 1fr; gap: 2px; }
  .et-dl dd { margin-bottom: 10px; }
}

/* Side boxes on content pages */
.et-side-title { font: 500 17px/1.3 var(--et-font); color: var(--et-ink); margin: 0 0 8px; }
.et-page .et-side-box p { font-size: 15px; line-height: 1.6; }

/* Accessibility pass (2026-11-30) */
/* Buttons made from links keep white text (.et-page a would make it navy on orange) */
.et-page a.et-btn { color: #fff; }
/* The skip link's target takes focus without a ring */
#main:focus { outline: none; }
/* The corporate stylesheet (copied from elitetechnical.com) removes every focus ring in the header
   and footer with !important; put one back for keyboard users, in the link's own colour */
.et-corp a:focus-visible, .et-corp button:focus-visible, .et-corp input:focus-visible, .et-corp select:focus-visible { outline: 2px solid currentColor !important; outline-offset: 3px; }
