:root {
  --af-blue: #1f3f87;
  --af-blue-dark: #142a5e;
  --af-blue-soft: #edf3fc;
  --af-ink: #172033;
  --af-muted: #5f6c82;
  --af-line: #dbe3ef;
  --af-surface: #f7f9fc;
  --af-green: #2f8065;
  --af-radius: 1rem;
  --af-shadow: 0 16px 40px rgba(20, 42, 94, .1);
}

html { scroll-behavior: smooth; }
body { background: #fff; color: var(--af-ink); }
a { color: inherit; }
.af-skip-link { background: var(--af-blue-dark); border-radius: .5rem; color: #fff; left: 1rem; padding: .75rem 1rem; position: absolute; top: -5rem; z-index: 2000; }
.af-skip-link:focus { top: 1rem; }
.af-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.af-eyebrow { color: var(--af-green); font-size: .78rem; font-weight: 800; letter-spacing: .1em; margin: 0 0 .75rem; text-transform: uppercase; }
.af-heading { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.08; }
.af-copy { color: var(--af-muted); font-size: 1.05rem; line-height: 1.75; }
.af-button { align-items: center; background: var(--af-blue); border: 1px solid var(--af-blue); border-radius: 999px; color: #fff !important; display: inline-flex; font-weight: 750; gap: .65rem; justify-content: center; min-height: 3rem; padding: .72rem 1.2rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.af-button:hover { background: var(--af-blue-dark); box-shadow: 0 10px 20px rgba(31, 63, 135, .22); transform: translateY(-2px); }
.af-button-outline { background: transparent; color: var(--af-blue) !important; }
.af-button-outline:hover { background: var(--af-blue-soft); }
.af-button:focus-visible, .af-site-nav a:focus-visible, .af-footer a:focus-visible, .af-form-control:focus-visible { outline: 3px solid #8bb9ff; outline-offset: 3px; }

.af-site-nav { backdrop-filter: blur(14px); background: rgba(255, 255, 255, .94); border-bottom: 1px solid rgba(219, 227, 239, .75); padding: .65rem 0; position: sticky; top: 0; transition: box-shadow .2s ease; z-index: 1030; }
.af-site-nav.is-scrolled { box-shadow: 0 6px 24px rgba(20, 42, 94, .1); }
.af-site-nav .navbar-brand img { display: block; height: auto; width: 126px; }
.af-site-nav .nav-link { color: var(--af-ink) !important; font-size: .94rem; font-weight: 700; padding: .7rem .8rem !important; text-decoration: none; }
.af-site-nav .nav-link:hover, .af-site-nav .nav-link[aria-current=page] { color: var(--af-blue) !important; }
.af-site-nav .dropdown-menu { border: 1px solid var(--af-line); border-radius: .75rem; box-shadow: var(--af-shadow); padding: .55rem; }
.af-site-nav .dropdown-item { border-radius: .45rem; font-weight: 600; padding: .6rem .75rem; }
.af-site-nav .dropdown-item:hover, .af-site-nav .dropdown-item:focus { background: var(--af-blue-soft); color: var(--af-blue-dark); }
.af-site-nav .navbar-toggler { border-color: var(--af-line); box-shadow: none; }
.af-site-nav .navbar-toggler:focus { box-shadow: 0 0 0 .22rem rgba(31, 63, 135, .18); }

.af-footer { background: var(--af-blue-dark); color: #dbe5f5; margin-top: 0; }
.af-footer-main { padding: 4rem calc(var(--bs-gutter-x, 1.5rem) * .5) 3rem; }
.af-footer-logo { display: block; height: auto; margin-bottom: 1.25rem; width: 175px; }
.af-footer-title { color: #fff; font-size: .85rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.af-footer p, .af-footer address { color: #c5d2e8; font-size: .94rem; line-height: 1.65; }
.af-footer address { font-style: normal; }
.af-footer-links { list-style: none; margin: 0; padding: 0; }
.af-footer-links li { margin: .6rem 0; }
.af-footer a { color: #e9f0fb; overflow-wrap: anywhere; text-decoration: none; }
.af-footer a:hover { color: #fff; text-decoration: underline; }
.af-footer-bottom { border-top: 1px solid rgba(219, 227, 239, .2); font-size: .85rem; padding: 1.2rem 0; }

.af-hero { background: linear-gradient(135deg, #f7faff 0%, #e9f1fd 100%); padding: clamp(3.75rem, 7vw, 7rem) 0; }
.af-hero-grid { align-items: center; display: grid; gap: clamp(2rem, 5vw, 5.5rem); grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); }
.af-hero-art { background: #dce8f7; border-radius: 1.25rem; box-shadow: var(--af-shadow); container-type: inline-size; overflow: hidden; position: relative; }
.af-hero-art img { display: block; height: auto; width: 100%; }
/* Live caption sitting on the callout plate drawn into the careers hero artwork.
   Positioned as a fraction of the image so it tracks the plate at every width. */
.af-hero-art-note { color: #384357; font-size: clamp(6px, 1.35vw, 15px); left: 61.8%; line-height: 1.35; margin: 0; position: absolute; top: 50.4%; transform: translateY(-50%); width: 34.6%; }
@supports (font-size: 1cqw) { .af-hero-art-note { font-size: 1.56cqw; } }
.af-hero-art-note-label { color: var(--af-green); font-weight: 700; }
.af-card { background: #fff; border: 1px solid var(--af-line); border-radius: var(--af-radius); box-shadow: 0 8px 24px rgba(20, 42, 94, .05); height: 100%; padding: 1.6rem; }
.af-card h3 { font-size: 1.25rem; font-weight: 750; }
.af-form-panel { background: #fff; border: 1px solid var(--af-line); border-radius: 1.25rem; box-shadow: var(--af-shadow); padding: clamp(1.5rem, 4vw, 3rem); }
.af-form-control { border-color: #c8d4e5; border-radius: .6rem; min-height: 3rem; }
.af-form-control:focus { border-color: var(--af-blue); box-shadow: 0 0 0 .22rem rgba(31, 63, 135, .12); }
.af-file-upload { position: relative; }
.af-file-upload-input { height: 1px; left: 0; opacity: 0; position: absolute; top: 0; width: 1px; }
.af-file-upload-control { align-items: center; background: linear-gradient(135deg, #fbfdff, #f3f8ff); border: 1px solid #aebfd7; border-radius: .8rem; color: var(--af-ink); cursor: pointer; display: flex; gap: .8rem; min-height: 3.45rem; padding: .42rem .7rem .42rem .42rem; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.af-file-upload-control:hover { background: #f7fbff; border-color: var(--af-blue); }
.af-file-upload-input:focus-visible + .af-file-upload-control { border-color: var(--af-blue); box-shadow: 0 0 0 .24rem rgba(31, 63, 135, .16); outline: 3px solid #8bb9ff; outline-offset: 3px; }
.af-file-upload-icon { align-items: center; background: var(--af-blue); border-radius: .52rem; color: #fff; display: grid; flex: 0 0 2.45rem; height: 2.45rem; place-items: center; }
.af-file-upload-copy { display: grid; gap: .06rem; min-width: 0; }
.af-file-upload-action { font-size: .9rem; font-weight: 750; }
.af-file-upload-name { color: var(--af-muted); display: block; font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-form-label { font-weight: 700; margin-bottom: .45rem; }
.af-form-help, .af-field-error { display: block; font-size: .85rem; margin-top: .35rem; }
.af-form-help { color: var(--af-muted); }
.af-field-error { color: #b42318; }
.af-field-error:empty { display: none; }
.af-status { border-radius: .6rem; font-weight: 600; margin-top: 1rem; padding: .8rem 1rem; }
.af-status[hidden] { display: none; }
.af-status-success { background: #e9f7f1; color: #176448; }
.af-status-error { background: #fff0ef; color: #b42318; }
.af-required { color: #b42318; }

.af-contact-card-icon { background: var(--af-blue-soft); border-radius: .75rem; color: var(--af-blue); display: grid; font-size: 1.15rem; height: 2.8rem; margin-bottom: 1rem; place-items: center; width: 2.8rem; }
.af-contact-hero-art { aspect-ratio: 3 / 2; }
.af-contact-hero-art img { height: 100%; object-fit: cover; object-position: 80% center; }
.af-map { border: 1px solid var(--af-line); border-radius: 1rem; box-shadow: var(--af-shadow); display: block; height: auto; width: 100%; }
.af-map-frame { aspect-ratio: 1728 / 1157; border: 0; }
.af-career-list { display: grid; gap: 1rem; }
.af-job-card { align-items: center; background: #fff; border: 1px solid var(--af-line); border-radius: 1rem; display: flex; gap: 1.5rem; justify-content: space-between; padding: 1.5rem 1.75rem; transition: transform .2s ease, box-shadow .2s ease; }
.af-job-card:hover { box-shadow: var(--af-shadow); transform: translateY(-2px); }
.af-job-card h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0 0 .7rem; }
.af-job-card p { color: var(--af-muted); line-height: 1.6; margin: 0; }
.af-empty { background: var(--af-surface); border: 1px dashed #b9c7db; border-radius: 1rem; padding: 3rem 1.5rem; text-align: center; }
.af-detail-content { color: #3f4c60; line-height: 1.75; }
.af-detail-content h2, .af-detail-content h3 { color: var(--af-ink); font-weight: 750; margin-top: 1.75rem; }
.af-detail-content ul, .af-detail-content ol { padding-left: 1.25rem; }

@media (max-width: 991.98px) {
  .af-site-nav .navbar-collapse { padding: .75rem 0; }
  .af-site-nav .dropdown-menu { box-shadow: none; }
  .af-hero-grid { grid-template-columns: 1fr; }
  .af-hero-art { max-width: 620px; }
  .af-job-card { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 575.98px) {
  .af-section { padding: 3.5rem 0; }
  .af-hero { padding: 3.5rem 0; }
  .af-job-card, .af-form-panel { padding: 1.25rem; }
  .af-button { width: 100%; }
  .af-file-upload-control { width: 100%; }
  .af-hero .af-button + .af-button { margin-top: .75rem; }
}

.af-culture-page,
.af-career-detail-page { overflow-x: clip; }

/* Announcement bar — an optional strip above the header, enabled and coloured
   from Website settings. Colours come through as validated six-digit hex. */
.af-announcement {
    font-size: .85rem;
    font-weight: 650;
    letter-spacing: .01em;
    padding: .55rem 0;
    text-align: center;
}

.af-announcement a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.af-announcement a:hover,
.af-announcement a:focus-visible {
    text-decoration-thickness: 2px;
}

.af-footer-disclaimer {
    margin: .85rem 0 0;
    opacity: .72;
    font-size: .78rem;
    line-height: 1.55;
}
