  :root {
    --charcoal: #19233d;
    --steel: #212d4c;
    --steel-light: #2b3a60;
    --orange: #c39a66;
    --orange-dim: #99724a;
    --hivis: #d9b483;
    --paper: #fbf3e3;
    --paper-dim: #a99d88;
    --line: #3c4a72;
    --radius: 2px;
    --danger: #ff5c5c;
    /* text/icons sitting on an --orange/--hivis fill */
    --on-accent: #19233d;
    --header-bg: rgba(25, 27, 30, 0.92);
    --btn-hover: #ff7038;
    --hero-overlay-top: rgba(25, 35, 61, 0.88);
    --hero-overlay-bottom: rgba(25, 35, 61, 0.96);
    --stats-overlay-top: rgba(33, 45, 76, 0.6);
    --stats-overlay-bottom: rgba(33, 45, 76, 0.72);
    --photo-text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }

  /* ===== alternate themes =====
     The navy/gold above is the default ("Default" in the switcher). Light
     and Dark only re-point the same tokens — every component already reads
     from :root, so nothing below this block needs a per-theme override.
     data-theme is set on <html> by the inline script in partials/head.hbs
     (before first paint, so no flash) and by the switcher in main.js. */
  :root[data-theme="light"] {
    --charcoal: #f6f3ec;
    --steel: #ffffff;
    --steel-light: #ece6da;
    --orange: #8a5a22;
    --orange-dim: #6e4719;
    --hivis: #8f5a14;
    --paper: #1b2238;
    --paper-dim: #545a69;
    --line: #d6cdbd;
    --danger: #c62828;
    --on-accent: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.92);
    --btn-hover: #6e4719;
    --hero-overlay-top: rgba(246, 243, 236, 0.86);
    --hero-overlay-bottom: rgba(246, 243, 236, 0.95);
    --stats-overlay-top: rgba(255, 255, 255, 0.82);
    --stats-overlay-bottom: rgba(255, 255, 255, 0.9);
    --photo-text-shadow: none;
    color-scheme: light;
  }

  :root[data-theme="dark"] {
    --charcoal: #0f1012;
    --steel: #18191c;
    --steel-light: #232529;
    --orange: #e3a95e;
    --orange-dim: #b5844a;
    --hivis: #f2c785;
    --paper: #ededed;
    --paper-dim: #a3a5aa;
    --line: #2f3237;
    --on-accent: #0f1012;
    --header-bg: rgba(15, 16, 18, 0.94);
    --btn-hover: #f2c785;
    --hero-overlay-top: rgba(15, 16, 18, 0.9);
    --hero-overlay-bottom: rgba(15, 16, 18, 0.97);
    --stats-overlay-top: rgba(24, 25, 28, 0.82);
    --stats-overlay-bottom: rgba(24, 25, 28, 0.9);
    color-scheme: dark;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background: var(--charcoal);
    color: var(--paper);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  ::selection {
    background: var(--orange);
    color: var(--on-accent);
  }

  h1,
  h2,
  h3,
  .display {
    font-family: 'Archivo Expanded', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.95;
  }

  .mono {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.06em;
  }

  .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  img {
    max-width: 100%;
    display: block;
  }

  /* focus visibility */
  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
  }

  /* ===== gold rule ===== */
  .hazard {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange) 15%, var(--hivis) 50%, var(--orange) 85%, transparent);
  }

  /* ===== top info line =====
     One static line (hours, phone, no-fee) — it used to be a scrolling
     marquee repeating the hero. Nothing moves, so it's reduced-motion safe. */
  .ticker-bar {
    background: var(--charcoal);
    border-bottom: 1px solid var(--line);
    padding: 7px 16px;
    text-align: center;
    font-size: 11px;
    color: var(--paper-dim);
    line-height: 1.5;
  }

  .ticker-bar a {
    color: var(--hivis);
    font-weight: 600;
  }

  /* ===== nav ===== */
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }

  nav.wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    /* min-height, not height: below the 1320px breakpoint (and on
       translated locales with longer nav labels) individual link
       labels can wrap to two lines — a fixed height would clip that
       wrapped text or let it spill out of the sticky header instead
       of the row just growing to fit it. */
    min-height: 76px;
    /* wider than the shared 1180px content .wrap — the header now
       carries a flush-left lang switcher on top of logo/links/phone/CTA,
       so it needs more room than the 1180px content width gives it. */
    max-width: 1400px;
  }

  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--paper);
    transition: transform .2s ease, opacity .2s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* .navlinks-scoped selector, not bare .nav-cta-mobile: it shares .btn
     (display:inline-flex, declared later in this file) and an equal-
     specificity bare-class rule here would lose that tie on desktop. */
  .navlinks .nav-cta-mobile,
  .navlinks .phone-mobile {
    display: none;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Archivo Expanded', sans-serif;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.02em;
    /* flex items shrink below their content width by default once
       siblings run out of room, which let the "ClearPath" wordmark
       overlap the nav links instead of wrapping or being pushed
       aside — the logo should never be the thing that gives. */
    flex-shrink: 0;
  }

  .logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
  }

  .logo .logo-name,
  .logo .logo-tagline {
    background: linear-gradient(135deg, var(--orange-dim), var(--hivis));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .logo .logo-tagline {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 3px;
  }

  .logo .tag {
    background: var(--orange);
    color: var(--on-accent);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: var(--radius);
  }

  .navlinks {
    display: flex;
    gap: 28px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  /* :not(.btn, .phone-mobile) — those two share this container purely for
     mobile-dropdown layout; without the exclusion this selector's higher
     specificity (class+type) beats their own single-class color rules
     (e.g. .btn's dark text), making the CTA button unreadable. Uses the
     selector-list form, not chained :not()s — chaining sums specificity
     per clause and would out-rank the padding override below it. */
  .navlinks a:not(.btn, .phone-mobile) {
    color: var(--paper-dim);
    position: relative;
    padding: 6px 0;
    transition: color .2s;
  }

  .navlinks a:not(.btn, .phone-mobile):hover {
    color: var(--paper);
  }

  .navlinks a:not(.btn, .phone-mobile)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width .2s;
  }

  .navlinks a:not(.btn, .phone-mobile):hover::after {
    width: 100%;
  }

  .navlinks a.active {
    color: var(--paper);
  }

  .navlinks a.active::after {
    width: 100%;
  }

  .lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 3px;
  }

  .lang-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    padding: 5px 8px;
    border-radius: calc(var(--radius) - 3px);
    color: var(--paper-dim);
    transition: color .15s, background .15s;
  }

  .lang-switcher a:hover {
    color: var(--paper);
    background: var(--steel-light);
  }

  .lang-switcher a.active {
    color: var(--on-accent);
    background: var(--hivis);
    font-weight: 700;
  }

  .navlinks > .lang-switcher {
    display: none;
  }

  /* theme toggle — one icon button that cycles Default → Light → Dark
     (main.js); only the icon for the active theme is shown */
  .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--hivis);
    cursor: pointer;
    flex-shrink: 0;
    transition: color .15s, background .15s;
  }

  .theme-toggle:hover {
    background: var(--steel-light);
    color: var(--paper);
  }

  .theme-toggle svg {
    width: 14px;
    height: 14px;
    display: none;
  }

  :root:not([data-theme]) .theme-toggle .icon-default,
  :root[data-theme="light"] .theme-toggle .icon-light,
  :root[data-theme="dark"] .theme-toggle .icon-dark {
    display: block;
  }

  /* first item in nav.wrap and given real breathing room before the
     logo, so it reads as flush-left/separate from the brand rather
     than just tucked next to it — kept in normal flex flow (not
     absolutely positioned) so it can never overlap the logo when
     nav.wrap's own centered max-width shifts at narrower desktop
     widths. */
  .lang-switcher-desktop {
    margin-right: 48px;
    flex-shrink: 0;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .phone {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--hivis);
  }

  .btn[hidden] {
    display: none;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--on-accent);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 22px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .15s, transform .15s;
  }

  .btn:hover {
    background: var(--btn-hover);
    transform: translateY(-1px);
  }

  .btn-ghost {
    background: transparent;
    color: var(--paper);
    border: 1px solid var(--line);
  }

  .btn-ghost:hover {
    border-color: var(--orange);
    background: transparent;
    color: var(--paper);
  }

  /* ===== hero ===== */
  .hero {
    position: relative;
    padding: 88px 0 56px;
    border-bottom: 1px solid var(--line);
    background:
      radial-gradient(ellipse 900px 500px at 85% -10%, rgba(255, 90, 31, 0.14), transparent 60%),
      linear-gradient(180deg, var(--hero-overlay-top), var(--hero-overlay-bottom)),
      url('/static/images/photos/hero-forklift.jpg') center/cover no-repeat;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: end;
    padding-bottom: 0;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--hivis);
    margin-bottom: 22px;
  }

  .eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hivis);
    animation: blink 1.6s ease-in-out infinite;
  }

  @keyframes blink {
    50% {
      opacity: 0.25;
    }
  }

  .hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    color: var(--paper);
  }

  .hero h1 em {
    font-style: normal;
    color: var(--orange);
  }

  .hero p.lede {
    font-size: 17px;
    color: var(--paper-dim);
    max-width: 44ch;
    margin: 22px 0 32px;
    line-height: 1.55;
  }

  .hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 64px;
  }

  /* dispatch board */
  .board {
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    align-self: end;
  }

  .board-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--steel-light);
  }

  .board-head span:first-child {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--hivis);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .board-head span:last-child {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--paper-dim);
  }

  .board-row {
    display: grid;
    grid-template-columns: 96px 1fr 90px;
    gap: 8px;
    align-items: center;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .board-row:last-child {
    border-bottom: none;
  }

  .board-row .t {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--orange);
    font-size: 11px;
    line-height: 1.35;
  }

  /* "Apply once" row that pads a sparse (≤2 open) board. */
  a.board-row--cta {
    color: inherit;
    text-decoration: none;
  }

  a.board-row--cta:hover .role {
    color: var(--orange);
  }

  .board-row .role {
    font-weight: 600;
    color: var(--paper);
  }

  .board-row .loc {
    font-size: 11px;
    color: var(--paper-dim);
    display: block;
    margin-top: 2px;
    font-weight: 400;
  }

  .status {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 20px;
    text-align: center;
    justify-self: end;
  }

  .status.open {
    background: rgba(242, 194, 48, 0.15);
    color: var(--hivis);
    border: 1px solid rgba(242, 194, 48, 0.4);
  }

  .status.filled {
    background: rgba(139, 141, 147, 0.15);
    color: var(--paper-dim);
    border: 1px solid var(--line);
  }

  /* ===== marquee stats ===== */
  .stats {
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(180deg, var(--stats-overlay-top), var(--stats-overlay-bottom)),
      url('/static/images/photos/stats-bg.jpg') center/cover no-repeat;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .stat {
    padding: 34px 28px;
    border-right: 1px solid var(--line);
    text-shadow: var(--photo-text-shadow);
  }

  .stat:last-child {
    border-right: none;
  }

  .stat .num {
    font-family: 'Archivo Expanded', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
  }

  .stat .lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--paper-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 8px;
    display: block;
  }

  /* ===== section shell ===== */
  section {
    padding: 96px 0;
  }

  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 52px;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 28px;
  }

  .section-head .k {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--orange);
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    display: block;
  }

  .section-head h2 {
    font-size: clamp(30px, 3.6vw, 44px);
    color: var(--paper);
  }

  .section-head p {
    color: var(--paper-dim);
    max-width: 36ch;
    font-size: 14px;
    line-height: 1.6;
    padding-bottom: 4px;
  }

  /* ===== services — job ticket cards ===== */
  .tickets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .ticket {
    background: var(--charcoal);
    padding: 30px 24px 26px;
    position: relative;
    transition: background .2s;
  }

  .ticket:hover {
    background: var(--steel);
  }

  .ticket-img {
    width: calc(100% + 48px);
    max-width: calc(100% + 48px);
    height: 130px;
    object-fit: cover;
    margin: -30px -24px 20px;
  }

  .ticket .code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--orange-dim);
    display: block;
    margin-bottom: 22px;
  }

  .ticket h3 {
    font-size: 19px;
    color: var(--paper);
    margin-bottom: 14px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
  }

  .ticket p {
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.6;
  }

  .ticket .stub {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--hivis);
  }

  /* ===== why us — punch card row ===== */
  .why {
    background: var(--steel);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .why-list {
    list-style: none;
  }

  .why-list li {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }

  .why-list li:first-child {
    padding-top: 0;
  }

  .why-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .why-list .n {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--orange);
    font-size: 13px;
    padding-top: 3px;
  }

  .why-list h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
  }

  .why-list p {
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.55;
    max-width: 46ch;
  }

  .why-visual {
    background: var(--charcoal);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
  }

  .why-visual-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 20px;
  }

  .badge-card {
    background: var(--steel-light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 1px;
  }

  .badge-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .badge-row:last-child {
    border-bottom: none;
  }

  .badge-row span:first-child {
    color: var(--paper-dim);
  }

  .badge-row span:last-child {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--hivis);
  }

  /* ===== CTA band ===== */
  .cta-band {
    padding: 20px 0;
  }

  .cta-band .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    max-width: 1116px;
    padding: 48px 44px;
    border-radius: 14px;
    background: var(--orange);
    color: var(--on-accent);
  }

  .cta-band h2 {
    font-size: clamp(24px, 3vw, 36px);
    color: var(--on-accent);
  }

  .cta-band p {
    font-size: 14px;
    margin-top: 8px;
    font-weight: 600;
  }

  .cta-band .btn-ghost {
    background: var(--charcoal);
    color: var(--paper);
    border: none;
  }

  .cta-band .btn-ghost:hover {
    background: #000;
  }

  .cta-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
  }

  .cta-band.alt .wrap {
    background: var(--steel);
    color: var(--paper);
    border: 1px solid var(--line);
  }

  .cta-band.alt h2 {
    color: var(--paper);
  }

  .cta-band.alt p {
    color: var(--paper-dim);
  }

  .cta-band.alt .btn-ghost {
    background: transparent;
    color: var(--paper);
    border: 1px solid var(--line);
  }

  .cta-band.alt .btn-ghost:hover {
    border-color: var(--orange);
    color: var(--orange);
  }

  /* ===== footer ===== */
  footer {
    padding: 64px 0 32px;
  }

  .foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
  }

  .foot-grid h5 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--paper-dim);
    margin-bottom: 18px;
  }

  .foot-grid ul {
    list-style: none;
  }

  .foot-grid li {
    margin-bottom: 10px;
    font-size: 13.5px;
  }

  .foot-grid a {
    color: var(--paper-dim);
    transition: color .15s;
  }

  .foot-grid a:hover {
    color: var(--orange);
  }

  .foot-grid a.link-highlight {
    color: var(--hivis);
    font-weight: 600;
  }

  .socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 32px;
  }

  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--paper-dim);
    transition: color .15s, border-color .15s;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }

  .social-icon:hover {
    color: var(--orange);
    border-color: var(--orange);
  }

  .foot-bottom {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--paper-dim);
  }

  .foot-bottom .legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  /* ===== responsive ===== */
  /* nav switches to the mobile dropdown well above the general 900px
     content breakpoint below — the header has too much content (logo
     w/ tagline, 6 links, lang switcher, phone, CTA) to fit on one line
     at typical laptop/tablet widths, and translated locales (longer
     labels like Spanish "Por Qué Nosotros") need even more room, so
     this threshold is deliberately generous rather than tied to where
     the rest of the page reflows. */
  @media (max-width:1320px) {
    nav.wrap {
      position: relative;
    }

    .navlinks {
      display: flex;
      flex-direction: column;
      gap: 0;
      position: absolute;
      top: 76px;
      left: 0;
      right: 0;
      background: var(--charcoal);
      border-bottom: 1px solid var(--line);
      max-height: 0;
      overflow: hidden;
      transition: max-height .25s ease;
    }

    .navlinks.open {
      max-height: 80vh;
      overflow-y: auto;
    }

    .navlinks a:not(.btn) {
      padding: 16px 32px;
      border-bottom: 1px solid var(--line);
    }

    .navlinks a::after {
      display: none;
    }

    .navlinks a.active {
      background: var(--steel);
      color: var(--orange);
    }

    .navlinks .phone-mobile {
      display: block;
      padding: 16px 32px;
      border-bottom: 1px solid var(--line);
      color: var(--hivis);
      font-size: 13px;
    }

    .navlinks .nav-cta-mobile {
      display: inline-flex;
      margin: 16px 32px;
      justify-content: center;
    }

    .navlinks .lang-switcher {
      display: flex;
      justify-content: center;
      margin: 16px 32px;
      padding: 3px;
    }

    .navlinks > .lang-switcher {
      margin-bottom: 32px;
    }

    .lang-switcher-desktop {
      display: none;
    }

    .nav-toggle {
      display: flex;
    }

    /* Phone + Request Staff stay in the header bar down to tablet width
       (see the 767px query below) — only the links collapse into the menu. */
    .navlinks .phone-mobile,
    .navlinks .nav-cta-mobile {
      display: none;
    }
  }

  @media (max-width:1000px) {
    .nav-right {
      gap: 12px;
    }

    .logo-tagline {
      display: none;
    }
  }

  @media (max-width:767px) {
    .nav-cta-desktop,
    .phone {
      display: none;
    }

    .navlinks .phone-mobile {
      display: block;
    }

    .navlinks .nav-cta-mobile {
      display: inline-flex;
    }
  }

  @media (max-width:900px) {
    .hero-grid {
      grid-template-columns: 1fr;
    }

    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
      border-right: none;
    }

    .stat {
      border-bottom: 1px solid var(--line);
    }

    .tickets {
      grid-template-columns: 1fr 1fr;
    }

    .why-grid {
      grid-template-columns: 1fr;
    }

    .foot-grid {
      grid-template-columns: 1fr 1fr;
    }

    .cta-band .wrap {
      flex-direction: column;
      align-items: flex-start;
    }

    .section-head {
      flex-direction: column;
      align-items: flex-start;
    }

    .section-head p {
      max-width: none;
    }
  }

  @media (max-width:560px) {
    .wrap {
      padding: 0 20px;
    }

    section {
      padding: 64px 0;
    }

    .tickets {
      grid-template-columns: 1fr;
    }

    .foot-grid {
      grid-template-columns: 1fr;
    }

    .stats-grid {
      grid-template-columns: 1fr;
    }

    .stat {
      border-right: none !important;
    }

    .hero-actions,
    .cta-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .hero-actions .btn,
    .cta-actions .btn {
      justify-content: center;
    }

    .foot-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }

    .cta-band .wrap {
      padding: 36px 28px;
    }

    .legal,
    .article {
      padding: 88px 0 64px;
    }

    .blog-hero {
      padding: 88px 0 40px;
    }

    .todo-hero {
      padding: 80px 0 32px;
    }

    .error-page {
      padding: 100px 0 72px;
    }

    .admin-nav-inner {
      flex-wrap: wrap;
      gap: 12px;
    }

    .admin-nav-links {
      gap: 16px;
      flex-wrap: wrap;
    }

    .admin-row-head {
      flex-wrap: wrap;
    }
  }

  /* long article prose can carry a wide table/code block — keep it from
     blowing out the viewport instead of forcing horizontal page scroll */
  .article pre,
  .article table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  /* iOS Safari zooms in on any input under 16px on focus — keep form
     fields at 16px on small screens so tapping in doesn't jump the page. */
  @media (max-width:700px) {
    .field input,
    .field select,
    .field textarea {
      font-size: 16px;
    }
  }

  /* scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
  }

  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* legal pages */
  .legal {
    padding: 120px 0 80px;
  }

  .legal .wrap {
    max-width: 820px;
  }

  .legal .k {
    color: var(--orange);
    font-size: 12px;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 14px;
    font-family: 'IBM Plex Mono', monospace;
  }

  .legal h1 {
    font-family: 'Archivo Expanded', sans-serif;
    font-size: clamp(28px, 3.6vw, 42px);
    margin-bottom: 10px;
  }

  .legal .updated {
    color: var(--paper-dim);
    font-size: 13px;
    font-family: 'IBM Plex Mono', monospace;
    margin-bottom: 40px;
    display: block;
  }

  .legal h2 {
    font-size: 20px;
    margin: 36px 0 12px;
    color: var(--hivis);
  }

  .legal p, .legal li {
    color: var(--paper-dim);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 14px;
  }

  .legal ul {
    padding-left: 22px;
    margin-bottom: 14px;
  }

  .legal a {
    color: var(--orange);
  }

  /* ===== blog ===== */
  .breadcrumb {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--paper-dim);
    margin-bottom: 18px;
  }

  .breadcrumb a {
    color: var(--orange);
  }

  .blog-hero {
    padding: 120px 0 56px;
    border-bottom: 1px solid var(--line);
  }

  .blog-hero .wrap {
    max-width: 820px;
  }

  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .blog-card {
    background: var(--charcoal);
    padding: 30px 26px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background .2s;
  }

  .blog-card:hover {
    background: var(--steel);
  }

  .blog-card-img {
    width: calc(100% + 52px);
    max-width: calc(100% + 52px);
    height: 150px;
    object-fit: cover;
    margin: -30px -26px 20px;
  }

  .blog-card .code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--orange-dim);
    display: block;
    margin-bottom: 18px;
  }

  .blog-card h3 {
    font-size: 19px;
    color: var(--paper);
    margin-bottom: 12px;
    text-transform: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
  }

  .blog-card p {
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.6;
    flex-grow: 1;
  }

  .blog-card .stub {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--hivis);
  }

  .article {
    padding: 120px 0 80px;
  }

  .article .wrap {
    max-width: 760px;
  }

  .article h1 {
    font-family: 'Archivo Expanded', sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    color: var(--paper);
    margin-bottom: 18px;
    text-transform: none;
    line-height: 1.1;
  }

  .article-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--paper-dim);
    margin-bottom: 44px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }

  .article-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 40px;
  }

  .article-meta span {
    color: var(--hivis);
  }

  .article h2 {
    font-size: 22px;
    margin: 40px 0 14px;
    color: var(--hivis);
    text-transform: none;
    font-family: 'Archivo Expanded', sans-serif;
  }

  .article p, .article li {
    color: var(--paper-dim);
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 16px;
  }

  .article ul, .article ol {
    padding-left: 22px;
    margin-bottom: 16px;
  }

  .article strong {
    color: var(--paper);
  }

  .article a {
    color: var(--orange);
  }

  .article a.btn {
    color: var(--on-accent);
  }

  .article-cta {
    margin-top: 48px;
    padding: 32px;
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
  }

  .article-cta p {
    color: var(--paper);
    font-weight: 600;
    margin-bottom: 18px;
  }

  @media (max-width:900px) {
    .blog-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width:560px) {
    .blog-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ===== internal / not-final banner ===== */
  .internal-banner {
    background: repeating-linear-gradient(
      135deg,
      var(--hivis),
      var(--hivis) 14px,
      #1a1206 14px,
      #1a1206 28px
    );
    padding: 4px 0;
  }

  .internal-banner-inner {
    background: var(--charcoal);
    margin: 0 4px;
    padding: 14px 20px;
    text-align: center;
  }

  .internal-banner .mono {
    font-family: 'Archivo Expanded', sans-serif;
    font-size: clamp(15px, 2.2vw, 22px);
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--hivis);
    text-transform: uppercase;
  }

  .internal-banner--lg .mono {
    font-size: clamp(18px, 2.6vw, 26px);
  }

  /* ===== internal launch checklist ===== */
  .todo-hero {
    padding: 100px 0 40px;
    border-bottom: 1px solid var(--line);
  }

  .todo-hero .wrap {
    max-width: 820px;
  }

  .todo-hero h1 {
    font-family: 'Archivo Expanded', sans-serif;
    font-size: clamp(30px, 4vw, 46px);
    color: var(--paper);
    text-transform: uppercase;
    margin-bottom: 14px;
  }

  .todo-hero p {
    color: var(--paper-dim);
    font-size: 15px;
    line-height: 1.7;
    max-width: 62ch;
  }

  .todo-wrap {
    max-width: 820px;
    padding: 60px 32px 100px;
    margin: 0 auto;
  }

  .todo-section {
    margin-bottom: 52px;
  }

  .todo-section h2 {
    font-family: 'Archivo Expanded', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    color: var(--hivis);
    margin-bottom: 6px;
  }

  .todo-section .sub {
    font-size: 13px;
    color: var(--paper-dim);
    margin-bottom: 20px;
    line-height: 1.6;
  }

  .todo-list {
    list-style: none;
    border-top: 1px solid var(--line);
  }

  .todo-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
    color: var(--paper-dim);
    line-height: 1.55;
  }

  .todo-list input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--orange);
    flex-shrink: 0;
    cursor: pointer;
  }

  .todo-list label {
    cursor: pointer;
  }

  .todo-list li:has(input:checked) label {
    color: var(--paper-dim);
    text-decoration: line-through;
    opacity: 0.55;
  }

  .todo-note {
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.6;
    margin-top: 8px;
  }

  .todo-note strong {
    color: var(--paper);
  }

  .tips-block h3 {
    font-size: 16px;
    color: var(--paper);
    margin: 26px 0 10px;
  }

  .tips-block p,
  .tips-block li {
    color: var(--paper-dim);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
  }

  .tips-block ul {
    padding-left: 20px;
  }

  /* ===== 404 ===== */
  .error-page {
    padding: 140px 0 120px;
    text-align: center;
  }

  .error-page .wrap {
    max-width: 640px;
  }

  .error-page .code {
    color: var(--orange-dim);
    font-size: 12px;
    display: block;
    margin-bottom: 20px;
  }

  .error-page h1 {
    font-size: clamp(34px, 5vw, 56px);
    color: var(--paper);
    margin-bottom: 18px;
  }

  .error-page > .wrap > p {
    color: var(--paper-dim);
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 46ch;
    margin: 0 auto 36px;
  }

  .error-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 64px;
  }

  .error-audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    text-align: left;
  }

  .error-audience-card {
    background: var(--steel);
    padding: 26px 24px;
  }

  .error-audience-card .lbl {
    font-size: 11px;
    color: var(--orange);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 10px;
  }

  .error-audience-card p {
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.55;
    margin-bottom: 18px;
  }

  @media (max-width:560px) {
    .error-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .error-audience {
      grid-template-columns: 1fr;
    }
  }

  /* ===== page hero (apply / quote / shifts) ===== */
  .page-hero {
    padding: 56px 0 64px;
    border-bottom: 1px solid var(--line);
  }

  .page-hero .eyebrow {
    margin-bottom: 18px;
  }

  .page-hero h1 {
    font-size: clamp(32px, 4.4vw, 52px);
    color: var(--paper);
    margin-bottom: 16px;
  }

  .page-hero p {
    color: var(--paper-dim);
    font-size: 15.5px;
    max-width: 56ch;
    line-height: 1.6;
  }

  .page-hero--form {
    padding-bottom: 0;
  }

  .page-hero--form p {
    margin-bottom: 36px;
  }

  /* ===== audience toggle (apply page) ===== */
  .audience-toggle {
    display: inline-flex;
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 4px;
    gap: 4px;
  }

  .audience-toggle button {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--paper-dim);
    background: transparent;
    border: none;
    padding: 12px 22px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .15s, color .15s;
  }

  .audience-toggle button:hover {
    color: var(--paper);
  }

  .audience-toggle button.active {
    background: var(--orange);
    color: var(--on-accent);
  }

  /* ===== form pages (apply / quote) — shared side info + form card ===== */
  .form-page-body {
    padding: 56px 0 96px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    align-items: start;
  }

  .side-info h2 {
    font-size: clamp(22px, 2.6vw, 28px);
    color: var(--paper);
    margin-bottom: 18px;
  }

  .danger-text {
    color: var(--danger);
    font-size: 1.2em;
  }

  .side-list {
    list-style: none;
    margin-bottom: 32px;
  }

  .side-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.55;
  }

  .side-list li:first-child {
    padding-top: 0;
  }

  .side-list li span.n {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--orange);
    font-size: 12px;
    padding-top: 2px;
    flex-shrink: 0;
  }

  .side-list li b {
    color: var(--paper);
    display: block;
    margin-bottom: 2px;
    font-weight: 700;
  }

  .side-contact {
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
  }

  .side-contact .lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--paper-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 8px;
  }

  .side-contact a {
    color: var(--hivis);
    font-size: 14px;
    font-weight: 600;
  }

  .side-contact .divider {
    height: 1px;
    background: var(--line);
    margin: 16px 0;
  }

  .form-card {
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
  }

  .form-card h2 {
    font-size: clamp(20px, 2.4vw, 26px);
    color: var(--paper);
    margin-bottom: 6px;
  }

  .form-card .sub {
    color: var(--paper-dim);
    font-size: 13.5px;
    margin-bottom: 28px;
  }

  /* ===== hero cross-link button (apply <-> apply/jobseeker) ===== */
  .hero-swap-btn {
    margin-top: 20px;
    margin-bottom: 36px;
  }

  /* ===== job application — dedicated, full-width, step-by-step page ===== */
  .application-body {
    padding: 56px 0 96px;
  }

  .application-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
  }

  .application-steps {
    position: sticky;
    top: 24px;
  }

  .application-steps ol {
    list-style: none;
    margin-bottom: 24px;
  }

  .application-steps li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--paper-dim);
    cursor: pointer;
    transition: color .15s;
  }

  .application-steps li:first-child {
    padding-top: 0;
  }

  .application-steps li .num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--paper-dim);
    flex-shrink: 0;
  }

  .application-steps li.active {
    color: var(--paper);
    font-weight: 600;
  }

  .application-steps li.active .num {
    color: var(--orange);
  }

  .application-steps li.done .num {
    color: var(--hivis);
  }

  .application-card {
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
  }

  .step-progress {
    font-size: 11px;
    color: var(--orange);
    margin-bottom: 24px;
  }

  .form-step {
    display: none;
  }

  .form-step.active {
    display: block;
  }

  .form-step-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 6px;
  }

  .form-step-head .n {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--orange);
    font-size: 12px;
    flex-shrink: 0;
  }

  .form-step-head h3 {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--paper);
  }

  .form-step-desc {
    color: var(--paper-dim);
    font-size: 12.5px;
    margin-bottom: 18px;
  }

  .step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .step-nav-forward {
    display: flex;
    gap: 12px;
  }

  .step-note {
    margin-top: 16px;
  }

  /* ===== draft resume banner (jobseeker application) ===== */
  .draft-banner {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--charcoal);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 28px;
  }

  .draft-banner.show {
    display: flex;
  }

  .draft-banner .t {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hivis);
    display: block;
    margin-bottom: 4px;
  }

  .draft-banner p {
    font-size: 13px;
    color: var(--paper-dim);
    line-height: 1.5;
  }

  /* ===== SSN field hint ===== */
  .field label .encouraged {
    color: var(--paper-dim);
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
  }

  .field-hint {
    font-size: 11.5px;
    color: var(--paper-dim);
    margin-top: 6px;
    line-height: 1.5;
  }

  @media (max-width: 900px) {
    .application-grid {
      grid-template-columns: 1fr;
    }

    .application-steps {
      position: static;
    }

    .application-steps ol {
      display: flex;
      flex-wrap: wrap;
      gap: 4px 18px;
      margin-bottom: 20px;
    }

    .application-steps li {
      border-bottom: none;
      padding: 4px 0;
    }

    .application-card {
      padding: 24px;
    }
  }

  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
  }

  .field {
    margin-bottom: 18px;
  }

  .field:last-of-type {
    margin-bottom: 0;
  }

  .field label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--paper-dim);
    margin-bottom: 8px;
  }

  .field label .req {
    color: var(--orange);
  }

  .field input,
  .field select,
  .field textarea {
    width: 100%;
    background: var(--charcoal);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--paper);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 14px;
    transition: border-color .15s;
  }

  .field textarea {
    resize: vertical;
    min-height: 96px;
  }

  /* System-filled, not meant to be typed into — e.g. /emergency's Company
     field, locked in from the verified access code. */
  .field input:read-only {
    color: var(--paper-dim);
    background: var(--steel);
    cursor: default;
  }

  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    outline: none;
    border-color: var(--orange);
  }

  .field input::placeholder,
  .field textarea::placeholder {
    color: var(--paper-dim);
    opacity: 0.6;
  }

  .checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
  }

  .chip-check {
    position: relative;
  }

  .chip-check input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }

  .chip-check span {
    display: inline-flex;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--paper-dim);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 8px 16px;
    transition: all .15s;
  }

  .chip-check input:checked + span {
    background: var(--orange);
    color: var(--on-accent);
    border-color: var(--orange);
    font-weight: 600;
  }

  .form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .form-note {
    font-size: 12px;
    color: var(--paper-dim);
    max-width: 34ch;
    line-height: 1.5;
  }

  .pane {
    display: none;
  }

  .pane.active {
    display: block;
  }

  .form-status {
    display: none;
    background: var(--charcoal);
    border: 1px solid var(--orange);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 24px;
  }

  .form-status.show {
    display: block;
  }

  .form-status .t {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--hivis);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 6px;
  }

  .form-status p {
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.55;
  }

  .form-status.error {
    border-color: var(--danger);
  }

  .form-status.error .t {
    color: var(--danger);
  }

  /* ===== toast notifications ===== */
  /* Floating confirmation on top of the inline .form-status box above — the
     inline box only reads if the visitor scrolls back up to it (submit
     buttons sit well below the fold on the longer forms); this shows up
     wherever they already are and disappears on its own. Injected by
     static/js/main.js's showToast(), not present in any view's markup. */
  #cpToastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
  }

  .cp-toast {
    background: var(--charcoal);
    border: 1px solid var(--orange);
    border-radius: var(--radius);
    padding: 16px 20px;
    max-width: 320px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    cursor: pointer;
    pointer-events: auto;
  }

  .cp-toast.show {
    opacity: 1;
    transform: translateY(0);
  }

  .cp-toast .t {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--hivis);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 6px;
  }

  .cp-toast p {
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.5;
  }

  .cp-toast.cp-toast-error {
    border-color: var(--danger);
  }

  .cp-toast.cp-toast-error .t {
    color: var(--danger);
  }

  @media (max-width: 560px) {
    #cpToastContainer {
      left: 16px;
      right: 16px;
      top: 16px;
    }

    .cp-toast {
      max-width: none;
    }
  }

  /* Honeypot — off-screen, not display:none (some bots skip hidden inputs
     but still fill in ones merely moved out of the viewport). */
  .hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .wake-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 14px 16px;
    border: 1px solid var(--danger);
    border-radius: var(--radius);
    background: rgba(255, 92, 92, 0.08);
  }

  .wake-check input {
    margin-top: 3px;
    accent-color: var(--danger);
  }

  .wake-check span {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--paper-dim);
  }

  .wake-check b {
    color: var(--danger);
  }

  @media (max-width:900px) {
    .form-grid {
      grid-template-columns: 1fr;
    }

    .field-row {
      grid-template-columns: 1fr;
    }

    .form-card {
      padding: 24px;
    }

    .form-submit {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  /* ===== open shifts board ===== */
  .shift-body {
    padding: 64px 0 96px;
  }

  .shift-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .shift-card {
    background: var(--steel);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .shift-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
  }

  .shift-card .role {
    font-size: 19px;
    font-weight: 700;
    color: var(--paper);
  }

  .shift-card .loc {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--hivis);
    margin-top: 6px;
    display: block;
  }

  .shift-card .desc {
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.55;
  }

  .shift-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
  }

  .shift-card .shift-time {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--paper-dim);
  }

  .shift-card .btn {
    padding: 9px 16px;
    font-size: 12px;
  }

  @media (max-width:900px) {
    .shift-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ===== our staff ===== */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .team-card {
    background: var(--steel);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .team-card-top {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .team-card .desc {
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.55;
  }

  .team-card .stub {
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--hivis);
  }

  .team-card .avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--charcoal);
    border: 1px solid var(--line);
    color: var(--orange);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .team-card .role {
    font-size: 19px;
    font-weight: 700;
    color: var(--paper);
    display: block;
  }

  .team-card .loc {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--hivis);
    margin-top: 6px;
    display: block;
  }

  @media (max-width:900px) {
    .team-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ===== /admin ===== */
  .admin-login-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  .admin-nav {
    border-bottom: 1px solid var(--line);
    background: var(--steel);
  }

  .admin-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
  }

  .admin-nav-links {
    display: flex;
    gap: 24px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .admin-nav-links a {
    color: var(--paper-dim);
    padding: 6px 0;
  }

  .admin-nav-links a.active {
    color: var(--orange);
  }

  .admin-nav-inner .btn {
    padding: 9px 16px;
    font-size: 12px;
  }

  .admin-body {
    padding: 48px 0 96px;
  }

  .admin-tab .count {
    color: var(--paper-dim);
    margin-left: 4px;
  }

  .admin-tab.active .count {
    color: var(--on-accent);
  }

  .admin-list {
    margin-top: 32px;
  }

  .admin-tracking-totals {
    color: var(--paper-dim);
    font-size: 13px;
  }

  .admin-table-wrap {
    margin-top: 20px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--steel);
    font-size: 14px;
  }

  .admin-table th,
  .admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
  }

  .admin-table th {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--paper-dim);
  }

  .admin-table tbody tr:last-child td {
    border-bottom: none;
  }

  .admin-table .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
  }

  .admin-table .dim {
    color: var(--paper-dim);
    font-size: 12px;
  }

  .admin-tracking-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--paper-dim);
  }

  .admin-row {
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
  }

  .admin-row-head {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .admin-row-name {
    font-weight: 700;
    color: var(--paper);
    display: block;
  }

  .admin-row-meta {
    color: var(--paper-dim);
    font-size: 11px;
    margin-top: 4px;
    display: block;
  }

  .status.new {
    background: rgba(255, 92, 92, 0.12);
    color: var(--danger);
    border: 1px solid rgba(255, 92, 92, 0.35);
  }

  .admin-row-detail {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid var(--line);
  }

  .admin-row.expanded .admin-row-detail {
    display: block;
    padding-top: 16px;
  }

  .admin-row-detail p {
    font-size: 13.5px;
    color: var(--paper-dim);
    line-height: 1.55;
    margin-bottom: 8px;
  }

  .admin-row-detail p b {
    color: var(--paper);
  }

  .admin-row-subhead {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--orange);
    margin-top: 16px !important;
    margin-bottom: 8px !important;
  }

  .admin-row-subhead:first-of-type {
    margin-top: 0 !important;
  }

  .admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }

  .admin-row-actions .btn {
    padding: 8px 14px;
    font-size: 11.5px;
  }

  .admin-empty {
    color: var(--paper-dim);
    padding: 32px 0;
    text-align: center;
  }

  .admin-export-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
  }

  .admin-export-bar p {
    font-size: 12.5px;
    color: var(--paper-dim);
    line-height: 1.5;
    max-width: 60ch;
  }

  .admin-export-bar .btn {
    flex-shrink: 0;
  }

  .admin-add-card {
    margin-bottom: 32px;
  }

  .edit-shift-form {
    display: none;
    padding-top: 18px;
    margin-top: 14px;
    border-top: 1px dashed var(--line);
  }

  .shift-card.editing .shift-card-view {
    display: none;
  }

  .shift-card.editing .edit-shift-form {
    display: block;
  }

  .admin-filter-banner {
    background: var(--charcoal);
    border: 1px solid var(--orange);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 13.5px;
    color: var(--paper-dim);
  }

  .admin-filter-banner a {
    color: var(--hivis);
    font-weight: 600;
  }

  .admin-row-head-static {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 20px;
  }

  .edit-client-form {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid var(--line);
  }

  .admin-row.editing .admin-row-view {
    display: none;
  }

  .admin-row.editing .edit-client-form {
    display: block;
    padding-top: 16px;
  }

  .invoice-section-head {
    margin: 28px 0 14px;
    font-size: 13px;
  }

  .invoice-section-head .optional {
    font-family: 'Inter', sans-serif;
    text-transform: none;
    font-weight: 400;
    font-size: 12px;
    color: var(--paper-dim);
    letter-spacing: normal;
  }

  .field label .optional {
    text-transform: none;
    letter-spacing: normal;
    color: var(--paper-dim);
  }

  .invoice-line-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }

  .invoice-line-row {
    display: grid;
    gap: 10px;
    align-items: end;
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
  }

  .invoice-line-row .field {
    margin-bottom: 0;
  }

  .invoice-employee-row {
    grid-template-columns: 2fr 1fr 1fr 0.8fr 0.8fr 0.8fr auto;
  }

  .invoice-charge-row {
    grid-template-columns: 3fr 1fr auto;
  }

  .invoice-role-row {
    grid-template-columns: 2fr 1fr 1fr auto;
  }

  .invoice-remove-row {
    padding: 12px 14px;
    color: var(--danger);
  }

  .invoice-add-row {
    margin-bottom: 8px;
  }

  .invoice-form-actions-left {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  @media (max-width:900px) {
    .invoice-employee-row,
    .invoice-charge-row,
    .invoice-role-row {
      grid-template-columns: 1fr;
    }

    .invoice-remove-row {
      justify-self: start;
    }
  }
  /* ===== City directory + search (/staffing, homepage, /staffing/<city>) ===== */
  .city-search {
    max-width: 520px;
    margin-bottom: 36px;
  }

  .city-directory {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .city-county {
    background: var(--charcoal);
    padding: 26px 26px 22px;
  }

  .city-county h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--orange);
    margin-bottom: 16px;
  }

  .city-county .city-count {
    color: var(--paper-dim);
    margin-left: 6px;
  }

  .city-county ul {
    list-style: none;
    columns: 3 140px;
    column-gap: 20px;
  }

  .city-county li {
    break-inside: avoid;
    padding: 4px 0;
  }

  .city-county a {
    color: var(--paper);
    text-decoration: none;
    font-size: 14px;
  }

  .city-county a:hover,
  .city-county a:focus-visible {
    color: var(--hivis);
    text-decoration: underline;
  }

  /* A lone county group (the "more cities nearby" list) spans the row. */
  .city-county:only-child {
    grid-column: 1 / -1;
  }

  .city-reach {
    color: var(--orange-dim);
    font-size: 12px;
  }

  .city-legend {
    margin-top: 16px;
    font-size: 11.5px;
    color: var(--paper-dim);
    line-height: 1.6;
  }

  .city-empty {
    border: 1px dashed var(--line);
    padding: 28px 26px;
    color: var(--paper-dim);
    font-size: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .city-empty[hidden] {
    display: none;
  }

  .city-history {
    max-width: 760px;
    margin: 0 auto;
    border-left: 2px solid var(--orange-dim);
    padding-left: 28px;
  }

  .city-history .k {
    font-size: 12px;
    color: var(--orange);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 14px;
  }

  .city-history h2 {
    font-size: clamp(26px, 3vw, 36px);
    color: var(--paper);
    margin-bottom: 18px;
  }

  .city-history p {
    color: var(--paper-dim);
    font-size: 15.5px;
    line-height: 1.75;
  }

  .city-history .city-sources {
    margin-top: 18px;
    font-size: 11.5px;
    line-height: 1.7;
  }

  .city-sources a {
    color: var(--hivis);
  }

  .city-combo {
    position: relative;
  }

  .city-suggest {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 280px;
    overflow-y: auto;
    background: var(--steel);
    border: 1px solid var(--orange-dim);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  }

  .city-suggest li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 14px;
    font-size: 14px;
    color: var(--paper);
    cursor: pointer;
  }

  .city-suggest li[aria-selected="true"] {
    background: var(--steel-light);
    color: var(--hivis);
  }

  .city-suggest-county {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--paper-dim);
    white-space: nowrap;
  }

  .city-search-form {
    max-width: 620px;
    margin: 40px auto 0;
  }

  .city-search-form label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--paper-dim);
    margin-bottom: 8px;
    text-align: center;
  }

  .city-search-row {
    display: flex;
    gap: 10px;
  }

  .city-search-row input {
    flex: 1;
    min-width: 0;
    background: var(--charcoal);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--paper);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 14px;
  }

  .city-search-row input:focus {
    outline: none;
    border-color: var(--orange);
  }

  @media (max-width: 900px) {
    .city-directory {
      grid-template-columns: 1fr;
    }
  }

  /* ===== Job application (/apply/jobseeker) — required checkbox groups + phone ergonomics ===== */
  fieldset.field {
    border: 0;
    padding: 0;
    min-width: 0;
  }

  fieldset.field legend {
    display: block;
    padding: 0;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--paper-dim);
    margin-bottom: 8px;
  }

  fieldset.field legend .req {
    color: var(--orange);
  }

  .field-error {
    font-size: 12px;
    color: var(--orange);
    margin: -14px 0 8px;
  }

  .chip-check input:focus-visible + span {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
  }

  @media (max-width: 700px) {
    /* 16px stops iOS Safari zooming the page when an input is focused. */
    .field input,
    .field select,
    .field textarea {
      font-size: 16px;
      min-height: 48px;
    }

    .field-row {
      grid-template-columns: 1fr;
      gap: 0;
      margin-bottom: 0;
    }

    .field-row > .field {
      margin-bottom: 18px;
    }

    /* 44px minimum tap targets for the chip checkboxes/radios. */
    .chip-check span {
      min-height: 44px;
      align-items: center;
      padding: 10px 16px;
      font-size: 13px;
    }

    .step-nav,
    .step-nav-forward {
      flex-wrap: wrap;
      gap: 10px;
    }

    .step-nav .btn {
      min-height: 48px;
      flex: 1 1 auto;
      justify-content: center;
    }
  }

  /* /admin/jobs — collapsible pay rate + per-language overrides */
  .admin-translations {
    margin: 4px 0 18px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 12px 14px;
  }

  .admin-translations summary {
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--paper-dim);
  }

  .admin-translations[open] summary {
    margin-bottom: 14px;
  }

  /* ===== mobile sticky action bar (views/partials/mobile-bar.hbs) ===== */
  .mobile-bar {
    display: none;
  }

  @media (max-width:767px) {
    .mobile-bar {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 10px;
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 50;
      padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
      background: var(--charcoal);
      border-top: 1px solid var(--line);
    }

    .mobile-bar .btn {
      justify-content: center;
      min-height: 48px;
    }

    /* Room for the bar so the footer's last line is never hidden under it. */
    body:has(.mobile-bar) {
      padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }
  }

  /* Footer extras that appear once data/site.ts pendingOwnerInfo is filled in */
  .socials .review-link {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 19px;
    font-size: 12.5px;
    color: var(--paper-dim);
  }

  .socials .review-link:hover {
    color: var(--orange);
    border-color: var(--orange);
  }

  .trust-line {
    font-size: 11px;
    color: var(--paper-dim);
    padding-bottom: 20px;
  }

  /* Shift titles link to the shift's own page (/shifts/:id) */
  a.role {
    color: inherit;
    text-decoration: none;
  }

  a.role:hover {
    color: var(--orange);
  }

  .shift-card .role {
    display: block;
  }

  .shift-facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 16px 0 20px;
    font-size: 12px;
    color: var(--paper-dim);
  }

  .shift-card--detail .shift-card-foot {
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  /* /our-staff — real headshots replace the initial avatar once data/staff.ts has a photo */
  .team-card .avatar--photo {
    width: 96px;
    height: 96px;
    object-fit: cover;
    padding: 0;
  }

  .team-card .team-short-bio {
    color: var(--paper);
    font-weight: 500;
  }

  /* Testimonials (views/partials/testimonials.hbs) — hidden until data/testimonials.ts has entries */
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }

  .testimonial {
    background: var(--steel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
  }

  .testimonial blockquote {
    font-size: 15px;
    line-height: 1.6;
    color: var(--paper);
    margin-bottom: 14px;
  }

  .testimonial figcaption {
    font-size: 11px;
    color: var(--paper-dim);
  }

  .sample-rate {
    font-size: 13px;
    color: var(--hivis);
    margin: 0 0 20px;
  }

  /* /quote on phones: the form comes before the sales sidebar. */
  @media (max-width:900px) {
    .form-grid--form-first .form-card {
      order: -1;
    }
  }

  .side-contact .side-text-link {
    font-size: 13px;
    margin-top: 4px;
  }
