/*
 * The Capital Barbershop — Careers application (Capital Careers plugin)
 * Every rule is scoped under .cc-careers, and the fonts use plugin-specific family names, so nothing
 * here can change other pages or the theme's header and footer. Loaded only on the application page.
 * Fonts: Bree Serif, Montserrat, Roboto Slab (SIL Open Font License), bundled from Google Fonts.
 */

@font-face {
  font-family: "CC Bree Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bree-serif-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "CC Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/montserrat-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "CC Roboto Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/roboto-slab-700-latin.woff2") format("woff2");
}



.cc-careers .cc-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Careers section ---------- */

.cc-careers {
  --cc-black: #111111;
  --cc-brown: #4F331B;
  --cc-brown-deep: #4D3017;
  --cc-ink: #222222;
  --cc-body: #3a3a3a;
  --cc-muted: #5a5a5a;
  --cc-pale: #f0f5fa;
  --cc-white: #ffffff;
  --cc-field-bg: #FBFBFB;
  --cc-field-border: #8C8C8C;
  --cc-line: #E2E6EA;
  --cc-error: #A4161A;
  --cc-error-bg: #FBEDED;
  --cc-active-nav: #FF0000;

  --cc-font-heading: "CC Bree Serif", Georgia, serif;
  --cc-font-nav: "CC Roboto Slab", Georgia, serif;
  --cc-font-body: "CC Montserrat", "Helvetica Neue", Arial, sans-serif;

  --cc-ease: cubic-bezier(.2, .7, .2, 1);
  --cc-fast: 160ms;
  --cc-med: 240ms;

  font-family: var(--cc-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cc-ink);
  -webkit-font-smoothing: antialiased;
}
.cc-careers *,
.cc-careers *::before,
.cc-careers *::after { box-sizing: border-box; }
.cc-careers img { max-width: 100%; }
.cc-careers a { color: var(--cc-brown); }
.cc-careers a:hover { color: var(--cc-ink); }
.cc-careers :focus-visible {
  outline: 2px solid var(--cc-brown);
  outline-offset: 2px;
}

/* Moustache divider under headings (the site's own decor.png). */
.cc-careers .cc-divider {
  display: block;
  width: 70px;
  height: auto;
  margin: 14px auto 20px;
}

/*
 * Buttons: same as the homepage's "Book now" / "Our services" buttons
 * (Bree Serif 14px uppercase, #4F331B, 16px 60px padding, 6px 6px 8px shadow, square corners).
 */
.cc-careers .cc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 16px 60px;
  border: 0;
  border-radius: 0;
  font-family: var(--cc-font-heading);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--cc-fast) ease, color var(--cc-fast) ease;
}
.cc-careers .cc-button--primary,
.cc-careers a.cc-button--primary {
  background: var(--cc-brown);
  color: #fff;
  box-shadow: 6px 6px 8px rgba(0, 0, 0, .45);
}
.cc-careers .cc-button--primary:hover,
.cc-careers a.cc-button--primary:hover {
  background: var(--cc-ink);
  color: #fff;
}

/* Section titles: like "OUR SERVICES" (Bree Serif 24px, uppercase, centred, divider below). */
.cc-careers .cc-section-head {
  text-align: center;
  padding: 0 20px;
  margin: 0 0 30px;
}
.cc-careers .cc-section-head__title {
  margin: 0;
  font-family: var(--cc-font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cc-ink);
}

/* Hero: built like the homepage's photo sections ("Opening hours"): cover photo + 70% black overlay. */
.cc-careers .cc-hero {
  position: relative;
  overflow: hidden;
  background: var(--cc-black);
  color: #fff;
  text-align: center;
}
.cc-careers .cc-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.cc-careers .cc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
}
.cc-careers .cc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 90px 20px 80px;
}
.cc-careers .cc-hero__eyebrow {
  margin: 0 0 14px;
  font-family: var(--cc-font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.75;
  text-transform: uppercase;
  color: rgba(238, 238, 238, .85);
}
.cc-careers .cc-hero__title {
  margin: 0;
  font-family: var(--cc-font-heading);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}
.cc-careers .cc-hero__lead {
  margin: 0 auto 30px;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(238, 238, 238, .85);
}
@media (max-width: 767px) {
  .cc-careers .cc-hero__inner { padding: 60px 20px 56px; }
  .cc-careers .cc-hero__title { font-size: 30px; }
}

/* Application section: the site's pale page background (#f0f5fa), 70px section padding. */
.cc-careers .cc-apply {
  background: var(--cc-pale);
  padding: 70px 0 90px;
  scroll-margin-top: 16px;
}
.cc-careers .cc-apply__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.cc-careers .cc-apply__aside {
  position: sticky;
  top: 24px;
  color: var(--cc-body);
  font-size: 14px;
  line-height: 1.75;
}
.cc-careers .cc-apply__aside p { margin: 0 0 18px; }
.cc-careers .cc-apply__subtitle {
  margin: 26px 0 10px;
  font-family: var(--cc-font-heading);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--cc-ink);
}
.cc-careers .cc-checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.cc-careers .cc-checklist li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--cc-line);
}
.cc-careers .cc-checklist li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 8px; height: 8px;
  background: var(--cc-brown);
}
.cc-careers .cc-apply__note { font-size: 14px; }

.cc-careers .cc-card {
  background: var(--cc-white);
  padding: 44px 48px 48px;
  border-radius: 0;
  box-shadow: 0 1px 2px rgba(17, 17, 17, .06), 0 8px 24px rgba(17, 17, 17, .06);
  min-width: 0;
}

@media (max-width: 1024px) {
  .cc-careers .cc-apply__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 760px; }
  .cc-careers .cc-apply__aside { position: static; }
  .cc-careers .cc-card { padding: 36px 32px 40px; }
}
@media (max-width: 767px) {
  .cc-careers .cc-apply { padding: 50px 0 60px; }
  .cc-careers .cc-apply__inner { padding: 0 16px; }
  .cc-careers .cc-card { padding: 28px 18px 32px; }
  .cc-careers .cc-button { padding-left: 40px; padding-right: 40px; }
}

/* Banners */
.cc-careers .cc-demo-banner {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-left: 4px solid var(--cc-brown);
  background: #F6F1EC;
  color: var(--cc-ink);
  font-size: 14px;
  line-height: 1.5;
}

.cc-careers .cc-error-summary {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 2px solid var(--cc-error);
  background: var(--cc-error-bg);
}
.cc-careers .cc-error-summary:focus { outline: 3px solid var(--cc-error); outline-offset: 2px; }
.cc-careers .cc-error-summary__title {
  margin: 0 0 8px;
  font-family: var(--cc-font-heading);
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--cc-error);
}
.cc-careers .cc-error-summary__list { margin: 0; padding-left: 20px; font-size: 15px; }
.cc-careers .cc-error-summary__list li { margin: 4px 0; }
.cc-careers .cc-error-summary__list a { color: var(--cc-error); font-weight: 600; }

/* Form layout */
.cc-careers .cc-form { margin: 0; }
.cc-careers .cc-form__legend-note {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--cc-muted);
}
.cc-careers .cc-hp {
  position: absolute !important;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.cc-careers fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.cc-careers legend { padding: 0; }

.cc-careers .cc-section {
  padding-top: 28px;
  margin-top: 28px !important;
  border-top: 1px solid var(--cc-line) !important;
}
.cc-careers .cc-form__legend-note + .cc-hp + .cc-section {
  border-top: 0 !important;
  margin-top: 0 !important;
  padding-top: 12px;
}
.cc-careers .cc-section__title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
  font-family: var(--cc-font-heading);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--cc-ink);
}
.cc-careers .cc-section__num {
  font-family: var(--cc-font-nav);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--cc-brown);
}

.cc-careers .cc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}
@media (max-width: 600px) {
  .cc-careers .cc-grid { grid-template-columns: minmax(0, 1fr); }
}

.cc-careers .cc-field { margin-bottom: 20px; min-width: 0; }

.cc-careers .cc-field > label:not(.cc-choice),
.cc-careers .cc-label,
.cc-careers .cc-group > legend {
  display: block;
  margin-bottom: 6px;
  font-family: var(--cc-font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--cc-ink);
}
.cc-careers .cc-req { color: var(--cc-error); font-weight: 700; }
.cc-careers .cc-optional,
.cc-careers .cc-hint-inline {
  margin-left: 6px;
  font-weight: 400;
  font-size: 13px;
  color: var(--cc-muted);
}
.cc-careers .cc-hint {
  margin: -2px 0 8px;
  font-size: 13px;
  color: var(--cc-muted);
}
.cc-careers .cc-counter {
  margin: 4px 0 0;
  font-size: 12px;
  text-align: right;
  color: var(--cc-muted);
}

/* Inputs */
.cc-careers input[type="text"],
.cc-careers input[type="email"],
.cc-careers input[type="tel"],
.cc-careers input[type="date"],
.cc-careers select,
.cc-careers textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--cc-field-border);
  border-radius: 0;
  background: var(--cc-field-bg);
  color: var(--cc-ink);
  font-family: var(--cc-font-body);
  font-size: 16px; /* 16px keeps iOS from zooming on focus */
  line-height: 1.5;
  box-shadow: none;
  transition: border-color var(--cc-fast) ease, box-shadow var(--cc-fast) ease, background-color var(--cc-fast) ease;
  -webkit-appearance: none;
  appearance: none;
}
.cc-careers textarea { resize: vertical; min-height: 120px; }
.cc-careers input::placeholder,
.cc-careers textarea::placeholder { color: #767676; }
.cc-careers input:hover,
.cc-careers select:hover,
.cc-careers textarea:hover { border-color: #5f5f5f; }
.cc-careers input[type="text"]:focus,
.cc-careers input[type="email"]:focus,
.cc-careers input[type="tel"]:focus,
.cc-careers input[type="date"]:focus,
.cc-careers select:focus,
.cc-careers textarea:focus {
  outline: none;
  border-color: var(--cc-brown);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 51, 27, .22);
}
.cc-careers [aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]) {
  border-color: var(--cc-error);
  box-shadow: inset 4px 0 0 var(--cc-error);
}
.cc-careers [aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]):focus {
  box-shadow: inset 4px 0 0 var(--cc-error), 0 0 0 3px rgba(164, 22, 26, .2);
}

.cc-careers .cc-select { position: relative; }
.cc-careers .cc-select::after {
  content: "";
  position: absolute;
  right: 16px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--cc-ink);
  border-bottom: 2px solid var(--cc-ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.cc-careers .cc-select select {
  padding-right: 44px;
  background-image: none;
  cursor: pointer;
}

/* Radio & checkbox choices */
.cc-careers .cc-group { margin-bottom: 22px !important; }
.cc-careers .cc-options { display: grid; gap: 10px; }
.cc-careers .cc-options--row { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.cc-careers .cc-options--days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 600px) {
  .cc-careers .cc-options--days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cc-careers .cc-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--cc-field-border);
  background: var(--cc-field-bg);
  font-size: 15px;
  line-height: 1.35;
  color: var(--cc-ink);
  cursor: pointer;
  transition: border-color var(--cc-fast) ease, background-color var(--cc-fast) ease, color var(--cc-fast) ease;
}
.cc-careers .cc-choice:hover { border-color: #5f5f5f; background: #fff; }
.cc-careers .cc-choice input {
  flex: none;
  width: 20px; height: 20px;
  min-width: 0; max-width: none;
  margin: 0;
  padding: 0; /* Themes often pad every input (Responsive: 2.5px 1em), which would stretch the box. */
  border: 2px solid #6b6b6b;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: border-color var(--cc-fast) ease, background-color var(--cc-fast) ease;
}
.cc-careers .cc-choice input[type="radio"] { border-radius: 50%; }
.cc-careers .cc-choice input[type="checkbox"] { border-radius: 2px; }
.cc-careers .cc-choice input::before {
  content: "";
  transform: scale(0);
  transition: transform var(--cc-fast) var(--cc-ease);
}
.cc-careers .cc-choice input[type="radio"]::before {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
}
.cc-careers .cc-choice input[type="checkbox"]::before {
  width: 11px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg) scale(0);
}
.cc-careers .cc-choice input:checked {
  background: var(--cc-brown);
  border-color: var(--cc-brown);
}
.cc-careers .cc-choice input[type="radio"]:checked::before { transform: scale(1); }
.cc-careers .cc-choice input[type="checkbox"]:checked::before { transform: translateY(-1px) rotate(-45deg) scale(1); }
.cc-careers .cc-choice:has(input:checked) {
  border-color: var(--cc-brown);
  background: #F6F1EC;
}
.cc-careers .cc-choice:has(input:focus-visible) {
  outline: 2px solid var(--cc-brown);
  outline-offset: 2px;
}
.cc-careers .cc-choice input:focus-visible { outline: none; }

.cc-careers .cc-options--days .cc-choice {
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 10px 4px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.cc-careers .cc-choice--block {
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--cc-field-bg);
}
.cc-careers .cc-choice--block input { margin-top: 1px !important; }
.cc-careers .cc-field--check { margin-bottom: 12px; }

.cc-careers .cc-group[data-cc-invalid] .cc-choice,
.cc-careers .cc-field--check[data-cc-invalid] .cc-choice { border-color: var(--cc-error); }

/* Errors */
.cc-careers .cc-error {
  display: flex;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--cc-error);
}
.cc-careers .cc-error::before {
  content: "!";
  flex: none;
  display: inline-grid;
  place-content: center;
  width: 18px; height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--cc-error);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.cc-careers .cc-error[hidden] { display: none; }

/* File upload */
.cc-careers .cc-upload {
  position: relative;
  border: 1px dashed var(--cc-field-border);
  background: var(--cc-field-bg);
  transition: border-color var(--cc-fast) ease, background-color var(--cc-fast) ease;
}
.cc-careers .cc-upload__input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
}
.cc-careers .cc-upload:focus-within {
  outline: 2px solid var(--cc-brown);
  outline-offset: 2px;
}
.cc-careers .cc-upload.is-dragover {
  border-color: var(--cc-brown);
  border-style: solid;
  background: #F6F1EC;
}
.cc-careers .cc-upload[data-cc-invalid] { border-color: var(--cc-error); }
.cc-careers .cc-upload__empty {
  padding: 22px 16px;
  text-align: center;
  color: var(--cc-muted);
}
.cc-careers .cc-upload__empty svg { fill: var(--cc-brown); display: block; margin: 0 auto 6px; }
.cc-careers .cc-upload__empty p { margin: 0; }
.cc-careers .cc-upload__empty .cc-hint { margin-top: 4px; }
.cc-careers .cc-upload__button {
  display: inline-block;
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--cc-brown);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cc-careers .cc-upload__button:hover { color: var(--cc-ink); }
.cc-careers .cc-upload__or { font-size: 15px; color: var(--cc-body); }

.cc-careers .cc-upload__file {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 14px 16px;
}
.cc-careers .cc-upload__file[hidden] { display: none; }
.cc-careers .cc-upload__file svg { fill: var(--cc-brown); flex: none; }
.cc-careers .cc-upload__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
  font-size: 15px;
}
.cc-careers .cc-upload__size { font-size: 13px; color: var(--cc-muted); }
.cc-careers .cc-upload__remove {
  margin-left: auto;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--cc-field-border);
  border-radius: 0;
  background: #fff;
  color: var(--cc-ink);
  font-family: var(--cc-font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color var(--cc-fast) ease, color var(--cc-fast) ease;
}
.cc-careers .cc-upload__remove:hover { border-color: var(--cc-error); color: var(--cc-error); }

/* Status + submit */
.cc-careers .cc-status:empty { display: none; }
.cc-careers .cc-status {
  margin: 8px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--cc-brown);
  background: #F6F1EC;
  font-size: 15px;
}
.cc-careers .cc-status.is-error { border-left-color: var(--cc-error); background: var(--cc-error-bg); color: var(--cc-ink); }
.cc-careers .cc-status p { margin: 0; }
.cc-careers .cc-status p + p { margin-top: 6px; }

.cc-careers .cc-form__actions {
  margin-top: 28px;
  display: flex;
}
.cc-careers .cc-form__actions .cc-button { min-width: 260px; }
@media (max-width: 600px) {
  .cc-careers .cc-form__actions .cc-button { width: 100%; min-width: 0; padding-left: 20px; padding-right: 20px; }
}
.cc-careers .cc-button[aria-disabled="true"] {
  cursor: progress;
  background: #6d5a49;
  transform: none;
  box-shadow: none;
}
.cc-careers .cc-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cc-spin .8s linear infinite;
}
.cc-careers .cc-button[aria-disabled="true"] .cc-spinner { display: inline-block; }
@keyframes cc-spin { to { transform: rotate(360deg); } }

/* Success */
.cc-careers .cc-success {
  padding: 24px 0 8px;
  text-align: center;
}
.cc-careers .cc-success[hidden] { display: none; }
.cc-careers .cc-success:focus { outline: none; }
.cc-careers .cc-success__icon { color: var(--cc-brown); display: block; margin: 0 auto 12px; }
.cc-careers .cc-success__title {
  margin: 0;
  font-family: var(--cc-font-heading);
  font-weight: 400;
  font-size: 30px;
  text-transform: uppercase;
  color: var(--cc-ink);
}
.cc-careers .cc-success p { max-width: 34em; margin: 0 auto 26px; color: var(--cc-body); }

/* Upload / submission progress */
.cc-careers .cc-progress {
  height: 4px;
  margin: 16px 0 0;
  background: var(--cc-line);
  overflow: hidden;
}
.cc-careers .cc-progress[hidden] { display: none; }
.cc-careers .cc-progress__bar {
  width: 0;
  height: 100%;
  background: var(--cc-brown);
  transition: width var(--cc-med) ease;
}
.cc-careers .cc-progress.is-indeterminate .cc-progress__bar {
  width: 35%;
  animation: cc-indeterminate 1.1s ease-in-out infinite;
}
@keyframes cc-indeterminate { from { transform: translateX(-100%); } to { transform: translateX(290%); } }

/* Confirmation */
.cc-careers .cc-success__ref { margin-bottom: 14px; color: var(--cc-ink); }
.cc-careers .cc-success__ref strong {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border: 1px solid var(--cc-brown);
  font-family: var(--cc-font-nav);
  letter-spacing: .06em;
  color: var(--cc-brown);
}
.cc-careers .cc-success p[hidden] { display: none; }

/* ---------- Motion ---------- */

.cc-js .cc-careers .cc-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms var(--cc-ease), transform 420ms var(--cc-ease);
}
.cc-js .cc-careers .cc-reveal.is-visible { opacity: 1; transform: none; }
.cc-js .cc-careers .cc-apply__inner > .cc-reveal:nth-child(2) { transition-delay: 80ms; }

.cc-js .cc-careers .cc-success.is-entering { animation: cc-rise 320ms var(--cc-ease) both; }
.cc-js .cc-careers .cc-success.is-entering .cc-success__icon { animation: cc-pop 360ms 120ms var(--cc-ease) both; }
.cc-js .cc-careers .cc-form.is-leaving { opacity: 0; transform: translateY(-6px); transition: opacity 180ms ease, transform 180ms ease; }
.cc-js .cc-careers .cc-error-summary.is-entering { animation: cc-rise 220ms var(--cc-ease) both; }

@keyframes cc-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes cc-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .cc-careers *,
  .cc-careers *::before,
  .cc-careers *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-delay: 0ms !important;
  }
  .cc-js .cc-careers .cc-reveal { opacity: 1; transform: none; }
  .cc-careers .cc-button--primary:hover { transform: none; }
  .cc-careers .cc-spinner { animation-duration: 1.6s !important; }
}
