/* ==========================================================================
   Motor City Job Fairs - main stylesheet (styles.css)
   --------------------------------------------------------------------------
   HOW TO EDIT
   - Colors, fonts, corner rounding: section 1 "Tokens" just below. Change a
     value once and it updates everywhere (for example --red-solid).
   - Every other section has a heading like "Job fair cards" or "YouTube video box".
     Use Find (Ctrl+F / Cmd+F) to jump to it.
   - Motion speed: look for numbers ending in "s" in an animation line
     (for example "animation: kenburns 24s"); bigger = slower.
   - Hero photo darkness: search "shading over the photo" (inner pages) or
     "hero-shade" (video heroes). Lower the rgba(...) numbers to lighten.
   - Lines between slash-star and star-slash are notes and do nothing.

   THREE BREAKPOINTS ONLY (see "14. Breakpoints" near the bottom):
     Desktop  1024px and wider   = the base styles (no media query)
     Tablet   600px to 1023px    = @media (max-width: 1023px)
     Mobile   up to 599px        = @media (max-width: 599px)
   (The reduce-motion rule is an accessibility setting, not a breakpoint.)
   Sections: 1 Tokens  2 Base  3 Utilities  4 Header  5 Buttons  6 Layout
             7 Raceway  8 Cards  9 Events  10 Spotlight, magazine, embeds
             11 Articles and legal  12 Footer  13 Motion, video heroes, drawings,
             page features  14 Breakpoints
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --bg: #08090c;
  --surf: #101218;
  --surf2: #151821;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .22);
  --tx: #eef0f4;
  --mut: #bcc2ce;
  --ivory: #efece4;
  --red: #f0525b;
  --red-solid: #c8323d;   /* button fill: white text passes 4.5:1 */
  --blue: #6b9dff;
  --green: #3fd09c;
  --radius: 16px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -24px rgba(0, 0, 0, .8);
  --shadow-hover: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 28px 60px -26px rgba(0, 0, 0, .95);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: Anton, Impact, "Arial Narrow", "Helvetica Neue Condensed", sans-serif;  /* bold condensed heading font */
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 500 18px/1.65 var(--sans);  /* body text is 18px; nothing on the site is smaller than 16px */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, .logo {
  font-family: var(--display);
  font-weight: 400;          /* Anton is already extra bold */
  font-synthesis: none;
  line-height: 1.04;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0;
}
strong, b { font-weight: 800; }
h2 { font-size: clamp(2.5rem, 5.2vw, 4rem); margin-bottom: 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }
iframe:focus, iframe:focus-visible, iframe.frame-focus { outline: 3px solid #fff; outline-offset: 3px; }  /* embedded forms and videos; script.js adds frame-focus when a keyboard user tabs into one */
main p a:not(.btn), footer p a, .legal a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; }
.sub { color: var(--mut); margin: 0 0 44px; max-width: 680px; font-size: 1.25rem; font-weight: 500; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  color: var(--ivory);
  font-size: 1rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 40px; height: 3px; background: var(--red); transform: skewX(-24deg); }
.center .eyebrow, .mag .eyebrow, .cta .eyebrow { justify-content: center; }
.sr {  /* visually hidden, still read by screen readers */
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }  /* hidden items never take up space */
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 30;
  background: #fff; color: #000; padding: 12px 18px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* 3. Utilities ------------------------------------------------------------- */
.pt-0 { padding-top: 0; }
.mt-md { margin-top: 20px; }
.mt-lg { margin-top: 36px; }
.small { font-size: 1rem; }
.link-accent { color: var(--blue); }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.c-blue { --c: var(--blue); }
.c-green { --c: var(--green); }
.c-red { --c: var(--red); }

/* 4. Header and navigation ------------------------------------------------- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 9, 12, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s;
}
header.scrolled { background: rgba(8, 9, 12, .94); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7); }
.nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; min-height: 76px; }
.logo { display: inline-block; padding: 10px 0; font-size: 1.75rem; color: #fff; letter-spacing: .02em; }
nav { display: flex; gap: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }  /* menu: regular capitalization, 17px */
nav a { position: relative; color: var(--mut); padding: 12px 10px; border-radius: 8px; white-space: nowrap; transition: color .2s; }
nav a:hover { color: #fff; }
nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
nav a:hover::after, nav a.on::after { transform: scaleX(1); }
nav a.on { color: #fff; }
.menu-btn {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 46px; height: 46px; background: transparent; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer;
}
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--tx); transition: transform .25s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 5. Buttons --------------------------------------------------------------- */
/* .btn.r is the main (solid) button. .btn.b and .btn.g are refined outline
   buttons with a colored edge, so only one button shouts per section. */
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btns.center { justify-content: center; }
.btn {
  display: inline-block; text-align: center; padding: 16px 30px;
  border: 2px solid var(--line-strong);  /* 2px on every button so solid and outline buttons are the same height */ border-radius: 999px; background: transparent; color: var(--tx);
  font: 800 1.05rem/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background .25s var(--ease), border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn::before {  /* color sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 0 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(110%); }
.btn:hover { border-color: rgba(255, 255, 255, .5); transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.r { background: var(--red-solid); border-color: var(--red-solid); color: #fff; box-shadow: 0 10px 26px -12px rgba(200, 50, 61, .8); }
.btn.r:hover { background: #b02a35; border-color: #b02a35; }
.btn.b, .btn.g { color: #fff; border: 2px solid var(--btn-c); }
.btn.b { --btn-c: var(--blue); }
.btn.g { --btn-c: var(--green); }
.btn.b:hover, .btn.g:hover { background: color-mix(in srgb, var(--btn-c) 14%, transparent); border-color: var(--btn-c); }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .arrow { transform: translateX(3px); }

/* 6. Hero and layout blocks ------------------------------------------------ */
.hero {
  position: relative;
  padding: 120px 0 104px;
  overflow: hidden;
  background:
    radial-gradient(720px 380px at 88% -10%, rgba(107, 157, 255, .16), transparent 70%),
    radial-gradient(620px 340px at 0% 110%, rgba(240, 82, 91, .14), transparent 70%),
    linear-gradient(180deg, #0b0d12, var(--bg));
}
.hero::after {  /* fine engineering grid, faded at the edges */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3.4rem, 9vw, 7.5rem); line-height: .94; max-width: 980px; }
.hl { color: #ff4f5c; }
.hero.has-video .hl { color: #fff; text-shadow: none; }
.hero.has-video .hl { margin-top: .1em; line-height: 1.1; }
.hero.has-video .hl > span {  /* white words on a solid red band that hugs each line: readable over any video frame */
  padding: 0 .14em;
  background: linear-gradient(var(--red-solid), var(--red-solid)) 0 52% / 100% 1.04em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero.has-video .eyebrow { width: fit-content; padding: 8px 16px; background: rgba(5, 6, 8, .62); border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-title, .hero.has-video p { text-shadow: 0 2px 18px rgba(0, 0, 0, .7), 0 1px 3px rgba(0, 0, 0, .6); }  /* keeps headline text readable over moving video */
.hero p { max-width: 640px; color: #e4e7ee; font-size: 1.35rem; font-weight: 600; margin: 26px 0 38px; }
/* Inner-page title band: any section that holds a .page-title */
section:has(> .wrap > .page-title) {
  background:
    radial-gradient(640px 300px at 90% 0, rgba(107, 157, 255, .1), transparent 70%),
    linear-gradient(180deg, #0b0d12, var(--bg) 70%);
}
.page-title { font-size: clamp(3rem, 7.5vw, 6rem); line-height: .96; margin-bottom: 20px; }
.grid, .feat { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.two { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); align-items: stretch; }
.box { background: linear-gradient(180deg, var(--surf2), var(--surf)); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.box h2, .box h3 { font-size: 1.9rem; margin-bottom: 12px; }
.box p { margin: 0 0 12px; color: var(--mut); }
.cta {
  position: relative; overflow: hidden;
  padding: 64px 40px; text-align: center;
  background:
    radial-gradient(500px 220px at 50% 0, rgba(240, 82, 91, .12), transparent 70%),
    linear-gradient(180deg, var(--surf2), var(--surf));
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
.cta p { color: var(--mut); margin: 0 auto 30px; max-width: 580px; font-size: 1.2rem; }
.cta .btns { justify-content: center; }  /* buttons in call-to-action boxes are always centered */

/* 7. Raceway ----------------------------------------------------------------
   A slim two-row checkered band in ivory and charcoal that fades out at both
   ends, with a red / blue / green pinstripe underneath. It slides in once
   when it scrolls into view (see section 13), then stays still. */
.race { position: relative; height: 34px; background: var(--bg); overflow-x: clip; }  /* keeps the rolling tire inside the page width */
.race::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 16px;
  background: repeating-conic-gradient(var(--ivory) 0 25%, #14161c 0 50%) 0 0 / 16px 16px;
  opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.race::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; width: min(420px, 60%); height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--red) 0 32%, transparent 32% 34%, var(--blue) 34% 66%, transparent 66% 68%, var(--green) 68%);
  border-radius: 2px;
}

/* 8. Cards ----------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--surf2), var(--surf));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
a.card:hover, .card:has(a.more:hover) { transform: translateY(-4px); border-color: rgba(255, 255, 255, .16); box-shadow: var(--shadow-hover); }
.card > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; transition: transform .6s var(--ease), filter .6s; filter: saturate(.92); }
a.card:hover > img, .card:has(a.more:hover) > img { transform: scale(1.04); filter: saturate(1); }
.cb { position: relative; display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; background: inherit; }
.cb h3 { font-size: 1.7rem; margin: 10px 0 10px; }
.cb p { margin: 0; color: var(--mut); font-size: 1.05rem; }
.tag { font-size: 1rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.t-seekers { color: var(--blue); }
.t-employers { color: var(--green); }
.t-fairs { color: var(--red); }
.more { display: inline-block; min-height: 44px; padding-bottom: 6px; line-height: 1.6; margin-top: auto; padding-top: 14px; color: var(--blue); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
/* "Read article" call to action at the bottom of every article card (the whole card is one link) */
a.card .more { display: inline-flex; align-items: center; gap: 6px; }
a.card .more .arrow { transition: transform .25s var(--ease); }
a.card:hover .more, a.card:focus-visible .more { text-decoration: underline; text-underline-offset: 4px; }
a.card:hover .more .arrow, a.card:focus-visible .more .arrow { transform: translateX(4px); }
.f {  /* feature card with a fine colored top edge; color set by .c-blue/.c-green/.c-red */
  position: relative; display: flex; flex-direction: column; padding: 30px 28px 22px;
  background: linear-gradient(180deg, var(--surf2), var(--surf));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.f::before { content: ""; position: absolute; z-index: 2; left: 0; top: 0; width: 100%; height: 4px; background: var(--c); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.f:hover::before { transform: scaleX(1); }
.f h3 { font-size: 2rem; margin-bottom: 10px; }
.f p { margin: 0 0 16px; color: var(--mut); font-size: 1.1rem; }
.f a { display: inline-block; min-height: 44px; padding: 10px 0; margin-top: auto; color: var(--c); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
/* Moving photos at the top of the home intro cards: two photos zoom slowly and fade between each other */
.f.has-media { padding-top: 0; }
.f-media { position: relative; aspect-ratio: 16 / 9; margin: 0 -28px 24px; overflow: hidden; background: #000; }
.f-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surf2) 0%, transparent 45%); }
.f-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
.f-media img + img { opacity: 0; animation: kenburns 14s ease-in-out infinite alternate-reverse, swap 12s ease-in-out infinite; }
.feat > :nth-child(2) .f-media img { animation-delay: -4s; }
.feat > :nth-child(3) .f-media img { animation-delay: -8s; }
@keyframes swap { 0%, 38% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
.dealers { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }  /* 2 or 3 dealers fill the row */
.emp .lg { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; padding: 32px; background: radial-gradient(circle at 50% 40%, #1d212c, var(--surf2)); border-bottom: 1px solid var(--line); }
.card .lg img { width: auto; max-width: 72%; max-height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .9); }  /* employer logos */
.vf { position: relative; aspect-ratio: 16 / 9; background: #000; }  /* YouTube frame */
.vf iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 9. Event cards ----------------------------------------------------------- */
.ev {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px;
  background: linear-gradient(180deg, var(--surf2), var(--surf));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.ev::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--c), transparent 80%); }
.ev h3 { font-size: 2rem; }
.ev p { margin: 0; color: var(--mut); font-size: 1.05rem; }
/* Job fair cards on the left, hiring-event video on the right */
/* Upcoming Job Fairs on Home, Jobs and Employers: all cards in one row on desktop
   (dated fairs, Virtual Job Fair, More events). 2 per row on tablet, 1 on phones (see 14. Breakpoints). */
.fair-list:not(.fair-list-full) { grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; }
.fair-list:not(.fair-list-full) .ev h3 { font-size: 1.7rem; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(230, 57, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); } }
.ev ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--mut); font-size: 1.05rem; font-weight: 600; }
.ev .btn { align-self: stretch; margin-top: auto; padding-inline: 12px; letter-spacing: .05em; }  /* card buttons fill the card so they all match */
.ev-btns { flex-direction: column; align-self: stretch; }
.date { width: 88px; padding: 10px 0; text-align: center; line-height: 1.1; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-strong); border-radius: 12px; }
.date span { display: block; font-size: 1rem; font-weight: 800; letter-spacing: .2em; color: var(--c); }
.date strong { font-family: var(--display); font-size: 2.6rem; font-weight: 400; }

/* 10. Spotlight, magazine and embedded forms ------------------------------- */
.spot { display: grid; grid-template-columns: 300px 1fr; overflow: hidden; background: linear-gradient(180deg, var(--surf2), var(--surf)); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.spot .lg { display: flex; align-items: center; justify-content: center; padding: 36px; background: radial-gradient(circle at 50% 40%, #1d212c, var(--surf2)); border-right: 1px solid var(--line); }
.spot .lg img { max-width: 100%; border-radius: 12px; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .9); }
.spot .dt { padding: 44px; align-self: center; }
.spot .dt h3 { font-size: 2.6rem; }
.spot .dt p { margin: 12px 0 24px; color: var(--mut); max-width: 560px; }
.mag { max-width: 980px; margin: 0 auto; text-align: center; }
.mag p { max-width: 620px; margin: 0 auto 22px; color: var(--mut); }
.mag iframe, .msplit iframe { display: block; width: 100%; height: 700px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surf); box-shadow: var(--shadow); }
.msplit, .esplit { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.msplit { align-items: center; }
.esplit { align-items: start; }
.msplit p, .esplit .tx p, .esplit .tx li { color: var(--mut); }
.esplit .tx ul { margin: 0 0 18px; padding-left: 20px; }
.esplit .tx { position: sticky; top: 110px; }  /* text stays in view beside the tall form */
.esplit .tx li { margin-bottom: 8px; }
.pcr { padding: 14px; background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
#pcrframe { display: block; width: 100%; height: 640px; margin: 0; padding: 0; border: 0; background: transparent; }  /* PCRecruiter embed */
.fi { display: block; width: 100%; max-width: 700px; margin-inline: auto; height: 1000px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surf); }  /* Formly form */

/* 11. Articles and legal --------------------------------------------------- */
.art { max-width: 760px; margin: 0 auto; padding: 56px 28px 24px; }
.art h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); margin: 12px 0 16px; }
.art p { margin: 0 0 22px; font-size: 1.2rem; line-height: 1.75; color: #e1e4ea; }
.art h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 40px 0 14px; }
.art .hero-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; margin-bottom: 36px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.meta { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; color: var(--mut); font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.back { display: inline-block; padding: 11px 0; color: var(--mut); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.back:hover { color: #fff; }
.legal { max-width: 840px; }
.legal p.meta { display: block; }
.legal h2 { font-size: 2.4rem; margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.legal h3 { margin: 28px 0 8px; font: 800 1.2rem var(--sans); letter-spacing: .02em; text-transform: none; }
.legal p, .legal li { color: var(--mut); font-size: 1.1rem; }
.legal ul { margin: 0 0 20px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--mut); font-size: 1rem; font-weight: 700; text-decoration: none; }
.toc a:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }

/* 12. Footer --------------------------------------------------------------- */
footer { padding: 64px 0 28px; background: linear-gradient(180deg, #0d0f14, #08090c); color: var(--mut); font-size: 1.05rem; }
footer a:hover { color: #fff; }
.fg { display: grid; gap: 40px; grid-template-columns: 1.6fr repeat(3, 1fr); }
.fh { margin-bottom: 14px; color: var(--tx); font-size: 1.5rem; }
.fg ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.fg li a { display: inline-flex; align-items: center; min-height: 44px; }  /* 44px tap height */
.fb .logo { font-size: 2rem; margin-bottom: 4px; }
.fb p { margin: 0 0 12px; line-height: 1.65; }
.fb p a { color: var(--tx); }
.soc { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; }
.soc a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tx); font-weight: 700; border-bottom: 2px solid var(--c); }
.fl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1rem; }
.fl a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

/* 13. Motion and video heroes ----------------------------------------------
   script.js switches these on. Everything here stops when the visitor's device
   is set to reduce motion, and the "Pause motion" button on each video hero
   stops the video, ticker and other looping motion (WCAG 2.2.2). */

/* Video hero: home, jobs and employers pages */
.hero.has-video { min-height: min(88vh, 860px); display: flex; align-items: center; padding: 140px 0 120px; background: #050608; }
.hero.has-video::after { display: none; }
.hero.has-video > .wrap { width: 100%; }
.page-hero.has-video { min-height: min(72vh, 700px); padding: 120px 0 100px; }
.page-hero .hero-title { max-width: none; font-size: clamp(3rem, 7vw, 6.25rem); }  /* same headline size on the Home, Jobs and Employers heroes */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-shade {  /* darkens the video so the white text stays readable */
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, .8) 0%, rgba(5, 6, 8, .72) 40%, rgba(5, 6, 8, .56) 62%, rgba(5, 6, 8, .16) 84%, rgba(5, 6, 8, .2) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}
.motion-toggle {
  position: absolute; right: 24px; bottom: 24px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px;
  background: rgba(8, 9, 12, .7); color: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  font: 700 1rem/1 var(--sans); letter-spacing: .04em; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.motion-toggle:hover { border-color: #fff; }
.hero.has-video .motion-toggle { bottom: 40px; }
.mt-icon { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }  /* pause bars */
.motion-toggle[aria-pressed="true"] .mt-icon { border: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }  /* play triangle */

/* Headline: lines slide up one after another when the page loads */
.js .hero-title > span { display: inline-block; opacity: 0; transform: translateY(.5em) skewY(4deg); animation: rise .9s var(--ease) forwards; }
.js .hero-title > span:nth-child(2) { animation-delay: .16s; }
.js .hero .eyebrow, .js .band .eyebrow { opacity: 0; animation: fadein .8s var(--ease) .05s forwards; }
.js .hero .hero-title ~ p, .js .hero .btns, .js .band .sub { opacity: 0; animation: rise .9s var(--ease) .35s forwards; }
.js .hero .btns { animation-delay: .5s; }
.js .band .hero-title { opacity: 0; animation: rise .9s var(--ease) .1s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }

/* Countdown to the next job fair (home hero) */
.countdown { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; padding: 14px 22px; background: rgba(8, 9, 12, .62); border: 1px solid var(--line-strong); border-left: 4px solid var(--red); border-radius: 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.countdown[hidden] { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-actions .countdown { margin-top: 0; }
.cd-label { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; color: var(--mut); }
.cd-label strong { color: #fff; margin-left: 6px; }
.cd-units { display: flex; gap: 18px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); }
.cd-units b { font: 400 2rem/1 var(--display); color: #fff; margin-right: 4px; }

/* Industry ticker under the home hero */
.ticker { overflow: hidden; background: var(--red-solid); border-block: 1px solid rgba(0, 0, 0, .4); transform: skewY(-1.2deg); margin: -10px 0 4px; position: relative; z-index: 2; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding: 14px 0 14px 28px; font: 400 1.6rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: #fff; white-space: nowrap; }
.ticker span::after { content: ""; width: 14px; height: 14px; background: repeating-conic-gradient(#fff 0 25%, #111 0 50%) 0 0 / 7px 7px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Moving photo behind inner page titles (About, Articles, Clips, Contact) */
.band { position: relative; overflow: hidden; }
.band > .wrap { position: relative; z-index: 2; }
.band-bg {
  position: absolute; left: 0; right: 0; top: 0; height: min(100%, 620px); z-index: 0;
  background-size: cover; background-position: center 35%;
  opacity: .8; animation: kenburns 24s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.band::before {  /* shading over the photo: raise the first number to darken the left side, lower it to lighten */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 9, 12, .78) 0%, rgba(8, 9, 12, .55) 45%, rgba(8, 9, 12, .18) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.band .hero-title, .band .sub { text-shadow: 0 2px 16px rgba(0, 0, 0, .7), 0 1px 3px rgba(0, 0, 0, .6); }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -2%); } }

/* Raceway: the checkered band slides in when it scrolls into view */
.js .race::before { transform: translateX(-40px); opacity: 0; transition: transform 1.2s var(--ease), opacity 1.2s; }
.js .race.in::before { transform: none; opacity: .9; }
.js .race::after { width: 0; transition: width 1.1s var(--ease) .25s; }
.js .race.in::after { width: min(420px, 60%); }

/* Scroll progress bar along the top of the header */
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--red), var(--blue), var(--green)); transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none; }

/* Scroll fade-in: .reveal fades a block in; .stagger fades its cards in one after another */
.js .reveal, .js .stagger > * { opacity: 0; translate: 0 36px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .25s ease-out, border-color .35s, box-shadow .35s; }
.js .reveal.in, .js .stagger.in > * { opacity: 1; translate: none; }
.js .reveal.in > *, .js .stagger.in > * { transition-delay: calc(var(--i, 0) * 110ms); }
.js .grid.reveal, .js .feat.reveal { opacity: 1; translate: none; }  /* in grids the cards move, not the grid */
.js .grid.reveal > *, .js .feat.reveal > * { opacity: 0; translate: 0 36px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .25s ease-out, border-color .35s, box-shadow .35s; }
.js .grid.reveal.in > *, .js .feat.reveal.in > * { opacity: 1; translate: none; }

/* Automotive and industrial animations (drawn by script.js) -----------------
   Production line, tool chest, robot arm, rolling tire, gears and icons.
   Each one only animates while it is on screen. */
.fx svg { display: block; width: 100%; height: auto; overflow: visible; }
.fx:not(.on) *, .race:not(.on) * { animation-play-state: paused !important; }
.wheel, .roller, .nut, .held-tire, .sg, .mist, .g-a, .g-b, .ico-tire, .ico-wrench { transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Production line */
.fx-assembly { position: relative; height: clamp(170px, 22.5vw, 340px); overflow: hidden; background: linear-gradient(180deg, #0b0d12, #141821); border-block: 1px solid var(--line); }
.fx-assembly .line-svg { width: 100%; height: 100%; }
.fx-assembly + section.pt-0 { padding-top: 72px; }
.st-num { font: 400 64px var(--display); fill: rgba(255, 255, 255, .08); letter-spacing: 2px; }
.st-name { font: 800 24px var(--sans); fill: #f2a516; letter-spacing: 4px; }
.car-loop { animation: carloop 18s linear infinite; }
@keyframes carloop { from { transform: translateX(-240px); } to { transform: translateX(1220px); } }
.car-loop .wheel, .fx-assembly[data-stage="loop"] .roller { animation: spin 1.1s linear infinite; }
.fx-assembly[data-stage="loop"] .belt { animation: belt 1s linear infinite; }
@keyframes belt { to { stroke-dashoffset: -28; } }
.car-scroll { transform: translateX(calc(var(--t, .5) * 1460px - 240px)); }
.car-scroll .wheel, .fx-assembly:not([data-stage="loop"]) .roller { transform: rotate(calc(var(--t, .5) * 2400deg)); }
.fx-assembly:not([data-stage="loop"]) .belt { stroke-dashoffset: calc(var(--t, .5) * -1460px); }
.rb-sh { animation: rbsh 3.2s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
.rb-el { animation: rbel 2.3s ease-in-out infinite alternate; animation-delay: var(--d, 0s); }
@keyframes rbsh { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }
@keyframes rbel { from { transform: rotate(20deg); } to { transform: rotate(-16deg); } }
.spark { animation: spark .45s ease-out infinite; }
@keyframes spark { 0% { opacity: 1; } 60% { opacity: .2; } 100% { opacity: 0; } }
.mist { animation: mist 1.1s ease-out infinite; }
@keyframes mist { from { opacity: .8; transform: translateY(0) scale(.6); } to { opacity: 0; transform: translateY(14px) scale(1.8); } }
.nut { animation: spin .7s linear infinite; }
.scan { animation: scan 2.2s ease-in-out infinite alternate; }
@keyframes scan { to { transform: translateY(150px); } }
.flag { transform-box: fill-box; transform-origin: left center; animation: wave 1s ease-in-out infinite alternate; }
@keyframes wave { from { transform: skewY(-7deg); } to { transform: skewY(7deg) scaleX(.94); } }
.beam { animation: beam 1.6s ease-in-out infinite alternate; }
@keyframes beam { to { opacity: .1; } }

/* Mechanic's tool chest: lid opens and tools rise when it scrolls into view */
.fx-toolbox { flex: none; width: clamp(150px, 18vw, 240px); }
.tb-lid { transition: transform .7s var(--ease) .2s; }
.fx-toolbox.in .tb-lid { transform: rotate(-26deg); }
.tb-tool { transform: translateY(70px); transition: transform .8s var(--ease); }
.tb-tool.t1 { transition-delay: .55s; } .tb-tool.t2 { transition-delay: .7s; } .tb-tool.t3 { transition-delay: .85s; }
.fx-toolbox.in .tb-tool { transform: none; }
.fx-toolbox.in .tb-tool { animation: bob 2.6s ease-in-out 1.8s infinite alternate; }
.fx-toolbox.in .tb-tool.t2 { animation-delay: 2.2s; } .fx-toolbox.in .tb-tool.t3 { animation-delay: 2.6s; }
@keyframes bob { to { translate: 0 -6px; } }
.tb-drawer { transition: translate .35s var(--ease); }
.fx-toolbox:hover .tb-drawer { translate: 0 2px; }
.head-fx { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.head-fx > :first-child { flex: 1; min-width: 0; }

/* Large robot arm (About page) */
.fx-robot { width: 100%; max-width: 460px; justify-self: center; }
.br-sh { animation: brsh 4.2s ease-in-out infinite alternate; }
.br-el { animation: brel 3.1s ease-in-out infinite alternate; }
.br-wr { animation: brwr 2.4s ease-in-out infinite alternate; }
.held-tire { animation: spin 2.4s linear infinite; }
@keyframes brsh { from { transform: rotate(-14deg); } to { transform: rotate(8deg); } }
@keyframes brel { from { transform: rotate(16deg); } to { transform: rotate(-18deg); } }
@keyframes brwr { from { transform: rotate(-16deg); } to { transform: rotate(18deg); } }

/* Tire that rolls across each raceway band */
.race-tire { position: absolute; left: -44px; bottom: calc(100% - 10px); width: 40px; height: 40px; opacity: 0; pointer-events: none; z-index: 3; }
.race.in .race-tire { animation: roll 2.8s cubic-bezier(.35, 0, .25, 1) .15s forwards; }
@keyframes roll {
  0% { left: -44px; opacity: 0; transform: rotate(0); }
  6% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 44px); opacity: 0; transform: rotate(2880deg); }
}

/* Gears in call-to-action boxes turn as the page scrolls */
.fx-gears { position: absolute; right: -50px; top: -50px; width: 260px; opacity: .1; pointer-events: none; }
.fx-gears .sg { fill: #fff; }
.sg1 { transform: rotate(var(--rot, 0deg)); }
.sg2 { transform: rotate(calc(var(--rot, 0deg) * -1.4)); }
.sg3 { transform: rotate(calc(var(--rot, 0deg) * -1.75)); }
.cta > :not(.fx-gears) { position: relative; z-index: 1; }

/* Small animated icons */
.fx-icon { display: inline-flex; width: 76px; height: 76px; margin-bottom: 18px; color: #fff; }
.fx-icon svg { width: 100%; height: 100%; }
.ico-tire { animation: spin 6s linear infinite; }
.g-a { animation: spin 7s linear infinite; }
.g-b { animation: spin 5s linear infinite reverse; }
.ico-wrench { animation: wrench 2.4s ease-in-out infinite; }
@keyframes wrench { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-28deg); } 82% { transform: rotate(12deg); } }

/* About page: color blocks, values cards, partner logo carousel ------------ */
.block { position: relative; overflow: hidden; }
.block-red { background: radial-gradient(900px 500px at 85% 50%, rgba(230, 57, 70, .28), transparent 70%), linear-gradient(135deg, #2a070c, #0e0709 75%); border-block: 1px solid rgba(230, 57, 70, .35); }
.block-blue { background: radial-gradient(900px 500px at 15% 50%, rgba(58, 111, 247, .28), transparent 70%), linear-gradient(225deg, #0a1736, #070a14 75%); border-block: 1px solid rgba(58, 111, 247, .35); }
.block-red .eyebrow::before { background: var(--red); }
.block-blue .eyebrow::before { background: var(--blue); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split-rev .split-media { order: -1; }
.big-num { font: 400 clamp(5rem, 12vw, 9.5rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .28); margin-bottom: 14px; }
.lead { font-size: 1.35rem; font-weight: 600; line-height: 1.6; color: #e8ebf1; margin: 0 0 28px; }
.photo-motion { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 3px solid var(--blue); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.photo-motion img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s ease-in-out infinite alternate; }
.values .value { position: relative; overflow: hidden; padding: 36px 30px 34px; border-radius: var(--radius); color: #fff; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9); transition: transform .4s var(--ease); }
.values .value:hover { transform: translateY(-6px); }
.value h3 { font-size: 2.4rem; margin-bottom: 10px; }
.value p { margin: 0; font-size: 1.15rem; font-weight: 600; color: #fff; }
.v-blue { background: linear-gradient(150deg, #2a52c9, #142c75); }
.v-green { background: linear-gradient(150deg, #157a46, #0b4227); }
.v-red { background: linear-gradient(150deg, #c1121f, #6d0a13); }
.value::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .08); }
.logo-carousel { overflow: hidden; padding: 12px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 24px; width: max-content; animation: ticker 40s linear infinite; }
.logo-carousel:hover .logo-track, .logo-carousel:focus-within .logo-track { animation-play-state: paused; }
.logo-tile { flex: none; display: flex; align-items: center; justify-content: center; width: 240px; height: 120px; padding: 18px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.carousel-ctl { display: flex; justify-content: center; margin-top: 18px; }
.carousel-ctl .motion-toggle { position: static; }
.band > .motion-toggle { top: 24px; bottom: auto; right: 24px; z-index: 3; }  /* pause button on pages with a moving title photo */

/* Jobs page: Build your career (blueprint staircase) ------------------------ */
.build {
  background:
    linear-gradient(rgba(110, 160, 255, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(110, 160, 255, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(900px 500px at 50% 0, rgba(58, 111, 247, .22), transparent 70%), #0a1124;
  border-block: 1px solid rgba(58, 111, 247, .3);
}
.build .eyebrow::before { background: #f2a516; }
.build-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: end; }
.step {
  position: relative; margin-bottom: calc((var(--n) - 1) * 46px);
  padding: 28px 22px 24px; background: linear-gradient(180deg, #1a2133, #11151f);
  border: 1px solid rgba(255, 255, 255, .1); border-top: 7px solid #f2a516; border-radius: 4px 4px 14px 14px;
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .9);
}
.step::before {  /* rivets along the steel top edge */
  content: ""; position: absolute; left: 10px; right: 10px; top: -5px; height: 3px;
  background: radial-gradient(circle, #6b5210 1.5px, transparent 2px) 0 0 / 18px 3px repeat-x;
}
.step::after {  /* steel support column under each step */
  content: ""; position: absolute; left: 50%; top: 100%; width: 12px; height: calc((var(--n) - 1) * 46px); transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, #59606e 0 10px, #454b57 10px 12px);
}
.step-no { position: absolute; top: 12px; right: 16px; font: 400 2.8rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .3); }
.step .fx-icon { width: 64px; height: 64px; margin-bottom: 14px; }
.step h3 { font-size: 1.6rem; margin-bottom: 8px; }
.step p { margin: 0 0 10px; color: var(--mut); font-size: 1.05rem; }
.step a { display: inline-block; min-height: 44px; padding: 10px 0; color: #ffc94a; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; }
.js .step { opacity: 0; translate: 0 -70px; transition: opacity .5s, translate .8s cubic-bezier(.34, 1.5, .64, 1); transition-delay: calc(var(--n) * .16s); }
.build-steps.in .step { opacity: 1; translate: none; }
.tape-blade { transform-box: fill-box; transform-origin: left center; animation: tape 3.2s ease-in-out infinite; }
@keyframes tape { 0%, 100% { transform: scaleX(.12); } 45%, 60% { transform: scaleX(1); } }
.ico-driver { transform-box: fill-box; transform-origin: center; animation: driver 1.8s ease-in-out infinite; }
@keyframes driver { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.55); } }
.ico-hat { transform-box: fill-box; transform-origin: center bottom; animation: hat 2.2s ease-in-out infinite alternate; }
@keyframes hat { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-5px) rotate(3deg); } }
.ico-hammer { transform-origin: 50px 92px; animation: hammer 1.6s ease-in infinite; }
@keyframes hammer { 0%, 40% { transform: rotate(-36deg); } 58% { transform: rotate(24deg); } 66% { transform: rotate(16deg); } 100% { transform: rotate(-36deg); } }

/* Employers page: building blocks lowered by a crane ------------------------ */
.blocks { position: relative; padding: 150px 96px 0 0; }
.block-stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 26px; }
.blk:nth-child(1) { grid-column: 1 / 3; grid-row: 2; }
.blk:nth-child(2) { grid-column: 3 / 5; grid-row: 2; }
.blk:nth-child(3) { grid-column: 2 / 4; grid-row: 1; z-index: 1; }
.blk {
  position: relative; display: flex; flex-direction: column; padding: 34px 32px 28px; color: #fff; border-radius: 10px;
  background: linear-gradient(160deg, var(--b1), var(--b2));
  box-shadow: 10px 10px 0 var(--b3), 0 34px 50px -24px rgba(0, 0, 0, .9);
}
.blk::before {  /* corner bolts */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(circle at 14px 14px, rgba(255, 255, 255, .6) 3.5px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 14px) 14px, rgba(255, 255, 255, .6) 3.5px, transparent 4.5px),
    radial-gradient(circle at 14px calc(100% - 14px), rgba(255, 255, 255, .6) 3.5px, transparent 4.5px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), rgba(255, 255, 255, .6) 3.5px, transparent 4.5px);
}
.blk.c-blue { --b1: #2a52c9; --b2: #1a3a9c; --b3: #0d2160; }
.blk.c-red { --b1: #c8323d; --b2: #94141f; --b3: #580a12; }
.blk.c-green { --b1: #157a46; --b2: #0f5a33; --b3: #07351e; }
.blk h3 { font-size: 2.3rem; margin-bottom: 10px; }
.blk p { margin: 0 0 14px; font-size: 1.12rem; font-weight: 600; color: #fff; }
.blk a { display: inline-block; min-height: 44px; padding: 10px 0; margin-top: auto; color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 5px; }
.crane { position: absolute; inset: 0; pointer-events: none; }
.crane-tower { position: absolute; right: 26px; top: 8px; bottom: 0; width: 34px; background: repeating-linear-gradient(45deg, transparent 0 9px, #f2a516 9px 13px), repeating-linear-gradient(-45deg, transparent 0 9px, #f2a516 9px 13px); border-inline: 5px solid #f2a516; }
.crane-jib { position: absolute; top: 8px; height: 16px; left: calc((100% - 96px) / 2 - 30px); right: 0; background: repeating-linear-gradient(60deg, transparent 0 8px, #f2a516 8px 11px); border-block: 4px solid #f2a516; }
.crane-cable { position: absolute; top: 24px; left: calc((100% - 96px) / 2); width: 3px; height: 126px; margin-left: -1.5px; background: #c9ced8; transform-origin: top; }
.crane-cable::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 16px; height: 14px; margin-left: -8px; border: 4px solid #c9ced8; border-top: 0; border-radius: 0 0 10px 10px; }
.js .blk { opacity: 0; translate: 0 50px; transition: opacity .5s, translate .8s var(--ease); }
.js .blk:nth-child(2) { transition-delay: .18s; }
.js .blk:nth-child(3) { translate: 0 -120px; transition: opacity .4s .6s, translate 1.4s cubic-bezier(.3, 1.15, .5, 1) .7s; }
.js .crane-cable { transform: scaleY(.1); transition: transform 1.4s cubic-bezier(.3, 1.15, .5, 1) .7s; }
.blocks.in .blk, .blocks.in .blk:nth-child(3) { opacity: 1; translate: none; }  /* every block lands in its own grid spot (no overlap on tablet/mobile) */
.blocks.in .crane-cable { transform: none; }

/* Articles and Clips: category filter chips -------------------------------- */
.chip-filter { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 36px; }
.chip-filter[hidden] { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px 8px 10px; cursor: pointer;
  color: #fff; background: var(--surf2); border: 2px solid var(--line-strong); border-radius: 999px;
  font: 800 1rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .05em;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .25s, border-color .25s;
}
.chip .chip-ico { width: 34px; height: 34px; margin: 0; }
.chip-count { padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.chip:hover { border-color: #fff; transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--red-solid); border-color: var(--red-solid); transform: scale(1.04); }
.chip[aria-pressed="true"] .chip-count { background: rgba(0, 0, 0, .25); }

/* Cards leaving and entering when a filter changes */
.is-out { opacity: 0 !important; scale: .92; transition: opacity .25s, scale .25s !important; }
.is-in { animation: popin .45s cubic-bezier(.34, 1.4, .64, 1); }
@keyframes popin { from { opacity: 0; scale: .9; } }

/* Fuel gauge on article pages */
.fuel {
  position: fixed; left: 18px; bottom: 18px; z-index: 40; width: 116px; padding: 10px 10px 8px;
  background: rgba(10, 12, 16, .88); border: 1px solid var(--line-strong); border-radius: 16px; text-align: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .9);
  pointer-events: none; transition: border-color .4s, box-shadow .4s;
}
.fuel svg { display: block; width: 100%; height: auto; }
.fuel-needle { transform-origin: 60px 62px; transform: rotate(calc(-90deg + var(--read, 0) * 180deg)); transition: transform .25s ease-out; }
.fuel-ef { font: 400 15px var(--display); fill: #e3e6ec; }
.fuel-label { display: block; margin-top: 2px; font: 800 1rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: #e3e6ec; }
.fuel.full { border-color: #2bb673; box-shadow: 0 0 0 3px rgba(43, 182, 115, .3), 0 16px 30px -14px rgba(0, 0, 0, .9); }

/* Job fair cards: extra parts ------------------------------------------------ */
.fair-note { margin: 22px 0 0; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.fair-note a { display: inline-block; min-height: 44px; padding: 10px 0; color: #fff; }
.ev-status { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #fff; color: #9c111c; font: 800 1rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.ev-desc { margin: 0; color: var(--mut); font-size: 1.05rem; }
.ev-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.ev-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ev-link { display: inline-block; min-height: 44px; padding: 10px 0; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* Video boxes: keep a 16:9 shape on every screen size ---------------------- */
/* .video-embed holds either a YouTube <iframe> (Contact page) or a self-hosted <video> (Employers page). */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 26px 0 10px; overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: var(--shadow); }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed video { object-fit: contain; background: #000; }
.video-embed video:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }  /* ring drawn inside the rounded box */
.video-embed:focus-within { outline: 3px solid #fff; outline-offset: 3px; }  /* visible focus when tabbing into the player */
.promo-video { margin: 0; }
.promo-video figcaption { margin-top: 4px; color: var(--mut); font-size: 1rem; }
.video-link { margin: 0; }
.video-link a { display: inline-block; min-height: 44px; padding: 10px 0; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.contact-split .tx { text-align: left; }

/* Job Fairs page: FAQ and schedule note ----------------------------------- */
.wrap.narrow { max-width: 920px; }
.fair-list-full { grid-template-columns: repeat(2, 1fr); }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surf2); border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 12px; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 16px 22px; cursor: pointer; list-style: none; font: 400 1.5rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font: 800 1.8rem/1 var(--sans); color: var(--red); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--mut); font-size: 1.1rem; }

/* Pause motion button: stops loops site-wide */
.motion-off .ticker-track, .motion-off .band-bg, .motion-off .f-media img, .motion-off .logo-track, .motion-off .fx * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .stagger > *, .js .grid.reveal > *, .js .feat.reveal > * { opacity: 1; translate: none; }
  .js .hero-title > span, .js .hero .eyebrow, .js .band .eyebrow, .js .hero .hero-title ~ p, .js .hero .btns, .js .band .sub, .js .band .hero-title { opacity: 1; transform: none; }
  .js .race::before { opacity: .9; transform: none; }
  .js .race::after { width: min(420px, 60%); }
  .hero-video, .loop-video { display: none; }  /* the still poster image shows instead */
  .race-tire { display: none; }
  .fx-toolbox .tb-lid { transform: rotate(-26deg); }
  .fx-toolbox .tb-tool { transform: none; }
  .hero.has-video { background: #050608 center / cover no-repeat; }
  .js .step, .js .blk { opacity: 1; translate: none; transform: none; }
  .js .crane-cable { transform: none; }
  .car-scroll { transform: translateX(490px); }
  a.card:hover > img, .card:has(a.more:hover) > img { transform: none; }
}

/* 13b. Content editor (content-editor.html, staff only) -------------------
   Form fields, tabs and buttons for editing content/events.json and content/site.json. */
.editor-page { padding-top: 140px; }
.editor-help { margin: 28px 0; padding: 22px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surf); }
.editor-help ol { margin: 0 0 12px; padding-left: 22px; color: var(--mut); }
.editor-help li { margin-bottom: 6px; }
.editor-help p, .editor-note { color: var(--mut); }
.editor-h { font-size: 1.6rem; margin: 0 0 12px; }
.editor-status { min-height: 1.65em; margin: 0 0 16px; padding: 0; font-weight: 700; color: var(--green); }
.editor-status.is-error { color: #ff9aa1; }
.editor-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.editor-tabs [role="tab"] { min-height: 44px; padding: 10px 16px; border: 2px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--tx); font: 700 1rem var(--sans); cursor: pointer; }
.editor-tabs [role="tab"][aria-selected="true"] { background: var(--tx); border-color: var(--tx); color: var(--bg); }
.editor-event { min-width: 0; margin: 0 0 22px; padding: 20px 22px 22px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surf); }
.editor-event legend { padding: 0 8px; font-weight: 800; font-size: 1.1rem; }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-bottom: 16px; }
.editor-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.editor-grid .editor-field { margin: 0; }
.editor-field:has(textarea) { grid-column: 1 / -1; }
.editor-field label, .editor-import label { font-weight: 700; }
.editor-field .opt { color: var(--mut); font-weight: 500; }
.editor-field input, .editor-field textarea, .editor-import input {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #8a93a3; border-radius: 10px;  /* border passes 3:1 */
  background: #0d0f14; color: var(--tx); font: 500 1rem/1.5 var(--sans); color-scheme: dark;
}
.editor-field input:focus-visible, .editor-field textarea:focus-visible, .editor-import input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.editor-actions .btn, .editor-event .btn, #add-event { cursor: pointer; font-family: var(--sans); }
.editor-import { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 18px; }

/* Upcoming Job Fairs: 2 per row on small desktops (1024px to 1279px) so card buttons fit on one line.
   (Extra breakpoint used only for this section.) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .fair-list:not(.fair-list-full) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 14. Breakpoints ---------------------------------------------------------- */
@media (max-width: 1023px) {  /* TABLET (600px to 1023px) and mobile */
  /* Tablet and phones: every button is full width and the same height, so stacked buttons look even */
  .btn { display: block; width: 100%; }
  .btns .btn { flex: 1 1 100%; }
  section { padding: 68px 0; }
  .grid, .feat { grid-template-columns: repeat(2, 1fr); }
  .feat > :last-child:nth-child(odd), .grid > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
  .fg { grid-template-columns: repeat(3, 1fr); }
  .fb { grid-column: 1 / -1; }
  .msplit, .esplit { grid-template-columns: 1fr; gap: 32px; }
  .esplit .tx { position: static; order: -1; }  /* contact details come before the long form */
  .hero { padding: 88px 0 76px; }
  .hero.has-video { min-height: min(80vh, 720px); padding: 110px 0 110px; }
  .fair-list:not(.fair-list-full) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build-steps { grid-template-columns: 1fr; gap: 16px; }
  .step { margin: 0 0 0 calc((var(--n) - 1) * 28px); }
  .step::after { display: none; }
  .blocks { padding: 0; }
  .crane { display: none; }
  .block-stack { grid-template-columns: 1fr 1fr; }
  .blk:nth-child(3) { grid-column: 1 / -1; grid-row: 1; }
  .blk:nth-child(1), .blk:nth-child(2) { grid-row: 2; grid-column: auto; }
  .js .blk:nth-child(3) { translate: 0 -40px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-rev .split-media { order: 0; }
  .fx-robot { max-width: 380px; }
  .spot { grid-template-columns: 1fr; }  /* spotlight: logo on top, details below */
  .spot .lg { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px; }
  .spot .lg img { max-width: 180px; }
  .spot .dt { padding: 32px; }
  .menu-btn { display: flex; }
  nav { display: none; flex-direction: column; width: 100%; gap: 0; padding: 4px 0 16px; }
  nav.open { display: flex; }
  nav a { padding: 15px 4px; border-top: 1px solid var(--line); border-radius: 0; font-size: 1.15rem; }
  nav a::after { left: 4px; right: auto; width: 32px; bottom: 10px; }
}
@media (max-width: 599px) {
  .editor-grid { grid-template-columns: 1fr; }  /* content editor: one field per row on phones */
  .editor-page { padding-top: 110px; }  /* MOBILE (up to 599px) */
  .wrap { padding: 0 20px; }
  section { padding: 52px 0; }
  .grid, .feat, .two, .fg { grid-template-columns: 1fr; }
  .feat > :last-child:nth-child(odd), .grid > :last-child:nth-child(odd):not(:first-child) { grid-column: auto; }
  .nav { min-height: 66px; }
  .logo { font-size: 1.5rem; }
  .hero { padding: 64px 0 56px; }
  .hero.has-video { min-height: 0; padding: 96px 0 104px; }
  .fair-list, .fair-list-full, .fair-list:not(.fair-list-full) { grid-template-columns: 1fr; }
  .fx-toolbox { width: clamp(80px, 26vw, 120px); }
  .chip-filter { gap: 10px; }
  .fuel { width: 92px; left: 10px; bottom: 10px; padding: 8px 8px 6px; }
  .step { margin: 0; }  /* phones: blueprint cards stack straight down, all the same width */
  .block-stack { grid-template-columns: 1fr; }
  .blk:nth-child(1), .blk:nth-child(2), .blk:nth-child(3) { grid-column: 1; grid-row: auto; }
  .blk { margin-right: 10px; }
  .head-fx { align-items: center; }
  .logo-tile { width: 180px; height: 90px; }
  .fx-gears { width: 180px; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 8, .62) 40%, rgba(5, 6, 8, .66) 100%); }
  .motion-toggle { right: 16px; bottom: 16px; padding: 8px 14px; }
  .countdown { gap: 10px 18px; padding: 12px 16px; }
  .ticker span { font-size: 1.3rem; padding: 12px 0 12px 22px; gap: 22px; }
  .hero p { font-size: 1.2rem; }
  /* Phones: slightly smaller button letters so long labels stay on one line */
  .btn { padding: 16px 14px; font-size: 1rem; letter-spacing: .04em; }
  .sub { margin-bottom: 30px; }
  .box { padding: 26px; }
  .cta { padding: 44px 22px; border-radius: 18px; }
  .spot .dt { padding: 26px 16px; }  /* room for the full-width button label on one line */
  .race { height: 28px; }
  .race::before { top: 5px; height: 12px; background-size: 12px 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .race::after { bottom: 5px; }
  .art { padding: 36px 20px 16px; }
  .art p { font-size: 1.125rem; }
  .mag iframe, .msplit iframe { height: 520px; }
  .fi { height: 1150px; }
  .fl { flex-direction: column; align-items: flex-start; }
}

/* Virtual Job Fair card (built by script.js section 9): the "Every Week" label uses the
   status pill shape, in green so it reads as good news rather than a warning. */
.ev-online { background: var(--green); color: #06140d; }
.ev-virtual .date { width: auto; align-self: flex-start; padding: 10px 14px; }  /* "ONLINE" label box sizes to its word */

/* Small phones (up to 379px): tighter button letters so long labels stay on one line */
@media (max-width: 379px) {
  .btn { padding: 16px 8px; letter-spacing: 0; }
  .spot .dt { padding: 26px 12px; }
}
