/* ==========================================================================
   Skyward Federal — site.css
   One stylesheet for the whole site. Design tokens up top; edit those to
   re-theme everything. No frameworks, no external fonts, no build step.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand — sampled from the Skyward logo */
  --navy-950: #070f24;
  --navy-900: #0b1d40;
  --navy-850: #0c1e41;
  --navy-800: #142a58;
  --navy-700: #1e3a72;
  --ink: #0b1d40;          /* headings on light */
  --body-c: #3d4566;       /* body text on light */
  --muted: #5f6787;
  --paper: #f6f7fb;        /* page background */
  --card: #ffffff;
  --line: #e4e7f2;
  --accent: #b8511d;       /* burnt orange, AA on white */
  --accent-strong: #99400f;
  --accent-soft: #fbeee5;
  --accent-bright: #e8895a; /* accent for use on navy */
  --link: #2a4494;
  --on-navy: #eef1fb;
  --on-navy-muted: #aab4d8;
  --ok: #1c7c46;
  --err: #b3261e;

  /* Shape & rhythm */
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(11, 29, 64, .05), 0 6px 18px rgba(11, 29, 64, .06);
  --shadow-lift: 0 2px 4px rgba(11, 29, 64, .06), 0 12px 28px rgba(11, 29, 64, .12);
  --container: 1200px;
  --pad-x: clamp(1rem, 3.5vw, 1.75rem);
  --section-y: clamp(2.25rem, 4.6vw, 3.5rem);
  --header-h: 3.75rem;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0313rem;
  line-height: 1.58;
  color: var(--body-c);
  background: var(--paper);
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.14; margin: 0 0 .45em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 .8em; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
ul, ol { padding-left: 1.15em; margin: 0 0 .8em; }
::selection { background: var(--navy-800); color: #fff; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + .75rem); }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--navy-850); color: #fff; padding: .55em 1em;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: block; font-size: .74rem; font-weight: 800; letter-spacing: .17em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .6rem;
}
.display { text-transform: uppercase; font-weight: 800; letter-spacing: .005em; line-height: 1.04; }
.lead { font-size: 1.22rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; margin-bottom: .55em; }
.sub { font-size: 1.05rem; color: var(--muted); max-width: 46em; }
.center { text-align: center; }
.center .sub, .center .section-intro { margin-inline: auto; }
.section-intro { max-width: 48em; margin-bottom: 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 800; font-size: .87rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .72em 1.5em; border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; font-family: inherit;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--accent-strong); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.band-navy .btn-ghost, .hero .btn-ghost { color: #fff; }
.band-navy .btn-ghost:hover, .hero .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy-850); }
.btn-small { padding: .48em 1.1em; font-size: .78rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

.text-link { font-weight: 700; text-decoration: none; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

/* ---------- Brand icons ----------
   Single-colour SVGs painted with currentColor via a CSS mask, so one file
   works on both light cards and the navy bands. Set --icon inline. */
.icon {
  display: inline-block; width: 1.5rem; height: 1.5rem; flex: none;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 11px; margin-bottom: .8rem;
  background: var(--accent-soft); color: var(--accent);
}
.icon-chip .icon { width: 1.55rem; height: 1.55rem; }
.band-navy .icon-chip { background: rgba(232, 137, 90, .16); color: var(--accent-bright); }

/* One class per brand icon; keeps style attributes out of the HTML so
   the page CSP can stay at style-src 'self'. */
.i-move-data { --icon: url(/assets/img/icons/move-data.svg); }
.i-multi-level-security { --icon: url(/assets/img/icons/multi-level-security.svg); }
.i-dec-sec-ops { --icon: url(/assets/img/icons/dec-sec-ops.svg); }
.i-data-security { --icon: url(/assets/img/icons/data-security.svg); }
.i-data-observability { --icon: url(/assets/img/icons/data-observability.svg); }
.i-modernize-with-speed { --icon: url(/assets/img/icons/modernize-with-speed.svg); }
.i-prepare-data { --icon: url(/assets/img/icons/prepare-data.svg); }
.i-scan-and-send { --icon: url(/assets/img/icons/scan-and-send.svg); }
.i-receive-and-share { --icon: url(/assets/img/icons/receive-and-share.svg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 251, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { width: 172px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav > a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .25em 0; border-bottom: 2px solid transparent;
}
.site-nav > a:not(.btn):hover { color: var(--accent); }
.site-nav > a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-toggle { display: none; }

@media (max-width: 819px) {
  .brand img { width: 144px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--card); color: var(--ink); cursor: pointer;
  }
  .site-nav {
    display: none;
    position: absolute; top: calc(100% + .4rem); right: var(--pad-x);
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lift); padding: .65rem; min-width: 13.5rem;
  }
  .site-nav > a:not(.btn) { padding: .5em .75em; border-bottom: 0; border-radius: var(--radius-sm); }
  .site-nav > a[aria-current="page"] { background: var(--paper); }
  .site-nav > .btn { margin-top: .4rem; text-align: center; }
  .nav-open .site-nav { display: flex; }
}

/* ---------- Sections & bands ---------- */
.section { padding-block: var(--section-y); }
.section-tight { padding-block: calc(var(--section-y) * .6); }
.band-navy {
  background:
    radial-gradient(60rem 26rem at 85% -20%, rgba(96, 130, 255, .16), transparent 60%),
    radial-gradient(44rem 22rem at -10% 110%, rgba(232, 137, 90, .10), transparent 55%),
    linear-gradient(128deg, var(--navy-900), var(--navy-850) 45%, var(--navy-700));
  color: var(--on-navy);
}
.band-navy h1, .band-navy h2, .band-navy h3, .band-navy h4 { color: #fff; }
.band-navy p { color: var(--on-navy); }
.band-navy .sub { color: var(--on-navy-muted); }
.band-navy .eyebrow { color: var(--accent-bright); }
.band-navy a:not(.btn) { color: #cdd9ff; }
.band-navy a:not(.btn):hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 55%, rgba(255, 255, 255, .035) 55%, rgba(255, 255, 255, .035) 72%, transparent 72%),
    linear-gradient(115deg, transparent 68%, rgba(255, 255, 255, .05) 68%, rgba(255, 255, 255, .05) 82%, transparent 82%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.3rem, 5.8vw, 3.9rem); max-width: 13em; margin-bottom: .28em; }
.hero .lead { color: #fff; font-size: clamp(1.15rem, 2.4vw, 1.4rem); margin-bottom: .35em; }
.hero .sub { margin-bottom: 1.35rem; }
.hero-lite { padding-block: clamp(2rem, 4.5vw, 3.25rem) clamp(.75rem, 2vw, 1.25rem); }
.hero-lite h1 { font-size: clamp(1.95rem, 4.4vw, 2.9rem); max-width: 18em; }

/* Hero with a photographic backdrop */
.hero-photo { background: var(--navy-950); }
.hero-photo .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1;
  border: 0; pointer-events: none;
}
/* Dark on the left where the copy sits, clearing to the right so the
   photograph itself stays visible. */
.hero-photo::after {
  background:
    linear-gradient(95deg, rgba(7, 15, 36, .93) 0%, rgba(7, 15, 36, .82) 34%,
                    rgba(7, 15, 36, .42) 66%, rgba(7, 15, 36, .16) 100%);
}
@media (max-width: 819px) {
  .hero-photo::after { background: linear-gradient(180deg, rgba(7, 15, 36, .82), rgba(7, 15, 36, .92)); }
}

/* Hero background video -----------------------------------------------------
   Sits on top of the JPEG .hero-bg and under the .hero-photo::after contrast
   gradient by source order alone, so no z-index is needed and the text
   contrast is untouched. Transparent until frames are actually playing: the
   JPEG is what first paints, what LCP measures, and what stays if anything
   at all goes wrong.

   Hidden with OPACITY, never display:none or visibility:hidden - WebKit
   refuses to autoplay media it considers invisible, so hiding it that way
   would break iOS while looking correct on desktop. */
.hero-photo .hero-video { opacity: 0; transition: opacity .6s ease; }
.hero-photo .hero-video.is-playing { opacity: 1; }

/* No JS means it can never play, so do not even fetch its poster. */
.no-js .hero-video { display: none; }

/* Reduced motion: the still photograph is the whole hero. display:none is
   correct here precisely because playback is never attempted in this state. */
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-video { display: none; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(15.5rem, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(12.5rem, 100%), 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.2rem; box-shadow: var(--shadow);
}
.card h3, .card h4 { margin-bottom: .38em; }
.card p { font-size: .97rem; }
.card > :last-child { margin-bottom: 0; }

a.card { display: block; color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: inherit; }
a.card:hover h3 { color: var(--accent); }

.band-navy .card {
  background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .14); box-shadow: none;
}
.band-navy a.card:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.band-navy a.card:hover h3 { color: var(--accent-bright); }
.card-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.band-navy .card-kicker { color: var(--on-navy-muted); }

/* Card with a photo on top */
.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-photo .card-body { padding: 1.05rem 1.15rem 1.2rem; }
.card-photo .card-body > :last-child { margin-bottom: 0; }

/* ---------- Stats ---------- */
.stats {
  display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
  text-align: center; margin-top: 1.75rem;
}
.stat-num {
  display: block; font-size: clamp(1.95rem, 4.4vw, 2.8rem); font-weight: 800;
  color: var(--accent-bright); font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.stat-label { color: var(--on-navy-muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }

/* ==========================================================================
   Showcase — the shared block behind BOTH the Technology and Results pages.
   Same shell, same rhythm, alternating media side; only the detail list
   differs (product features vs challenge/solution).
   ========================================================================== */
.showcase + .showcase {
  margin-top: var(--section-y);
  padding-top: var(--section-y);
  border-top: 1px solid var(--line);
}
.band-navy .showcase + .showcase { border-top-color: rgba(255, 255, 255, .14); }
.showcase-grid {
  display: grid; gap: 1.4rem 2.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.showcase:nth-of-type(even) .showcase-media { order: 2; }

.showcase-media { margin: 0; }
.showcase-media img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 16 / 10; object-fit: cover;
}
.band-navy .showcase-media img { border-color: rgba(255, 255, 255, .16); }
.showcase-media figcaption {
  font-size: .8rem; color: var(--muted); margin-top: .45rem; letter-spacing: .01em;
}
.band-navy .showcase-media figcaption { color: var(--on-navy-muted); }

.showcase-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .55rem; }
.showcase-head .icon-chip { margin-bottom: 0; }
.showcase-head .eyebrow { margin-bottom: 0; }
.showcase-body h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
.showcase-body > p:last-child { margin-bottom: 0; }

@media (max-width: 899px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .showcase:nth-of-type(even) .showcase-media { order: 0; }
}

/* Detail list under a showcase — features (Technology) */
.features {
  display: grid; gap: .75rem 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(15.5rem, 100%), 1fr));
  margin-top: 1.4rem;
}
.feature { display: flex; gap: .65rem; align-items: flex-start; }
.feature .icon { width: 1.35rem; height: 1.35rem; color: var(--accent); margin-top: .1rem; }
.band-navy .feature .icon { color: var(--accent-bright); }
.feature h4 { font-size: .97rem; margin-bottom: .12em; }
.feature p { font-size: .92rem; color: var(--muted); margin-bottom: 0; line-height: 1.48; }
.band-navy .feature p { color: var(--on-navy-muted); }

/* Detail list under a showcase — challenge/solution (Results).
   Same footprint as .features so both pages read the same. */
.case-blocks {
  display: grid; gap: .9rem 1.75rem; margin-top: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
}
.case-block { border-left: 3px solid var(--line); padding-left: 1rem; }
.case-block h3 {
  font-size: .74rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .3em;
}
.case-block p { margin-bottom: 0; font-size: .97rem; }
.case-block.solution { border-left-color: var(--accent); }
.case-block.solution h3 { color: var(--accent); }
.band-navy .case-block { border-left-color: rgba(255, 255, 255, .2); }
.band-navy .case-block h3 { color: var(--on-navy-muted); }

/* ---------- Values & perks ---------- */
.value-card h3 { text-transform: uppercase; font-size: 1rem; letter-spacing: .05em; }
.value-card ul { list-style: none; padding: 0; margin: 0; }
.value-card li { font-weight: 600; color: var(--body-c); padding-block: .12em; font-size: .96rem; }
.band-navy .value-card li { color: var(--on-navy); }
.checklist {
  list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem .5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
}
.checklist li { position: relative; padding-left: 1.55rem; font-weight: 600; font-size: .97rem; }
.checklist li::before {
  content: ""; position: absolute; left: .1rem; top: .44em;
  width: .75rem; height: .42rem; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Quote & CTA bands ---------- */
.quote-band blockquote {
  margin: 0; font-size: clamp(1.25rem, 3vw, 1.8rem); font-weight: 800;
  color: #fff; letter-spacing: -.01em; line-height: 1.28; max-width: 26em;
}
.quote-band blockquote::before {
  content: ""; display: block; width: 3rem; height: 4px;
  background: var(--accent-bright); margin-bottom: 1rem; border-radius: 2px;
}
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); }
.cta-band .sub { margin: 0 auto 1.2rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: .8rem; }
.field label { display: block; font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: .28rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .6em .8em;
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--accent-bright); outline-offset: 1px; border-color: var(--accent); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.form-status { font-weight: 700; margin-top: .6rem; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.contact-layout { display: grid; gap: 1.75rem 3rem; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
@media (max-width: 899px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-aside h3 { font-size: .92rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5em; }
.contact-aside ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.contact-aside li { padding-block: .15em; font-weight: 600; font-size: .97rem; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 46em; }
.prose li { margin-bottom: .3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-muted); margin-top: auto; }
.footer-grid {
  display: grid; gap: 1.5rem 2rem; grid-template-columns: 2fr 1fr 1fr;
  padding-block: clamp(1.75rem, 4vw, 2.5rem) 1.25rem;
}
@media (max-width: 819px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } .footer-brand-col { grid-column: 1 / -1; } }
.footer-brand { display: inline-block; text-decoration: none; }
.footer-brand img { width: 172px; height: auto; }
.footer-tag { margin-top: .7rem; max-width: 26em; font-size: .92rem; }
.site-footer h3 { color: #fff; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: .65em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding-block: .16em; font-size: .94rem; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.social-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: .85rem; font-weight: 700; font-size: .94rem; }
.social-link svg { width: 1.15rem; height: 1.15rem; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .12); padding-block: .95rem; font-size: .85rem;
}

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(3rem, 9vw, 5.5rem); }
.error-page h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Careers page — mirrors the layout of the current WordPress careers page:
   full-bleed photographic hero, rotating tagline, a moving strip of team
   photos, values on navy, openings, then perks on a soft band.
   ========================================================================== */
.hero-tall { padding-block: clamp(4rem, 12vw, 8rem); min-height: min(78vh, 40rem); display: flex; align-items: center; }
.hero-tall h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); max-width: 15em; }

/* Rotating tagline (Work Hard. / Do Good. / …) */
.rotator {
  font-size: clamp(1.3rem, 3.2vw, 2rem); font-weight: 800; letter-spacing: -.01em;
  color: #fff; text-transform: uppercase; margin: 0 0 .7em; min-height: 1.2em;
}
.rotator span { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.rotator span.is-out { opacity: 0; transform: translateY(-.35em); }

/* Moving strip of photos */
.marquee { overflow: hidden; margin-top: 1.5rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee img {
  width: clamp(15rem, 26vw, 22rem); aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - .5rem)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
}

/* Soft band for the perks block */
.band-soft { background: #eef0f7; }

/* Current openings */
.job-list { max-width: 46rem; margin-inline: auto; border-top: 1px solid var(--line); }
.job {
  display: flex; flex-wrap: wrap; gap: .2rem 1rem; align-items: baseline;
  justify-content: space-between; padding: .95rem .25rem;
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.job:hover { background: #fff; }
.job-title { font-weight: 800; color: var(--accent); font-size: 1.05rem; }
.job:hover .job-title { text-decoration: underline; }
.job-meta { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* Perks, two columns of bullets like the live page */
.perks {
  list-style: none; padding: 0; margin: 0 auto; max-width: 52rem;
  display: grid; gap: .5rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
}
.perks li { position: relative; padding-left: 1.1rem; font-weight: 600; }
.perks li::before { content: "\2022"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
